The compiler generates the following error (includes command building the file)
when building a cross compiler out of GCC HEAD.  This also happens on the
20050813 snapshot but does NOT happen on the May 15, 2005 snapshot.

------------------------- Pasted console log below ---------------------
  /home/tlaurenzo/gcc_build/mingwhead/build/gcc-4.1-20050813/./gcc/xgcc
-B/home/tlaurenzo/gcc_build/mingwhead/build/gcc-4.1-20050813/./gcc/
-B/home/tlaurenzo/gcc_build/mingwhead/gcc_cross/i686-pc-mingw32/bin/
-B/home/tlaurenzo/gcc_build/mingwhead/gcc_cross/i686-pc-mingw32/lib/ -isystem
/home/tlaurenzo/gcc_build/mingwhead/gcc_cross/i686-pc-mingw32/include -isystem
/home/tlaurenzo/gcc_build/mingwhead/gcc_cross/i686-pc-mingw32/sys-include -c
-DHAVE_CONFIG_H -O2 -O2 -pipe -g0  -I.
-I/home/tlaurenzo/gcc_build/mingwhead/src/gcc-4.1-20050813/libiberty/../include
 -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -fpic
/home/tlaurenzo/gcc_build/mingwhead/src/gcc-4.1-20050813/libiberty/fopen_unlocked.c
-o pic/fopen_unlocked.o; \
else true; fi
/home/tlaurenzo/gcc_build/mingwhead/src/gcc-4.1-20050813/libiberty/fopen_unlocked.c:1:
warning: -fpic ignored for target (all code is position independent)
/home/tlaurenzo/gcc_build/mingwhead/src/gcc-4.1-20050813/libiberty/fopen_unlocked.c:
In function 'unlock_std_streams':
/home/tlaurenzo/gcc_build/mingwhead/src/gcc-4.1-20050813/libiberty/fopen_unlocked.c:98:
error: invariant not recomputed when ADDR_EXPR changed
&_iobD.1290[1];

/home/tlaurenzo/gcc_build/mingwhead/src/gcc-4.1-20050813/libiberty/fopen_unlocked.c:98:
error: invariant not recomputed when ADDR_EXPR changed
&_iobD.1290[2];

/home/tlaurenzo/gcc_build/mingwhead/src/gcc-4.1-20050813/libiberty/fopen_unlocked.c:98:
internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [fopen_unlocked.o] Error 1

-- 
           Summary: Compiler assertion failed when building cross compiler
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tj at laurenzo dot org
                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-mingw32


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

Reply via email to