用于进行gcc测试

源代码在线查看: pr20913.c

软件大小: 6330 K
上传用户: yhw002
关键词: gcc 测试
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* PR tree-optimization/20913				   COPY-PROP did not fold COND_EXPR, blocking some copy propagation				   opportunities.  */								/* { dg-do link } */				/* { dg-options "-O2 -fno-tree-dominator-opts" } */								int				foo (int a, int b, int c, int d)				{				  int x, y;								  b = a;				  if (a == b)				    x = c;				  else				    {				      link_error ();				      x = d;				    }								  if (x == c)				    return a;				  else				    {				      link_error ();				      return b;				    }				}								main()				{				  foo (1, 2, 3, 4);				}							

相关资源