re PR bootstrap/40788 (ICE on sparc: tree check: expected class 'expression', have...
authorRichard Guenther <rguenther@suse.de>
Tue, 11 Aug 2009 11:39:43 +0000 (11:39 +0000)
committerLaurent Guerby <guerby@gcc.gnu.org>
Tue, 11 Aug 2009 11:39:43 +0000 (11:39 +0000)
2009-08-11  Richard Guenther  <rguenther@suse.de>

        PR bootstrap/40788
        * builtins.c (gimplify_va_arg_expr): Do not call
        SET_EXPR_LOCATION.

From-SVN: r150648

gcc/ChangeLog
gcc/builtins.c

index 5d1df0f..1938c39 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-11  Richard Guenther  <rguenther@suse.de>
+        
+        PR bootstrap/40788
+        * builtins.c (gimplify_va_arg_expr): Do not call 
+        SET_EXPR_LOCATION.
+
 2009-08-10  Douglas B Rupp  <rupp@gnat.com>
 
        * config/alpha/vms.h (OPTIMIZATION_OPTIONS): Remove
index 57c0c1b..1349c33 100644 (file)
@@ -5104,7 +5104,6 @@ gimplify_va_arg_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p)
        return GS_ALL_DONE;
 
       *expr_p = targetm.gimplify_va_arg_expr (valist, type, pre_p, post_p);
-      SET_EXPR_LOCATION (*expr_p, loc);
       return GS_OK;
     }
 }