Author: paolo
Date: Thu Jun 23 16:58:28 2011
New Revision: 175344

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175344
Log:
/cp
2011-06-23  Paolo Carlini  <[email protected]>

        PR c++/44625
        * decl2.c (build_anon_union_vars): Early return error_mark_node
        for a nested anonymous struct.

/testsuite
2011-06-23  Paolo Carlini  <[email protected]>

        PR c++/44625
        * g++.dg/template/crash107.C: New.
        * g++.dg/template/error17.C: Adjust.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash107.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/template/error17.C

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/544783

Title:
  compiling some template classes and got error re anonymous struct not
  in named type

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/544783/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to