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] |
The attached patch has been bootstrapped and regression tested on i386-*-freebsd. The PR has a good analysis of the problem, so see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29403 for details. In short, "print (1,*)" is illegal and gfortran caught this type of problem. OTOH, "print (a//(b//c)), ..." is a legal form and gfortran did not check for this. The patch now gets it right. 2006-10-14 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/29403 * io.c (match_io): Check for a default-char-expr for PRINT format. 2006-10-14 Steven G. Kargl <kargl@gcc.gnu.org> gfortran.dg/print_1.f90: New test. -- Steve
Attachment:
io.c.diff
Description: Text document
Attachment:
print_1.f90
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |