[PATCH] 34641: Fix find_reloads_address handling of reg_equiv_constant

Jakub Jelinek jakub@redhat.com
Fri Jan 11 04:26:00 GMT 2008


On Thu, Jan 10, 2008 at 03:03:08PM +0100, Andreas Krebbel wrote:
> *** /dev/null	1970-01-01 00:00:00.000000000 +0000
> --- gcc/testsuite/g++.dg/torture/pr34641.C	2008-01-09 08:50:47.000000000 +0100
> ***************
> *** 0 ****
> --- 1,175 ----
> + // { dg-require-effective-target fpic }

// { dg-require-visibility "" }

is also needed IMHO, as you use visibility attribute.

> + // { dg-options "-fPIC" }
> + // { dg-do compile }
> + 
> + 
> + typedef long unsigned int size_t;

This ought to be
typedef __SIZE_TYPE__ size_t;
otherwise it fails on targets where size_t is e.g. unsigned int
(i386, ...).

	Jakub



More information about the Gcc-patches mailing list