[PATCH] Fix PR middle-end/26306
Mark Mitchell
mark@codesourcery.com
Wed Nov 15 17:47:00 GMT 2006
Richard Kenner wrote:
>>> +If it is a scalar type, or an aggregate type whose only member object is
>>> +of a scalar type, or a union type whose member objects are of scalar types,
>>> +the expression is interpreted by GCC as a read of the volatile object; in
>>> +the other cases, the expression is only evaluated for its side-effects.
>> Is that true on all platforms? Are there no platforms where "long
>> long", or a structure containing that, gets BLKmode?
>
> There are no platforms where "long long" is BLKmode. There might be
> some with a struct containing only that being BLKmode, but I don't think
> we need to worry about being that precise.
In that case, I think that we should insert an "on most targets" clause
somewhere. That puts users on alert that these semantics may not be
100% the same on all systems.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list