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/49885] [4.6/4.7 Regression] Segmentation fault when writing to an automatic character array


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?


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