* gnat.dg/debug7.adb (dg-options): Remove -g.
* gnat.dg/debug8.adb (dg-options): Add -margs.
* gnat.dg/debug9.adb (dg-options): Remove -g and add -margs.
From-SVN: r241174
+2016-10-14 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/debug7.adb (dg-options): Remove -g.
+ * gnat.dg/debug8.adb (dg-options): Add -margs.
+ * gnat.dg/debug9.adb (dg-options): Remove -g and add -margs.
+
2016-10-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/77979
-- { dg-do compile }
--- { dg-options "-cargs -g -gdwarf-2 -gstrict-dwarf -dA -margs" }
+-- { dg-options "-cargs -gdwarf-2 -gstrict-dwarf -dA -margs" }
-- { dg-final { scan-assembler "DW_TAG_imported_decl" } }
package body Debug7 is
-- { dg-do compile }
--- { dg-options "-cargs -g -fgnat-encodings=minimal -dA" }
+-- { dg-options "-cargs -g -fgnat-encodings=minimal -dA -margs" }
-- { dg-final { scan-assembler-not "DW_OP_const4u" } }
-- { dg-final { scan-assembler-not "DW_OP_const8u" } }
-- some hackish way to check that types are output in the proper context (i.e.
-- at global or local scope).
--
--- { dg-options "-g -gdwarf-4 -cargs -fdebug-types-section -dA" }
+-- { dg-options "-cargs -gdwarf-4 -fdebug-types-section -dA -margs" }
-- { dg-final { scan-assembler-times "\\(DIE \\(0x\[a-f0-9\]*\\) DW_TAG_type_unit\\)" 0 } }
procedure Debug9 is