This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38665] [4.4 Regression] ICE in check_host_association
- From: "mikael at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2009 01:02:50 -0000
- Subject: [Bug fortran/38665] [4.4 Regression] ICE in check_host_association
- References: <bug-38665-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from mikael at gcc dot gnu dot org 2009-01-04 01:02 -------
(In reply to comment #5)
> Mikael,
>
> > Now the solutions:
> > (1) Add some conditions to the if before to prevent executing this.
> > (2) Remove the gfc_match_whatever that has nothing to do in resolve.c and find
> > a better way (yes, I prefer (2), how did you guess?).
> >
> > Hum, maybe (1) is better for 4.4.0
>
> Believe me, I looked for a better solution when I wrote this function!
Well, I didn't think much about it. It's probably the easiest, but I don't like
those hacks which are likely to pop up again later. Anyway, I can't blame you
for finding a fix for a bug.
>
> In the mean time, I know how to apply a fix along the lines of 1.
Ok, then; go for (1). I have nothing to propose.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38665