+2021-10-15 Tobias Burnus <tobias@codesourcery.com>
+
+ Backported from master:
+ 2021-10-15 Jakub Jelinek <jakub@redhat.com>
+
+ * testsuite/libgomp.c/affinity-1.c (struct places): Change name field
+ type from char [50] to const char *.
+ (places_array): Add a testcase for simplified syntax place followed
+ by length or length and stride.
+
2021-10-15 Tobias Burnus <tobias@codesourcery.com>
Backported from master:
};
struct places
{
- char name[50];
+ const char *name;
int count;
struct place places[8];
} places_array[] = {
{ 4, 1 }, { 5, 1 }, { 6, 1 }, { 7, 1 } } },
{ "{0,1},{3,2,4},{6,5,!6},{6},{7:2:-1,!6}", 5,
{ { 0, 2 }, { 2, 3 }, { 5, 1 }, { 6, 1 }, { 7, 1 } } },
- { "1,2,{2,3,!2},3,3,!3,!{5:3:-1,!4,!5},{4},5,!4,!5", 3,
+ { "1,2,{2,3,!2},3,3,!3,!{5:3:-1,!4,!5},{4},5,!4,!5,"
+ "1:2,!{1},!2,7:3:-2,!{5},!7,!3", 3,
{ { 1, 1 }, { 2, 1 }, { 3, 1 } } }
};