public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/23837] New: [4.0, 4.1 regression] Wrong code with -fschedule-insns
@ 2005-09-12 19:01 debian-gcc at lists dot debian dot org
  2005-09-12 19:05 ` [Bug rtl-optimization/23837] [4.0/4.1 " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 42+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-09-12 19:01 UTC (permalink / raw)
  To: gcc-bugs

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

falk@paer:~% cat test.c
void abort(void);

unsigned long long f(unsigned long long x) {
    return ((x >> 8) | (x << 56)) ^ ((x >> 48) | (x << 16)) ^ (x >> 1);
}

int main() {
    volatile unsigned long long v = 0x1122334455667788ULL;
    if (f(v) != 0xb3c46ef7196e4c91ULL)
        abort();
    return 0;
}

falk@paer:~% gcc-4.0 -O1 -fno-schedule-insns test.c && ./a.out
falk@paer:~% gcc-4.0 -O1 -fschedule-insns test.c && ./a.out   
zsh: abort (core dumped)  ./a.out

Reproduced with 4.0.2 20050821 on hppa-linux and with 4.1.0 20050705 on
i686-linux.

-- 
           Summary: [4.0, 4.1 regression] Wrong code with -fschedule-insns
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-12-19 13:34 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23837-5724@http.gcc.gnu.org/bugzilla/>
2005-10-10  4:29 ` [Bug rtl-optimization/23837] [4.0/4.1 regression] Wrong code with -fschedule-insns pinskia at gcc dot gnu dot org
2005-10-21 11:21 ` steven at gcc dot gnu dot org
2005-10-22 21:40 ` pinskia at gcc dot gnu dot org
2005-10-22 21:57 ` pinskia at gcc dot gnu dot org
2005-10-30 23:32 ` pinskia at gcc dot gnu dot org
2005-11-06 11:50 ` steven at gcc dot gnu dot org
2005-11-06 17:32 ` danglin at gcc dot gnu dot org
2005-11-06 17:47 ` steven at gcc dot gnu dot org
2005-11-19  1:28 ` pinskia at gcc dot gnu dot org
2005-12-12 20:19 ` [Bug rtl-optimization/23837] [4.0/4.1/4.2 " steven at gcc dot gnu dot org
2005-12-12 20:28 ` amylaar at gcc dot gnu dot org
2005-12-12 21:38 ` steven at gcc dot gnu dot org
2005-12-12 21:38 ` steven at gcc dot gnu dot org
2005-12-12 22:03 ` steven at gcc dot gnu dot org
2005-12-12 22:14 ` steven at gcc dot gnu dot org
2005-12-13 13:16 ` amylaar at gcc dot gnu dot org
2005-12-13 13:41 ` amylaar at gcc dot gnu dot org
2005-12-15  0:00 ` steven at gcc dot gnu dot org
2005-12-15  0:09 ` [Bug rtl-optimization/23837] [4.0/4.1/4.2 regression] Wrong code with REG_NO_CONFLICT notes (caused by combine) steven at gcc dot gnu dot org
2005-12-15  0:52 ` steven at gcc dot gnu dot org
2005-12-15  0:54 ` steven at gcc dot gnu dot org
2005-12-15  6:42 ` steven at gcc dot gnu dot org
2005-12-16 14:37 ` amylaar at gcc dot gnu dot org
2005-12-16 22:19 ` steven at gcc dot gnu dot org
2005-12-16 22:25 ` [Bug rtl-optimization/23837] [4.0/4.1 " steven at gcc dot gnu dot org
2005-12-17 17:27 ` danglin at gcc dot gnu dot org
2005-12-17 17:30 ` danglin at gcc dot gnu dot org
2005-12-17 17:30 ` [Bug rtl-optimization/23837] [4.0 " pinskia at gcc dot gnu dot org
2005-12-17 17:31 ` pinskia at gcc dot gnu dot org
2005-12-17 17:32 ` danglin at gcc dot gnu dot org
2005-12-19 12:01 ` amylaar at gcc dot gnu dot org
2005-12-19 12:36 ` steven at gcc dot gnu dot org
2005-12-19 13:34 ` joern dot rennecke at st dot com
2005-09-12 19:01 [Bug rtl-optimization/23837] New: [4.0, 4.1 regression] Wrong code with -fschedule-insns debian-gcc at lists dot debian dot org
2005-09-12 19:05 ` [Bug rtl-optimization/23837] [4.0/4.1 " pinskia at gcc dot gnu dot org
2005-09-13  9:04 ` jakub at gcc dot gnu dot org
2005-09-19 19:43 ` janis187 at us dot ibm dot com
2005-09-19 21:04 ` amylaar at gcc dot gnu dot org
2005-09-20 19:08 ` amylaar at gcc dot gnu dot org
2005-09-20 20:52 ` amylaar at gcc dot gnu dot org
2005-09-22 17:37 ` joern dot rennecke at st dot com
2005-09-23 12:06 ` cvs-commit at gcc dot gnu dot org
2005-09-27 15:57 ` mmitchel 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).