This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR52314
On Tue, 21 Feb 2012, Jakub Jelinek wrote:
> On Tue, Feb 21, 2012 at 03:06:40PM +0100, Richard Guenther wrote:
> > The gimplifier, when forcing a value to a temporary, uses the
> > type of the value for that temporary variable, making it for
> > example volatile or const, or puts it in a different address-space
> > even. That's odd and not required, we can decay to the main-variant type.
> Shouldn't restrict be preserved though?
No, we don't preserve restrict casts anymore.