public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11319] New: [3.3 regression] loop miscompiled on ppc32
@ 2003-06-25 13:50 marcus at jet dot franken dot de
  2003-06-25 13:50 ` [Bug c/11319] " marcus at jet dot franken dot de
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: marcus at jet dot franken dot de @ 2003-06-25 13:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [3.3 regression] loop miscompiled on ppc32
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marcus at jet dot franken dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu

Hi,  
  
attached testcase, extracted from the cast-256.c crypto module in libmcrypt,   
miscompiles on ppc32 with 3.2, 3.3 branch (gcc version 3.3.1 20030625 
(prerelease)) and HEAD (gcc version 3.4 20030625 (experimental)) with -O2:  
 
$ gcc -o xx ~meissner/cast-256.c  -O2  
$ ./xx  
xx: xx.c:27: main: Assertion `a == 0x13' failed.  
$  
  
With -fno-strength-reduce it starts to work:  
$ gcc -o xx ~meissner/cast-256.c  -O2 -fno-strength-reduce  
$ ./xx


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

end of thread, other threads:[~2003-09-11  7:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-25 13:50 [Bug c/11319] New: [3.3 regression] loop miscompiled on ppc32 marcus at jet dot franken dot de
2003-06-25 13:50 ` [Bug c/11319] " marcus at jet dot franken dot de
2003-06-25 13:51 ` [Bug c/11319] [3.3/3.4 " pinskia at physics dot uc dot edu
2003-07-11  6:52 ` wilson at gcc dot gnu dot org
2003-07-12  6:17 ` dhazeghi at yahoo dot com
2003-07-15 13:58 ` [Bug optimization/11319] " pinskia at physics dot uc dot edu
2003-07-21 19:57 ` pinskia at physics dot uc dot edu
2003-08-05 21:15 ` janis187 at us dot ibm dot com
2003-08-11 23:56 ` wilson at gcc dot gnu dot org
2003-08-12  5:26 ` cvs-commit at gcc dot gnu dot org
2003-08-12  5:28 ` cvs-commit at gcc dot gnu dot org
2003-08-28  7:36 ` wilson at gcc dot gnu dot org
2003-09-02 22:46 ` pinskia at gcc dot gnu dot org
2003-09-07  5:35 ` wilson at gcc dot gnu dot org
2003-09-11  0:59 ` wilson at gcc dot gnu dot org
2003-09-11 14:54 ` 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).