This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][varmap] Fix bootstrap
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 13 Jun 2008 15:53:53 +0200 (CEST)
- Subject: [PATCH][varmap] Fix bootstrap
This fixes bootstrap & regtest of the branch on x86_64-unknown-linux-gnu,
applied to the branch.
Richard.
2008-06-13 Richard Guenther <rguenther@suse.de>
* var-tracking.c (compute_bb_dataflow): Fix C99 var declaration.
Index: gcc/var-tracking.c
===================================================================
--- gcc/var-tracking.c (revision 136752)
+++ gcc/var-tracking.c (working copy)
@@ -2043,11 +2043,12 @@ compute_bb_dataflow (basic_block bb)
dataflow_set old_out;
dataflow_set *in = &VTI (bb)->in;
dataflow_set *out = &VTI (bb)->out;
+ variable_tracking_info vti;
dataflow_set_init (&old_out, htab_elements (VTI (bb)->out.vars) + 3);
dataflow_set_copy (&old_out, out);
dataflow_set_copy (out, in);
- variable_tracking_info vti = VTI(bb);
+ vti = VTI(bb);
n = vti->n_mos;
for (i = 0; i < n; i++)