This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/36484] g++ generates code with illegal instruction on Pentium D / x86_64



------- Comment #6 from vincent at vinc17 dot org  2008-06-10 12:37 -------
OK, but shouldn't g++ generate a SIGABRT instead of a illegal instruction? I've
never had thought that a compiler should generate an illegal instruction on
purpose, so making me think that the problem comes from the compiler.

Also, is it a problem specific to g++ and is it invalid C++? "gcc -std=c99
-Wc++-compat -pedantic -Wextra" doesn't emit any warning about this code (but
it was said that -Wc++-compat was incomplete). If this is specific to g++, then
the SIGILL is not acceptable. Otherwise -Wc++-compat needs to be improved.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36484


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]