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/56867] New: Missing temporary with string array assignment


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56867

             Bug #: 56867
           Summary: Missing temporary with string array assignment
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tkoenig@gcc.gnu.org


And I thought we were done with missing temporaries...

ig25@linux-fd1f:~/Krempel/Dep-12> gfortran bar.f90
ig25@linux-fd1f:~/Krempel/Dep-12> ./a.out
23cd
2334
33yz
ig25@linux-fd1f:~/Krempel/Dep-12> gfortran-4.6 bar.f90
ig25@linux-fd1f:~/Krempel/Dep-12> ./a.out
23cd
2334
33yz
ig25@linux-fd1f:~/Krempel/Dep-12> gfortran-4.7 bar.f90
ig25@linux-fd1f:~/Krempel/Dep-12> ./a.out
23cd
2334
33yz

Of course, the last line of output should be

23yz.


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