[Bug fortran/17887] g77 generates code that results in segmentation fault

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 8 02:47:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-08 02:47 -------
The code is invalid, you are passing in a constant to a function and in fortran it is passed by reference 
always.  So you are trying to change the value of -1.0 which is undefined at runtime, in our case both 
g77 and gfortran segfault.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list