sparc-ret.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 27 行

C
27
字号
/* Copyright (C) 2001  Free Software Foundation.   Making sure that Ultrasparc return instructions do not read   below the stack.  *//* { dg-do compile { target sparc-*-* } } *//* { dg-options "-mcpu=ultrasparc -O" } */int bar (int a, int b, int c, int d, int e, int f, int g, int h){  int res;  toto (&res);  return h;}/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags] { scan-assembler "return\[ \t\]*%i7\\+8\n\[^\n\]*ld\[ \t\]*\\\[%sp\\+96\\\]" } } } */int bar2 (){  int res;  toto (&res);  return res;}/* { dg-final { global compiler_flags; if ![string match "*-m64 *" $compiler_flags] { scan-assembler "return\[ \t\]*%i7\\+8\n\[^\n\]*nop" } } } */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?