This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46723] [4.5/4.6 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431
- From: "irar at il dot ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 2 Dec 2010 08:15:36 +0000
- Subject: [Bug tree-optimization/46723] [4.5/4.6 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431
- Auto-submitted: auto-generated
- References: <bug-46723-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723
Ira Rosen <irar at il dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |irar at il dot ibm.com
--- Comment #8 from Ira Rosen <irar at il dot ibm.com> 2010-12-02 08:15:16 UTC ---
*************** get_initial_def_for_induction (gimple iv
*** 2656,2667 ****
--- 2639,2664 ----
loop_arg = PHI_ARG_DEF_FROM_EDGE (iv_phi, latch_e);
access_fn = analyze_scalar_evolution (iv_loop, PHI_RESULT (iv_phi));
+ STRIP_NOPS (access_fn);
gcc_assert (access_fn);
this makes gcc_assert meaningless: STRIP_NOPS will segfault for NULL access_fn
before the assert.
Thanks,
Ira