[Bug fortran/83803] Using -fc-prototypes on modules with empty dummy arg lists does not close paren.

2018-01-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83803

Thomas Koenig  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Thomas Koenig  ---
Ficed, closing.

[Bug fortran/83803] Using -fc-prototypes on modules with empty dummy arg lists does not close paren.

2018-01-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83803

--- Comment #5 from Thomas Koenig  ---
Author: tkoenig
Date: Sat Jan 13 13:23:31 2018
New Revision: 256606

URL: https://gcc.gnu.org/viewcvs?rev=256606=gcc=rev
Log:
2018-01-13  Thomas Koenig 


PR fortran/83803
* dump-parse-tree.c (write_proc): Always emit closing parenthesis
for functions.


Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/dump-parse-tree.c

[Bug fortran/83803] Using -fc-prototypes on modules with empty dummy arg lists does not close paren.

2018-01-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83803

--- Comment #4 from Thomas Koenig  ---
(In reply to emsr from comment #3)
> Created attachment 43110 [details]
> patchlet (untested)

I actually came up with exactly the same patch independently :-)

I will commit this as obvious to trunk and 7-branch.

[Bug fortran/83803] Using -fc-prototypes on modules with empty dummy arg lists does not close paren.

2018-01-11 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83803

--- Comment #3 from emsr at gcc dot gnu.org ---
Created attachment 43110
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43110=edit
patchlet (untested)

[Bug fortran/83803] Using -fc-prototypes on modules with empty dummy arg lists does not close paren.

2018-01-11 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83803

--- Comment #2 from Ed Smith-Rowland <3dw4rd at verizon dot net> ---
Forgot compiler info:
ed@ed-VirtualBox:~$ ./bin/bin/gfortran -v
Using built-in specs.
COLLECT_GCC=./bin/bin/gfortran
COLLECT_LTO_WRAPPER=/home/ed/bin/libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/ed/bin
--enable-languages=c,brig,c++,fortran,go,lto,objc,obj-c++ : (reconfigured)
../gcc/configure --prefix=/home/ed/bin
--enable-languages=c,brig,c++,fortran,go,lto,objc,obj-c++ --no-create
--no-recursion : (reconfigured) ../gcc/configure --prefix=/home/ed/bin
--enable-languages=c,brig,c++,fortran,go,lto,objc,obj-c++ --no-create
--no-recursion
Thread model: posix
gcc version 8.0.0 20171228 (experimental) (GCC)

[Bug fortran/83803] Using -fc-prototypes on modules with empty dummy arg lists does not close paren.

2018-01-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83803

Thomas Koenig  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2018-01-11
 CC||tkoenig at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |tkoenig at gcc dot 
gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Thomas Koenig  ---
At least somebody uses it :-)

Let's take a look.