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: PR testsuite/21865 (really a middle-end vector bug)


> We don't actually have to xfail it.  We can use -fno-common.  Only
> common and malloc'd data are subject to the 8-byte alignment limitation.
> I noticed that local data can now be aligned up to the preferred stack
> boundary of the target in most circumstances.
> 
> Dave

Sounds good, here is a new patch tested on PA32 and PA64.  OK for
checkin?

testsuite ChangeLog:


2005-06-29  Steve Ellcey  <sje@cup.hp.com>

	PR testsuite/21969
	* gcc.dg/torture/pr21817.c: Use -fno-common for hppa*-*-* targets.



*** gcc.orig/gcc/testsuite/gcc.dg/torture/pr21817-1.c	Tue Jun 28 16:48:01 2005
--- gcc/gcc/testsuite/gcc.dg/torture/pr21817-1.c	Wed Jun 29 08:14:00 2005
***************
*** 1,4 ****
--- 1,8 ----
+ /* hppa*-*-hpux* needs -fno-common so that value can be given a 16
+    byte alignment.  */
+ 
  /* { dg-do compile } */
+ /* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
  
  typedef float v4sf __attribute__((vector_size(16)));
  v4sf value;


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