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