]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/params.def
re PR middle-end/39157 (Code that compiles fine in 1GB of memory with 4.1.2 requires...
authorJakub Jelinek <jakub@redhat.com>
Fri, 20 Feb 2009 12:56:01 +0000 (13:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Feb 2009 12:56:01 +0000 (13:56 +0100)
commitb1fb9f569958b2f6127f32495821a5b69c0a2c33
treec37b4e8fdb620aa7e10238c591d1e5c0c5753af2
parentda9c199f2cbefd192f9ec89579c7a627fa113bfc
re PR middle-end/39157 (Code that compiles fine in 1GB of memory with 4.1.2 requires > 20GB in 4.2.* and higher)

PR middle-end/39157
* Makefile.in (loop-invariant.o): Depend on $(PARAMS_H).
* params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define.
* params.def (loop-invariant-max-bbs-in-loop): New parameter.
* opts.c (decode_options): Set loop-invariant-max-bbs-in-loop
parameter to 1000 for -O1 by default.
* doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new
parameter.
* loop-invariant.c: Include params.h.
(move_loop_invariants): Don't call move_single_loop_invariants on
very large loops.

From-SVN: r144320
gcc/ChangeLog
gcc/Makefile.in
gcc/doc/invoke.texi
gcc/loop-invariant.c
gcc/opts.c
gcc/params.def
gcc/params.h