* [Bug objc++/46222] [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441
2010-10-29 9:41 [Bug c++/46222] New: [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441 dominiq at lps dot ens.fr
@ 2010-10-29 22:32 ` nicola at gcc dot gnu.org
2010-10-29 23:29 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: nicola at gcc dot gnu.org @ 2010-10-29 22:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46222
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.29 22:32:34
CC| |nicola at gcc dot gnu.org
Component|c++ |objc++
Ever Confirmed|0 |1
--- Comment #1 from Nicola Pero <nicola at gcc dot gnu.org> 2010-10-29 22:32:34 UTC ---
Yes, I have the same problem on gnu/linux i386.
To keep this in context, though, it only happens if you try to use a function
in a @property declaration, which is pathologically invalid code (it can't
happen by mistake, you really have to want to do it; but some inexperienced
users may try). Hence I marked this as a P5.
Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug objc++/46222] [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441
2010-10-29 9:41 [Bug c++/46222] New: [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441 dominiq at lps dot ens.fr
2010-10-29 22:32 ` [Bug objc++/46222] " nicola at gcc dot gnu.org
@ 2010-10-29 23:29 ` rguenth at gcc dot gnu.org
2010-11-22 19:27 ` danglin at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-29 23:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46222
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug objc++/46222] [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441
2010-10-29 9:41 [Bug c++/46222] New: [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441 dominiq at lps dot ens.fr
2010-10-29 22:32 ` [Bug objc++/46222] " nicola at gcc dot gnu.org
2010-10-29 23:29 ` rguenth at gcc dot gnu.org
@ 2010-11-22 19:27 ` danglin at gcc dot gnu.org
2010-11-22 19:32 ` iains at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2010-11-22 19:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46222
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu.org
--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> 2010-11-22 19:16:18 UTC ---
On hppa64-hp-hpux11.11, the following FAIL occurs:
FAIL: obj-c++.dg/property/at-property-2.mm -fgnu-runtime (test for errors,
line
12)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug objc++/46222] [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441
2010-10-29 9:41 [Bug c++/46222] New: [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441 dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2010-11-22 19:27 ` danglin at gcc dot gnu.org
@ 2010-11-22 19:32 ` iains at gcc dot gnu.org
2010-11-27 12:19 ` nicola at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: iains at gcc dot gnu.org @ 2010-11-22 19:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46222
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> 2010-11-22 19:30:30 UTC ---
This has been done intentionally - the fault that caused the ICE has not been
fixed, and has been marked as a P5.
In order to allow the test to run (and check the remaining cases) the line
causing the ICE has been commented out - but the test left intact -- the
failure serving as a reminder that this issue has still to be addressed.
(I guess you could XFAIL it if it becomes annoying - but hopefully we'll have a
chance to address it before long).
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug objc++/46222] [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441
2010-10-29 9:41 [Bug c++/46222] New: [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441 dominiq at lps dot ens.fr
` (3 preceding siblings ...)
2010-11-22 19:32 ` iains at gcc dot gnu.org
@ 2010-11-27 12:19 ` nicola at gcc dot gnu.org
2010-11-27 18:20 ` nicola at gcc dot gnu.org
2010-11-27 18:33 ` nicola at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: nicola at gcc dot gnu.org @ 2010-11-27 12:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46222
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |nicola at gcc dot gnu.org
|gnu.org |
--- Comment #4 from Nicola Pero <nicola at gcc dot gnu.org> 2010-11-27 11:26:06 UTC ---
I submitted a patch
Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug objc++/46222] [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441
2010-10-29 9:41 [Bug c++/46222] New: [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441 dominiq at lps dot ens.fr
` (4 preceding siblings ...)
2010-11-27 12:19 ` nicola at gcc dot gnu.org
@ 2010-11-27 18:20 ` nicola at gcc dot gnu.org
2010-11-27 18:33 ` nicola at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: nicola at gcc dot gnu.org @ 2010-11-27 18:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46222
--- Comment #5 from Nicola Pero <nicola at gcc dot gnu.org> 2010-11-27 18:17:19 UTC ---
Author: nicola
Date: Sat Nov 27 18:17:14 2010
New Revision: 167202
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167202
Log:
In gcc/cp/:
2010-11-27 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc++/46222
* decl.c (grokdeclarator): Replaced an assert (for a case that can
never happen in C++, but could happen in ObjC++ for invalid code)
with a check that prints an error message and returns
error_mark_node.
In gcc/testsuite/:
2010-11-27 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc++/46222
* obj-c++.dg/property/at-property-2.mm: Uncommented testcase.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/obj-c++.dg/property/at-property-2.mm
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug objc++/46222] [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441
2010-10-29 9:41 [Bug c++/46222] New: [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441 dominiq at lps dot ens.fr
` (5 preceding siblings ...)
2010-11-27 18:20 ` nicola at gcc dot gnu.org
@ 2010-11-27 18:33 ` nicola at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: nicola at gcc dot gnu.org @ 2010-11-27 18:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46222
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to work| |4.6.0
Resolution| |FIXED
--- Comment #6 from Nicola Pero <nicola at gcc dot gnu.org> 2010-11-27 18:18:44 UTC ---
Fixed in trunk
Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread