aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
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/c-tree.h
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/c-tree.h')
-rw-r--r--gcc/c-tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 0581b38..64e7844 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -501,7 +501,6 @@ extern void c_initialize_diagnostics (diagnostic_context *);
extern bool c_vla_unspec_p (tree x, tree fn);
/* in c-typeck.c */
-extern bool in_late_binary_op;
extern int in_alignof;
extern int in_sizeof;
extern int in_typeof;