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]

Re: [PATCH] 34641: Fix find_reloads_address handling of reg_equiv_constant


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


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