[Bug tree-optimization/23563] [4.0 Regression] False warning for uninitialized variable: regression from 3.4.2

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 25 17:58:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-25 17:48 -------
Well I right in saying this is due to exceptions but is wrong in saying I can reproduce this on the 
mainline.

It more has to do with not copying of the finally block (for the call of the deconstructor of stack_obj).

In 3.4.0 we copied the finally block in 4.0.2 we don't but in 4.1.0 we do again.

At -O2 we copy the finally block too.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|i386-portbld-freebsd5.4     |
   GCC host triplet|i386-portbld-freebsd5.4     |
 GCC target triplet|i386-portbld-freebsd5.4     |
           Keywords|                            |diagnostic, missed-
                   |                            |optimization
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-25 17:48:53
               date|                            |
            Summary|False warning for           |[4.0 Regression] False
                   |uninitialized variable:     |warning for uninitialized
                   |regression from 3.4.2       |variable: regression from
                   |                            |3.4.2
   Target Milestone|---                         |4.0.2


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



More information about the Gcc-bugs mailing list