Lines Matching full:stack
5 return &x; // expected-warning{{Address of stack memory associated with local variable 'x' returned}} expected-warning{{address of stack memory associated with local variable 'x' returned}}
9 return &y; // expected-warning{{Address of stack memory associated with local variable 'y' returned}} expected-warning{{address of stack memory associated with local variable 'y' returned}}
18 return y; // expected-warning{{Address of stack memory associated with local variable 'w' returned to caller}}
23 return &(unsigned short){((unsigned short)0x22EF)}; // expected-warning{{Address of stack memory}}
29 return &((struct s){ 2, 0.4, 5 * 8 }); // expected-warning{{Address of stack memory}}
33 return p; // expected-warning{{Address of stack memory}}
38 return p; // expected-warning{{Address of stack memory}}
66 // This block is stack allocated because it has captures.
68 return b; // expected-warning{{Address of stack-allocated block}}
80 return a; // expected-warning 2 {{ddress of stack memory associated with local variable 'a' returned}}