[Bug c++/90216] New: Stack Pointer decrementing even when not loading extra data to stack.

2019-04-23 Thread stevexiong98 at hotmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: stevexiong98 at hotmail dot com Target Milestone: --- Hi, Using ARM GCC 8.2, when I instantiate an object the corresponding Assembly instructions involve a decrementing, then

[Bug c++/90217] New: Greater optimization of C++ Code

2019-04-23 Thread stevexiong98 at hotmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: stevexiong98 at hotmail dot com Target Milestone: --- Hi, This is not so much a bug, but more of an enhancement. There are 2 pieces of code I have listed below which should translate to identical assembly instructions at high levels of

[Bug middle-end/90216] Stack Pointer decrementing even when not loading extra data to stack.

2019-04-27 Thread stevexiong98 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90216 --- Comment #2 from stevexiong98 at hotmail dot com --- (In reply to Andrew Pinski from comment #1) > Confirmed, part of the problem is union is forced to memory early on but > then optimized out but the object still exist in memory even