lly was added in
https://gcc.gnu.org/pipermail/gcc-patches/2004-July/144621.html
to suppress -Wparentheses warnings for non-templated compound assignment
operator expressions.
Here's a patch that also gets rid of that suppress_warning call:
OK.
-- >8 --
Subject: [PATCH] c++: non-dependen
(loc, lhs, modifycode, rhs, complain);
> > + else
> > +rval = build_new_op (loc, MODIFY_EXPR, LOOKUP_NORMAL,
> > lhs, rhs, op, lookups, &overload, complain);
> > - if (rval)
> > - {
> > if (rval == error_mark_node)
> &
On 9/17/23 14:51, Patrick Palka wrote:
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for
trunk? Patch generatde with -w to avoid noisy whitespace changes.
-- >8 --
This patch makes us recognize and check non-dependent simple assigments
ahead of time, like we already do f
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for
trunk? Patch generatde with -w to avoid noisy whitespace changes.
-- >8 --
This patch makes us recognize and check non-dependent simple assigments
ahead of time, like we already do for compound assignments. This means
the