This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Trivial fix for objc.dg/selector-2.m test case



On 25 May 2005, at 15.20, Andrew Pinski wrote:



On May 25, 2005, at 5:17 PM, Ziemowit Laski wrote:


The @selector type is const-qualified for the GNU runtime, but not the
Apple runtime.  Hence, running on Darwin with "-fgnu-runtime" in place
was bound to produce type qualifier warnings.  In addition, the GNU
version of the selector warning appears on a different line, due to
the fact that GNU selectors do not have line numbers associated with
them (people are welcome to fix this if they wish).

Committing as obvious.

That is not the right thing to do, this is testing to make sure we don't ICE when compiling -fgnu-runtime.

If the compiler ICEs, the test will still fail; I don't follow you.


--Zem
--------------------------------------------------------------
Ziemowit Laski                 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group        Cupertino, CA USA  95014-2083
Apple Computer, Inc.           +1.408.974.6229  Fax .5477


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]