Comments
Patch
===================================================================
@@ -1,4 +1,4 @@
-/* { dg-compile } */
+/* { dg-do compile } */
typedef float __m128 __attribute__ ((__vector_size__ (16)));
__extension__ typedef __PTRDIFF_TYPE__ ptrdiff_t;
===================================================================
@@ -1,4 +1,4 @@
+-- { dg-do compile }
package body Noreturn1 is
===================================================================
@@ -1,4 +1,4 @@
+-- { dg-do compile }
package Small_Alignment is
===================================================================
@@ -1,5 +1,5 @@
/* PR c/20043 */
-/* { dg-compile } */
+/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
extern void f0 (int *);
===================================================================
@@ -1,5 +1,5 @@
/* PR c++/24613 */
-/* { dg-compile } */
+/* { dg-do compile } */
#pragma omp section /* { dg-error "may only be used in" } */
===================================================================
@@ -1,5 +1,5 @@
/* PR c/20043 */
-/* { dg-compile } */
+/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
typedef union { int *i; long *l; } U
===================================================================
@@ -1,5 +1,5 @@
/* PR 23572 : warnings for out of range floating-point constants. */
-/* { dg-compile } */
+/* { dg-do compile } */
/* { dg-options "-std=c99" } */
/* { dg-skip-if "No Inf support" { spu-*-* } } */
#include <math.h>
===================================================================
@@ -1,5 +1,5 @@
/* PR 23572 : warnings for out of range floating-point constants. */
-/* { dg-compile } */
+/* { dg-do compile } */
/* { dg-options "-Wno-overflow -std=c99" } */
/* { dg-skip-if "No Inf support" { spu-*-* } } */
#include <math.h>
===================================================================
@@ -1,4 +1,4 @@
-/* { dg-compile } */
+/* { dg-do compile } */
/* { dg-skip-if "consts are shorts, not longs" { "m32c-*-*" "avr-*-*" } { "*" } { "" } } */
/* { dg-skip-if "No Inf support" { spu-*-* } } */
/* { dg-options "-O -ftrapping-math" } */
===================================================================
@@ -1,6 +1,6 @@
/* PR 23572 : warnings for out of range floating-point constants
Test that they are NOT pedantic warnings. */
-/* { dg-compile } */
+/* { dg-do compile } */
/* { dg-options "-pedantic-errors -std=c99" } */
/* { dg-skip-if "No Inf support" { spu-*-* } } */
#include <math.h>
===================================================================
@@ -1,5 +1,5 @@
/* PR 19952 */
-/* { dg-compile } */
+/* { dg-do compile } */
/* { dg-options "-ftree-vectorize -O2" } */
int i;
===================================================================
@@ -1,5 +1,5 @@
/* PR c++/24613 */
-/* { dg-compile } */
+/* { dg-do compile } */
#pragma omp section /* { dg-error "may only be used in" } */
===================================================================
@@ -1,5 +1,5 @@
// PR c++/40373
-// { dg-compile }
+// { dg-do compile }
struct A;
namespace
===================================================================
@@ -1,4 +1,4 @@
-! { dg-compile }
+! { dg-do compile }
! { dg-options "-fgraphite -O -ffast-math" }
MODULE powell
===================================================================
@@ -1,4 +1,4 @@
-! { dg-compile }
+! { dg-do compile }
!
! Private types and types with private components
! are acceptable in local namelists.
===================================================================
@@ -1,4 +1,4 @@
-! { dg-compile }
+! { dg-do compile }
!
! gfortran was ICEing for the constructor of
! componentfree types.
Hello! 2010-07-23 Uros Bizjak <ubizjak@gmail.com> * gcc.dg/float-range-3.c: Use "dg-do compile" dejagnu directive instead of dg-compile. * gcc.dg/float-range-4.c: Ditto. * gcc.dg/float-range-5.c: Ditto. * gcc.dg/fold-overflow-1.c: Ditto. * gcc.dg/gomp/sections-4.c: Ditto. * gcc.dg/transparent-union-1.c: Ditto. * gcc.dg/transparent-union-2.c: Ditto. * gcc.target/i386/pr39315-check.c: Ditto. * g++.dg/gomp/sections-4.C: Ditto. * g++.dg/template/dtor7.C: Ditto. * g++.dg/tree-ssa/pr19952.C: Ditto. * gfortran.dg/derived_constructor_comps_3.f90: Ditto. * gfortran.dg/graphite/pr42185.f90: Ditto. * gfortran.dg/namelist_36.f90: Ditto. * gnat.dg/noreturn1.adb: Ditto. * gnat.dg/specs/small_alignment.ads: Ditto. Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN. Uros.