This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49885] [4.6/4.7 Regression] Segmentation fault when writing to an automatic character array
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Jul 2011 14:02:55 +0000
- Subject: [Bug fortran/49885] [4.6/4.7 Regression] Segmentation fault when writing to an automatic character array
- Auto-submitted: auto-generated
- References: <bug-49885-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49885
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |domob at gcc dot gnu.org
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-28 14:02:35 UTC ---
Daniel, as it is your patch, could you have a look?
Working 162218
Failing 162219
Thus, the regression is caused by:
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162450
2010-07-23 Daniel Kraft <d@domob.eu>
PR fortran/44709
* gfortran.h (gfc_find_symtree_in_proc): New method.
* symbol.c (gfc_find_symtree_in_proc): New method.
* match.c (match_exit_cycle): Look for loop name also in parent
namespaces within current procedure.
I think we had some similar issue before where the solution was to replace
gfc_start_block by gfc_init_block. Maybe the same cure helps here as well?