OSDN Git Service

2008-05-11 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 May 2008 20:28:52 +0000 (20:28 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 May 2008 20:28:52 +0000 (20:28 +0000)
commitb433071153df5dedf74366cd3e799322d70732b1
tree513f449bdb1b4bb3020f0ed10b74d5e0e4289e74
parent361cc318b0902d02a30a3286b9f65624252f5eae
2008-05-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/35719
* trans.c (gfc_call_malloc): If size equals zero, allocate one
byte; don't return a null pointer.

2008-05-11  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/35719
* gfortran.dg/associated_5.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135187 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associated_5.f90 [new file with mode: 0644]