Bug#747123: Clang mistakenly removes an if check

2014-05-06 Thread Nicolas Sévelin-Radiguet
Thank you for the bug report and the test case. Interestingly enough, the test case compiled with clang-3.3 outputs the expected value whatever the optimization level. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Bug#747123: Clang mistakenly removes an if check

2014-05-05 Thread Carlos Martín Nieto
Package: clang-3.4 Hello, We had an odd problem in our CI servers, where some builds would mysteriously make a bunch of files read-only. After some wrangling, I managed to track this down to the create mode being set to 0 when it shouldn't be. We have a function which wraps the system's open(2)