diff options
author | Tom de Vries <tdevries@suse.de> | 2018-07-26 10:16:06 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2018-07-26 10:22:22 +0200 |
commit | 63b4ecf76fec65c6853ea01ffab31642533801e9 (patch) | |
tree | 3273d908313172106586b418adea2c3295b8b31c /gdb/testsuite | |
parent | fa758a70467c37cfe7b261e1dc20d431be3db62e (diff) | |
download | gdb-63b4ecf76fec65c6853ea01ffab31642533801e9.zip gdb-63b4ecf76fec65c6853ea01ffab31642533801e9.tar.gz gdb-63b4ecf76fec65c6853ea01ffab31642533801e9.tar.bz2 |
[gdb/testsuite] Add comment in gdb.base/vla-optimized-out.c
2018-07-26 Tom de Vries <tdevries@suse.de>
* gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/vla-optimized-out.c | 3 |
2 files changed, 7 insertions, 0 deletions
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 <tdevries@suse.de> + + * gdb.base/vla-optimized-out.c: Add comment about origin of test-case. + 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com> * 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 <http://www.gnu.org/licenses/>. */ +/* 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)) |