http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48485
Andrew Pinski changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
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"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48485
--- Comment #4 from Richard Guenther 2011-04-07
10:50:10 UTC ---
It works for me.
/tmp> /space/rguenther/install/gcc-4.5.2/bin/gcc -fmudflap t.c -lmudflap -o t
/tmp> ./t
***
mudflap violation 1 (check/write): time=1302173318.008878 ptr=0x7ff
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
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48485
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|