[Patch, fortran] PR29642 - Fortran 2003: VALUE Attribute (pass by value)

Tobias Burnus burnus@net-b.de
Thu Nov 23 21:34:00 GMT 2006


Hi,

Thanks for the patch and the fixes.

Paul Thomas wrote:
> 2006-11-23 Paul Thomas  <pault@gcc.gnu.org>
>   
myself -freview -pedantic
Second space between "2006-11-23" and "Paul" is missing ;-)

Otherwise: regtested on x86_64-unknown-linux-gnu.

Problems:
* value_4.c
You use "f_to_f__" on my computer this does not work I need
"f_to_f_" (one tailing underscore).

Using -std=f2003 does not work anymore since Tobias Schlüter
changed the initialization expression check. (see my next email):

(compiled with -std=f2003)
value_1.f90:
  type(mytype) :: dt = mytype (acos(0.0), "lmno")
                              1
Error: Extension: Evaluation of nonstandard initialization expression at (1)

Tobias



More information about the Gcc-patches mailing list