This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55219] [4.7/4.8 regression] attempting to compile a pre-processed unit eats up memory until OOM kills the cc1 process
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Nov 2012 14:12:57 +0000
- Subject: [Bug middle-end/55219] [4.7/4.8 regression] attempting to compile a pre-processed unit eats up memory until OOM kills the cc1 process
- Auto-submitted: auto-generated
- References: <bug-55219-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55219
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot
| |gnu.org, jakub at gcc dot
| |gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-07 14:12:57 UTC ---
I believe this has been introduced by
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158274
aka
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00627.html
change, particularly fold_binary_op_with_conditional_arg part of the patch.
arg is not constant, doesn't have TREE_SIDE_EFFECTS, but is a huge expression
with lots of COND_EXPRs in it, nested.