This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57117] [OOP] ICE for sourced allocation of a polymorphic entity using TRANSPOSE
- 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: Wed, 07 Sep 2016 16:42:39 +0000
- Subject: [Bug fortran/57117] [OOP] ICE for sourced allocation of a polymorphic entity using TRANSPOSE
- Auto-submitted: auto-generated
- References: <bug-57117-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57117
--- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Created attachment 39581 [details]
> Shorter version to fix the issue.
> ...
The patch fixes the ICEs, but generates wrong-code for the original test: the
output at run time is
FAIL: T T T T F T T T T T T T T T T
Same thing for the test in comment 5:
ti
1.0000000000000000 2.0000000000000000 3.0000000000000000
4.0000000000000000 5.0000000000000000 6.0000000000000000
7.0000000000000000 8.0000000000000000 9.0000000000000000
ri
1.0000000000000000 2.0000000000000000 3.0000000000000000
4.0000000000000000 5.0000000000000000 0.0000000000000000
0.0000000000000000 0.0000000000000000 0.0000000000000000
1 2 3 4 0 0
0 0 0