This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36484] g++ generates code with illegal instruction on Pentium D / x86_64
- From: "vincent at vinc17 dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2008 11:26:24 -0000
- Subject: [Bug target/36484] g++ generates code with illegal instruction on Pentium D / x86_64
- References: <bug-36484-6373@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from vincent at vinc17 dot org 2008-06-10 11:26 -------
cmpb $42, -481(%rbp)
je .L458
jmp .L456
.L463:
cmpb $85, -481(%rbp)
je .L461
cmpb $90, -481(%rbp)
je .L462
jmp .L456
.L458:
.loc 1 1845 0
addq $1, -336(%rbp)
.loc 1 1846 0
.value 0x0b0f
.L459:
.loc 1 1849 0
addq $1, -336(%rbp)
.loc 1 1850 0
movl $3, -224(%rbp)
jmp .L455
I've just noticed the following warning:
vasprintf.c:1846: warning: 'mpfr_rnd_t' is promoted to 'int' when passed
through '...'
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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36484