diff options
author | Marek Polacek <polacek@redhat.com> | 2018-01-10 17:05:14 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-01-10 17:05:14 +0000 |
commit | 6bebae75035889a4844eb4d32a695bebf412bcd7 (patch) | |
tree | 37f7d206934485b75f5cdcabfcc92b8619d89cbd /gcc/tree-ssa-loop-prefetch.c | |
parent | e99ef40892b598eeb3fa496cc472e111675d7f6c (diff) | |
download | gcc-6bebae75035889a4844eb4d32a695bebf412bcd7.zip gcc-6bebae75035889a4844eb4d32a695bebf412bcd7.tar.gz gcc-6bebae75035889a4844eb4d32a695bebf412bcd7.tar.bz2 |
re PR c++/82541 (Wduplicated-branches triggers in template context)
PR c++/82541
* call.c (build_conditional_expr_1): Check complain before warning.
* pt.c (tsubst_copy_and_build) <case COND_EXPR>: Suppress
-Wduplicated-branches.
* g++.dg/warn/Wduplicated-branches4.C: New test.
From-SVN: r256441
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions