public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46222] New: [4.6 Regression] ICE in grokdeclarator, at cp/decl.c:9441
@ 2010-10-29  9:41 dominiq at lps dot ens.fr
  2010-10-29 22:32 ` [Bug objc++/46222] " nicola at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-10-29  9:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46222

           Summary: [4.6 Regression] ICE in grokdeclarator, at
                    cp/decl.c:9441
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: jason@redhat.com


On x86_64-apple-darwin10.4.0 starting at revision 166020 I see

FAIL: obj-c++.dg/property/at-property-2.mm -fgnu-runtime (internal compiler
error)
FAIL: obj-c++.dg/property/at-property-2.mm -fgnu-runtime  (test for errors,
line 11)
FAIL: obj-c++.dg/property/at-property-2.mm -fgnu-runtime  (test for errors,
line 12)
FAIL: obj-c++.dg/property/at-property-2.mm -fgnu-runtime (test for excess
errors)
FAIL: obj-c++.dg/property/at-property-2.mm -fnext-runtime (internal compiler
error)
FAIL: obj-c++.dg/property/at-property-2.mm -fnext-runtime  (test for errors,
line 11)
FAIL: obj-c++.dg/property/at-property-2.mm -fnext-runtime  (test for errors,
line 12)
FAIL: obj-c++.dg/property/at-property-2.mm -fnext-runtime (test for excess
errors)

with both -m32 and -m64 (see also 
http://gcc.gnu.org/ml/gcc-testresults/2010-10/msg02265.html or
http://gcc.gnu.org/ml/gcc-testresults/2010-10/msg02294.html ). These failures
are not present in revision 166011 (see 
http://gcc.gnu.org/ml/gcc-testresults/2010-10/msg02196.html ).

The internal compiler error is

[macbook] f90/bug% g++46
/opt/gcc/work/gcc/testsuite/obj-c++.dg/property/at-property-2.mm
/opt/gcc/work/gcc/testsuite/obj-c++.dg/property/at-property-2.mm:10:39:
warning: 'xxx' attribute directive ignored [-Wattributes]
/opt/gcc/work/gcc/testsuite/obj-c++.dg/property/at-property-2.mm:11:30:
internal compiler error: in grokdeclarator, at cp/decl.c:9441


^ 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 ` 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

end of thread, other threads:[~2010-11-27 18:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).