Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66444 - [3.4/ICE] g++ typeid
Summary: [3.4/ICE] g++ typeid
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/bugzilla/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-05 11:29 UTC by roma1390
Modified: 2006-01-15 20:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
by request (ccG94gSk.out,3.15 KB, text/plain)
2004-10-05 11:30 UTC, roma1390
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roma1390 2004-10-05 11:29:17 UTC
<code>
#include <typeinfo>

using namespace std;

class A
{
public:
        A ();
        virtual int a() = 0;
};

int main(void)
{
        A *B;

        typeid(typeid(*B)).name();
}
</code>
usage:

g++ file.cpp

Reproducible: Always
Steps to Reproduce:
1.g++ file.cpp

Actual Results:  
file.cpp: In function `int main()':
file.cpp:16: internal compiler error: in expand_expr, at expr.c:8943
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccG94gSk.out file, please attach this to
your bugreport.



Expected Results:  
no crash
Comment 1 roma1390 2004-10-05 11:30:37 UTC
Created attachment 41161 [details]
by request

Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccG94gSk.out file, please attach this to
your bugreport.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-14 01:59:23 UTC
I just tested to confirm this is still happening in 3.4.4 on amd64.

Have you reported this upstream?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-16 10:59:44 UTC
Works fine with gcc-4.0.1 on amd64 btw.
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-01-15 20:51:06 UTC
Keeping this open isn't doing us any good.  Waiting on the upstream patch, so marking this as later.