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



--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-21 
15:54:08 UTC ---

Indeed, with #c18 patch I can reproduce the ICE.  Andrey, can you try that too?

On x86_64-linux, do for current trunk + #c18 patch applied:

mkdir obj

cd obj

../configure --target powerpc-ibm-aix7.1.0.0 --disable-bootstrap \

  --enable-languages=c

make -j4

# The above command will fail, due to missing as/ld, but that is fine.

# You can even Ctrl-C it earlier, after gcc/auto-host.h is created

cd gcc

mv auto-host.h{,.bak}

wget http://gcc.gnu.org/bugzilla/attachment.cgi?id=29237 -O auto-host.h

sed -i -e 's/#define HAVE_DECL_BASENAME 0/#define HAVE_DECL_BASENAME 1/' \

  -e 's/#define SIZEOF_LONG 4/#define SIZEOF_LONG 8/' \

  -e 's/#define SIZEOF_VOID_P 4/#define SIZEOF_VOID_P 8/' auto-host.h

make -j4 cc1

cp -a ../../gcc/testsuite/gcc.dg/tree-prof/pr45354.c .

./cc1 -O -fschedule-insns -fselective-scheduling -fpic \

  -fprofile-generate pr45354.c -maix32

Reply via email to