public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14464] New: compiler dumps with internal compiler error
@ 2004-03-06 22:33 robert dot schweikert at abaqus dot com
2004-03-06 22:35 ` [Bug c++/14464] " robert dot schweikert at abaqus dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: robert dot schweikert at abaqus dot com @ 2004-03-06 22:33 UTC (permalink / raw)
To: gcc-bugs
When trying to compile a particular file the compiler dumps. I presume the same
error will occur on IA32 but I have not tested this. This happens with the
latest 3.4 snapshot and previous compilers.
-> g++ -c -m64 -fpic -fno-implicit-templates -fno-implicit-inline-templates
-ffor-scope -w -Wnon-virtual-dtor -Wsign-promo -Woverloaded-virtual -O2
inpK_DdbTracer.i
/usr/project/generated/inp/ker/impl/inpK_DdbTracer.C: In function `void
inpk_ddbtracer_(int&, int&, int&, int&, int&, int*, int*, float*, char*, int&)':
/usr/project/generated/inp/ker/impl/inpK_DdbTracer.C:112: internal compiler
error: in cp_expr_size, at cp/cp-lang.c:347
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I couldn't figure out how to attach the file and didn't want to cut and paste it
since it is rather large. I'll be happy to attach the .i file to an e-mail.
Thanks,
Robert
--
Summary: compiler dumps with internal compiler error
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: robert dot schweikert at abaqus dot com
CC: gcc-bugs at gcc dot gnu dot org,robert dot schweikert at
abaqus dot com
GCC build triplet: AMD64
GCC host triplet: AMD 64
GCC target triplet: AMD64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14464
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/14464] compiler dumps with internal compiler error
2004-03-06 22:33 [Bug c++/14464] New: compiler dumps with internal compiler error robert dot schweikert at abaqus dot com
@ 2004-03-06 22:35 ` robert dot schweikert at abaqus dot com
2004-03-06 23:31 ` falk at debian dot org
2004-03-06 23:38 ` [Bug c++/14464] [3.3/3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: robert dot schweikert at abaqus dot com @ 2004-03-06 22:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From robert dot schweikert at abaqus dot com 2004-03-06 22:35 -------
Created an attachment (id=5876)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5876&action=view)
file that shows the bug when compiled with the supplied command
Figured out how to attach the file after all.
Thanks,
Robert
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14464
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/14464] compiler dumps with internal compiler error
2004-03-06 22:33 [Bug c++/14464] New: compiler dumps with internal compiler error robert dot schweikert at abaqus dot com
2004-03-06 22:35 ` [Bug c++/14464] " robert dot schweikert at abaqus dot com
@ 2004-03-06 23:31 ` falk at debian dot org
2004-03-06 23:38 ` [Bug c++/14464] [3.3/3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: falk at debian dot org @ 2004-03-06 23:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From falk at debian dot org 2004-03-06 23:31 -------
Here's a test case, can probably be reduced further. Likely the same as bug 14230.
struct cow_String {
cow_String(const cow_String& rhs) { }
inline cow_String& operator=(const cow_String& str);
};
struct inp_StringIntPair {
cow_String name;
const cow_String& ConstGetInstanceNodeIdPair();
};
template<class Class>
struct thr_ThreadSingletonBase { };
template<class Class>
class thr_ThreadSingleton { };
struct inp_SolverPartMap:public thr_ThreadSingleton<inp_SolverPartMap> {
inp_StringIntPair ConstGetInstanceNodeIdPair(int globalId) const;
};
inp_SolverPartMap partMap;
int global = 0;
const cow_String& name = partMap.ConstGetInstanceNodeIdPair(global).name;
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14464
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/14464] [3.3/3.4/3.5 Regression] compiler dumps with internal compiler error
2004-03-06 22:33 [Bug c++/14464] New: compiler dumps with internal compiler error robert dot schweikert at abaqus dot com
2004-03-06 22:35 ` [Bug c++/14464] " robert dot schweikert at abaqus dot com
2004-03-06 23:31 ` falk at debian dot org
@ 2004-03-06 23:38 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-06 23:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-06 23:38 -------
This can be further reduced to PR14230:
struct cow_String {
cow_String(const cow_String& rhs) { }
inline cow_String& operator=(const cow_String& str);
};
struct inp_StringIntPair {
cow_String name;
const cow_String& ConstGetInstanceNodeIdPair();
};
inp_StringIntPair ConstGetInstanceNodeIdPair();
const cow_String& name = ConstGetInstanceNodeIdPair().name;
*** This bug has been marked as a duplicate of 14230 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Keywords| |ice-on-valid-code
Known to fail| |3.3.1 3.4.0 3.5.0 3.3.3
Known to work| |3.2.3 3.0.4
Resolution| |DUPLICATE
Summary|compiler dumps with internal|[3.3/3.4/3.5 Regression]
|compiler error |compiler dumps with internal
| |compiler error
Target Milestone|--- |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14464
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-03-06 23:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-06 22:33 [Bug c++/14464] New: compiler dumps with internal compiler error robert dot schweikert at abaqus dot com
2004-03-06 22:35 ` [Bug c++/14464] " robert dot schweikert at abaqus dot com
2004-03-06 23:31 ` falk at debian dot org
2004-03-06 23:38 ` [Bug c++/14464] [3.3/3.4/3.5 Regression] " 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).