When I try to bootstrap gcc trunk configured with 

configure --prefix=some_path --enable-checking=yes,fold
--enable-languages=c,c++

I get a fold check error: original tree changed by fold when compiling
libdecnumber/bid/host-ieee32.c.

The exact compile command line leading to this error (in the
libdecnumber subdirectory of the build directory) is:

source='/home/mjambor/svn/libdecnumber/bid/host-ieee32.c'
object='host-ieee32.o' libtool=no /home/mjambor/svn/obj/./prev-gcc/xgcc
-B/home/mjambor/svn/obj/./prev-gcc/
-B/home/mjambor/inst/svn//x86_64-unknown-linux-gnu/bin/ 
-I/home/mjambor/svn/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -Werror
-I/home/mjambor/svn/libdecnumber -I.  -c
/home/mjambor/svn/libdecnumber/bid/host-ieee32.c

The error output is:

/home/mjambor/svn/libdecnumber/bid/host-ieee32.c: In function
'__host_to_ieee_32':
/home/mjambor/svn/libdecnumber/bid/host-ieee32.c:50: internal compiler error:
fold check: original tree changed by fold

I will attach preprocessed source.


-- 
           Summary: Fold check error during bootstrap
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jamborm at gcc dot gnu dot org
GCC target triplet: x86_64-suse-linux


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

Reply via email to