Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCC 4 and strict aliasing



On 2006-03-18 02:40, Eric Christopher said:

>>> 2) Apple's GCC should not turn on -fstrict-aliasing when -ftree-
>>> vectorize -fno-strict-aliasing is passed.
>
>Don't file this one - the vectorizer needs the information to
>vectorize properly (a good reason to make your code aliasing safe :)

Well, if -fno-strict-aliasing is explicitly passed, its pretty evil to
turn it on, even if another flag needs it.  Wouldn't it be better that
give a message saying that -ftree-vectorize and -fno-strict-aliasing
can't be used together?  Otherwise people will have the same problem as
the OP in the future.  If I was the OP, I'd file this bug.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: GCC 4 and strict aliasing (From: email@hidden (Stefan Haller))
 >Re: GCC 4 and strict aliasing (From: "Frederik Slijkerman (FabFilter)" <email@hidden>)
 >Re: GCC 4 and strict aliasing (From: Eric Albert <email@hidden>)
 >Re: GCC 4 and strict aliasing (From: "Frederik Slijkerman (FabFilter)" <email@hidden>)
 >Re: GCC 4 and strict aliasing (From: Eric Christopher <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.