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

--- Comment #10 from Daniel Kraft <domob at gcc dot gnu.org> 2011-08-03 09:37:14 UTC ---
Author: domob
Date: Wed Aug  3 09:37:11 2011
New Revision: 177249

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177249
Log:
2011-08-03  Daniel Kraft  <d@domob.eu>

    PR fortran/49885
    * trans-array.c (gfc_trans_auto_array_allocation): Change
    gfc_start_block to gfc_init_block to avoid spurious extra-scope.

2011-08-03  Daniel Kraft  <d@domob.eu>

    PR fortran/49885
    * gfortran.dg/auto_char_dummy_array_3.f90: New test.

Added:
   
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/auto_char_dummy_array_3.f90
Modified:
    branches/gcc-4_6-branch/gcc/fortran/ChangeLog
    branches/gcc-4_6-branch/gcc/fortran/trans-array.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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