This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/83540] [8 Regression] Invalid code with MATMUL, -fno-realloc-lhs -ffrontend-optimize
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 23 Dec 2017 16:31:17 +0000
- Subject: [Bug fortran/83540] [8 Regression] Invalid code with MATMUL, -fno-realloc-lhs -ffrontend-optimize
- Auto-submitted: auto-generated
- References: <bug-83540-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83540
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Two possible methods: Either try to use ALLOCATE instead of
assignment for front-end optimization, or simply disallow
matmul for those cases.
I am tempted to do the latter.