]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.base/infcall-nested-structs.exp
[gdb/testsuite] Compile infcall-nested-structs.exp with -O2
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / infcall-nested-structs.exp
index 982149f42c1b60818ba40b22dd2a117880c336af..e3045d9243b75034457a36493a53db51b2195835 100644 (file)
@@ -73,6 +73,7 @@ proc start_nested_structs_test { lang types } {
     # Create the additional flags
     set flags $compile_flags
     lappend flags $lang
+    lappend flags "additional_flags=-O2"
 
     for {set n 0} {$n<[llength ${types}]} {incr n} {
        set m [I2A ${n}]