public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38309] New: internal compiler error: iinternal compiler error: in write_type, at cp/mangle.c:1695n write_type, at cp/mangle.c:1695
@ 2008-11-28 16:44 izh1979 at gmail dot com
2008-11-28 16:59 ` [Bug c++/38309] ICE in " paolo dot carlini at oracle dot com
2008-11-28 17:04 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: izh1979 at gmail dot com @ 2008-11-28 16:44 UTC (permalink / raw)
To: gcc-bugs
Hello!
I use GCC from OpenSUSE-11.0 distribution:
g++ (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
And while investigating bug/feature
http://gcc.gnu.org/ml/gcc-help/2006-10/msg00128.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11407
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#115
I have fond that following code crashes g++:
--------------------
#include <stdio.h>
#include <typeinfo>
template <int N> void f () {}
int
main (void)
{
printf ("%s\n", typeid (&f<2>));
return 0;
}
--------------------
~> g++ test.cpp
test.cpp: In function 'int main()':
test.cpp:9: internal compiler error: in write_type, at cp/mangle.c:1695
--
Summary: internal compiler error: iinternal compiler error: in
write_type, at cp/mangle.c:1695n write_type, at
cp/mangle.c:1695
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: izh1979 at gmail dot com
GCC build triplet: g++ (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-
branch rev
GCC host triplet: linux i568 OpenSUSE-11.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38309
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/38309] ICE in write_type, at cp/mangle.c:1695
2008-11-28 16:44 [Bug c++/38309] New: internal compiler error: iinternal compiler error: in write_type, at cp/mangle.c:1695n write_type, at cp/mangle.c:1695 izh1979 at gmail dot com
@ 2008-11-28 16:59 ` paolo dot carlini at oracle dot com
2008-11-28 17:04 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-11-28 16:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo dot carlini at oracle dot com 2008-11-28 16:57 -------
Duplicate of PR 10690? (by the way, I cannot reproduce the ICE with FSF
4_3-branch and mainline, I'm seeing the "address of overloaded function with no
contextual type information" error instead)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38309
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/38309] ICE in write_type, at cp/mangle.c:1695
2008-11-28 16:44 [Bug c++/38309] New: internal compiler error: iinternal compiler error: in write_type, at cp/mangle.c:1695n write_type, at cp/mangle.c:1695 izh1979 at gmail dot com
2008-11-28 16:59 ` [Bug c++/38309] ICE in " paolo dot carlini at oracle dot com
@ 2008-11-28 17:04 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-28 17:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-11-28 17:02 -------
*** This bug has been marked as a duplicate of 10690 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38309
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-28 17:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-28 16:44 [Bug c++/38309] New: internal compiler error: iinternal compiler error: in write_type, at cp/mangle.c:1695n write_type, at cp/mangle.c:1695 izh1979 at gmail dot com
2008-11-28 16:59 ` [Bug c++/38309] ICE in " paolo dot carlini at oracle dot com
2008-11-28 17:04 ` pinskia at gcc dot gnu dot org
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).