public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21688] New: gcc miscompiles with -Os (wrong code at least on i386, x86_64 and ppc)
@ 2005-05-20 22:24 felix-gcc at fefe dot de
  2005-05-20 22:43 ` [Bug middle-end/21688] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2005-05-20 23:02 ` [Bug middle-end/21688] [4.0 Regression] gcc miscompiles with -funit-at-a-time pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: felix-gcc at fefe dot de @ 2005-05-20 22:24 UTC (permalink / raw)
  To: gcc-bugs

wget http://dl.fefe.de/crypt-bug.c
gcc4 -Os -o t crypt-bug.c
./t
  # assertion failure
gcc4 -O -o t crypt-bug.c
./t
  # works ok
reproduced on i386, x86_64 and using Apple's gcc 4 in Tiger.

-- 
           Summary: gcc miscompiles with -Os (wrong code at least on i386,
                    x86_64 and ppc)
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: felix-gcc at fefe dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-linux
  GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux


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


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

end of thread, other threads:[~2005-05-20 23:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-20 22:24 [Bug c/21688] New: gcc miscompiles with -Os (wrong code at least on i386, x86_64 and ppc) felix-gcc at fefe dot de
2005-05-20 22:43 ` [Bug middle-end/21688] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-05-20 23:02 ` [Bug middle-end/21688] [4.0 Regression] gcc miscompiles with -funit-at-a-time pinskia 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).