[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-03-14 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-03-09 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #12 from Paul Thomas --- Author: pault Date: Wed Mar 9 20:49:58 2016 New Revision: 234093 URL: https://gcc.gnu.org/viewcvs?rev=234093=gcc=rev Log: 2016-03-09 Paul Thomas Backport from trunk.

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-02-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #11 from Paul Thomas --- Author: pault Date: Sat Feb 20 18:26:59 2016 New Revision: 233589 URL: https://gcc.gnu.org/viewcvs?rev=233589=gcc=rev Log: 2016-02-20 Paul Thomas PR fortran/69423 *

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-02-14 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #10 from Paul Thomas --- Created attachment 37686 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37686=edit Provisional patch for the PR I have reworked the handling of deferred string function results to fix this PR. Clearly,

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #8 from vehre at gcc dot gnu.org --- I recognize most of the code your patch strips, because I initially wrote/modified it to get the deferred length character arrays working. I am somewhat unconvinced that removing them is safe.

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #9 from vehre at gcc dot gnu.org --- Created attachment 37579 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37579=edit Clear explicit function result variables for deferred length char arrays Well, using the explicit result

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-02-03 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #4 from vehre at gcc dot gnu.org --- Hi Paul, I will have a look at it today. May be a fresh pair of eyes can be of help. - Andre

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-02-03 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #5 from Paul Thomas --- (In reply to vehre from comment #4) > Hi Paul, > > I will have a look at it today. May be a fresh pair of eyes can be of help. > > - Andre Thanks. I haven't given it much attention yet. I diverted into

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-02-03 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #6 from vehre at gcc dot gnu.org --- What I have learnt so far: When the gimple optimisation algorithm 'remove_unused_locals ()' in gcc/tree-ssa-live.c is done, it has removed the temporary for the

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-02-03 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #7 from Paul Thomas --- (In reply to vehre from comment #6) > What I have learnt so far: > > When the gimple optimisation algorithm 'remove_unused_locals ()' in > gcc/tree-ssa-live.c is done, it has removed the temporary for the >

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-02-02 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 --- Comment #3 from Paul Thomas --- Dear Anthony, In reply to your email message, this one is high on my list of PRs to fix. A workaround, which could be permanent, is: program tester character(LEN=:), allocatable :: S S= test(2)

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-01-22 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug fortran/69423] [6 Regression] Invalid optimization with deferred-length character

2016-01-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69423 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4