Processed: Re: Bug#707118: gcc-4.7: incorrect code with -O2

2013-05-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > severity 707118 normal Bug #707118 [gcc-4.7] gcc-4.7: incorrect code with -O2 Severity set to 'normal' from 'grave' > thanks Stopping processing here. Please contact me if you need assistance. -- 707118: http://bugs.debian.org/cgi-bin/bugreport.

Bug#707118: gcc-4.7: incorrect code with -O2

2013-05-07 Thread Philipp
Package: gcc-4.7 Version: 4.7.2-5 Severity: grave Dear Maintainer, gcc produces incorrect code with -O2 for this simple example: zaphod@eddie:~$ cat a.c #include #include int foo(int); int main(int argc, char** argv) { char pstring[256]; memset(pstring, 0, 256*sizeof(char)); *p