Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • @SK-logic, fair enough, I have no statistics to back it. It is based on my own experience, and I admit I have rarely stretched the limits of the language and/or the compiler - others may do it more often. Commented Sep 26, 2011 at 8:10
  • (1) @SK-Logic: Just found a C++ compiler bug, same code, tried on one compiler and works, tried in another it brokes. Commented Sep 26, 2011 at 18:02
  • 9
    @umlcat: most likely it was your code depending on unspecified behavior; on one compiler it matches your expectations, on another it doesn't. that doesn't means it's broken. Commented Sep 26, 2011 at 18:54
  • @Ritch Melton, have you ever used LTO? Commented Sep 27, 2011 at 6:50
  • 2
    I agree with Crashworks, when talking about game consoles. It's not unusual at all to find esoteric compiler bugs in that specific situation. If you're targetting normal PCs, though, using a heavily-used compiler, then it's very unlikely that you'll bump into a compiler bug that nobody's seen before. Commented Jan 14, 2012 at 8:00