Committed: Complete the .opts conversion for Blackfin

Bernd Schmidt bernds_cb1@t-online.de
Wed Apr 13 08:31:00 GMT 2005


Richard Henderson wrote:
> On Tue, Apr 12, 2005 at 04:27:29PM +0200, Bernd Schmidt wrote:
> 
>>!   if (bfin_lib_id_given && ! TARGET_ID_SHARED_LIBRARY)
>>!     error ("-mshared-library-id= specified without -mid-shared-library");
> 
> 
> I'm pretty sure this fails for id=0.

You're right.  I misunderstood what Var() does; I thought it's always a 
boolean but it isn't with UInteger.  I've checked in the patch below to 
fix it (and this time I tried -mshared-library-id=0 as well...).  Thanks.


Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfin-opt2.diff
Type: text/x-patch
Size: 205 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050413/183c1613/attachment.bin>


More information about the Gcc-patches mailing list