------- Comment #1 from pinskia at gcc dot gnu dot org  2007-01-12 17:58 -------
The only use is to change the value of "1" :).

Gfortran is correct as this behavior is undefined as you are trying to change
the value of the constant 1.
in Fortran all agruments are passed as reference.  This has been what Fortran
has done for years.

Oh and this is not an issue that was introduced by the change over to gfortran
from g77.  g77 also segfaulted on your undefined code.


-- 

pinskia at gcc dot gnu dot org changed:

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


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

Reply via email to