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 g++.dg/other/i386-[2356].C


On Mon, Jun 15, 2009 at 1:14 PM, H.J. Lu<hjl.tools@gmail.com> wrote:
>
>
> Here is the updated patch. OK for trunk?
>
> Thanks.
>
>

My patch caused:

FAIL: g++.dg/other/i386-2.C (test for excess errors)
FAIL: g++.dg/other/i386-3.C (test for excess errors)
FAIL: g++.dg/other/i386-5.C (test for excess errors)
FAIL: g++.dg/other/i386-6.C (test for excess errors)

since C++ doesn't allow cast from "unsigned int *" to
"int *". This patch changes __builtin_ia32_rdtscp to
take "unsigned int *".  OK for trunk?

Thanks.


-- 
H.J.
2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_special_builtin_type): Remove
	UINT64_FTYPE_PINT.  Add UINT64_FTYPE_PUNSIGNED.
	(bdesc_special_args): Updated.
	(ix86_init_mmx_sse_builtins): Likewise.
	(ix86_expand_special_args_builtin): Likewise.

Attachment: gcc-intrin-4.patch
Description: Text document


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