Are x86 builtin load functions "const"?

Andrew Pinski pinskia@gmail.com
Mon Apr 28 21:52:00 GMT 2008


On Mon, Apr 28, 2008 at 12:47 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>  I noticed that x86 builtin load functions aren't defined
>  with def_builtin_const. Is this an oversight or intentional?

I don't see why they can't be defined as const, the only time I can
think of is when you have -fnon-call-exceptions turned on as they can
trap.
Why do you think this is wrong?

Thanks,
Andrew Pinski



More information about the Gcc mailing list