You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clang/test/CodeGen/PowerPC/toc-data-diagnostics.c
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -11,27 +11,27 @@ struct large_struct {
11
11
charc;
12
12
};
13
13
14
-
structlarge_structa; // expected-warning {{The -mtocdata option is ignored for a because variable is larger than a pointer.}}
15
-
long longb=5; // expected-warning {{The -mtocdata option is ignored for b because variable is larger than a pointer.}}
16
-
int __attribute__((aligned(128))) c=0; // expected-warning {{The -mtocdata option is ignored for c because variable is aligned wider than a pointer.}}
17
-
doubled=2.5; // expected-warning {{The -mtocdata option is ignored for d because variable is larger than a pointer.}}
18
-
inte __attribute__((section("foo"))) =10; // expected-warning {{The -mtocdata option is ignored for e because of a section attribute.}}
19
-
__thread intf; // expected-warning {{The -mtocdata option is ignored for f because of thread local storage model.}}
14
+
structlarge_structa; // expected-warning {{-mtocdata option is ignored for a because variable is larger than a pointer}}
15
+
long longb=5; // expected-warning {{-mtocdata option is ignored for b because variable is larger than a pointer}}
16
+
int __attribute__((aligned(128))) c=0; // expected-warning {{-mtocdata option is ignored for c because variable is aligned wider than a pointer}}
17
+
doubled=2.5; // expected-warning {{-mtocdata option is ignored for d because variable is larger than a pointer}}
18
+
inte __attribute__((section("foo"))) =10; // expected-warning {{-mtocdata option is ignored for e because of a section attribute}}
19
+
__thread intf; // expected-warning {{-mtocdata option is ignored for f because of thread local storage}}
20
20
21
21
structSomeStruct;
22
-
externstructSomeStructg; // expected-warning {{The -mtocdata option is ignored for g because of incomplete type.}}
22
+
externstructSomeStructg; // expected-warning {{-mtocdata option is ignored for g because of incomplete type}}
23
23
24
-
externinth[]; // expected-warning {{The -mtocdata option is ignored for h because of incomplete type.}}
24
+
externinth[]; // expected-warning {{-mtocdata option is ignored for h because of incomplete type}}
25
25
26
26
structty3 {
27
27
intA;
28
28
charC[];
29
29
};
30
-
structty3t3= { 4, "fo" }; // expected-warning {{The -mtocdata option is ignored for t3 because it contains a flexible array member.}}
30
+
structty3t3= { 4, "fo" }; // expected-warning {{-mtocdata option is ignored for t3 because it contains a flexible array member}}
31
31
32
32
intglobalOneWithAlias=10;
33
-
__attribute__((__alias__("globalOneWithAlias"))) externintaliasOne; // expected-warning {{The -mtocdata option is ignored for globalOneWithAlias because the variable has an alias.}}
34
-
__attribute__((__alias__("globalTwoWithAlias"))) externintaliasTwo; // expected-warning {{The -mtocdata option is ignored for globalTwoWithAlias because the variable has an alias.}}
33
+
__attribute__((__alias__("globalOneWithAlias"))) externintaliasOne; // expected-warning {{-mtocdata option is ignored for globalOneWithAlias because the variable has an alias}}
34
+
__attribute__((__alias__("globalTwoWithAlias"))) externintaliasTwo; // expected-warning {{-mtocdata option is ignored for globalTwoWithAlias because the variable has an alias}}
0 commit comments