diff options
author | Jason Merrill <jason@redhat.com> | 2016-10-08 13:40:22 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-10-08 13:40:22 -0400 |
commit | 627be19fe1b259a18a33f0f90f2aee63fee13384 (patch) | |
tree | 243c02c542d5ba8e9536eb8932e83a95ef4af526 /gcc/function.c | |
parent | 490a67336b3c5608d76439c536bde3809db6c958 (diff) | |
download | gcc-627be19fe1b259a18a33f0f90f2aee63fee13384.zip gcc-627be19fe1b259a18a33f0f90f2aee63fee13384.tar.gz gcc-627be19fe1b259a18a33f0f90f2aee63fee13384.tar.bz2 |
Delay folding of bool conversion into COND_EXPR.
gcc/c-family/
* c-common.c (c_common_truthvalue_conversion): Don't distribute
into COND_EXPR in C++.
gcc/cp/
* cp-gimplify.c (cp_fold): Distribute cp_truthvalue_conversion
into COND_EXPR.
From-SVN: r240893
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions