diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2014-06-18 08:07:16 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2014-06-18 08:07:16 +0000 |
commit | 419d45db8e25741704b8ccd06699e4d4cfcfbc4e (patch) | |
tree | 62c9b5b73d285f6b069bdd234209b12af89e1478 /libobjc/libobjc.def | |
parent | 25b7069af201bcecc06fdc0b9a0fc455f5985c77 (diff) | |
download | gcc-419d45db8e25741704b8ccd06699e4d4cfcfbc4e.zip gcc-419d45db8e25741704b8ccd06699e4d4cfcfbc4e.tar.gz gcc-419d45db8e25741704b8ccd06699e4d4cfcfbc4e.tar.bz2 |
[genattrtab] Fix memory corruption, allocate enough memory for all bypassed reservations
* genattrtab.c (n_bypassed): New variable.
(process_bypasses): Initialise n_bypassed.
Count number of bypassed reservations.
(make_automaton_attrs): Allocate space for bypassed reservations
rather than number of bypasses.
From-SVN: r211771
Diffstat (limited to 'libobjc/libobjc.def')
0 files changed, 0 insertions, 0 deletions