diff options
author | Chris Manghane <cmang@google.com> | 2015-04-30 20:44:03 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-04-30 20:44:03 +0000 |
commit | 4f576c83fb197b74767c536583107b457aead8ef (patch) | |
tree | ea4d7673e4669f048a90928ef154e42a4227260d /gcc/fortran/options.c | |
parent | 6d158d9a6bc15a0b1bf97cc434b64c7d72f524ff (diff) | |
download | gcc-4f576c83fb197b74767c536583107b457aead8ef.zip gcc-4f576c83fb197b74767c536583107b457aead8ef.tar.gz gcc-4f576c83fb197b74767c536583107b457aead8ef.tar.bz2 |
compiler: Use backend interface for stack allocation.
Stack allocation was being done by making a temporary variable and
taking its address. This does not work when allocating in a loop
because every allocated variable will refer to the same address.
The backend now provides a way to safely allocate in a loop.
* go-gcc.cc (Gcc_backend::stack_allocation_expression): New
method.
From-SVN: r222657
Diffstat (limited to 'gcc/fortran/options.c')
0 files changed, 0 insertions, 0 deletions