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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
     Ever confirmed|1                           |0
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Sam James from comment #9)
> Fixed hopefully by r16-7075-gfe050fa9d1249a.

It is NOT.


during IPA pass: cp
lto1: internal compiler error: Segmentation fault
0x261503f internal_error(char const*, ...)
       
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic-global-context.cc:787
0x1101ccf crash_signal
        /home/apinski/src/upstream-gcc-git/gcc/gcc/toplev.cc:325
0x23e0789 vec<ipa_polymorphic_call_context, va_heap,
vl_embed>::operator[](unsigned int)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/vec.h:911
0x23e0789 vec<ipa_polymorphic_call_context, va_heap,
vl_ptr>::operator[](unsigned int)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/vec.h:1610
0x23e0789 ipcp_val_replacement_ok_p(vec<tree_node*, va_heap, vl_ptr>&,
vec<ipa_polymorphic_call_context, va_heap, vl_ptr>&, vec<ipa_argagg_value,
va_gc, vl_embed>*, int, long, ipa_polymorphic_call_context)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/ipa-cp.cc:5899
0x23e0789 decide_about_value<ipa_polymorphic_call_context>
        /home/apinski/src/upstream-gcc-git/gcc/gcc/ipa-cp.cc:6042
0x23e0789 decide_whether_version_node
        /home/apinski/src/upstream-gcc-git/gcc/gcc/ipa-cp.cc:6241
0x23e33e7 ipcp_decision_stage
        /home/apinski/src/upstream-gcc-git/gcc/gcc/ipa-cp.cc:6553
0x23e33e7 ipcp_driver
        /home/apinski/src/upstream-gcc-git/gcc/gcc/ipa-cp.cc:6749
0x23e33e7 execute
        /home/apinski/src/upstream-gcc-git/gcc/gcc/ipa-cp.cc:6826
/home/apinski/upstream-gcc/libexec/gcc/x86_64-pc-linux-gnu/16.0.1/lto1 -quiet
-dumpbase ./a.wpa -mtune=generic -march=x86-64 -O3 -O3 -Wfatal-errors
-fno-openmp -fno-openacc -fno-pie -fcf-protection=none -fno-checking
-fltrans-output-list=/home/apinski/src/upstream-gcc-new/123587/ccpptB2q.ltrans.out
-fwpa=16 -fresolution=/home/apinski/src/upstream-gcc-new/123587/cc1FOZNx.res
-flinker-output=exec --param=ggc-min-expand=100 --param=ggc-min-heapsize=131072
@/home/apinski/src/upstream-gcc-new/123587/ccaA6hbl
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: /home/apinski/upstream-gcc/bin/g++ returned 1 exit
status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status


gcc version 16.0.1 20260204 (experimental) [trunk 8be834af7e8] (GCC)

This has a few patches above r16-7275-gd77d64766af4aa .

Reply via email to