This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: libmudflap.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]