Bug#810819: gcc-5: misoptimization, "goto out" removed

2016-01-12 Thread Ph. Marek
Package: gcc-5 Version: 5.3.1-5 Severity: normal During debugging for some strange behaviour in DRBD I got upon this. * DRBD 8.4 from GIT head (http://git.drbd.org/drbd-8.4.git/) * compiling for linux-headers-4.3.0-1-amd64=4.3.3-5 * drbd_send_dblock(), in drbd/drbd_main.c For reference: the c

Bug#733975: gcc-4.8: -Os optimization bug (address of label)

2014-01-02 Thread Ph. Marek
Package: gcc-4.8 Version: 4.8.2-11 Severity: normal Attached is a small C program. It just takes the address of a label, and subtracts the address of the function, to get the "size". The problem is not directly related with that, though - the printf() output is wrong. When compiled with "-g -Wa

Bug#474086: gcc-4.2: Constant optimization for strlen() prints bogus warnings

2008-04-03 Thread Ph. Marek
BTW, I just tested with ii gcc-4.3 4.3.0-3 The GNU C compiler and the result is the same - I get warnings, and strlen() gets optimized out. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#474086: gcc-4.2: Constant optimization for strlen() prints bogus warnings

2008-04-03 Thread Ph. Marek
Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Reportbug-Version: 3.39 X-Debbugs-Cc: [EMAIL PROTECTED] Package: gcc-4.2 Version: 4.2.3-3 Severity: minor I try to compile the attached C file via the command $ gcc -Wall -Os -S % and get se

Bug#365123: gcc-4.0: gcov opens files with O_RDWR

2006-04-27 Thread Ph. Marek
X-Reportbug-Version: 3.20 X-Debbugs-Cc: [EMAIL PROTECTED] Package: gcc-4.0 Version: 4.0.3-2 Severity: important gcov opens it's data files *.gcda and *.gcno with O_RDWR. This fails if these files were created by another user, and the current user only has read access to those files. I believe th