/* PR opt/7130 */ #define TYPE long void scale (TYPE *alpha, TYPE *x, int n) { int i, ix; if (*alpha != 1) for (i = 0, i…
Hysteresis+Loop 源代码
汇集 Hysteresis+Loop 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
void foo (unsigned int n) { int i, j = -1; for (i = 0; i < 10 && j < 0; i++) { if ((1UL
/* Checks that pure functions are not treated as const. */ char *p; static int __attribute__ ((pure)) is_end_of_statement (void…
/* Reduced from PR optimization/5076, PR optimization/2847 */ static int count = 0; static void inc (void) { count++; } int m…
#include int n = 0; g (i) { n++; } f (m) { int i; i = m; do { g (i * INT_MAX / 2); } while (--i > 0); …
foo (a) { while ((a -= 1) != -1) bar (270000); putchar ('\n'); } main () { foo (5); }
/* Copyright (C) 2000 Free Software Foundation. Simplified from gcc/fold-const.c by Alexandre Oliva */ /* { dg-do comp…
//======================================================================= // Copyright 2001 Jeremy G. Siek, Andrew Lumsdaine, Lie-…
//======================================================================= // Copyright 2001 Jeremy G. Siek, Andrew Lumsdaine, Lie-…
double a[3] = { 0.0, 1.0, 2.0 }; void bar (int x, double *y) { if (x || *y != 1.0) abort (); } int main () { double c; …