[Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E)
belyshev at depni dot sinp.msu.ru
gcc-bugzilla@gcc.gnu.org
Sun Oct 30 20:40:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26567
Serge Belyshev <belyshev at depni dot sinp.msu.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
URL| |http://gcc.gnu.org/ml/gcc-p
| |atches/2010-04/msg01592.htm
| |l
Known to work| |4.6.0
Resolution| |FIXED
Target Milestone|--- |4.6.0
Known to fail| |4.3.0, 4.4.0, 4.5.0
--- Comment #5 from Serge Belyshev <belyshev at depni dot sinp.msu.ru> 2011-10-30 20:40:08 UTC ---
Was quietly fixed by r160100:
2010-06-01 Arnaud Charlet <charlet@adacore.com>
Matthew Gingell <gingell@adacore.com>
* doc/invoke.texi: Mention -fdump-ada-spec.
* tree-dump.c (dump_files): Add ada-spec.
(FIRST_AUTO_NUMBERED_DUMP): Bump to 8.
* tree-pass.h (tree_dump_index): Add TDI_ada.
* gcc.c: Add support for -C without -E and for -fdump-ada-spec.
(cpp_unique_options): Do not reject -C or -CC when -E isn't present.
(default_compilers) <@c-header>: Allow -fdump-ada-spec on header files.
* c-decl.c: Include c-ada-spec.h.
(collect_source_ref_cb, collect_all_refs, for_each_global_decl): New
functions.
(c_write_global_declarations): Add handling of -fdump-ada-spec.
* c-lex.c (c_lex_with_flags): Add handling of CPP_COMMENT.
* Makefile.in (C_AND_OBJC_OBJS): Add c-ada-spec.o.
* c-ada-spec.h, c-ada-spec.c: New files.
More information about the Gcc-bugs
mailing list