mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 14:41:07 +08:00
re PR fortran/89100 (Default widths for i, f and g format specifiers in format strings)
2019-06-07 Mark Eggleston <mark.eggleston@codethink.com> PR fortran/89100 * gfortran.dg/fmt_f_default_field_width_3.f90: Modify dg-error to allow use when kind=16 is not supported. * gfortran.dg/fmt_g_default_field_width_3.f90: Modify dg-error to allow use when kind=16 is not supported. From-SVN: r272046
This commit is contained in:
parent
6e54439795
commit
fe763d2666
@ -1,3 +1,11 @@
|
||||
2019-06-07 Mark Eggleston <mark.eggleston@codethink.com>
|
||||
|
||||
PR fortran/89100
|
||||
* gfortran.dg/fmt_f_default_field_width_3.f90: Modify dg-error
|
||||
to allow use when kind=16 is not supported.
|
||||
* gfortran.dg/fmt_g_default_field_width_3.f90: Modify dg-error
|
||||
to allow use when kind=16 is not supported.
|
||||
|
||||
2019-06-07 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR debug/90574
|
||||
|
@ -30,6 +30,6 @@ program test
|
||||
|
||||
#ifdef __GFC_REAL_16__
|
||||
real_16 = 4.18
|
||||
write(buffer, fmt) ':',real_16,':' ! { dg-error "Nonnegative width required" }
|
||||
write(buffer, fmt) ':',real_16,':' ! { dg-error "Nonnegative width required" "" { target fortran_real_16 } }
|
||||
#endif
|
||||
end
|
||||
|
@ -33,6 +33,6 @@ program test
|
||||
|
||||
#ifdef __GFC_REAL_16__
|
||||
real_16 = 4.18
|
||||
write(buffer, fmt) ':',real_16,':' ! { dg-error "Positive width required" }
|
||||
write(buffer, fmt) ':',real_16,':' ! { dg-error "Positive width required" "" { target fortran_real_16 } }
|
||||
#endif
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user