aboutsummaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2015-10-02 17:49:15 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2015-10-02 17:49:15 +0000
commit12651878c680a8568e4d6c03b72d05728f0637fc (patch)
tree90890c39aa966bc320e12af2a3496d4fdd415512 /gcc/genemit.c
parent7b65155f1ccbfd741191f03a01fbc40d3ae39cf0 (diff)
downloadgcc-12651878c680a8568e4d6c03b72d05728f0637fc.zip
gcc-12651878c680a8568e4d6c03b72d05728f0637fc.tar.gz
gcc-12651878c680a8568e4d6c03b72d05728f0637fc.tar.bz2
re PR c/67819 (-Wduplicated-cond should take macros into account)
* genemit.c (gen_exp): Remove -Wduplicated-cond hack. * c.opt (Wduplicated-cond): Don't enable by -Wall anymore. * c-c++-common/Wduplicated-cond-2.c: Skip until PR67819 is resolved. From-SVN: r228405
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index 13f9119..e92f757 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -182,7 +182,7 @@ gen_exp (rtx x, enum rtx_code subroutine_type, char *used)
&& INTVAL (x) <= MAX_SAVED_CONST_INT)
printf ("const_int_rtx[MAX_SAVED_CONST_INT + (%d)]",
(int) INTVAL (x));
- else if (STORE_FLAG_VALUE > 1 && INTVAL (x) == STORE_FLAG_VALUE)
+ else if (INTVAL (x) == STORE_FLAG_VALUE)
printf ("const_true_rtx");
else
{