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 fortran/84155] [8 Regression] program hangs on valid code


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

--- Comment #13 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> There is an important caveat to this fix, which has me very worried:
> On top of removal of uncalled code making the bug disappear, I cannot
> see any difference in the tree dump between the working testcase and
> the failing version.

Confirmed. However looking to the assembly for the first test, I see

...
        movq    $4, (%rcx)      #, MEM[(struct array_t[0:]
*)_21][_23].child.dtype.elem_len
...
        movb    $1, (%rcx)      #, MEM[(struct array_t[0:]
*)_21][_23].child.dtype.rank
...
        movb    $1, (%rax)      #, MEM[(struct array_t[0:]
*)_21][_23].child.dtype.type
...

for the working case that are not present without the patch.

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