https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
Jonathan Wakely changed:
What|Removed |Added
Last reconfirmed|2018-06-05 00:00:00 |2019-7-23
--- Comment #8 from Jonathan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
--- Comment #7 from Konstantin Kharlamov ---
(In reply to Aso Renji from comment #6)
> (In reply to Konstantin Kharlamov from comment #5)
> > Just tested with 8.3.0 version on the other PC, same there, i.e. stack space
> > does not increase when
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
--- Comment #6 from Aso Renji ---
(In reply to Konstantin Kharlamov from comment #5)
> Just tested with 8.3.0 version on the other PC, same there, i.e. stack space
> does not increase when built with -O2. So this was fixed at least since
> 8.3.0.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
--- Comment #5 from Konstantin Kharlamov ---
(In reply to Konstantin Kharlamov from comment #4)
> Works for me on gcc 9.1.0. I compile it as:
>
> $ g++ test.cpp -o a -O2
>
> And then running `./a` results in a bunch of:
>
> Consumed 80
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
--- Comment #4 from Konstantin Kharlamov ---
Works for me on gcc 9.1.0. I compile it as:
$ g++ test.cpp -o a -O2
And then running `./a` results in a bunch of:
Consumed 80 bytes
Consumed 80 bytes
Consumed 80 bytes
Consumed 8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
--- Comment #2 from Andrew Pinski ---
Related to PR 54770.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86050
Marc Glisse changed:
What|Removed |Added
Keywords||missed-optimization
Component|mid