]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cselib.c
re PR debug/52001 (Huge compile-time regression with var-tracking)
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 25 Feb 2012 12:09:27 +0000 (12:09 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sat, 25 Feb 2012 12:09:27 +0000 (12:09 +0000)
commit0e22465644731d86e2d317bf5fbfab2a76eccc9c
tree6ab41affb99d878e95476613024ed2c4536fa5c6
parent2ef7cdff1ee32d6fd8397d6229cc6410cb475ee0
re PR debug/52001 (Huge compile-time regression with var-tracking)

PR debug/52001
* cselib.c (preserve_only_constants): Rename to...
(preserve_constants_and_equivs): ... this.  Split out...
(invariant_or_equiv_p): ... this.  Preserve plus expressions
of other preserved expressions too.
(cselib_reset_table): Adjust.
* var-tracking.c (reverse_op): Use canonical value to build
reverse operation.

From-SVN: r184571
gcc/ChangeLog
gcc/cselib.c
gcc/var-tracking.c