Re: Fix a function decl in gfortran

2014-06-12 Thread Tobias Burnus
A bit belated, I have now committed the patch as Rev. 211587. Thanks for confirming that it now works! Tobias Bernd Schmidt wrote: On 06/04/2014 10:36 PM, Tobias Burnus wrote: Bernd Schmidt wrote: Even with this applied, I'm still seeing similar failures. I didn't claim that the patch woul

Re: Fix a function decl in gfortran

2014-06-05 Thread Bernd Schmidt
On 06/04/2014 10:36 PM, Tobias Burnus wrote: Bernd Schmidt wrote: Even with this applied, I'm still seeing similar failures. I didn't claim that the patch would fix everything – nor that it was well tested. Just wanted to report back since the problem doesn't really show up on normal target

Re: Fix a function decl in gfortran

2014-06-04 Thread Tobias Burnus
Hi Bernd, Bernd Schmidt wrote: On 06/04/2014 09:40 AM, Tobias Burnus wrote: I intent to tests the build and test the patch - and then to commit it as obvious. If you see problems with this approach please scream now. Even with this applied, I'm still seeing similar failures. I didn't claim

Re: Fix a function decl in gfortran

2014-06-04 Thread Bernd Schmidt
On 06/04/2014 09:40 AM, Tobias Burnus wrote: Still untested patch, but I cannot resist pointing out stupid typos by myself. I intent to tests the build and test the patch - and then to commit it as obvious. If you see problems with this approach please scream now. Even with this applied, I'm s

Re: Fix a function decl in gfortran

2014-06-04 Thread Bernd Schmidt
On 06/04/2014 09:40 AM, Tobias Burnus wrote: Still untested patch, but I cannot resist pointing out stupid typos by myself. I intent to tests the build and test the patch - and then to commit it as obvious. If you see problems with this approach please scream now. I have no idea about the appr

Re: Fix a function decl in gfortran

2014-06-04 Thread Tobias Burnus
Still untested patch, but I cannot resist pointing out stupid typos by myself. I intent to tests the build and test the patch - and then to commit it as obvious. If you see problems with this approach please scream now. On Wed, Jun 04, 2014 at 08:13:44AM +0200, Tobias Burnus wrote: > + To be u

Re: Fix a function decl in gfortran

2014-06-03 Thread Tobias Burnus
Tobias Burnus wrote: There are two functions groups called with mask, cf. iresolve.c's gfc_resolve_minloc. Namely, without dim "mmin0__" and with dim "mmin1__". – The latter takes "dim" as additional argument. Thus, for mmin1_* the generated decl is fine, for mmin0_ is is not. I do not immed

Re: Fix a function decl in gfortran

2014-06-03 Thread Tobias Burnus
Bernd Schmidt wrote: There's at least one more such problem with gfortran, which I'm having a harder time debugging. It occurs in gfortran.fortran-torture/compile/mloc.f90 That's minloc/maxloc, which takes three arguments on the Fortran side: An array, optionally a dimension ("dim") and optio

Re: Fix a function decl in gfortran

2014-06-03 Thread Bernd Schmidt
On 05/27/2014 04:01 PM, Tobias Burnus wrote: Bernd Schmidt wrote: Compiling Fortran code with the ptx backend I'm working on results in assembler warnings about mismatch between function calls and function decls. Bootstrapped and tested on x86_64-linux. Ok? OK. The change/bug is due to my fo

Re: Fix a function decl in gfortran

2014-05-27 Thread Tobias Burnus
Bernd Schmidt wrote: > Compiling Fortran code with the ptx backend I'm working on results in > assembler warnings about mismatch between function calls and function decls. > > Bootstrapped and tested on x86_64-linux. Ok? OK. The change/bug is due to my fortran-caf -> trunk patch at https://gcc.gn