[PATCH] fortran/68019 -- Remove an assert() that prevents error message

Steve Kargl sgk@troutmask.apl.washington.edu
Mon Oct 19 19:40:00 GMT 2015


The attached patch removes an assert() that prevents gfortran from
issuing an error message.  Built and tested on x86_64-*-freebsd.
Althoug probably an "obviously correct" patch, OK to commit?

2015-10-19  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/68019
	* decl.c (add_init_expr_to_sym): Remove an assert() to allow an error
	message to be issued.

2015-10-19  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/68019
	* gfortran.dg/pr68019.f90: new test.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr68019.diff
Type: text/x-diff
Size: 1074 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151019/d9089deb/attachment.bin>


More information about the Gcc-patches mailing list