This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/43013] [4.4/4.5 Regression] "warning: 'saved_stack.1' is used uninitialized in this function" with -fstack-check



------- Comment #2 from jakub at gcc dot gnu dot org  2010-02-10 09:11 -------
This is actually a regression from 4.3, caused most probably by
http://gcc.gnu.org/viewcvs?view=revision&revision=139159
For VLAs GCC errors out if a goto jumps into a scope with a VLA, for
-fstack-check it obviously can't error out, but probably needs to avoid
emitting the stack checks in that case, or conditionalize them.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-10 09:11:40
               date|                            |
            Summary|[4.5 Regression] "warning:  |[4.4/4.5 Regression]
                   |'saved_stack.1' is used     |"warning: 'saved_stack.1' is
                   |uninitialized in this       |used uninitialized in this
                   |function" with -fstack-check|function" with -fstack-check
   Target Milestone|4.5.0                       |4.4.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43013


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]