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 tree-optimization/46723] [4.5/4.6 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431


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


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