[patch,fortran] Allow namelist with internal file (PR 28224)
Tobias Burnus
burnus@net-b.de
Fri Oct 27 11:18:00 GMT 2006
Hello,
new patch included.
Tobias Burnus schrieb:
>> I think the dg-error string is interpreted as a regexp, where the ()
>> have special meaning. Try "Internal file .* is incompatible with
>> namelist", I guess it should work.
>>
As Janis Johnson found out, the ".*" eats too much. This is the reason
why the first case passes and the second one (with the same error
message) fails; as "(1)" is also wrong, one has to use "\\(1\\)". Thanks
to Janis!
New patch below.
Build (I think bootstrapped, but I'm not exactly sure what is meant by
it) and regtested on
x86_64-unknown-linux-gnu.
Side questions:
- How to run only the gfortran test suit? I found check-gcc, but no
check-(g)fortran.
- I get "XPASS: gfortran.dg/csqrt_2.f (PR24313)."
Is it time to remove the "{ xfail *-*-linux-gnu }"?
That it passes I also see when looking at the results of Andreas Jaeger,
but, well, he also uses an openSUSE system with glibc 3.5.
Tobias
2006-10-27 Tobias Burnus <burnus@net-b.de>
PR fortran/28224
* io.c (check_io_constraints): Allow namelists
for internal files for Fortran 2003.
2006-10-27 Tobias Burnus <burnus@net-b.de>
PR fortran/PR28224
* gfortran.dg/io_constraints_2.f90: Remove check for
using namelists with internal files.
* gfortran.dg/namelist_internal.f90: New namelists test.
* gfortran.dg/namelist_internal2.f90: New namelists test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: namelist-internal-file-2.diff
Type: text/x-patch
Size: 2872 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061027/2356bf8c/attachment.bin>
More information about the Fortran
mailing list