This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ patch: bug 17120


Joseph S. Myers wrote:

This patch fixes bug 17120, inappropriate -Wparentheses warnings for
non-plain assignments in the presence of templates;
build_x_modify_expr set TREE_NO_WARNING for them but this then got
overridden.

Bootstrapped with no regressions on i686-pc-linux-gnu. OK to commit?


With a comment explaining why the straight copy didn't work, yes.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]