Searched refs:arr (Results 1 - 25 of 240) sorted by relevance

12345678910

/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dbounds_check_array_ctor_3.f907 character(len=128) :: arr(2) = (/ "abc", "foobar" /) ! { dg-error "Different CHARACTER lengths" } variable
8 arr = (/ "abc", "foobar" /) ! { dg-error "Different CHARACTER lengths" }
H A Dallocate_error_1.f903 ! { dg-output "At line 13.*Attempting to allocate .* 'arr'" }
10 INTEGER, ALLOCATABLE :: arr(:) variable in program:main
12 ALLOCATE (arr(5))
13 ALLOCATE (arr(6))
H A Ddeallocate_error_1.f903 ! { dg-output "At line 14.*Attempt to DEALLOCATE unallocated 'arr'" }
10 INTEGER, ALLOCATABLE :: arr(:) variable in program:main
12 ALLOCATE (arr(5))
13 DEALLOCATE (arr)
14 DEALLOCATE (arr)
H A Dimplied_shape_2.f9010 INTEGER, PARAMETER :: arr(*) = (/ 2, 3, 4 /) ! { dg-error "Fortran 2008" } variable in program:main
H A Dmodule_parameter_array_refs_1.f9010 integer :: arr(max(len,1)) variable in module:foo
H A Dassumed_dummy_2.f903 double precision :: arr(5, 8) variable
4 call bar (arr)
6 subroutine foo (arr)
7 double precision :: arr(:,:) local in subroutine:foo
8 arr(3, 4) = 24
10 subroutine bar (arr)
11 double precision :: arr(5,*) local in subroutine:bar
12 call foo (arr) ! { dg-error "cannot be an assumed-size array" }
13 call foo (arr (:, :8))
H A Dargument_checking_4.f9010 subroutine arr(a)
12 end subroutine arr
17 call arr( [ "bar" ]) ! { dg-warning "contains too few elements" }
18 call arr( reshape(["b","a","r","3"], [2,2]))
19 call arr( reshape(["b","a"], [1,2])) ! { dg-warning "contains too few elements" }
20 call arr( reshape(["b","a"], [2,1])) ! { dg-warning "contains too few elements" }
H A Dbounds_check_array_ctor_5.f908 character(len=128) :: arr(3) variable
9 arr = (/ "abc", "foo", s /) ! { dg-error "Different CHARACTER lengths" }
H A Dpointer_remapping_1.f9012 INTEGER, TARGET :: arr(12) variable in program:main
15 vec => arr ! This is ok.
17 vec(2:) => arr ! { dg-error "Fortran 2003" }
18 mat(1:2, 1:6) => arr ! { dg-error "Fortran 2003" }
H A Ddeallocate_error_2.f9011 INTEGER, ALLOCATABLE :: arr(:) variable in program:main
13 ALLOCATE (ptr, arr(5))
15 DEALLOCATE (arr, ptr)
H A Dbound_simplification_3.f9013 integer, dimension(1-min(n,2)/2:n) :: arr variable in program:testit
14 integer, parameter :: i=lbound(arr,1)
15 integer, parameter :: j=ubound(arr,1)
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/aarch64/
H A Dldp_stp_1.c3 int arr[4][4]; variable
8 arr[0][1] = 1;
9 arr[1][0] = -1;
10 arr[2][0] = 1;
11 arr[1][1] = -1;
12 arr[0][2] = 1;
13 arr[0][3] = -1;
14 arr[1][2] = 1;
15 arr[2][1] = -1;
16 arr[
[all...]
H A Dldp_stp_4.c3 float arr[4][4]; variable
8 arr[0][1] = 1;
9 arr[1][0] = -1;
10 arr[2][0] = 1;
11 arr[1][1] = -1;
12 arr[0][2] = 1;
13 arr[0][3] = -1;
14 arr[1][2] = 1;
15 arr[2][1] = -1;
16 arr[
[all...]
H A Dldp_stp_5.c3 double arr[4][4]; variable
8 arr[0][1] = 1;
9 arr[1][0] = -1;
10 arr[2][0] = 1;
11 arr[1][1] = -1;
12 arr[0][2] = 1;
13 arr[0][3] = -1;
14 arr[1][2] = 1;
15 arr[2][1] = -1;
16 arr[
[all...]
H A Dindex.c8 load_scaled_sxtw (int *arr, int i) argument
10 return arr[arr[i]];
14 load_scaled_uxtw (unsigned int *arr, unsigned int i) argument
16 return arr[arr[i]];
20 store_scaled_sxtw (int *arr, int i) argument
22 arr[arr[i]] = 0;
26 store_scaled_uxtw (unsigned int *arr, unsigne argument
32 load_unscaled_sxtw(signed char *arr, int i) argument
38 load_unscaled_uxtw(unsigned char *arr, unsigned int i) argument
44 store_unscaled_sxtw(signed char *arr, int i) argument
50 store_unscaled_uxtw(unsigned char *arr, unsigned int i) argument
58 load_scaled_tmp_sxtw(int *arr, int i) argument
65 load_scaled_tmp_uxtw(unsigned int *arr, unsigned int i) argument
72 store_scaled_tmp_sxtw(int *arr, int i) argument
79 store_scaled_tmp_uxtw(unsigned int *arr, unsigned int i) argument
86 load_unscaled_tmp_sxtw(signed char *arr, int i) argument
93 load_unscaled_tmp_uxtw(unsigned char *arr, unsigned int i) argument
100 store_unscaled_tmp_sxtw(signed char *arr, int i) argument
107 store_unscaled_tmp_uxtw(unsigned char *arr, unsigned int i) argument
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20010610-1.c11 bool arr[(bool)1]; local
13 switch (arr[0])
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/
H A Dassign-2.c5 int arr[4]; variable
8 arr[count++] = 0;
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dstack-usage-2.c6 char arr[16]; local
7 arr[0] = 1;
13 char arr[1024]; local
14 arr[0] = 1;
20 char arr[1024] __attribute__((aligned (512))); local
21 arr[0] = 1;
29 char arr[n]; local
30 arr[0] = 1;
H A Dreadonly-loc.c5 const int *arr; local
7 arr[0] = 1; /* { dg-error "assignment of read-only location" "*(arr)" } */
8 arr[1] = 1; /* { dg-error "assignment of read-only location" "*(arr + 4u)" } */
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/mpx/
H A Dpr68416.c6 foo(int **arr, int i) argument
8 return (*arr)[i];
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dpr67265-2.c6 volatile char arr[64 * 1024]; local
8 arr[n] = 1;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dconstexpr-ctor3.C6 int arr[1]; member in struct:A
9 : arr() { }
H A Drange-for29.C6 int arr; local
8 for (int i = 5: arr) // { dg-error "initializer in range-based" }
11 for (int i, j: arr) // { dg-error "multiple declarations in range-based" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/
H A Dpr63995-1.C6 extern const int arr[10];
7 return arr[i];
10 extern const int arr[10];
14 return arr[i];
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dtypeck2.C9 typedef int arr[10]; typedef
13 int * q = new arr; /* g++ complains, but shouldn't */
14 int (* r)[10] = new arr; /* g++ doesn't complain, but should */// { dg-error "" }

Completed in 212 milliseconds

12345678910