linux下编程用 编译软件

源代码在线查看: old-style-asm-1.c

软件大小: 49607 K
上传用户: IsABC
关键词: linux 编程 编译 软件
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* PR inline-asm/8832 */				/* { dg-do compile } */				/* { dg-options "-O2 -dP" } */								/* Verify that GCC doesn't optimize				   old style asm instructions.  */								void foo(int v)				{				  if (v)				    asm ("dummy1");								  asm ("dummy2");								  if (v)				    asm ("dummy3");				}								/* The purpose of the test below is to check that there are two branches				   in the generated code, supposedly corresponding to the if-statements.				   It tries to check for jump_insn (set (pc) pattern, so that jump_insns				   corresponding to return are not taken into account.  */				/* { dg-final { scan-assembler "jump_insn.*set \\(pc\\).*jump_insn.*set \\(pc\\)"} } */							

相关资源