[Bug tree-optimization/20165] Pointer does not really escape with write

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 23 23:29:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-23 18:59 -------
A C testcase (scanf this time):
#include <stdio.h>

int main(void)
{
  int i;
  int j;
  scanf("%d", &i);
  for(;i<=0;i--)
    printf("H");
  return 0;
}

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20165



More information about the Gcc-bugs mailing list