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 #5 from ubizjak at gmail dot com  2008-06-10 11:58 -------
(In reply to comment #4)

> vasprintf.c:1846: note: (so you should pass 'int' not 'mpfr_rnd_t' to 'va_arg')
> vasprintf.c:1846: note: if this code is reached, the program will abort
> 
> I don't know if this is related, because the program dies with a SIGILL, not a
> SIGABRT.

This is correct, since __builtin_trap emits ud2 insn (0x0b0f) that generates
SIGILL.

Closed as INVALID.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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]