public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
@ 2007-10-01 22:13 bero at arklinux dot org
2007-10-01 22:14 ` [Bug c++/33620] " bero at arklinux dot org
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: bero at arklinux dot org @ 2007-10-01 22:13 UTC (permalink / raw)
To: gcc-bugs
Compiling the attached preprocessed code with gcc 4.3 svn rev. 128893
(regardless of compiler flags) results in
project.cpp:2826: internal compiler error: canonical types differ for identical
types const QList<QStringList> and const QList<QStringList>
Please submit a full bug report,
See <http://gcc.gnu.org/bugs.html> for instructions.
This breaks building Qt 4.x.
--
Summary: [4.3 regression] internal compiler error: canonical
types differ for identical types const
QList<QStringList> and const QList<QStringList>
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bero at arklinux dot org
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
@ 2007-10-01 22:14 ` bero at arklinux dot org
2007-10-19 16:39 ` janis at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bero at arklinux dot org @ 2007-10-01 22:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bero at arklinux dot org 2007-10-01 22:14 -------
Created an attachment (id=14282)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14282&action=view)
bzip2-ed preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
2007-10-01 22:14 ` [Bug c++/33620] " bero at arklinux dot org
@ 2007-10-19 16:39 ` janis at gcc dot gnu dot org
2007-10-19 20:20 ` jason at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-10-19 16:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from janis at gcc dot gnu dot org 2007-10-19 16:39 -------
The error also occurs on powerpc64-linux with -m64, where a regression hunt
identified the following patch:
http://gcc.gnu.org/viewcvs?view=rev&rev=128488
r128488 | jason | 2007-09-14 06:07:25 +0000 (Fri, 14 Sep 2007)
--
janis at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
2007-10-01 22:14 ` [Bug c++/33620] " bero at arklinux dot org
2007-10-19 16:39 ` janis at gcc dot gnu dot org
@ 2007-10-19 20:20 ` jason at gcc dot gnu dot org
2007-10-19 23:32 ` janis at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jason at gcc dot gnu dot org @ 2007-10-19 20:20 UTC (permalink / raw)
To: gcc-bugs
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-10-19 20:19:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (2 preceding siblings ...)
2007-10-19 20:20 ` jason at gcc dot gnu dot org
@ 2007-10-19 23:32 ` janis at gcc dot gnu dot org
2007-10-19 23:54 ` bangerth at dealii dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-10-19 23:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from janis at gcc dot gnu dot org 2007-10-19 23:32 -------
Created an attachment (id=14373)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14373&action=view)
smaller testcase, thanks to delta
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (3 preceding siblings ...)
2007-10-19 23:32 ` janis at gcc dot gnu dot org
@ 2007-10-19 23:54 ` bangerth at dealii dot org
2007-10-22 8:45 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bangerth at dealii dot org @ 2007-10-19 23:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from bangerth at dealii dot org 2007-10-19 23:54 -------
This is the shortest I can come up with:
----------------------
template <typename T>
struct __attribute__((visibility("default"))) List {};
int bar(List<int> args);
bool test(const List<int> &);
int i = bar(List<int>());
bool test(const List<int> &) {}
---------------------
tmp/bangerth> /tmp/bangerth/bin/gcc-mainline/bin/c++ -c x.cc
x.cc: In function 'bool test(const List<int>&)':
x.cc:9: internal compiler error: canonical types differ for identical types
const List<int> and const List<int>
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (4 preceding siblings ...)
2007-10-19 23:54 ` bangerth at dealii dot org
@ 2007-10-22 8:45 ` pinskia at gcc dot gnu dot org
2007-10-22 18:03 ` jason at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-22 8:45 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (5 preceding siblings ...)
2007-10-22 8:45 ` pinskia at gcc dot gnu dot org
@ 2007-10-22 18:03 ` jason at gcc dot gnu dot org
2007-10-22 18:04 ` jason at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jason at gcc dot gnu dot org @ 2007-10-22 18:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jason at gcc dot gnu dot org 2007-10-22 18:03 -------
Subject: Bug 33620
Author: jason
Date: Mon Oct 22 18:03:10 2007
New Revision: 129553
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129553
Log:
PR c++/33620
* class.c (finish_struct_bits): Copy TYPE_ATTRIBUTES.
* pt.c (apply_late_template_attributes): Splice out dependent
attributes from DECL_ATTRIBUTES.
* decl.c (cxx_maybe_build_cleanup): Use build_address.
Added:
trunk/gcc/testsuite/g++.dg/ext/tmplattr7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/decl.c
trunk/gcc/cp/pt.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (6 preceding siblings ...)
2007-10-22 18:03 ` jason at gcc dot gnu dot org
@ 2007-10-22 18:04 ` jason at gcc dot gnu dot org
2007-10-23 9:37 ` tbm at cyrius dot com
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jason at gcc dot gnu dot org @ 2007-10-22 18:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jason at gcc dot gnu dot org 2007-10-22 18:04 -------
Fixed.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (7 preceding siblings ...)
2007-10-22 18:04 ` jason at gcc dot gnu dot org
@ 2007-10-23 9:37 ` tbm at cyrius dot com
2008-02-02 3:22 ` singhai at gmail dot com
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tbm at cyrius dot com @ 2007-10-23 9:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from tbm at cyrius dot com 2007-10-23 09:36 -------
*** Bug 33865 has been marked as a duplicate of this bug. ***
--
tbm at cyrius dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (8 preceding siblings ...)
2007-10-23 9:37 ` tbm at cyrius dot com
@ 2008-02-02 3:22 ` singhai at gmail dot com
2008-02-02 3:27 ` singhai at gmail dot com
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: singhai at gmail dot com @ 2008-02-02 3:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from singhai at gmail dot com 2008-02-02 03:21 -------
Created an attachment (id=15075)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15075&action=view)
Another variant of the bug
Another internal compiler error with a similar symptoms.
f.c:11: internal compiler error: canonical types differ for identical types
const NGram<I> and const NGram<I>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (9 preceding siblings ...)
2008-02-02 3:22 ` singhai at gmail dot com
@ 2008-02-02 3:27 ` singhai at gmail dot com
2008-02-02 4:08 ` bangerth at dealii dot org
2008-02-05 13:34 ` dgregor at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: singhai at gmail dot com @ 2008-02-02 3:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from singhai at gmail dot com 2008-02-02 03:27 -------
(From update of attachment 15075)
class Header {};
template <int I>
class NGram {
public:
Header GetHeader() const;
} __attribute__((__packed__));
template <int I>
Header NGram<I>::GetHeader() const {
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (10 preceding siblings ...)
2008-02-02 3:27 ` singhai at gmail dot com
@ 2008-02-02 4:08 ` bangerth at dealii dot org
2008-02-05 13:34 ` dgregor at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: bangerth at dealii dot org @ 2008-02-02 4:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from bangerth at dealii dot org 2008-02-02 04:07 -------
Sharad, what compiler version did you use for the new testcases?
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
` (11 preceding siblings ...)
2008-02-02 4:08 ` bangerth at dealii dot org
@ 2008-02-05 13:34 ` dgregor at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2008-02-05 13:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from dgregor at gcc dot gnu dot org 2008-02-05 13:34 -------
This latest problem is identical to PR c++/35074, which has now been fixed. The
new test case in this bug is passing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33620
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2008-02-05 13:34 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-01 22:13 [Bug c++/33620] New: [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList> bero at arklinux dot org
2007-10-01 22:14 ` [Bug c++/33620] " bero at arklinux dot org
2007-10-19 16:39 ` janis at gcc dot gnu dot org
2007-10-19 20:20 ` jason at gcc dot gnu dot org
2007-10-19 23:32 ` janis at gcc dot gnu dot org
2007-10-19 23:54 ` bangerth at dealii dot org
2007-10-22 8:45 ` pinskia at gcc dot gnu dot org
2007-10-22 18:03 ` jason at gcc dot gnu dot org
2007-10-22 18:04 ` jason at gcc dot gnu dot org
2007-10-23 9:37 ` tbm at cyrius dot com
2008-02-02 3:22 ` singhai at gmail dot com
2008-02-02 3:27 ` singhai at gmail dot com
2008-02-02 4:08 ` bangerth at dealii dot org
2008-02-05 13:34 ` dgregor 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).