[Bug libmudflap/48485] mudflap don't discover mistake - negative one index on static array i.e. a[-1]=b;

2011-04-07 Thread krasutug at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48485 --- Comment #5 from konst 2011-04-07 11:01:30 UTC --- > Note that openSUSE has libmudflap disabled, so I wonder how it even compiles > and links for you ;) Yes, I downloaded src.rpm, compiled it (gcc and mudflap) and "make install"

[Bug libmudflap/48485] mudflap don't discover mistake - negative one index on static array i.e. a[-1]=b;

2011-04-07 Thread krasutug at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48485 --- Comment #3 from konst 2011-04-07 10:08:59 UTC --- gcc -fmudflap main.c -lmudflap -o main && ./main and nothing, but if I do 'a[-2]=c;' in main.c and compile it then the mistake is discovered by following output: *** mudflap violation 1 (c

[Bug libmudflap/48485] mudflap don't discover mistake - negative one index on static array i.e. a[-1]=b;

2011-04-07 Thread krasutug at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48485 --- Comment #2 from konst 2011-04-07 10:04:07 UTC --- Created attachment 23907 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23907 main.c

[Bug libmudflap/48485] New: mudflap don't discover mistake - negative one index on static array i.e. a[-1]=b;

2011-04-06 Thread krasutug at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48485 Summary: mudflap don't discover mistake - negative one index on static array i.e. a[-1]=b; Product: gcc Version: 4.5.4 Status: UNCONFIRMED Severity: major Priority