public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E)
[not found] <bug-26567-4@http.gcc.gnu.org/bugzilla/>
@ 2011-10-30 20:40 ` belyshev at depni dot sinp.msu.ru
0 siblings, 0 replies; 5+ messages in thread
From: belyshev at depni dot sinp.msu.ru @ 2011-10-30 20:40 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/26567] New: [4.2 regression] ICE in c_lex_with_flags, at c-lex.c:472 with -C
@ 2006-03-05 16:34 belyshev at depni dot sinp dot msu dot ru
2006-03-05 16:42 ` [Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E) pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2006-03-05 16:34 UTC (permalink / raw)
To: gcc-bugs
this line of code causes an ICE if compiled with "-C" option:
/**/#define foo
--
Summary: [4.2 regression] ICE in c_lex_with_flags, at c-lex.c:472
with -C
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: belyshev at depni dot sinp dot msu dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26567
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E)
2006-03-05 16:34 [Bug c/26567] New: [4.2 regression] ICE in c_lex_with_flags, at c-lex.c:472 with -C belyshev at depni dot sinp dot msu dot ru
@ 2006-03-05 16:42 ` pinskia at gcc dot gnu dot org
2006-03-05 16:44 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-05 16:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-05 16:42 -------
Confirmed, not a regression.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail|3.3.3 3.4.0 4.0.0 4.1.0 |3.3.3 3.4.0 4.0.0 4.1.0
|4.2.0 3.2.3 |4.2.0 3.2.3 3.0.4
Last reconfirmed|0000-00-00 00:00:00 |2006-03-05 16:42:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26567
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E)
2006-03-05 16:34 [Bug c/26567] New: [4.2 regression] ICE in c_lex_with_flags, at c-lex.c:472 with -C belyshev at depni dot sinp dot msu dot ru
2006-03-05 16:42 ` [Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E) pinskia at gcc dot gnu dot org
@ 2006-03-05 16:44 ` pinskia at gcc dot gnu dot org
2006-12-27 22:08 ` tromey at gcc dot gnu dot org
2006-12-27 22:14 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-05 16:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-05 16:44 -------
This is minor because you have to directly invoke cc1 and you cannot get this
ICE when using the driver.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26567
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E)
2006-03-05 16:34 [Bug c/26567] New: [4.2 regression] ICE in c_lex_with_flags, at c-lex.c:472 with -C belyshev at depni dot sinp dot msu dot ru
2006-03-05 16:42 ` [Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E) pinskia at gcc dot gnu dot org
2006-03-05 16:44 ` pinskia at gcc dot gnu dot org
@ 2006-12-27 22:08 ` tromey at gcc dot gnu dot org
2006-12-27 22:14 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-12-27 22:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tromey at gcc dot gnu dot org 2006-12-27 22:08 -------
FWIW this doesn't entirely look like a bug to me.
The code is reaching a gcc_unreachable() statement,
so this is more along the lines of a properly
functioning internal check.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26567
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E)
2006-03-05 16:34 [Bug c/26567] New: [4.2 regression] ICE in c_lex_with_flags, at c-lex.c:472 with -C belyshev at depni dot sinp dot msu dot ru
` (2 preceding siblings ...)
2006-12-27 22:08 ` tromey at gcc dot gnu dot org
@ 2006-12-27 22:14 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-27 22:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-12-27 22:14 -------
(In reply to comment #3)
> FWIW this doesn't entirely look like a bug to me.
> The code is reaching a gcc_unreachable() statement,
> so this is more along the lines of a properly
> functioning internal check.
But we should really have it error out instead of an ICE really. It is only a
bug because we get an ICE, if we got an error or ignored the -C, then this
would not be a bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26567
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-30 20:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-26567-4@http.gcc.gnu.org/bugzilla/>
2011-10-30 20:40 ` [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
2006-03-05 16:34 [Bug c/26567] New: [4.2 regression] ICE in c_lex_with_flags, at c-lex.c:472 with -C belyshev at depni dot sinp dot msu dot ru
2006-03-05 16:42 ` [Bug c/26567] ICE in c_lex_with_flags, at c-lex.c:472 with cc1 -C (without -E) pinskia at gcc dot gnu dot org
2006-03-05 16:44 ` pinskia at gcc dot gnu dot org
2006-12-27 22:08 ` tromey at gcc dot gnu dot org
2006-12-27 22:14 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).