[Bug target/39337] x86 use of VLA disables -fomit-frame-pointer

2009-03-01 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2009-03-02 02:39 --- > This is correct, vla and alloca always uses a frame pointer because there is > no way to get back to the original offsets so the compiler needs a frame > pointer. It's not restoring from the frame pointer here, it

[Bug target/39337] x86 use of VLA disables -fomit-frame-pointer

2009-03-01 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-03-02 02:33 --- One more thing, inlining of functions that contain a VLA is disabled anyways. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39337

[Bug target/39337] x86 use of VLA disables -fomit-frame-pointer

2009-03-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-03-02 02:32 --- This is correct, vla and alloca always uses a frame pointer because there is no way to get back to the original offsets so the compiler needs a frame pointer. -- pinskia at gcc dot gnu dot org changed: