This is the mail archive of the gcc-bugs@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]

[Bug c++/51064] False Positive for -Wparentheses


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51064

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-01-04 16:40:01 UTC ---
Author: paolo
Date: Wed Jan  4 16:39:53 2012
New Revision: 182880

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182880
Log:
/cp
2012-01-04  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51064
    * pt.c (tsubst_copy_and_build): Maybe set TREE_NO_WARNING on
    the tree returned by build_x_binary_op.

/testsuite
2012-01-04  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51064
    * g++.dg/warn/Wparentheses-26.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-26.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


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