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-Tag: users/ARM/embedded-binutils-master-2018q4~1260 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63b4ecf76fec65c6853ea01ffab31642533801e9;p=external%2Fbinutils.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 cdba393..f51e255 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 ec0a6fd..72dfe99 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))