1/* { dg-do compile } */ 2/* { dg-options "-O2" } */ 3 4typedef struct SDL_Rect { 5 unsigned short w, h; 6}SDL_Rect; 7SDL_Rect *location(); 8SDL_Rect inner_location() 9{ 10 SDL_Rect r = *location(); 11 r.w -= 1; 12 return r; 13} 14