/* Reduced from PR optimization/5076, PR optimization/2847 */ static int count = 0; static void inc (void) { count++; } int m…
Hysteresis+Loop 源代码
汇集 Hysteresis+Loop 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#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…
/* PR c/16180 */ /* { dg-options "-O2" } */ extern int b; int foo (int a) { if (a) { b = 0; for(;;) goto L; …
/* PR optimization/18577 */ /* Origin: Falk Hueffner */ /* { dg-do run } */ /* { dg-options "-O2 -funroll-all-loops" } */ stati…
/* PR optimization/11841 */ /* Originator: Andrey Panov */ /* Reduced testcase by Volker Reichelt */ /* Verify that the (old) l…
/* PR optimization/10171 */ /* Bug: unroll_loop misoptimized the function so that we got 0 iterations of the loop rather than t…
/* A test for strength reduction of ivs with nonconstant step. */ /* { dg-do compile } */ /* { dg-options "-O1 -fdump-tree-vars"…
/* { dg-do compile } */ /* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details -fdump-tree-cunroll-de…