c++/9336: [3.3 regression] ICE in cp_line_of, at cp/error.c:2191

Janis Johnson janis187@us.ibm.com
Mon Feb 24 22:29:00 GMT 2003


With checking enabled, this started being an ICE with this
patch (yeah, it's not terribly interesting):

2002-01-23  Zack Weinberg  <zack@codesourcery.com>

        * diagnostic.c (internal_error): Do ICE suppression only
        when ENABLE_CHECKING is not defined.

There is no ICE with current mainline or 3.2-branch.
3.3 20030224 (with checking enabled) reports:

9336.C: In function `std::pair<std::string, ASTInfo*> insertident(const
   std::string&, ASTInfo*)':
9336.C:15: error: `make_pair' undeclared (first use this function)
9336.C:15: error: (Each undeclared identifier is reported only once for
each
   function it appears in.)

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

The original ICE is gone, but I think this new one is covered
by other PRs.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9336





More information about the Gcc-bugs mailing list