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 c++/41090] [4.4/4.5/4.6/4.7/4.8 Regression] Using static label reference in c++ class constructor produces wrong code


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|4.4.7                       |4.8.0
            Summary|[4.4/4.5/4.6/4.7            |[4.4/4.5/4.6/4.7/4.8
                   |Regression] Using static    |Regression] Using static
                   |label reference in c++      |label reference in c++
                   |class constructor produces  |class constructor produces
                   |wrong code                  |wrong code
      Known to fail|                            |

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-05 18:11:57 UTC ---
Well, we could perhaps detect the problematic ctors or dtors and instead of
cloning them as we do now create a helper function which all of the ctors resp.
dtors would use.  Doesn't look like a 4.7 material at this point though.


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