This is the mail archive of the gcc-patches@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]

Re: [Patch, fortran] PR fortran/38184 invariant RESHAPE not expanded if SOURCE is empty.


Mikael Morin wrote:
> Tobias Burnus wrote:
>> Mikael Morin wrote:
>>> this is only a missed optimization, but it is obvious on the other hand,
>>> and it should have a limited impact (empty arrays only).
>>>
>>> regression-tested on x86_64-unknown-linux-gnu, ok for 4.4? 4.3 as well?
>>>   
>> OK for 4.4, I think there is no need for 4.3. (As James has shown this
>> is also a rejects-valid PR.)
> Right, maybe I should use his testcase then?
> I will commit tomorrow.
committed as revision 142168.
I changed the testcase(attached) to use parameter variables (which was
rejected) as in James' program.

Mikael

Attachment: reshape_empty_1.f03
Description: Text document


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