This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37749] ICE on array section with vector subscript
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2008 11:13:25 -0000
- Subject: [Bug fortran/37749] ICE on array section with vector subscript
- References: <bug-37749-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pault at gcc dot gnu dot org 2008-10-30 11:13 -------
(In reply to comment #2)
> Created an attachment (id=16585)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16585&action=view) [edit]
> proposed patch, regression tested
>
> This patch solves the problem by going through all the loop dimensions in
> gfc_trans_create_temp_array to look for a NULL loop->to before the actual loop
> execution and set size to NULL if one is found (it solves conditions (4) and
> (5)).
>
Mikael,
I was going to suggest that you look at this PR, since you have clearly
attacked the scalarizer. Same question as before - do you have commit rights?
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37749