This is the mail archive of the gcc-bugs@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]

[Bug fortran/34858] [4.3 Regression] ICE on invalid depending of the length of the source name



------- Comment #7 from dfranke at gcc dot gnu dot org  2008-01-24 15:47 -------
Created an attachment (id=15017)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15017&action=view)
Proposed patch.

This fixes the testcase from comment #6 as well as the original report in terms
of invalid reads. On i686-pc-linux-gnu, I can not observe any more ICEs.

This patch also reverts the fix for PR33375 as this seems to be the more
correct approach (no segfaults or invalid reads while compiling common_6.f90).

Not fully regression tested yet, but gfortran.dg/common_* does not show any
problems.

Dominique, could you give it a try on your machines?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34858


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