https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85567
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2018-04-30
Known to work| |6.4.0
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot
gnu.org
Target Milestone|--- |7.4
Summary|internal compiler error: in |[7/8/9 Regression] internal
|gimplify_modify_expr, at |compiler error: in
|gimplify.c:5797 when using |gimplify_modify_expr, at
|sincos() |gimplify.c:5797 when using
| |sincos()
Ever confirmed|0 |1
Known to fail| |7.1.0, 8.0.1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. Happens during inlining when folding
# .MEM = VDEF <.MEM>
sincos (x_2(D), sinx_3(D), cosx_4(D));
which runs through the GENERIC call folder which replaces sincos with
cexpi:
*sinx_3(D) = IMAGPART_EXPR <SAVE_EXPR <__builtin_cexpi (x_2(D))>>;, *cosx_4(D)
= REALPART_EXPR <SAVE_EXPR <__builtin_cexpi (x_2(D))>>;
Mine.