summaryrefslogtreecommitdiffstats
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-18 13:22:55 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-18 13:22:55 +0000
commiteeae654fd9c019903076a732d9bcf9ee20b3961d (patch)
tree78a819775508bd33e2374a131cd4fac26ec229e7 /gcc/expr.c
parent24540022954f3e7071ea860cb729ebb8b1674bd3 (diff)
downloadppe42-gcc-eeae654fd9c019903076a732d9bcf9ee20b3961d.tar.gz
ppe42-gcc-eeae654fd9c019903076a732d9bcf9ee20b3961d.zip
* expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless
ib_boundaries_block is non-null git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107180 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 125e37071d9..13dd782588e 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -6488,7 +6488,7 @@ expand_expr_real (tree exp, rtx target, enum machine_mode tmode,
information. It would be better of the diagnostic routines
used the file/line information embedded in the tree nodes rather
than globals. */
- if (cfun && EXPR_HAS_LOCATION (exp))
+ if (cfun && cfun->ib_boundaries_block && EXPR_HAS_LOCATION (exp))
{
location_t saved_location = input_location;
input_location = EXPR_LOCATION (exp);
OpenPOWER on IntegriCloud