This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/21688] New: gcc miscompiles with -Os (wrong code at least on i386, x86_64 and ppc)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]