Fwd: [patch, fortran] [fortran-dev, Regression] PR42680 ICE in gimplify_expr, at gimplify.c:7176

Jerry DeLisle jvdelisle@verizon.net
Mon Jan 18 02:17:00 GMT 2010


Forgot to copy patches list.

-------- Original Message --------
Subject: [patch, fortran] [fortran-dev, Regression] PR42680 ICE in 
gimplify_expr, at gimplify.c:7176
Date: Sun, 17 Jan 2010 18:22:49 -0800
From: Jerry DeLisle <jvdelisle@verizon.net>
To: gfortran list <fortran@gcc.gnu.org>

The attached patch fixes this fortran-dev regression related to the PR tests
case gfcbug96d.f90.  This is a manual application of the patch for pr42864 with
one additional case found in symbol.c with incorrect use of gfc_compare_interfaces.

An attempt to merge trunk into fortran-dev causes failure in the
dynamic_dispatch test cases.  Turns out it was a partial patch in my local tree
that did the deed.  This patch reverts that.

Regression tested on x86-64.  I will commit to clean up the mess and dejagnuize
the test case as well.

Regards,

Jerry

2010-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>

	PR fortran/42680
	* interface.c (check_interface1): Pass symbol name rather than NULL to
	gfc_compare_interfaces.	(gfc_compare_interfaces): Add assert to
	trap MULL. (gfc_compare_derived_types): Revert previous change
	incorporated incorrectly during merge from trunk, r155778.
	* resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
	than NULL to gfc_compare_interfaces.
	* symbol.c (add_generic_specifics): Likewise.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: premerge.diff
Type: text/x-patch
Size: 1945 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100118/6de1a622/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gfcbug96d.f90
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100118/6de1a622/attachment.f90>


More information about the Gcc-patches mailing list