ztk's blog

By ztk, 9 years ago, In English

When I run the following code on Codeforces (compiled with GNU C++0x 4), I get a runtime error: link.

Tags gcc, bug
  • Vote: I like it
  • +19
  • Vote: I do not like it

»
9 years ago, # |
  Vote: I like it +21 Vote: I do not like it

Looks like a bug. Does not reproduce on MinGW GCC 4.8.1 on Windows 7.

»
9 years ago, # |
  Vote: I like it +8 Vote: I do not like it

Tested on GCC 4.7.3, GCC 4.8.2, and GCC 4.9.2 on Linux 3.18.2. The error does not reproduce. I think it is a bug.

»
9 years ago, # |
  Vote: I like it -39 Vote: I do not like it

GCC has bugs, and Quran is the only truth!