[Bug optimization/12472] New: [tree-ssa] miscompiles stage-2's gengtype

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 1 03:46: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=12472

           Summary: [tree-ssa] miscompiles stage-2's gengtype
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: wrong-code, build
          Severity: critical
          Priority: P1
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-apple-darwin

Read <http://gcc.gnu.org/ml/gcc/2003-09/msg01190.html> and <http://gcc.gnu.org/ml/gcc/
2003-09/msg01206.html>.
Main just is that GCC miscompiles gengtype's update_lineno which cause a segfault.
The main difference between powerpc-apple-darwin and any other target is that it defines 
BOOL_TYPE_SIZE to be INT_TYPE_SIZE (so that _Bool is of size 4 instead of 1).
Even trying with commenting that line out, bootstrap does not pass.
Also note that the problem is not the trees that are causing the problem so it might be a problem 
on the mainline also.



More information about the Gcc-bugs mailing list