https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83699
Bug ID: 83699 Summary: [8 regression] Many 64-bit SPARC gcc.dg/vect tests FAIL Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: ebotcazou at gcc dot gnu.org, rsandifo at gcc dot gnu.org Target Milestone: --- Host: sparc-sun-solaris2.* Target: sparc-sun-solaris2.* Build: sparc-sun-solaris2.* Between 20180103 (r256181) and 20180104 (r256254), many gcc.dg/vect tests started to FAIL on 64-bit SPARC: +FAIL: gcc.dg/vect/no-scevccp-outer-10.c (test for excess errors) +WARNING: gcc.dg/vect/no-scevccp-outer-10.c compilation failed to produce executable +FAIL: gcc.dg/vect/no-scevccp-outer-10a.c (test for excess errors) +WARNING: gcc.dg/vect/no-scevccp-outer-10a.c compilation failed to produce execu table +FAIL: gcc.dg/vect/no-scevccp-outer-10b.c (test for excess errors) +WARNING: gcc.dg/vect/no-scevccp-outer-10b.c compilation failed to produce execu table +FAIL: gcc.dg/vect/no-scevccp-outer-16.c (test for excess errors) +WARNING: gcc.dg/vect/no-scevccp-outer-16.c compilation failed to produce executable +FAIL: gcc.dg/vect/no-scevccp-outer-17.c (test for excess errors) +WARNING: gcc.dg/vect/no-scevccp-outer-17.c compilation failed to produce executable +FAIL: gcc.dg/vect/no-scevccp-outer-21.c (test for excess errors) +WARNING: gcc.dg/vect/no-scevccp-outer-21.c compilation failed to produce executable +FAIL: gcc.dg/vect/no-scevccp-outer-7.c (test for excess errors) +WARNING: gcc.dg/vect/no-scevccp-outer-7.c compilation failed to produce executable +FAIL: gcc.dg/vect/slp-24-big-array.c (test for excess errors) +FAIL: gcc.dg/vect/slp-24-big-array.c -flto -ffat-lto-objects (test for excess errors) +WARNING: gcc.dg/vect/slp-24-big-array.c -flto -ffat-lto-objects compilation failed to produce executable +WARNING: gcc.dg/vect/slp-24-big-array.c compilation failed to produce executable +FAIL: gcc.dg/vect/slp-24.c (test for excess errors) +FAIL: gcc.dg/vect/slp-24.c -flto -ffat-lto-objects (test for excess errors) +WARNING: gcc.dg/vect/slp-24.c -flto -ffat-lto-objects compilation failed to produce executable +WARNING: gcc.dg/vect/slp-24.c compilation failed to produce executable +FAIL: gcc.dg/vect/slp-45.c -flto -ffat-lto-objects execution test +FAIL: gcc.dg/vect/slp-45.c execution test +FAIL: gcc.dg/vect/vect-62.c -flto -ffat-lto-objects execution test +FAIL: gcc.dg/vect/vect-62.c execution test +FAIL: gcc.dg/vect/vect-double-reduc-3.c -flto -ffat-lto-objects execution test +FAIL: gcc.dg/vect/vect-double-reduc-3.c execution test +FAIL: gcc.dg/vect/vect-double-reduc-7.c -flto -ffat-lto-objects execution test +FAIL: gcc.dg/vect/vect-double-reduc-7.c execution test +FAIL: gcc.dg/vect/vect-reduc-1char-big-array.c (test for excess errors) +FAIL: gcc.dg/vect/vect-reduc-1char-big-array.c -flto -ffat-lto-objects (test for excess errors) +WARNING: gcc.dg/vect/vect-reduc-1char-big-array.c -flto -ffat-lto-objects compilation failed to produce executable +WARNING: gcc.dg/vect/vect-reduc-1char-big-array.c compilation failed to produce executable +FAIL: gcc.dg/vect/vect-reduc-1char.c (test for excess errors) +FAIL: gcc.dg/vect/vect-reduc-1char.c -flto -ffat-lto-objects (test for excess errors) +WARNING: gcc.dg/vect/vect-reduc-1char.c -flto -ffat-lto-objects compilation failed to produce executable +WARNING: gcc.dg/vect/vect-reduc-1char.c compilation failed to produce executable +FAIL: gcc.dg/vect/vect-reduc-1short.c (test for excess errors) +FAIL: gcc.dg/vect/vect-reduc-1short.c -flto -ffat-lto-objects (test for excess errors) +WARNING: gcc.dg/vect/vect-reduc-1short.c -flto -ffat-lto-objects compilation failed to produce executable +WARNING: gcc.dg/vect/vect-reduc-1short.c compilation failed to produce executable +FAIL: gcc.dg/vect/vect-reduc-3.c -flto -ffat-lto-objects execution test +FAIL: gcc.dg/vect/vect-reduc-3.c execution test +FAIL: gcc.dg/vect/wrapv-vect-reduc-2char.c (test for excess errors) +WARNING: gcc.dg/vect/wrapv-vect-reduc-2char.c compilation failed to produce executable +FAIL: gcc.dg/vect/wrapv-vect-reduc-2short.c (test for excess errors) +WARNING: gcc.dg/vect/wrapv-vect-reduc-2short.c compilation failed to produce executable +WARNING: program timed out. +FAIL: gfortran.dg/vect/no-fre-no-copy-prop-O3-pr51704.f90 -O (test for excess errors) +WARNING: program timed out. This happens both with sparc-sun-solaris2.11 and sparcv9-sun-solaris2.11 compilers. A reghunt identified the following patch as the culprit: The first bad revision is: changeset: 43149:587cc1cada02 user: rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4 date: Wed Jan 03 21:46:38 2018 +0000 summary: Use extract_bit_field_as_subreg for vectors * expmed.c (extract_bit_field_1): For vector extracts, fall back to extract_bit_field_as_subreg if vec_extract isn't available. For the tests that time out during compilation (haven't tried to determine if they complete in more than 5 minutes), the patch for PR middle-end/83675 is required as well. Rainer