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 #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


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