This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]