* [Bug testsuite/105183] New test case gcc.dg/ipa/remref-7.c fails with -m32
2022-04-06 18:18 [Bug other/105183] New: New test case gcc.dg/ipa/remref-7.c fails with -m32 seurer at gcc dot gnu.org
@ 2022-04-07 7:09 ` rguenth at gcc dot gnu.org
2022-04-07 21:43 ` hp at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-07 7:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105183
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc64-linux-gnu |powerpc64-linux-gnu,
| |i?86-*-*
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Also on i?86-*-* with -mno-sse
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/105183] New test case gcc.dg/ipa/remref-7.c fails with -m32
2022-04-06 18:18 [Bug other/105183] New: New test case gcc.dg/ipa/remref-7.c fails with -m32 seurer at gcc dot gnu.org
2022-04-07 7:09 ` [Bug testsuite/105183] " rguenth at gcc dot gnu.org
@ 2022-04-07 21:43 ` hp at gcc dot gnu.org
2022-04-08 9:39 ` jamborm at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu.org @ 2022-04-07 21:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105183
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc64-linux-gnu, |powerpc64-linux-gnu,
|i?86-*-* |i?86-*-*, m68k-*, cris-*
CC| |hp at gcc dot gnu.org
--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
...and cris-elf and m68k according to
https://gcc.gnu.org/pipermail/gcc-testresults/2022-April/758712.html so I guess
all or most ILP32.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/105183] New test case gcc.dg/ipa/remref-7.c fails with -m32
2022-04-06 18:18 [Bug other/105183] New: New test case gcc.dg/ipa/remref-7.c fails with -m32 seurer at gcc dot gnu.org
2022-04-07 7:09 ` [Bug testsuite/105183] " rguenth at gcc dot gnu.org
2022-04-07 21:43 ` hp at gcc dot gnu.org
@ 2022-04-08 9:39 ` jamborm at gcc dot gnu.org
2022-04-08 10:13 ` jamborm at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2022-04-08 9:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105183
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2022-04-08
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I'm having a look.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/105183] New test case gcc.dg/ipa/remref-7.c fails with -m32
2022-04-06 18:18 [Bug other/105183] New: New test case gcc.dg/ipa/remref-7.c fails with -m32 seurer at gcc dot gnu.org
` (2 preceding siblings ...)
2022-04-08 9:39 ` jamborm at gcc dot gnu.org
@ 2022-04-08 10:13 ` jamborm at gcc dot gnu.org
2022-04-08 10:59 ` jamborm at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2022-04-08 10:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105183
--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I expected that the only call of bar in the testcase to be always
inlined everywhere but apparently it is not at least on i?86-*-* with
-mno-sse (and I expect the problem to be the same on the other
reported platforms).
Using --param max-inline-insns-auto=100 "fixes" it (again at least on
i686 without SSE but I expect elsewhere too).
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/105183] New test case gcc.dg/ipa/remref-7.c fails with -m32
2022-04-06 18:18 [Bug other/105183] New: New test case gcc.dg/ipa/remref-7.c fails with -m32 seurer at gcc dot gnu.org
` (3 preceding siblings ...)
2022-04-08 10:13 ` jamborm at gcc dot gnu.org
@ 2022-04-08 10:59 ` jamborm at gcc dot gnu.org
2022-04-13 13:10 ` cvs-commit at gcc dot gnu.org
2022-04-13 13:10 ` jamborm at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2022-04-08 10:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105183
--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I proposed to increase the parameter specification in the test in:
https://gcc.gnu.org/pipermail/gcc-patches/2022-April/592994.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/105183] New test case gcc.dg/ipa/remref-7.c fails with -m32
2022-04-06 18:18 [Bug other/105183] New: New test case gcc.dg/ipa/remref-7.c fails with -m32 seurer at gcc dot gnu.org
` (4 preceding siblings ...)
2022-04-08 10:59 ` jamborm at gcc dot gnu.org
@ 2022-04-13 13:10 ` cvs-commit at gcc dot gnu.org
2022-04-13 13:10 ` jamborm at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-04-13 13:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105183
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Jambor <jamborm@gcc.gnu.org>:
https://gcc.gnu.org/g:dd61ee6fde5fcf1d503b679bb9b5e0a0ba7a515d
commit r12-8139-gdd61ee6fde5fcf1d503b679bb9b5e0a0ba7a515d
Author: Martin Jambor <mjambor@suse.cz>
Date: Wed Apr 13 15:08:59 2022 +0200
testsuite: Increase auto-inlining param in gcc.dg/ipa/remref-7.c (PR
105183)
A scan dump of testsuite gcc.dg/ipa/remref-7.c fails on a number of
platforms. I investigated only i?86-*-* with -mno-sse but assume the
issue is the same on all of the affected platform.
Because function bar is not inlined there even though it is only
called once, the process that is being tested is simply not triggered.
This can be "fixed" by increasing parameter max-inline-insns-auto to
something high, I randomly picked 100.
I have only manually tested the change but hopefully that is enough.
gcc/testsuite/ChangeLog:
2022-04-08 Martin Jambor <mjambor@suse.cz>
PR testsuite/105183
* gcc.dg/ipa/remref-7.c: Add --param max-inline-insns-auto=100 to
options.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/105183] New test case gcc.dg/ipa/remref-7.c fails with -m32
2022-04-06 18:18 [Bug other/105183] New: New test case gcc.dg/ipa/remref-7.c fails with -m32 seurer at gcc dot gnu.org
` (5 preceding siblings ...)
2022-04-13 13:10 ` cvs-commit at gcc dot gnu.org
@ 2022-04-13 13:10 ` jamborm at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2022-04-13 13:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105183
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Please re-open if the fix turns out insufficient for any of the affected
platforms. Thanks for reporting.
^ permalink raw reply [flat|nested] 8+ messages in thread