cfgexpand (n_stack_vars_conflict): New static variable.
commit15b83b0f4781d79436e45afb0afcca8ea33327ca
authorBernd Schmidt <bernd.schmidt@analog.com>
Thu, 26 Nov 2009 21:46:45 +0000 (26 21:46 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 26 Nov 2009 21:46:45 +0000 (26 21:46 +0000)
treea9aa8b9c7a24e7daac7f1cb68dc03d61d2c3775a
parenta96caf80851972e5f4e3e48a368f7e9d9bf450d2
cfgexpand (n_stack_vars_conflict): New static variable.

* cfgexpand (n_stack_vars_conflict): New static variable.
(triangular_index): Reduce likelyhood of overflow by performing
the division before the multiplication.
(resize_stack_vars_conflict): Call fatal_error if overflow
occurred in triangular_index.  Update n_stack_vars_conflict.

From-SVN: r154689
gcc/ChangeLog
gcc/cfgexpand.c