[Bug middle-end/54685] [SH] Improve unsigned int comparison with 0x7FFFFFFF

kkojima at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 5 00:09:00 GMT 2013


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

--- Comment #6 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2013-02-05 00:09:01 UTC ---
(In reply to comment #5)
> FAIL: gcc.target/sh/pr54685.c scan-assembler-not not
> 
> I'm curious why this fails.  On my sh-elf / newlib config it passes.  Do you
> have any idea?

Oops.  There is a line

    .section    .note.GNU-stack,"",@progbits

for the linux case.  Perhaps

/* { dg-final { scan-assembler-not "not\[ \t\]" } } */

will work.



More information about the Gcc-bugs mailing list