]> gcc.gnu.org Git - gcc.git/commit
re PR c++/17120 (warning: suggest parentheses around assignment used as truth value)
authorJoseph Myers <jsm@polyomino.org.uk>
Sat, 21 Aug 2004 00:19:17 +0000 (01:19 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sat, 21 Aug 2004 00:19:17 +0000 (01:19 +0100)
commitbcf9a914ff833d8df23e10613443fb13c11a506f
treeb8ff48361273be87d7aa45635d9a6b9bf38265e9
parent596cfbb6c00a6856a86ef061585943c0bcb359d6
re PR c++/17120 (warning: suggest parentheses around assignment used as truth value)

cp:
PR c++/17120
* pt.c (tsubst_copy_and_build): Avoid clearing TREE_NO_WARNING for
MODOP_EXPR.

testsuite:
* g++.dg/warn/Wparentheses-4.C: New test.

From-SVN: r86351
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wparentheses-4.C [new file with mode: 0644]
This page took 0.064394 seconds and 5 git commands to generate.