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++/33185] [4.3 Regression] ICE: canonical types differ for identical types T [] and T []



------- Comment #9 from rwgk at yahoo dot com  2007-09-22 04:23 -------
Info regarding Comment #8:

Fedora Core release 5 (Bordeaux)
% uname -r -m
2.6.15-1.2054_FC5 x86_64

% g++ -fpermissive -c -fPIC -I/usr/include/python2.4 ice_canonical.cpp
ice_canonical.cpp: In function 'void init_module()':
ice_canonical.cpp:8: internal compiler error: canonical types differ for
identical types const char [3] and const char [3]
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

The result is the same with:

g++ (GCC) 4.3.0 20070919 (experimental) SVN revision 128608 as-is

g++ (GCC) 4.3.0 20070922 (experimental) SVN revision 128661M
  where the "M" is because I've locally applied the patch from Comment #7.
  Apparently, the patch isn't the whole solution.

Note: the -fpermissive is required to avoid the new "changes meaning" error.
I've already fixed the boost SVN trunk so that the -fpermissive is no longer
required. I can reproduce the same ICE based on the boost SVN trunk, without
using the -fpermissive.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33185


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