public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44625] New: ICE after error: anonymous struct not inside named type
@ 2010-06-22 8:35 doko at ubuntu dot com
2010-06-22 11:08 ` [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: doko at ubuntu dot com @ 2010-06-22 8:35 UTC (permalink / raw)
To: gcc-bugs
seen with 4.3, 4.4, 4.5 and trunk:
Starting program: /scratch/packages/gcc/4.4/gcc-4.4-4.4.4/build/gcc/cc1plus
-fpreprocessed ../../Vector3D.ii -quiet -dumpbase Vector3D.ii -mtune=generic
-auxbase Vector3D -version -fpermissive -o /tmp/ccG8KwAM.s
GNU C++ (Debian 4.4.4-6) version 4.4.4 (x86_64-linux-gnu)
compiled by GNU C version 4.4.4, GMP version 4.3.2, MPFR version
2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 98feda5ccf2f6c27a26b5ced57e2b3dd
In file included from Vector3D.cpp:4:
Vector3D.h: In member function 'Vec<FP_>& Vec<FP_>::operator^=(Vec<FP_>&)':
Vector3D.h:112: error: anonymous struct not inside named type
Vector3D.h: In member function 'Vec<FP_>& Vec<FP_>::operator^=(Vec<FP_>&) [with
FP_ = double]':
Vector3D.cpp:19: instantiated from here
Vector3D.h:112: error: anonymous struct not inside named type
Program received signal SIGSEGV, Segmentation fault.
tsubst_copy_and_build (t=0x0, args=0x7ffff6112fc0,
complain=tf_warning_or_error,
in_decl=0x7ffff62b2c80, function_p=<value optimized out>,
integral_constant_expression_p=<value optimized out>) at
../../src/gcc/cp/pt.c:11716
11716 if (BASELINK_P (member))
(gdb) p member
$1 = (tree) 0x0
--
Summary: ICE after error: anonymous struct not inside named type
Product: gcc
Version: 4.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: doko at ubuntu dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44625
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] ICE after error: anonymous struct not inside named type
2010-06-22 8:35 [Bug c++/44625] New: " doko at ubuntu dot com
@ 2010-06-22 11:08 ` rguenth at gcc dot gnu dot org
2010-06-24 21:32 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-22 11:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-06-22 11:08 -------
Reduced testcase (but with more and slightly different errors)
template<typename FP_> class Vec {
Vec& operator^=(Vec& rhs) {
union {
struct {FP_ x,y,z;};
};
X = y*rhs.z() - z*rhs.y();
}
Vec& operator^(Vec& rhs) {
return Vec(*this)^=rhs;
}
};
Vec<double> v(3,4,12);
Vec<double>V(12,4,3);
Vec<double> c = v^V;
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |3.4.6
Summary|ICE after error: anonymous |[4.3/4.4/4.5/4.6 Regression]
|struct not inside named type|ICE after error: anonymous
| |struct not inside named type
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44625
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] ICE after error: anonymous struct not inside named type
2010-06-22 8:35 [Bug c++/44625] New: " doko at ubuntu dot com
2010-06-22 11:08 ` [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-06-24 21:32 ` rguenth at gcc dot gnu dot org
2010-06-24 21:58 ` rguenth at gcc dot gnu dot org
2010-07-05 11:05 ` paolo dot carlini at oracle dot com
3 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-24 21:32 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44625
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] ICE after error: anonymous struct not inside named type
2010-06-22 8:35 [Bug c++/44625] New: " doko at ubuntu dot com
2010-06-22 11:08 ` [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
2010-06-24 21:32 ` rguenth at gcc dot gnu dot org
@ 2010-06-24 21:58 ` rguenth at gcc dot gnu dot org
2010-07-05 11:05 ` paolo dot carlini at oracle dot com
3 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-24 21:58 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44625
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] ICE after error: anonymous struct not inside named type
2010-06-22 8:35 [Bug c++/44625] New: " doko at ubuntu dot com
` (2 preceding siblings ...)
2010-06-24 21:58 ` rguenth at gcc dot gnu dot org
@ 2010-07-05 11:05 ` paolo dot carlini at oracle dot com
3 siblings, 0 replies; 9+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-07-05 11:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from paolo dot carlini at oracle dot com 2010-07-05 11:04 -------
On it.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle
|dot org |dot com
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44625
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-06-23 17:01 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-44625-4@http.gcc.gnu.org/bugzilla/>
2011-03-05 0:26 ` [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] ICE after error: anonymous struct not inside named type steven at gcc dot gnu.org
2011-03-05 0:33 ` paolo.carlini at oracle dot com
2011-06-23 11:01 ` [Bug c++/44625] [4.3/4.4/4.5/4.6/4.7 " paolo.carlini at oracle dot com
2011-06-23 16:59 ` paolo at gcc dot gnu.org
2011-06-23 17:01 ` [Bug c++/44625] [4.3/4.4/4.5/4.6 " paolo.carlini at oracle dot com
2010-06-22 8:35 [Bug c++/44625] New: " doko at ubuntu dot com
2010-06-22 11:08 ` [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
2010-06-24 21:32 ` rguenth at gcc dot gnu dot org
2010-06-24 21:58 ` rguenth at gcc dot gnu dot org
2010-07-05 11:05 ` paolo dot carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).