https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83356
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-12-18
Known to work| |7.1.0
Summary|[7 regression] excessive |[7 Regression] excessive
|stack usage compiling with |stack usage compiling with
|-O2 -fsanitize=bounds |-O2 -fsanitize=bounds
|-fsanitize=object-size |-fsanitize=object-size
Ever confirmed|0 |1
Known to fail| |7.2.0
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, only GCC 7 branch is affected by gcc-7-branch@251376:
Where related part is backport of PR target/81921:
PR target/81921
* config/i386/i386.c: Include symbol-summary.h, ipa-prop.h
and ipa-inline.h.
(ix86_can_inline_p): When ix86_fpmath flags do not match
check whether the callee uses FP math at all.
* gcc/testsuite/gcc.target/i386/pr81921.c: New testcase.
That is probably wrong:
https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00178.html
Anyway it's an inlining that is enabled, let me reduce a test-case that will
illustrate the problem.