--- Comment #11 from dave dot korn dot cygwin at gmail dot com 2009-06-01
08:05 ---
I checked the fix and it works. Verified.
--
dave dot korn dot cygwin at gmail dot com changed:
What|Removed |Added
--
--- Comment #10 from burnus at gcc dot gnu dot org 2009-06-01 07:34 ---
FIXED on the trunk (4.5).
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #9 from burnus at gcc dot gnu dot org 2009-06-01 07:00 ---
Subject: Bug 40309
Author: burnus
Date: Mon Jun 1 07:00:35 2009
New Revision: 148035
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148035
Log:
2009-06-01 Tobias Burnus
PR fortran/40309
* t
--- Comment #8 from burnus at gcc dot gnu dot org 2009-05-30 21:14 ---
Latest patch - fixing the main_identifier_node (__main() call) problem as in
comment 4 plus fixes the "PROGRAM main" problem.
http://gcc.gnu.org/ml/fortran/2009-05/msg00458.html
--
burnus at gcc dot gnu dot org c
--- Comment #7 from dave dot korn dot cygwin at gmail dot com 2009-05-30
17:09 ---
http://gcc.gnu.org/ml/fortran/2009-05/msg00452.html
We have two functions that both match MAIN_NAME_P, because they share the same
DECL_NAME. This happens when there is a "PROGRAM main" directive in the
--- Comment #6 from dave dot korn dot cygwin at gmail dot com 2009-05-30
16:12 ---
Groan.
PASS: gfortran.dg/Wall.f90 (test for excess errors)
spawn [open ...]
Internal Error: insert(): Duplicate key found!
FAIL: gfortran.dg/Wall.f90 execution test
In other words, exactly what Andrew w
--- Comment #5 from dave dot korn dot cygwin at gmail dot com 2009-05-30
15:38 ---
The patch in comment 4 works.
dkad...@ubik /tmp/fortran
$ ./hello-fixed.exe
Hello World!
dkad...@ubik /tmp/fortran
$ gdb ./hello-fixed.exe
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008
--- Comment #4 from dave dot korn dot cygwin at gmail dot com 2009-05-30
15:34 ---
(In reply to comment #3)
> About to test this:
That was wrong. This is what I should have said:
$ svn diff fortran/trans-decl.c
Index: fortran/trans-decl.c
===
--- Comment #3 from dave dot korn dot cygwin at gmail dot com 2009-05-30
15:19 ---
About to test this:
$ svn diff -x -p fortran/trans-decl.c
Index: fortran/trans-decl.c
===
--- fortran/trans-decl.c(revision 147949
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-05-30 15:11 ---
(In reply to comment #1)
> It's not entirely straightforward, it seems. An earlier attempt appears to
> have fizzled out:
That no longer applies because gfortran produces main now. MAIN__ is not going
to be used b
--- Comment #1 from dave dot korn dot cygwin at gmail dot com 2009-05-30
15:01 ---
It's not entirely straightforward, it seems. An earlier attempt appears to
have fizzled out:
http://gcc.gnu.org/ml/fortran/2007-09/threads.html#00289
I do not yet understand Andrew Pinski's objection:
11 matches
Mail list logo