From: Tom de Vries Date: Thu, 26 Jul 2018 08:16:06 +0000 (+0200) Subject: [gdb/testsuite] Add comment in gdb.base/vla-optimized-out.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63b4ecf76fec65c6853ea01ffab31642533801e9;p=binutils-gdb.git [gdb/testsuite] Add comment in gdb.base/vla-optimized-out.c 2018-07-26 Tom de Vries * gdb.base/vla-optimized-out.c: Add comment about origin of test-case. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cdba393ea84..f51e255e316 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-07-26 Tom de Vries + + * gdb.base/vla-optimized-out.c: Add comment about origin of test-case. + 2018-07-26 Andrew Burgess * gdb.base/maint.exp: Add check that dwarf unwinders control flag diff --git a/gdb/testsuite/gdb.base/vla-optimized-out.c b/gdb/testsuite/gdb.base/vla-optimized-out.c index ec0a6fdd801..72dfe99d3df 100644 --- a/gdb/testsuite/gdb.base/vla-optimized-out.c +++ b/gdb/testsuite/gdb.base/vla-optimized-out.c @@ -15,6 +15,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* The version of this test-case with f1 tagged with noinline only is equivalent + to gcc/testsuite/gcc.dg/guality/vla-1.c. */ + int #ifdef NOCLONE __attribute__((noinline, noclone))