⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pr23234.c

📁 用于进行gcc测试
💻 C
字号:
/* The problem in this PR was mostly finding a suitable place to insert   the reciprocals of the function arguments.  This test case tries to   test three possible ways of how this may go wrong.  *//* { dg-options "-O2 -ffast-math" } *//* { dg-do compile } *//* The original test case.  */doublef1 (double a, double b, double c){  double y0;  double y1;  if (a == 0.0)    {      y0 = -c / b;      return y0;    }  y0 = c / b;  y1 = a / b;  return y0 * y1;}/* Labels may end up in the middle of a block.  Also bad.  */doublef2 (double a, double b, double c){  double y0;  double y1;a_label:another_label:  if (a == 0.0)    {      y0 = -c / b;      return y0;    }  y0 = c / b;  y1 = a / b;  return y0 * y1;}/* Uses must still be dominated by their defs.  */doublef3 (double a, double b, double c){  double y0;  double y1;  y0 = -c / b;  if (a == 0.0)    {      return y0;    }  y0 = c / b;  y1 = a / b;  return y0 * y1;}

⌨️ 快捷键说明

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