Am 06.11.2011 17:26, schrieb Tobias Burnus:
I just realized that my patch email did not come through - however, I did not get any reject email.Let's try first without patch - it's available at http://users.physik.fu-berlin.de/~tburnus/tmp/constructor.diff
Possibly it is too large - it's below 100 KiBi, but maybe 7bit encoding makes it larger? Now gzipped. For the intro text, see: http://gcc.gnu.org/ml/fortran/2011-11/msg00055.html
Tobias
constructor-v4a.diff.gz
Description: GNU Zip compressed data
Index: htdocs/gcc-4.7/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.53
diff -u -p -r1.53 changes.html
--- htdocs/gcc-4.7/changes.html 1 Nov 2011 15:15:33 -0000 1.53
+++ htdocs/gcc-4.7/changes.html 6 Nov 2011 15:11:20 -0000
@@ -373,6 +373,14 @@ long double pi = 180_degrees;</pre></blo
print a backtrace to standard error before aborting. It can be
disabled with <code>-fno-backtrace</code>. Note: GNU Fortran does
not support backtracing on all targets.</li>
+ <li>Fortran 2003:
+ <ul>
+ <li>Generic interface name which have the same name as derived types
+ are now supported, which allows to write constructor functions. Note
+ that Fortran does not support static constructor functions; only
+ default initialization or an explicit structure-constructor
+ initialization are available.</li>
+ </ul></li>
<li>Fortran 2008:
<ul>
<li>Support for the <code>DO CONCURRENT</code> construct has been
