Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127148 - Internal compiler error in GCC
Summary: Internal compiler error in GCC
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://codepoet.info/pub/gcc
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-21 21:58 UTC by Arthur Ouellet
Modified: 2006-03-21 23:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Ouellet 2006-03-21 21:58:05 UTC
voider@voidlap ~/ecole/ift585/lab04 $ g++ main.cc rpc.cc -o client
In file included from main.cc:2:
rpc.h: In function `T RPC::Call(const std::string&, const RPC::RPCParameter&)':
rpc.h:29: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:9317
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccCvho3J.out file, please attach this to your bugreport.
In file included from rpc.cc:1:
rpc.h: In function `T RPC::Call(const std::string&, const RPC::RPCParameter&)':
rpc.h:29: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:9317
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccd9NHah.out file, please attach this to your bugreport.

The content of /tmp/ccd9NHah.out is at http://codepoet.info/pub/gcc/gcc_error.txt
(warning: over 29000 lines of preprocessed stuff)
You can also the get the complete source, aswell as Makefile at http://codepoet.info/pub/gcc

GCC version:
gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(It's my first bug report, If you need further information, I'll be glad to help)
Thanks!
Comment 1 Arthur Ouellet 2006-03-21 22:19:36 UTC
Ok, I just found there was an error in my code.
I put the working code in http://codepoet.info/pub/gcc/new_code/

The bug is still valid, as I don't think gcc must do a compiler internal error on that one :)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-21 23:24:10 UTC
Well, fix your code... 
Comment 3 Arthur Ouellet 2006-03-21 23:28:22 UTC
(In reply to comment #2)
> Well, fix your code... 
> 

It's what I did.

I think the bug is still important anyway. Gcc should not do an "internal compiler error" when it is asked to compile confusing/wrong code. Is'nt?