a.35.4.c: Fix implicit declarations.
* gcc.dg/gomp/appendix-a/a.35.4.c: Fix implicit declarations. * gcc.dg/gomp/appendix-a/a.35.5.c: Likewise. * gcc.dg/gomp/appendix-a/a.35.6.c: Likewise. * gcc.dg/gomp/asm-1.c: Likewise. * gcc.dg/gomp/for-1.c: Likewise. * gcc.dg/gomp/empty.c: Fix defaulting to int. * gcc.dg/gomp/sharing-3.c: Likewise. * gcc.dg/gomp/udr-3.c: Use -std=gnu89. From-SVN: r215846
This commit is contained in:
parent
7e9b821966
commit
fa7bbfd3c8
9 changed files with 24 additions and 1 deletions
|
@ -1,3 +1,14 @@
|
|||
2014-10-03 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* gcc.dg/gomp/appendix-a/a.35.4.c: Fix implicit declarations.
|
||||
* gcc.dg/gomp/appendix-a/a.35.5.c: Likewise.
|
||||
* gcc.dg/gomp/appendix-a/a.35.6.c: Likewise.
|
||||
* gcc.dg/gomp/asm-1.c: Likewise.
|
||||
* gcc.dg/gomp/for-1.c: Likewise.
|
||||
* gcc.dg/gomp/empty.c: Fix defaulting to int.
|
||||
* gcc.dg/gomp/sharing-3.c: Likewise.
|
||||
* gcc.dg/gomp/udr-3.c: Use -std=gnu89.
|
||||
|
||||
2014-10-03 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* gcc.dg/torture/pr24626-2.c: Add function declarations. Fix
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/* { dg-do compile } */
|
||||
|
||||
void work (int, int);
|
||||
|
||||
void
|
||||
wrong4 (int n)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/* { dg-do compile } */
|
||||
|
||||
void work (int, int);
|
||||
|
||||
void
|
||||
wrong5 (int n)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/* { dg-do compile } */
|
||||
|
||||
void work (int, int);
|
||||
|
||||
void
|
||||
wrong6 (int n)
|
||||
{
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fopenmp" } */
|
||||
|
||||
extern int omp_get_thread_num (void);
|
||||
|
||||
void
|
||||
foo (void)
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-O -fopenmp -fdump-tree-ompexp" } */
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
#pragma omp parallel
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-fopenmp -fshow-column" } */
|
||||
|
||||
void baz (int);
|
||||
|
||||
void foo (int j, int k)
|
||||
{
|
||||
int i;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#define N 50
|
||||
#define CHUNKSIZE 5
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int i, chunk;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-fopenmp" } */
|
||||
/* { dg-options "-fopenmp -std=gnu89" } */
|
||||
|
||||
struct S { int s; };
|
||||
struct T { int t; };
|
||||
|
|
Loading…
Add table
Reference in a new issue