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]

[semi-PATCH] fortran/25072 -- fix ICE involving free_expr0


The attached patch has been regression tested on i386-*-freebsd.
There were no new regressions.  The patch only fixes the "Internal
Error" as noted in PR 25072:

FORALL(I=1:10,T(I)) A(I)=I
              1
 Internal Error at (1):
 free_expr0(): Bad expr type

This patch does not fix the underlying issue that the PR raises.
The problem is that gfortran does not build an interface for the
contained function T(I) so that it can be checked whether it is
pure or not.

I intend to commit the attach patch sometime tomorrow.  One problem
at a time!


2006-01-15  Steven G. Kargl  <kargls@comcast.net>

	PR fortran/25072
	* match.c (match_forall_header): Fix internal error caused by bogus
	gfc_epxr pointers.

-- 
Steve

Attachment: pr25072.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]