[Bug target/91967] gtest from google generates incorrect assembly code on x86 solaris

2019-10-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91967

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Andrew Pinski  ---
Not a GCC bug so closing.

[Bug target/91967] gtest from google generates incorrect assembly code on x86 solaris

2019-10-04 Thread bobw at cristie dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91967

--- Comment #3 from bob wilkinson  ---
You are correct it is inline assembly ...

4768 #elif (!defined(__native_client__)) &&\
4769 ((defined(__clang__) || defined(__GNUC__)) && \
4770  (defined(__x86_64__) || defined(__i386__)))
4771   // with clang/gcc we can achieve the same effect on x86 by invoking
int3
4772   asm("int3");
4773 #else

from gtest_1_9_0/googletest/src/gtest.cc

so I think that this is a google error, rather than gcc.

Please close this bug. It is not an error in gcc.

[Bug target/91967] gtest from google generates incorrect assembly code on x86 solaris

2019-10-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91967

Richard Biener  changed:

   What|Removed |Added

 Target||i?86-solaris

--- Comment #2 from Richard Biener  ---
Near line: "int3"

this looks like inline assembly.