This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Are x86 builtin load functions "const"?
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GCC <gcc at gcc dot gnu dot org>
- Date: Mon, 28 Apr 2008 12:50:39 -0700
- Subject: Re: Are x86 builtin load functions "const"?
- References: <6dc9ffc80804281247w161cd143k8ebac815f185fd21@mail.gmail.com>
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