This is with today's g++ 4.3, but has been there for a few weeks:

Configured with: /proj/geometrica/home/GCC/trunk/configure
--with-gmp=/proj/geometrica/home/MPFR/MPFR-2.2.1/FC5 --disable-shared
--disable-nls --enable-languages=c++,fortran
--prefix=/proj/geometrica/home/GCC/Linux-fc5-4.3
Thread model: posix
gcc version 4.3.0 20070819 (experimental)

Compiling the attached preprocessed file with "-c -O2" produces the
following ICE.  Note that it is not deterministic: you usually need
to repeat the compile 10-20 times to see it...

[EMAIL PROTECTED]:/proj/geometrica/home/CGAL/CGAL-I/src/CGAL> while
(/proj/geometrica/home/GCC/Linux-fc5-4.3/bin/g++   -c JAMA_numeric_solver.ii
-O2 ) ;
do ; echo OK ;done;
OK
OK
OK
OK
OK
In file included from
/auto/papillon/u/papillon/0/projserver/geometrica/home/GCC/Linux-fc5-4.3/bin/../lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/locale:49,
                 from
/proj/geometrica/home/CGAL/CGAL-I/include/CGAL/Quotient.h:41,
                 from
/proj/geometrica/home/CGAL/CGAL-I/include/CGAL/Root_of_traits.h:27,
                 from
/proj/geometrica/home/CGAL/CGAL-I/include/CGAL/number_type_basic.h:87,
                 from
/proj/geometrica/home/CGAL/CGAL-I/include/CGAL/basic.h:36,
                 from
/proj/geometrica/home/CGAL/CGAL-I/include/CGAL/Polynomial/internal/macros.h:31,
                 from
/proj/geometrica/home/CGAL/CGAL-I/include/CGAL/Polynomial/basic.h:42,
                 from
/proj/geometrica/home/CGAL/CGAL-I/include/CGAL/Polynomial/internal/numeric_solvers_support.h:24,
                 from JAMA_numeric_solver.cpp:22:
/auto/papillon/u/papillon/0/projserver/geometrica/home/GCC/Linux-fc5-4.3/bin/../lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/locale_facets_nonio.h:176:
internal compiler error: canonical types differ for identical types const
_CharT* [14] and const _CharT* [14]
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


I have also been able to reproduce it with only "-O".


-- 
           Summary: ICE : canonical types differ for identical types const
                    _CharT* [14] and const _CharT* [14]
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sylvain dot pion at sophia dot inria dot fr
  GCC host triplet: i686-pc-linux-gnu


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

Reply via email to