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

--- Comment #6 from Adam Lackorzynski <adam at os dot inf.tu-dresden.de> ---
So assuming removing the assert is ok, the following would address it:

--- gimple-fold.c       (revision 254205)
+++ gimple-fold.c       (working copy)
@@ -6439,7 +6439,6 @@
   gcc_assert (init);
   if (init == error_mark_node)
     {
-      gcc_assert (in_lto_p);
       /* Pass down that we lost track of the target.  */
       if (can_refer)
        *can_refer = false;

Do you think this could be applied?

Reply via email to