This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34858] [4.3 Regression] ICE on invalid depending of the length of the source name
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2008 15:47:46 -0000
- Subject: [Bug fortran/34858] [4.3 Regression] ICE on invalid depending of the length of the source name
- References: <bug-34858-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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