diff options
author | Bob Duff <duff@adacore.com> | 2017-09-18 08:43:37 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2017-09-18 08:43:37 +0000 |
commit | 677d7278a316ef461a6c8e2b501c285d2cf356f7 (patch) | |
tree | 3eb38686e6c88f874cd016a89c7c189c4d465118 /gcc/tree-vect-loop.c | |
parent | 2a63b04ee82dcdd9582ccb3fb7d853a19db28aec (diff) | |
download | gcc-677d7278a316ef461a6c8e2b501c285d2cf356f7.zip gcc-677d7278a316ef461a6c8e2b501c285d2cf356f7.tar.gz gcc-677d7278a316ef461a6c8e2b501c285d2cf356f7.tar.bz2 |
Alternate fix for PR ada/71358
2017-09-18 Bob Duff <duff@adacore.com>
Alternate fix for PR ada/71358
* libgnat/g-comlin.adb (Getopt): Remove manual null access checks.
Instead, make a local copy of Config, and if it's null, allocate an
empty Command_Line_Configuration_Record, so we won't crash on null
pointer dereference.
From-SVN: r252909
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions