[Bug c/12864] New: tree-ssa miscompiling libiberty

green at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 31 21:33:00 GMT 2003


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

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

           Summary: tree-ssa miscompiling libiberty
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

A change that happened within the past day or so is causing gcc to miscompile
libiberty.

I discovered this while compiling an frv-elf toolchain with the tree-ssa native
Linux toolchain.

Check out uberbaum and configure/build an frv-elf gas with the tree-ssa native
tools.  Then run "make check" on gas.  All of the tests to recognize machine
instructions fail (although psuedo-ops are recognized).

Now make clean-libiberty and rebuild libiberty with a stable compiler.  Then
relink your gas and try "make check" again.  All tests should pass.


This is a very recent regression.  I'll upload the diffs between the working and
non-working compilers.

AG



More information about the Gcc-bugs mailing list