public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc++/28434] New: ICE with invalid protocol
@ 2006-07-19 13:05 reichelt at gcc dot gnu dot org
2006-07-19 13:20 ` [Bug objc++/28434] " patchapp at dberlin dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-19 13:05 UTC (permalink / raw)
To: gcc-bugs
The following invalid testcase triggers an ICE since GCC 4.1.0
(when objective-c++ was introduced):
====================
Class<> c;
====================
bug.mm:1: error: expected identifier before '>' token
bug.mm:1: internal compiler error: tree check: expected identifier_node, have
error_mark in lookup_and_install_protocols, at objc/objc-act.c:1438
Please submit a full bug report, [etc.]
Posting a patch soon.
--
Summary: ICE with invalid protocol
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: objc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28434
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc++/28434] ICE with invalid protocol
2006-07-19 13:05 [Bug objc++/28434] New: ICE with invalid protocol reichelt at gcc dot gnu dot org
@ 2006-07-19 13:20 ` patchapp at dberlin dot org
2006-07-19 19:56 ` reichelt at gcc dot gnu dot org
2006-07-19 19:57 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: patchapp at dberlin dot org @ 2006-07-19 13:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from patchapp at dberlin dot org 2006-07-19 13:20 -------
Subject: Bug number PR obj-c++/28434
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00813.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28434
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc++/28434] ICE with invalid protocol
2006-07-19 13:05 [Bug objc++/28434] New: ICE with invalid protocol reichelt at gcc dot gnu dot org
2006-07-19 13:20 ` [Bug objc++/28434] " patchapp at dberlin dot org
@ 2006-07-19 19:56 ` reichelt at gcc dot gnu dot org
2006-07-19 19:57 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-19 19:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from reichelt at gcc dot gnu dot org 2006-07-19 19:56 -------
Subject: Bug 28434
Author: reichelt
Date: Wed Jul 19 19:56:29 2006
New Revision: 115599
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115599
Log:
PR obj-c++/28434
* objc-act.c (lookup_and_install_protocols): Skip error_mark_nodes.
* obj-c++.dg/proto-error-1.mm: New test.
Added:
trunk/gcc/testsuite/obj-c++.dg/proto-error-1.mm
Modified:
trunk/gcc/objc/ChangeLog
trunk/gcc/objc/objc-act.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28434
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc++/28434] ICE with invalid protocol
2006-07-19 13:05 [Bug objc++/28434] New: ICE with invalid protocol reichelt at gcc dot gnu dot org
2006-07-19 13:20 ` [Bug objc++/28434] " patchapp at dberlin dot org
2006-07-19 19:56 ` reichelt at gcc dot gnu dot org
@ 2006-07-19 19:57 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-19 19:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-07-19 19:57 -------
Fixed on mainline.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28434
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-07-19 19:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-19 13:05 [Bug objc++/28434] New: ICE with invalid protocol reichelt at gcc dot gnu dot org
2006-07-19 13:20 ` [Bug objc++/28434] " patchapp at dberlin dot org
2006-07-19 19:56 ` reichelt at gcc dot gnu dot org
2006-07-19 19:57 ` reichelt 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).