URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Test for restrict: in C99 only. Test handling of arrays of restricted
|
/* Test for restrict: in C99 only. Test handling of arrays of restricted
|
pointers. */
|
pointers. */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
|
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
|
|
|
typedef int *ipa[2];
|
typedef int *ipa[2];
|
|
|
int *restrict x[2];
|
int *restrict x[2];
|
restrict ipa y;
|
restrict ipa y;
|
|
|
void f(int *restrict a[2], restrict ipa b, int *restrict c[restrict]);
|
void f(int *restrict a[2], restrict ipa b, int *restrict c[restrict]);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.