OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgomp/] [testsuite/] [libgomp.fortran/] [omp_cond3.F90] - Blame information for rev 810

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 735 jeremybenn
! Test conditional compilation in free form if -fopenmp
2
! { dg-options "-fopenmp" }
3
   10 foo = 2&
4
  &56
5
  if (foo.ne.256) call abort
6
  bar = 26
7
   !$  20 ba&
8
!$   &r = 4&
9
  !$2
10
      !$bar = 62
11
   !$ bar = bar + 2
12
#ifdef _OPENMP
13
bar = bar - 1
14
#endif
15
  if (bar.ne.43) call abort
16
      baz = bar
17
!$ 30 baz = 5&     ! Comment
18
!$12  &
19
  !$ + 2
20
!$X baz = 0 ! Not valid OpenMP conditional compilation lines
21
! $   baz = 1
22
baz = baz + 1 !$ baz = 2
23
      if (baz.ne.515) call abort
24
      end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.