This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC C++ / PR51033 ] Handle __builtin_shuffle in constexpr properly in the C++ frontend.
- From: Jason Merrill <jason at redhat dot com>
- To: Ramana Radhakrishnan <ramana dot radhakrishnan at linaro dot org>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Patch Tracking <patches at linaro dot org>, Marc Glisse <marc dot glisse at inria dot fr>
- Date: Sun, 24 Jun 2012 23:32:09 -0400
- Subject: Re: [RFC C++ / PR51033 ] Handle __builtin_shuffle in constexpr properly in the C++ frontend.
- References: <CACUk7=WW+PQYjq9w6OtTB+Mqm1Hpcne85zau_v8u_v=yhrYvKA@mail.gmail.com>
On 06/18/2012 09:04 AM, Ramana Radhakrishnan wrote:
+ location_t loc = EXPR_LOC_OR_HERE (t);
We should only use EXPR_LOC_OR_HERE for diagnostics. For a location to
use in building other expressions, use EXPR_LOCATION.
OK with that change.
Jason