This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch,fortran] Allow namelist with internal file (PR 28224)


> +  write(str,nml=nam) ! { dg-error "Internal file at (1) is incompatible with namelist"}
> +  read(str,nml=nam) ! { dg-error "Internal file at (1) is incompatible with namelist"}

I now do get the following error with "make -k check". I frankly have no
idea why and how it should work as gfortran gives the right error
message. If someone, who knows dejagnu, could enlighten me, what I do wrong?
(I really wonder why I didn't see this failure yesterday.)

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.

FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]