用于进行gcc测试

源代码在线查看: ssa-pre-4.c

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

相关代码

				/* { dg-do compile } */ 				/* { dg-options "-O2 -fdump-tree-pre-stats" } */				int main(void)				{					int x, c, y;					x = 3;					if (c)						x = 2;					y = x + 1;					return y;				}				/* We should eliminate the x+1 computation from this routine, replacing				   it with a phi of 3, 4 */				/* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre"} } */				/* { dg-final { cleanup-tree-dump "pre" } } */							

相关资源