[Bug objc/47118] ICE on incorrect parameter to @synchronized()

nicola at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 29 21:52:00 GMT 2010


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

--- Comment #2 from Nicola Pero <nicola at gcc dot gnu.org> 2010-12-29 21:52:03 UTC ---
Author: nicola
Date: Wed Dec 29 21:52:00 2010
New Revision: 168326

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168326
Log:
In gcc/objc/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

    PR objc/47118
    * objc-act.c (objc_build_synchronized): Check the argument of
    @synchronized and emit an appropriate error if it is not a valid
    Objective-C object.  Deal gracefully with that case.  Updated
    comments and variable names.

In gcc/testsuite/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

    PR objc/47118
    * objc.dg/sync-3.m: New.
    * obj-c++.dg/sync-3.mm: New.


Added:
    trunk/gcc/testsuite/obj-c++.dg/sync-3.mm
    trunk/gcc/testsuite/objc.dg/sync-3.m
Modified:
    trunk/gcc/objc/ChangeLog
    trunk/gcc/objc/objc-act.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list