diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2001-12-22 12:58:51 +0100 |
---|---|---|
committer | Florian Weimer <fw@gcc.gnu.org> | 2001-12-22 12:58:51 +0100 |
commit | 7a73ad55d8dbf2a2cf99268013d41a0af0d95b02 (patch) | |
tree | c00928552111ff9496bdffd2b750652872457a52 /gcc/function.c | |
parent | 5637a0ebb90a4b68bc8faaf29362157be0a6b366 (diff) | |
download | gcc-7a73ad55d8dbf2a2cf99268013d41a0af0d95b02.zip gcc-7a73ad55d8dbf2a2cf99268013d41a0af0d95b02.tar.gz gcc-7a73ad55d8dbf2a2cf99268013d41a0af0d95b02.tar.bz2 |
make.adb (Add_Switch): Make Generic_Position a procedure.
* make.adb (Add_Switch): Make Generic_Position a procedure. The
function approach did not work well because of a side effect (the
function call could reallocate the table which was being indexed
using its result). Fixes ada/4851.
From-SVN: r48265
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions