Support dg-add-options in profopt.exp
authorTom de Vries <tom@codesourcery.com>
Wed, 21 Jun 2017 14:14:31 +0000 (14:14 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 21 Jun 2017 14:14:31 +0000 (14:14 +0000)
2017-06-21  Tom de Vries  <tom@codesourcery.com>

* lib/profopt.exp (profopt-get-options): Support dg-add-options.

From-SVN: r249453

gcc/testsuite/ChangeLog
gcc/testsuite/lib/profopt.exp

index c527d1cbf1cf7fe1fee6770b67c3c962906f28c0..e05fb26737bd9872da37a4136186274fe0e1c410 100644 (file)
@@ -1,3 +1,7 @@
+2017-06-21  Tom de Vries  <tom@codesourcery.com>
+
+       * lib/profopt.exp (profopt-get-options): Support dg-add-options.
+
 2017-06-21  Tom de Vries  <tom@codesourcery.com>
 
        * gcc.dg/tree-prof/comp-goto-1.c: Fix 'return type defaults to int'
index 6519c44ce333ab0ff2c4330403d3b86b2aac84ca..0ea8e7a048edea3713f865349ecf20963ab61838 100644 (file)
@@ -249,6 +249,7 @@ proc profopt-get-options { src } {
        set cmd [lindex $op 0]
        if { ![string compare "dg-options" $cmd] \
             || ![string compare "dg-additional-options" $cmd] \
+            || ![string compare "dg-add-options" $cmd] \
             || ![string compare "dg-skip-if" $cmd] \
             || ![string compare "dg-final-generate" $cmd] \
             || ![string compare "dg-final-use" $cmd] \