Require string merging support in gnat.dg/string_merge?.adb etc.

* gcc.dg/merge-all-constants-2.c: Require string_merging support.
	* gnat.dg/string_merge1.adb: Likewise.
	* gnat.dg/string_merge2.adb: Likewise.

From-SVN: r264918
This commit is contained in:
Rainer Orth 2018-10-08 11:03:22 +00:00 committed by Rainer Orth
parent 1a2a0b6044
commit 87454aad99
4 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2018-10-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/merge-all-constants-2.c: Require string_merging support.
* gnat.dg/string_merge1.adb: Likewise.
* gnat.dg/string_merge2.adb: Likewise.
2018-10-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* c-c++-common/Wprio-ctor-dtor.c: Require init_priority support.

View file

@ -1,4 +1,5 @@
/* { dg-do compile } */
/* { dg-require-effective-target string_merging } */
/* { dg-options "-w -O2 -fmerge-all-constants" } */
const char str1[36] = "0123456789abcdefghijklmnopqrstuvwxyz";

View file

@ -1,4 +1,5 @@
-- { dg-do compile }
-- { dg-require-effective-target string_merging }
-- { dg-options "-O1 -fmerge-all-constants" }
procedure String_Merge1 is

View file

@ -1,4 +1,5 @@
-- { dg-do compile }
-- { dg-require-effective-target string_merging }
-- { dg-options "-O1 -fmerge-all-constants" }
procedure String_Merge2 is