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

--- Comment #12 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Hongtao Liu from comment #11)
> (In reply to David Binderman from comment #10)
> > Did this ever happen ?
> > 
> > Similar test case gcc/testsuite/gcc.target/i386/avx10_1-26.c
> > still seems to cause a crash:
> > 
> > testsuite $ ~/gcc/results/bin/gcc -c -w ./gcc.target/i386/avx10_1-26.c
> > ./gcc.target/i386/avx10_1-26.c: In function ‘foo’:
> > ./gcc.target/i386/avx10_1-26.c:7:9: note: the ABI for passing parameters
> > with 64-byte alignment has changed in GCC 4.6
> >     7 | __m512d foo(__m512d a, __m512d b)
> >       |         ^~~
> 
> Looks like the same error.

Still going wrong, but now badly wrong:

testsuite $ /home/dcb40b/gcc/results.20250321.ubsan/bin/gcc -c -w
./gcc.target/i386/avx10_1-26.c
./gcc.target/i386/avx10_1-26.c: In function ‘foo’:
./gcc.target/i386/avx10_1-26.c:7:9: note: the ABI for passing parameters with
64-byte alignment has changed in GCC 4.6
    7 | __m512d foo(__m512d a, __m512d b)
      |         ^~~
./gcc.target/i386/avx10_1-26.c: At top level:
./gcc.target/i386/avx10_1-26.c:7:9: error: attribute ‘target_clone’ argument
‘avx10.1’ is unknown
testsuite $ /home/dcb40b/gcc/results.20250325.ubsan/bin/gcc -c -w
./gcc.target/i386/avx10_1-26.c
./gcc.target/i386/avx10_1-26.c: In function ‘foo’:
./gcc.target/i386/avx10_1-26.c:7:9: note: the ABI for passing parameters with
64-byte alignment has changed in GCC 4.6
    7 | __m512d foo(__m512d a, __m512d b)
      |         ^~~
during RTL pass: expand
./gcc.target/i386/avx10_1-26.c: In function ‘foo.avx10_1’:
./gcc.target/i386/avx10_1-26.c:10:1: internal compiler error: Segmentation
fault
   10 | }
      | ^
0x237db4e ???
       
/home/dcb40b/gcc/working/gcc/../../trunk/gcc/diagnostic-global-context.cc:517
0xf837a9 ???
        /home/dcb40b/gcc/working/gcc/../../trunk/gcc/toplev.cc:322


testsuite $ /home/dcb40b/gcc/results.20250321.ubsan/bin/gcc -v 2>&1 | grep exp
gcc version 15.0.1 20250321 (experimental) (db0b0b3db3208770) 
testsuite $ /home/dcb40b/gcc/results.20250325.ubsan/bin/gcc -v 2>&1 | grep exp
gcc version 15.0.1 20250325 (experimental) (737a5760bb24a0a9) 
testsuite $

Reply via email to