Thursday, April 05, 2012

Embedded in Academia : 57 Small Programs that Crash Compilers

Embedded in Academia : 57 Small Programs that Crash Compilers: "C17 : Crashes GCC 3.2.0 at -O2:


union U1 {
  int f0;
  char f1
};
void
fn1 (union U1 p1) {
  p1.f1 = 0;
  for (; p1.f1;) {
  }
}"

'via Blog this'