https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124959
Bug ID: 124959
Summary: [16 Regression] gcc.dg/hoist-register-pressure-1.c,
also ...-2.c and ...-3.c
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: hp at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux
Target: cris-elf
>From commit r16-8316-g630b53cd4ff1c3, my cris-elf autotester reports these
regressions:
Running /x/gcc/testsuite/gcc.dg/dg.exp ...
[...]
FAIL: gcc.dg/hoist-register-pressure-1.c scan-rtl-dump hoist "PRE/HOIST: end of
bb .* copying expression"
FAIL: gcc.dg/hoist-register-pressure-2.c scan-rtl-dump hoist "PRE/HOIST: end of
bb .* copying expression"
FAIL: gcc.dg/hoist-register-pressure-3.c scan-rtl-dump hoist "PRE/HOIST: end of
bb .* copying expression"
Now, this particular regression is due to a testism: a target specifier that
failed due to a typo, was corrected so that a scan-rtl-dump started to DTRT and
fail. At this point you may think "case closed" and move on, BUT..."due
diligence" shows that at the time the typo was introduced, the tests worked for
cris-elf!
The typo was introduced at 3ff52d54e4f04 alias svn r220906
alias r5-7374-g3ff52d54e4f040 on "CommitDate: Mon Feb 23 08:10:26 2015
+0000". All -1..3 tests were working at that time, with them starting to
work at at commit in the svn range (r193417..r193425] IOW
(2012-11-11-22:25:30..2012-11-12-02:36:43] probably at the commit where
the -3 test was introduced, as its appearance in the PASS log)
coincides with that range.
Apparently the *true* regression was thus introduced
r5-7374-g3ff52d54e4f040..r16-8316-g630b53cd4ff1c3 (the former being
the commit with the offending typo, the latter was the recent fix, so "good"
would be the commit before the former, and "bad" being the latter, in git
bisect terms).
I don't know if the actual failure was general or target-specific, but I'm
marking it as target and cris-elf so nobody will feel bothered.