[PATCH]: Fix FAIL: libmudflap.cth/pass59-frag.c on LP64 targets

Uros Bizjak ubizjak@gmail.com
Tue Mar 13 09:23:00 GMT 2007


Hello!

libmudflap.cth/pass59-frag.c testcase warns on LP64 targets:

FAIL: libmudflap.cth/pass59-frag.c (test for excess errors)
FAIL: libmudflap.cth/pass59-frag.c (-static -DSTATIC) (test for excess errors)
FAIL: libmudflap.cth/pass59-frag.c (-O2) (test for excess errors)
FAIL: libmudflap.cth/pass59-frag.c (-O3) (test for excess errors)

due to:

pass59-frag.c: In function âmainâ:
pass59-frag.c:17: warning: cast to pointer from integer of different size

Attached patch fixes this testcase problem. OK for mainline?

2007-03-13  Uros Bizjak  <ubizjak@gmail.com>

	* testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.

Uros.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmudflap.diff
Type: application/octet-stream
Size: 502 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070313/aebcc2d3/attachment.obj>


More information about the Gcc-patches mailing list