public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37268] New: ICE in template typedef with aligned attribute
@ 2008-08-28 20:40 svobodamo at gmail dot com
2008-08-28 20:44 ` [Bug c++/37268] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: svobodamo at gmail dot com @ 2008-08-28 20:40 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3340 bytes --]
gcc:
g++-4.1 (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
system:
Linux mavis 2.6.18-6-xen-amd64 #1 SMP Fri Jun 6 06:38:05 UTC 2008 x86_64
GNU/Linux
cmd line:
g++-4.1 -v -Wall -ggdb -save-temps test.cpp
output:
x@mavis:~/devel/g++4.1-crash$ g++-4.1 -v -Wall -ggdb -save-temps test.cpp
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release
x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/cc1plus -E -quiet -v -D_GNU_SOURCE \
test.cpp -mtune=k8 -Wall -fworking-directory -fpch-preprocess -o
test.ii
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../x86_64-linux-gnu/include"
ignoring nonexistent directory "/usr/include/x86_64-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/x86_64-linux-gnu
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/include
/usr/include
End of search list.
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/cc1plus -fpreprocessed test.ii -quiet
\
-dumpbase test.cpp -mtune=k8 -auxbase test -ggdb -Wall -version -o
test.s
GNU C++ version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
(x86_64-linux-gnu)
compiled by GNU C version 4.1.2 20061115 (prerelease) (Debian
4.1.1-21).
GGC heuristics: --param ggc-min-expand=93 --param ggc-min-heapsize=119424
Compiler executable checksum: 632603bce5ef3f84603416b58939d0f7
test.cpp: In instantiation of C<AA>:
test.cpp:21: instantiated from here
test.cpp:12: internal compiler error: in is_base_type, at dwarf2out.c:8236
Please submit a full bug report,
preprocessed file:
// /usr/lib/gcc/x86_64-linux-gnu/4.1.2/cc1plus -fpreprocessed test.ii -quiet
// -dumpbase test.cpp -mtune=k8 -auxbase test -ggdb -Wall -version -o -
// -frandom-seed=0
# 1 "test.cpp"
# 1 "/home/x/devel/g++4.1-crash//"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test.cpp"
struct A { };
struct AA { };
template<class T>
struct B {
typedef A T_A;
};
template<typename T>
struct C {
typedef typename B<T>::T_A __attribute__((aligned(16))) T2;
C () { }
};
int main (int , char* [])
{
C<AA> q;
return 0;
}
--
Summary: ICE in template typedef with aligned attribute
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: svobodamo at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37268
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/37268] ICE in template typedef with aligned attribute
2008-08-28 20:40 [Bug c++/37268] New: ICE in template typedef with aligned attribute svobodamo at gmail dot com
@ 2008-08-28 20:44 ` pinskia at gcc dot gnu dot org
2008-08-28 23:36 ` paolo dot carlini at oracle dot com
2008-08-29 7:55 ` svobodamo at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-28 20:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-28 20:42 -------
This works on the trunk and in 4.3.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37268
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/37268] ICE in template typedef with aligned attribute
2008-08-28 20:40 [Bug c++/37268] New: ICE in template typedef with aligned attribute svobodamo at gmail dot com
2008-08-28 20:44 ` [Bug c++/37268] " pinskia at gcc dot gnu dot org
@ 2008-08-28 23:36 ` paolo dot carlini at oracle dot com
2008-08-29 7:55 ` svobodamo at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-08-28 23:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paolo dot carlini at oracle dot com 2008-08-28 23:35 -------
Really works everywhere now, 4.1.3 20080704 too.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to work| |4.1.3 4.2.4 4.3.1
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37268
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/37268] ICE in template typedef with aligned attribute
2008-08-28 20:40 [Bug c++/37268] New: ICE in template typedef with aligned attribute svobodamo at gmail dot com
2008-08-28 20:44 ` [Bug c++/37268] " pinskia at gcc dot gnu dot org
2008-08-28 23:36 ` paolo dot carlini at oracle dot com
@ 2008-08-29 7:55 ` svobodamo at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: svobodamo at gmail dot com @ 2008-08-29 7:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from svobodamo at gmail dot com 2008-08-29 07:53 -------
okay, i'll try to upgrade, thanks guys
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37268
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-08-29 7:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-28 20:40 [Bug c++/37268] New: ICE in template typedef with aligned attribute svobodamo at gmail dot com
2008-08-28 20:44 ` [Bug c++/37268] " pinskia at gcc dot gnu dot org
2008-08-28 23:36 ` paolo dot carlini at oracle dot com
2008-08-29 7:55 ` svobodamo at gmail 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).