public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/19296] New: [3.3 regression] Range check on short miscompiled at -O
@ 2005-01-06 19:18 falk at debian dot org
  2005-01-06 19:40 ` [Bug middle-end/19296] [3.3/3.4/4.0 " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: falk at debian dot org @ 2005-01-06 19:18 UTC (permalink / raw)
  To: gcc-bugs

[forwarded from http://bugs.debian.org/288721]

This fails with 3.3.5 at -O and higher. Regression from 2.95. Also doesn't fail
on MIPS or Alpha. Debian 3.4.4 20041218 is OK.

void abort(void);
__attribute__((noinline)) void f(unsigned short ad) {
    if (ad >= 0x4000 && ad < 0xc000) 
        abort();
}

int main(void) {
    f(0xff00); 
    return 0;
}

-- 
           Summary: [3.3 regression] Range check on short miscompiled at -O
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: critical
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: falk at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-linux
  GCC host triplet: i386-linux
GCC target triplet: i386-linux


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-01-18  8:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 19:18 [Bug rtl-optimization/19296] New: [3.3 regression] Range check on short miscompiled at -O falk at debian dot org
2005-01-06 19:40 ` [Bug middle-end/19296] [3.3/3.4/4.0 " pinskia at gcc dot gnu dot org
2005-01-06 20:37 ` ebotcazou at gcc dot gnu dot org
2005-01-06 20:56 ` ebotcazou at gcc dot gnu dot org
2005-01-06 22:25 ` ebotcazou at gcc dot gnu dot org
2005-01-07  0:46 ` [Bug rtl-optimization/19296] " ebotcazou at gcc dot gnu dot org
2005-01-08 16:07 ` debian-gcc at lists dot debian dot org
2005-01-09  2:12 ` pinskia at gcc dot gnu dot org
2005-01-18  8:26 ` cvs-commit at gcc dot gnu dot org
2005-01-18  8:33 ` cvs-commit at gcc dot gnu dot org
2005-01-18  8:40 ` cvs-commit at gcc dot gnu dot org
2005-01-18  8:41 ` ebotcazou at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).