https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116926
Bug ID: 116926
Summary: [15 Regression] Recent changes in dot-product causing
ICE on c6x port
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: law at gcc dot gnu.org
Target Milestone: ---
This change:
commit fd35d99914051c9c58b91b167f4802c8db460038 (HEAD)
Author: Victor Do Nascimento <[email protected]>
Date: Wed Jun 5 10:55:06 2024 +0100
c6x: Adjust dot-product backend patterns
Following the migration of the dot_prod optab from a direct to a
conversion-type optab, ensure all back-end patterns incorporate the
second machine mode into pattern names.
gcc/ChangeLog:
* config/c6x/c6x.md (sdot_prodv2hi): Renamed to...
(sdot_prodsiv2hi): ...this.
Causes a testsuite regression on the c6x port:
Tests that now fail, but worked before (10 tests):
c6x-sim: gcc: gcc.dg/torture/pr46172.c -O1 (test for excess errors)
c6x-sim: gcc: gcc.dg/torture/pr46172.c -O1 (test for excess errors)
c6x-sim: gcc: gcc.dg/torture/pr46172.c -O2 (test for excess errors)
c6x-sim: gcc: gcc.dg/torture/pr46172.c -O2 (test for excess errors)
[ ... ]
Which are all of the form:
FAIL: gcc.dg/torture/pr46172.c -O1 (internal compiler error: in
find_widening_optab_handler_and_mode, at optabs-query.cc:489)
This should be visible trivially with a cross compiler, so you don't need a
full setup with newlib, simulators, etc.