OSDN Git Service

* expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Nov 2005 13:22:55 +0000 (13:22 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Nov 2005 13:22:55 +0000 (13:22 +0000)
ib_boundaries_block is non-null

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107180 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expr.c

index 6132e36..6e63793 100644 (file)
@@ -1,4 +1,7 @@
-2005-11-18  Richard Kenner  <kenner@don.gnat.com>
+2005-11-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless
+       ib_boundaries_block is non-null
 
        * postreload.c (reload_cse_move2add): Don't try to work with BImode.
 
index 125e370..13dd782 100644 (file)
@@ -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);