This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/84155] [8 Regression] program hangs on valid code
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 03 Feb 2018 12:44:33 +0000
- Subject: [Bug fortran/84155] [8 Regression] program hangs on valid code
- Auto-submitted: auto-generated
- References: <bug-84155-4@http.gcc.gnu.org/bugzilla/>
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.