]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Add comment in gdb.base/vla-optimized-out.c
authorTom de Vries <tdevries@suse.de>
Thu, 26 Jul 2018 08:16:06 +0000 (10:16 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 26 Jul 2018 08:22:22 +0000 (10:22 +0200)
2018-07-26  Tom de Vries  <tdevries@suse.de>

* gdb.base/vla-optimized-out.c: Add comment about origin of test-case.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/vla-optimized-out.c

index cdba393ea849120f3e1172d634f312b981b32b56..f51e255e31615df210284130ee283cf7175d6819 100644 (file)
@@ -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
index ec0a6fdd8012c2b29933f324eca324d701927cbf..72dfe99d3df34d033658130432b0de6240f4ee73 100644 (file)
@@ -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))