PATCH [gcc and libstdc++] for memory barriers in static initalization

Richard Henderson rth@redhat.com
Tue Dec 28 08:07:00 GMT 2004


On Mon, Dec 27, 2004 at 11:32:48PM -0500, Jason Merrill wrote:
> + /* The SPARC v9 architecture defines a relaxed memory ordering model (RMO)
> +    which requires this if enabled, though it is never used in userspace,
> +    and the Ultra3 processors don't implement it.  */
> + #define TARGET_RELAXED_ORDERING TARGET_V9

This is a variable.  Either you need to modify the member in
override_options, or you need to make this hook a function.


r~



More information about the Gcc-patches mailing list