Skip to content

Commit

Permalink
#1958: lib: avoid intel warning about unknown gcc opt
Browse files Browse the repository at this point in the history
  • Loading branch information
nlslatt committed Oct 20, 2022
1 parent 4528cd4 commit c894bf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
// the marked function.
#define GTEST_NO_TAIL_CALL_ __attribute__((disable_tail_calls))
#endif
#elif __GNUC__
#elif __GNUC__ && !defined(__INTEL_COMPILER)
#define GTEST_NO_TAIL_CALL_ \
__attribute__((optimize("no-optimize-sibling-calls")))
#else
Expand Down

0 comments on commit c894bf5

Please sign in to comment.