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 c/78574] [7 Regression] ice on valid C code at -O2 and -O3 in both 32- and 64-bit modes on x86_64-linux-gnu (internal compiler error: Segmentation fault (program cc1))


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78574

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amker at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems there is infinite recursion in find_deriving_biv_for_expr.
It endlessly alternates being called on lhs of
j_11 = PHI <j_18(D)(2), _24(17)>
and lhs of
_24 = j_11 + 1;
get_iv (data, expr) for these returns iv with biv_p = false, base of j_18(D) or
j_18(D) + 1, step 1.  Dunno why there isn't a biv.

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