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++/32992] [4.1/4.2/4.3 Regression] Incorrect code generated for anonymous union and return



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-08-10 00:51 -------
This is most likely caused by:
2005-09-09  Richard Henderson  <rth@redhat.com>

        PR debug/20998
        * cp-tree.def (ALIAS_DECL): Remove.
        * cp-lang.c (cp_init_ts): Remove support for it.
        * error.c (dump_decl): Likewise.
        * name-lookup.c (pushdecl): Likewise.
        * semantics.c (finish_id_expression): Likewise.
        * decl2.c (build_anon_union_vars): Use a VAR_DECL with
        DECL_VALUE_EXPR instead.


Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.1.0 4.2.0 4.3.0
      Known to work|                            |4.0.0 3.4.0 3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2007-08-10 00:51:02
               date|                            |
            Summary|Incorrect code generated for|[4.1/4.2/4.3 Regression]
                   |anonymous union and return  |Incorrect code generated for
                   |                            |anonymous union and return
   Target Milestone|---                         |4.1.3


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


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