------- 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 think one way of achieving this is to mark it as
"externally_visible", but I might be wrong (I've already been wrong on that
issue,!).

  3. We need to generate a correct call graph for Fortran code, either by
emitting one single decl per function, or by making the cgraph calculation
aware of this possible situation.

I'll try to tackle 1 and 2, but 3 needs to wait until 4.3 is branched.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
           Keywords|                            |documentation
   Last reconfirmed|2007-07-13 15:47:54         |2007-10-01 10:58:25
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26682

Reply via email to