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/53849] [4.8 Regression] ICE: in add_referenced_var_1, at tree-dfa.c:567 with -O2 -ftree-parallelize-loops=2 -fno-tree-loop-im


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53849

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-04 12:09:20 UTC ---
Author: rguenth
Date: Wed Jul  4 12:09:09 2012
New Revision: 189255

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189255
Log:
2012-07-04  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/53849
    * tree-cfg.c (move_stmt_op): Only call add_referenced_var
    for duplicated locals.  Use add_referenced_var_1 to avoid
    pushing/popping cfun.

    * gcc.dg/pr53849.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/pr53849.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c


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