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/83540] [8 Regression] Invalid code with MATMUL, -fno-realloc-lhs -ffrontend-optimize


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

--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Dominique d'Humieres from comment #3)
> The code uses ALLOCATE without any realloc-lhs!-(

The problem shows up for any use of MATMUL as argument
to a procedure, whether user-defined or intrinsic.
Maybe the problem is just related to the needed temporary.

The problem also shows up with optimization for "-std=f95".
F95 did not have realloc-lhs, and the code is F95-compatible.

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