diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2005-11-18 13:22:55 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2005-11-18 08:22:55 -0500 |
commit | c48dc958ed1fb8909c84d73177ed7962d356e087 (patch) | |
tree | 78a819775508bd33e2374a131cd4fac26ec229e7 /gcc/expr.c | |
parent | 032e2f50853fa4f789a05f26208f2eeea1e02d85 (diff) | |
download | gcc-c48dc958ed1fb8909c84d73177ed7962d356e087.tar.gz |
expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless ib_boundaries_block is non-null
* expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless
ib_boundaries_block is non-null
From-SVN: r107180
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
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); |