[Bug fortran/26682] gfortran fails with -fwhole-program optimization

2007-10-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-10-03 21:30 --- I've fixed 1 and 2 (and added an error message when -fwhole-program is used with Fortran), and there is a separate PR to track 3, so I'll close this one. -- fxcoudert at gcc dot gnu dot org changed:

[Bug fortran/26682] gfortran fails with -fwhole-program optimization

2007-10-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-10-03 21:27 --- Subject: Bug 26682 Author: fxcoudert Date: Wed Oct 3 21:27:39 2007 New Revision: 128993 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128993 Log: PR fortran/26682 * trans-decl.c (build_f

[Bug fortran/26682] gfortran fails with -fwhole-program optimization

2007-10-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-10-03 09:46 --- Subject: Bug 26682 Author: fxcoudert Date: Wed Oct 3 09:46:46 2007 New Revision: 128977 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128977 Log: PR fortran/26682 * options.c (gfc_post_

[Bug fortran/26682] gfortran fails with -fwhole-program optimization

2007-10-01 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-10-01 10:58 --- There are three different issues: 1. -fwhole-program should be documented as not working for the Fortran programs. 2. The Fortran main program (MAIN__) needs to be kept by the -fwhole-program optimization; I

[Bug fortran/26682] gfortran fails with -fwhole-program optimization

2006-03-14 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-14 15:19 --- I have a fix already in mind for this simple issue. Though -fwhole-program is not going to be fixed for Fortran code until the front-end stops having more than one decl per function. -- pinskia at gcc dot gnu do