1 /* { dg-do compile } */
2 /* { dg-skip-if "" { ! { clmcpu } } } */
3 /* { dg-options "-mcpu=arc700 -O2 -fpic" } */
5 /* Test if the compiler generates a constant address having that uses
6 a neg keyword on the pic unspec. */
8 typedef unsigned int uint32_t;
9 typedef unsigned char uint8_t;
10 typedef unsigned short int uint16_t;
11 typedef unsigned long long int uint64_t;
34 _find_factors (struct raid_set
*rs
, uint8_t * div
, uint8_t * sub
)
38 const uint8_t div
, sub
;
40 static struct factors factors
[] = {
46 struct factors
*f
= (factors
+ (sizeof (factors
) / sizeof (*factors
)));
48 while (f
-- > factors
) {
49 if (rs
->type
== f
->level
) {