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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The original test in comment 0 and the test in commnent 7 are giving an ICE

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x0)
    frame #0: 0x0000000100110dd9
f951`::gfc_conv_scalarized_array_ref(se=0x00007ffeefbfdfd0,
ar=0x000000014560c498) at trans-array.c:3490:14
   3487   int n;
   3488 
   3489   ss = se->ss;
-> 3490   expr = ss->info->expr;
   3491   info = &ss->info->data.array;
   3492   if (ar)
   3493     n = se->loop->order[0];
Target 0: (f951) stopped.

because ss is NULL:

(gfc_se) $5 = {
  pre = {
    head = 0x0000000000000000
    has_scope = 0
  }
  post = {
    head = 0x0000000000000000
    has_scope = 0
  }
  expr = 0x0000000142fb3ea0
  string_length = 0x0000000000000000
  class_vptr = 0x0000000000000000
  descriptor_only = 0
  want_pointer = 0
  direct_byref = 0
  byref_noassign = 0
  ignore_optional = 0
  data_not_needed = 0
  no_function_call = 0
  force_tmp = 0
  force_no_tmp = 0
  use_offset = 0
  want_coarray = 0
  parent = 0x00007ffeefbfe7c0
  ss = 0x0000000000000000
  loop = 0x0000000000000000
}

Reply via email to