[Bug 544783]
Paolo-k
544783 at bugs.launchpad.net
Thu Jun 23 16:58:31 UTC 2011
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 <paolo.carlini at oracle.com>
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 <paolo.carlini at oracle.com>
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
Foundations Bugs, which is subscribed to gcc-4.4 in Ubuntu.
https://bugs.launchpad.net/bugs/544783
Title:
compiling some template classes and got error re anonymous struct not
in named type
Status in The GNU Compiler Collection:
Fix Released
Status in “gcc-4.4” package in Ubuntu:
Triaged
Bug description:
Binary package hint: gcc-4.4
Ubuntu 9.10, gcc 4.4.1
Got error report about anonymous struct not inside of named type.
This code compiled OK under Microsoft Visual Studio 2007. After error
report, "confused by earlier errors, bailing out"
ProblemType: Crash
Architecture: amd64
Date: Tue Mar 23 00:05:01 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/gcc/x86_64-linux-gnu/4.4.1/cc1plus
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: g++-4.4 4.4.1-4ubuntu9
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: gcc-4.4
Uname: Linux 2.6.31-20-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/544783/+subscriptions
More information about the foundations-bugs
mailing list