[patch,fortran] PR90374 add e0 zero width exponent support

Jerry DeLisle jvdelisle@charter.net
Thu Nov 28 15:48:00 GMT 2019


Hi all,

The attached patch implements the last piece of this which enables the zero 
width exponent, giving  a processor dependent width.

Regression tested on x86_64-pc-linux-gnu.

I don't think it is very intrusive and I updated the test case.

OK for trunk?

Regards,

Jerry

2019-11-27  Jerry DeLisle  <jvdelisle@gcc.ngu.org>

	PR fortran/90374
	* io.c (check_format): Allow zero width expoenent with e0.

	io/format.c (parse_format_list): Relax format checking to allow
	e0 exponent specifier.

	* gfortran.dg/fmt_zero_width.f90: Update test.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: e0.diff
Type: text/x-patch
Size: 3501 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191128/017f5a55/attachment.bin>


More information about the Gcc-patches mailing list