------- 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