This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51389] GCC uses up to 75GB of virtual memory
- From: "abel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Jan 2012 13:47:45 +0000
- Subject: [Bug middle-end/51389] GCC uses up to 75GB of virtual memory
- Auto-submitted: auto-generated
- References: <bug-51389-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51389
--- Comment #4 from Andrey Belevantsev <abel at gcc dot gnu.org> 2012-01-27 13:47:45 UTC ---
Author: abel
Date: Fri Jan 27 13:47:41 2012
New Revision: 183624
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183624
Log:
PR middle-end/51389
* Makefile.in (tree-data-ref.o): Depend on $(PARAMS_H).
* tree-data-ref.h (find_data_references_in_loop): Remove declaration.
* tree-data-ref.c (find_data_references_in_loop): Make static.
(compute_all_dependences): Change return type to bool. Bail out
for too many datarefs in a loop. Move the hunk resetting the data
dependences vector from ...
(compute_data_dependences_for_loop): ... here. Account for
compute_all_dependences returning false.
(compute_data_dependences_for_bb): Likewise.
* params.def (PARAM_LOOP_MAX_DATAREFS_FOR_DATADEPS): New param.
* doc/invoke.texi (loop-max-datarefs-for-datadeps): Document it.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/doc/invoke.texi
trunk/gcc/params.def
trunk/gcc/tree-data-ref.c
trunk/gcc/tree-data-ref.h