public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc++/48479] New: [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin*
@ 2011-04-06 12:28 dominiq at lps dot ens.fr
  2011-04-06 13:39 ` [Bug objc++/48479] " froydnj at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-04-06 12:28 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression] Many ICEs in the obj-c++.dg test
                    suite on *-apple-darwin*
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: objc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: nicola.pero@meta-innovation.com, iains@gcc.gnu.org
              Host: *-apple-darwin*
            Target: *-apple-darwin*
             Build: *-apple-darwin*


Between revisions 171800 and 171957 many failures appeared in the obj-c++.dg
test suite on *-apple-darwin*(see
http://gcc.gnu.org/ml/gcc-testresults/2011-04/msg00442.html ):

FAIL: obj-c++.dg/template-4.mm -fnext-runtime (internal compiler error)
FAIL: obj-c++.dg/template-4.mm -fnext-runtime (test for excess errors)
WARNING: obj-c++.dg/template-4.mm -fnext-runtime compilation failed to produce
executable
FAIL: obj-c++.dg/strings/const-str-12.mm -fnext-runtime (internal compiler
error)
FAIL: obj-c++.dg/strings/const-str-12.mm -fnext-runtime (test for excess
errors)
...
FAIL: obj-c++.dg/torture/strings/string1.mm  -O2 -flto  -fnext-runtime
(internal compiler error)
FAIL: obj-c++.dg/torture/strings/string1.mm  -O2 -flto  -fnext-runtime (test
for excess errors)
WARNING: obj-c++.dg/torture/strings/string1.mm  -O2 -flto  -fnext-runtime
compilation failed to produce executable

AFAICT they are all of the kind

/opt/gcc/work/gcc/testsuite/obj-c++.dg/template-4.mm: In function 'int main()':
/opt/gcc/work/gcc/testsuite/obj-c++.dg/template-4.mm:75:3: internal compiler
error: tree check: expected tree that contains 'decl with RTL' structure, have
'const_decl' in cxx_mark_addressable, at cp/typeck.c:5378


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc++/48479] [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin*
  2011-04-06 12:28 [Bug objc++/48479] New: [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin* dominiq at lps dot ens.fr
@ 2011-04-06 13:39 ` froydnj at gcc dot gnu.org
  2011-04-06 13:41 ` froydnj at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: froydnj at gcc dot gnu.org @ 2011-04-06 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

Nathan Froyd <froydnj at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |froydnj at gcc dot gnu.org

--- Comment #1 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-04-06 13:39:29 UTC ---
Bleh, that would be my change.  I think what's required is making the
CONST_DECL its own case there.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc++/48479] [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin*
  2011-04-06 12:28 [Bug objc++/48479] New: [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin* dominiq at lps dot ens.fr
  2011-04-06 13:39 ` [Bug objc++/48479] " froydnj at gcc dot gnu.org
@ 2011-04-06 13:41 ` froydnj at gcc dot gnu.org
  2011-04-06 14:58 ` iains at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: froydnj at gcc dot gnu.org @ 2011-04-06 13:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-04-06 13:41:01 UTC ---
Created attachment 23900
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23900
untested patch


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc++/48479] [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin*
  2011-04-06 12:28 [Bug objc++/48479] New: [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin* dominiq at lps dot ens.fr
  2011-04-06 13:39 ` [Bug objc++/48479] " froydnj at gcc dot gnu.org
  2011-04-06 13:41 ` froydnj at gcc dot gnu.org
@ 2011-04-06 14:58 ` iains at gcc dot gnu.org
  2011-04-06 15:59 ` dominiq at lps dot ens.fr
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: iains at gcc dot gnu.org @ 2011-04-06 14:58 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.04.06 14:58:01
     Ever Confirmed|0                           |1

--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> 2011-04-06 14:58:01 UTC ---
(In reply to comment #2)
> Created attachment 23900 [details]
> untested patch

seems to do the trick on i686-darwin9 ... 
.. linux is still bootstrapping..


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc++/48479] [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin*
  2011-04-06 12:28 [Bug objc++/48479] New: [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin* dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2011-04-06 14:58 ` iains at gcc dot gnu.org
@ 2011-04-06 15:59 ` dominiq at lps dot ens.fr
  2011-04-14 18:47 ` froydnj at gcc dot gnu.org
  2011-04-14 18:49 ` froydnj at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-04-06 15:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-04-06 15:58:42 UTC ---
> seems to do the trick on i686-darwin9 ...

On x86_64-apple-darwin10 too (incremental update with the patch in comment #2
on top of r172043 and regtesting of g++ and obj-c++ with -m32 and -m64).

Thanks for the quick fix.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc++/48479] [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin*
  2011-04-06 12:28 [Bug objc++/48479] New: [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin* dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2011-04-06 15:59 ` dominiq at lps dot ens.fr
@ 2011-04-14 18:47 ` froydnj at gcc dot gnu.org
  2011-04-14 18:49 ` froydnj at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: froydnj at gcc dot gnu.org @ 2011-04-14 18:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-04-14 18:46:48 UTC ---
Author: froydnj
Date: Thu Apr 14 18:46:34 2011
New Revision: 172441

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172441
Log:
    PR objc++/48479
    * typeck.c (cxx_mark_addressable) [CONST_DECL]: Mark addressable
    and return immediately.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc++/48479] [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin*
  2011-04-06 12:28 [Bug objc++/48479] New: [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin* dominiq at lps dot ens.fr
                   ` (4 preceding siblings ...)
  2011-04-14 18:47 ` froydnj at gcc dot gnu.org
@ 2011-04-14 18:49 ` froydnj at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: froydnj at gcc dot gnu.org @ 2011-04-14 18:49 UTC (permalink / raw)
  To: gcc-bugs

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

Nathan Froyd <froydnj at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Nathan Froyd <froydnj at gcc dot gnu.org> 2011-04-14 18:48:23 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-04-14 18:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-06 12:28 [Bug objc++/48479] New: [4.7 Regression] Many ICEs in the obj-c++.dg test suite on *-apple-darwin* dominiq at lps dot ens.fr
2011-04-06 13:39 ` [Bug objc++/48479] " froydnj at gcc dot gnu.org
2011-04-06 13:41 ` froydnj at gcc dot gnu.org
2011-04-06 14:58 ` iains at gcc dot gnu.org
2011-04-06 15:59 ` dominiq at lps dot ens.fr
2011-04-14 18:47 ` froydnj at gcc dot gnu.org
2011-04-14 18:49 ` froydnj 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).