This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33620] [4.3 regression] internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]