I have now committed the patch as r268992.  Janne and Richard, thanks
for the review and the comments.

Am 18.02.19 um 13:50 schrieb Richard Biener:
On Sun, Feb 17, 2019 at 7:19 PM Thomas Koenig <tkoe...@netcologne.de> wrote:
Regression tests turned up a few ICEs (now fixed), plus two
very invalid test cases, which I think are not worth saving.

They were added to verify we don't ICE for such invalid testcases.
How do they fail now?

They failed with an LTO type mistmatch. Instead of deleting them,
I have now added -Wno-lto-type-mismatch to the options in the
committed version.

I wonder how the frontend handles
the 2nd call to doesntwork_p8 for

       program main
         implicit none
         character :: c
         character(len=20) :: res, doesntwork_p8
         external doesntwork_p8
         c = 'o'
         res = doesntwork_p8(c,1,2,3,4,5,6)
         res = doesntwork_p8(1,2)
         if (res /= 'foo') stop 3
       end program main

This is invalid Fortran.  I think we should be able to diagnose this,
but the comitted version does not check it.

Regards

        Thomas

Reply via email to