debug7.adb (dg-options): Remove -g.

* 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
This commit is contained in:
Eric Botcazou 2016-10-14 17:57:39 +00:00 committed by Eric Botcazou
parent de0a3fa38e
commit 2579762a4b
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -1,5 +1,5 @@
-- { 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

View File

@ -1,5 +1,5 @@
-- { 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" } }

View File

@ -7,7 +7,7 @@
-- 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