aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-switch-conversion.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-11-19 18:32:57 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2010-11-19 18:32:57 +0000
commit5386338c2ce9a7f68c270166b4ac5bd2ffe5af05 (patch)
tree9151e4c17120304997a7c6d34c179af7fb0dcd7b /gcc/tree-switch-conversion.c
parent7a336abaa12e18d6f3e36e29c57bd7a2665a33f7 (diff)
downloadgcc-5386338c2ce9a7f68c270166b4ac5bd2ffe5af05.zip
gcc-5386338c2ce9a7f68c270166b4ac5bd2ffe5af05.tar.gz
gcc-5386338c2ce9a7f68c270166b4ac5bd2ffe5af05.tar.bz2
re PR c/46547 (internal compiler error when converting a complex to a bool)
PR c/46547 * c-tree.h (in_late_binary_op): Move to c-family/c-common.h. * c-typeck.c (in_late_binary_op): Move to c-family/c-common.c. c-family: * c-common.c (in_late_binary_op): Define. (c_common_truthvalue_conversion): Check in_late_binary_op before calling c_save_expr. * c-common.h (in_late_binary_op): Declare. testsuite: * gcc.c-torture/compile/pr46547-1.c: New test. From-SVN: r166951
Diffstat (limited to 'gcc/tree-switch-conversion.c')
0 files changed, 0 insertions, 0 deletions