public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/49287] New: [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for excess errors)
@ 2011-06-05 11:38 dominiq at lps dot ens.fr
  2011-06-05 12:01 ` [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) " dominiq at lps dot ens.fr
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-05 11:38 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression] FAIL:
                    obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm)
                    -fnext-runtime (test for excess errors) FAIL:
                    objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for
                    excess errors)
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: nicola.pero@meta-innovation.com
              Host: *-apple-darwin*
            Target: *-apple-darwin*
             Build: *-apple-darwin*


Since revision 174586 I see the following failures on darwin

FAIL: obj-c++.dg/gnu-api-2-class.mm -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/gnu-api-2-objc.mm -fnext-runtime (test for excess errors)

FAIL: objc.dg/gnu-api-2-class.m -fnext-runtime (test for excess errors)
FAIL: objc.dg/gnu-api-2-objc.m -fnext-runtime (test for excess errors)

with both -m32 and -m64. Revision 174574 is OK (see
http://gcc.gnu.org/ml/gcc-testresults/2011-06/msg00264.html ). This is likely
due to revision 174575

> * objc-act.c (objc_finish_message_expr): Warn if messaging a class
> 	that was only declared using @class without an @interface.  Warn
> 	if messaging an instance of a class that was only declared using
> 	@class without an @interface, unless the receiver was also typed
> 	with a protocol list.


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

* [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors)
  2011-06-05 11:38 [Bug testsuite/49287] New: [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for excess errors) dominiq at lps dot ens.fr
@ 2011-06-05 12:01 ` dominiq at lps dot ens.fr
  2011-06-05 12:05 ` dominiq at lps dot ens.fr
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-05 12:01 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.7 Regression] FAIL:      |[4.7 Regression] FAIL:
                   |obj(c|-c++).dg/gnu-api-2-(c |obj(c|-c++).dg/gnu-api-2-(c
                   |lass|objc).(m|mm)           |lass|objc).(m|mm)
                   |-fnext-runtime (test for    |-fnext-runtime (test for
                   |excess errors) FAIL:        |excess errors)
                   |objc.dg/gnu-api-2-(objc.m   |
                   |-fnext-runtime (test for    |
                   |excess errors)              |

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-05 12:01:21 UTC ---
Fixed a pasto in the summary.


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

* [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors)
  2011-06-05 11:38 [Bug testsuite/49287] New: [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for excess errors) dominiq at lps dot ens.fr
  2011-06-05 12:01 ` [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) " dominiq at lps dot ens.fr
@ 2011-06-05 12:05 ` dominiq at lps dot ens.fr
  2011-06-05 13:08 ` nicola at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-05 12:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-05 12:04:53 UTC ---
I have forgotten to report the errors:

/opt/gcc/work/gcc/testsuite/objc.dg/gnu-api-2-class.m: In function 'main':
/opt/gcc/work/gcc/testsuite/objc.dg/gnu-api-2-class.m:112:7: warning:
@interface of class 'MySubSubClass' not found [enabled by default]
/opt/gcc/work/gcc/testsuite/objc.dg/gnu-api-2-class.m:181:7: warning:
@interface of class 'MySubClass2' not found [enabled by default]

and

/opt/gcc/work/gcc/testsuite/objc.dg/gnu-api-2-objc.m: In function 'main':
/opt/gcc/work/gcc/testsuite/objc.dg/gnu-api-2-objc.m:78:7: warning: @interface
of class 'MyNewSubClass' not found [enabled by default]


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

* [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors)
  2011-06-05 11:38 [Bug testsuite/49287] New: [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for excess errors) dominiq at lps dot ens.fr
  2011-06-05 12:01 ` [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) " dominiq at lps dot ens.fr
  2011-06-05 12:05 ` dominiq at lps dot ens.fr
@ 2011-06-05 13:08 ` nicola at gcc dot gnu.org
  2011-06-05 14:15 ` dominiq at lps dot ens.fr
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: nicola at gcc dot gnu.org @ 2011-06-05 13:08 UTC (permalink / raw)
  To: gcc-bugs

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

Nicola Pero <nicola at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.06.05 13:07:58
                 CC|                            |nicola at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #3 from Nicola Pero <nicola at gcc dot gnu.org> 2011-06-05 13:07:58 UTC ---
Thanks Dominique

I submitted a patch to fix this.

Thanks


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

* [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors)
  2011-06-05 11:38 [Bug testsuite/49287] New: [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for excess errors) dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2011-06-05 13:08 ` nicola at gcc dot gnu.org
@ 2011-06-05 14:15 ` dominiq at lps dot ens.fr
  2011-06-05 17:37 ` nicola at gcc dot gnu.org
  2011-06-05 19:18 ` nicola at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-05 14:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-05 14:14:44 UTC ---
The patch in http://gcc.gnu.org/ml/gcc-patches/2011-06/msg00328.html fixes this
pr on x86_64-apple-darwin10. Thanks for the quick fix.


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

* [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors)
  2011-06-05 11:38 [Bug testsuite/49287] New: [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for excess errors) dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2011-06-05 14:15 ` dominiq at lps dot ens.fr
@ 2011-06-05 17:37 ` nicola at gcc dot gnu.org
  2011-06-05 19:18 ` nicola at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: nicola at gcc dot gnu.org @ 2011-06-05 17:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Nicola Pero <nicola at gcc dot gnu.org> 2011-06-05 17:37:09 UTC ---
Author: nicola
Date: Sun Jun  5 17:37:06 2011
New Revision: 174657

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174657
Log:
In gcc/objc/:
2011-06-05  Nicola Pero  <nicola.pero@meta-innovation.com>

    * objc-act.c (receiver_is_class_object): Expanded comment.
    (objc_finish_message_expr): Likewise.

In gcc/testsuite/:
2011-06-05  Nicola Pero  <nicola.pero@meta-innovation.com>

    PR testsuite/49287
    * objc.dg/gnu-api-2-class.m: Updated testcase silencing compiler
    warning.
    * objc.dg/gnu-api-2-objc.m: Likewise.
    * obj-c++.dg/gnu-api-2-class.mm: Likewise
    * obj-c++.dg/gnu-api-2-objc.mm: Likewise.

Modified:
    trunk/gcc/objc/ChangeLog
    trunk/gcc/objc/objc-act.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/obj-c++.dg/gnu-api-2-class.mm
    trunk/gcc/testsuite/obj-c++.dg/gnu-api-2-objc.mm
    trunk/gcc/testsuite/objc.dg/gnu-api-2-class.m
    trunk/gcc/testsuite/objc.dg/gnu-api-2-objc.m


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

* [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors)
  2011-06-05 11:38 [Bug testsuite/49287] New: [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for excess errors) dominiq at lps dot ens.fr
                   ` (4 preceding siblings ...)
  2011-06-05 17:37 ` nicola at gcc dot gnu.org
@ 2011-06-05 19:18 ` nicola at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: nicola at gcc dot gnu.org @ 2011-06-05 19:18 UTC (permalink / raw)
  To: gcc-bugs

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

Nicola Pero <nicola at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|                            |4.7.0
         Resolution|                            |FIXED

--- Comment #6 from Nicola Pero <nicola at gcc dot gnu.org> 2011-06-05 19:18:11 UTC ---
Fixed in trunk.

Thanks


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

end of thread, other threads:[~2011-06-05 19:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-05 11:38 [Bug testsuite/49287] New: [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) -fnext-runtime (test for excess errors) FAIL: objc.dg/gnu-api-2-(objc.m -fnext-runtime (test for excess errors) dominiq at lps dot ens.fr
2011-06-05 12:01 ` [Bug testsuite/49287] [4.7 Regression] FAIL: obj(c|-c++).dg/gnu-api-2-(class|objc).(m|mm) " dominiq at lps dot ens.fr
2011-06-05 12:05 ` dominiq at lps dot ens.fr
2011-06-05 13:08 ` nicola at gcc dot gnu.org
2011-06-05 14:15 ` dominiq at lps dot ens.fr
2011-06-05 17:37 ` nicola at gcc dot gnu.org
2011-06-05 19:18 ` 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).