https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63622

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #4)
> > Created attachment 33843 [details]
> > IPA ICF aliasing restriction
> >
> > Can you please try to apply following patch?
> > It should disable alias creation for targets that do not support aliasing.
> 
> With the patch bootstrap proceeds up to stage 2 where it fails with
> 
> /opt/gcc/build_w/./prev-gcc/xg++ -B/opt/gcc/build_w/./prev-gcc/
> -B/opt/gcc/gcc4.10w/x86_64-apple-darwin14.0.0/bin/ -nostdinc++
> -B/opt/gcc/build_w/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/src/.libs
> -B/opt/gcc/build_w/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/libsupc++/.
> libs 
> -I/opt/gcc/build_w/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/include/
> x86_64-apple-darwin14.0.0 
> -I/opt/gcc/build_w/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/include 
> -I/opt/gcc/work/libstdc++-v3/libsupc++
> -L/opt/gcc/build_w/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/src/.libs
> -L/opt/gcc/build_w/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/libsupc++/.
> libs -c   -g -O2  -gtoggle -DIN_GCC    -fno-exceptions -fno-rtti
> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
> -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
> -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../work/gcc -I../../work/gcc/.
> -I../../work/gcc/../include -I./../intl -I../../work/gcc/../libcpp/include
> -I/opt/mp/include  -I../../work/gcc/../libdecnumber
> -I../../work/gcc/../libdecnumber/dpd -I../libdecnumber
> -I../../work/gcc/../libbacktrace -DCLOOG_INT_GMP  -DCLOOG_INT_GMP
> -I/opt/mp/include  -o tree-inline.o -MT tree-inline.o -MMD -MP -MF
> ./.deps/tree-inline.TPo ../../work/gcc/tree-inline.c
> ../../work/gcc/tree-inline.c: In function 'int
> estimate_num_insns_seq(gimple_seq, eni_weights*)':
> ../../work/gcc/tree-inline.c:5667:1: error: invalid argument to gimple call
>  }
>  ^
> stmts
> # .MEM_3 = VDEF <.MEM_1(D)>
> retval.1640_4 = count_insns_seq (stmts, weights_2(D)); [tail call]
> ../../work/gcc/tree-inline.c:5667:1: internal compiler error: verify_gimple
> failed

That looks like duplicate of PR63580. I hope the PR will be fixed today.

Thanks,
Martin

> 
> ../../work/gcc/tree-inline.c:5667:1: internal compiler error: Abort trap: 6
> xg++: internal compiler error: Abort trap: 6 (program cc1plus)
> make[3]: *** [tree-inline.o] Abort trap: 6
> make[3]: Leaving directory `/opt/gcc/build_w/gcc'
> make[2]: *** [all-stage2-gcc] Error 2
> make[2]: Leaving directory `/opt/gcc/build_w'
> make[1]: *** [stage2-bubble] Error 2
> make[1]: Leaving directory `/opt/gcc/build_w'
> make: *** [all] Error 2

Reply via email to