Re: [patch, testsuite] Fix PR 49191 with test for STRICT_ALIGNMENT

2014-06-04 Thread Rainer Orth
On 06/08/11 22:51, Steve Ellcey wrote: On Wed, 2011-06-08 at 22:19 +0200, Jakub Jelinek wrote: On Wed, Jun 08, 2011 at 01:16:26PM -0700, Steve Ellcey wrote: On Wed, 2011-06-08 at 22:08 +0200, Jakub Jelinek wrote: On Wed, Jun 08, 2011 at 01:03:53PM -0700, Steve Ellcey wrote: 2011-06-08 Steve

Re: [patch, testsuite] Fix PR 49191 with test for STRICT_ALIGNMENT

2011-06-08 Thread Steve Ellcey
On Wed, 2011-06-08 at 22:19 +0200, Jakub Jelinek wrote: > On Wed, Jun 08, 2011 at 01:16:26PM -0700, Steve Ellcey wrote: > > On Wed, 2011-06-08 at 22:08 +0200, Jakub Jelinek wrote: > > > On Wed, Jun 08, 2011 at 01:03:53PM -0700, Steve Ellcey wrote: > > > > 2011-06-08 Steve Ellcey > > > > > > > >

Re: [patch, testsuite] Fix PR 49191 with test for STRICT_ALIGNMENT

2011-06-08 Thread Jakub Jelinek
On Wed, Jun 08, 2011 at 01:16:26PM -0700, Steve Ellcey wrote: > On Wed, 2011-06-08 at 22:08 +0200, Jakub Jelinek wrote: > > On Wed, Jun 08, 2011 at 01:03:53PM -0700, Steve Ellcey wrote: > > > 2011-06-08 Steve Ellcey > > > > > > PR middle-end/49191 > > > * lib/target-supports.exp (check_effe

Re: [patch, testsuite] Fix PR 49191 with test for STRICT_ALIGNMENT

2011-06-08 Thread Steve Ellcey
On Wed, 2011-06-08 at 22:08 +0200, Jakub Jelinek wrote: > On Wed, Jun 08, 2011 at 01:03:53PM -0700, Steve Ellcey wrote: > > 2011-06-08 Steve Ellcey > > > > PR middle-end/49191 > > * lib/target-supports.exp (check_effective_target_strict_align): New. > > * gcc.dg/memcpy-3.c: Add dg-r

Re: [patch, testsuite] Fix PR 49191 with test for STRICT_ALIGNMENT

2011-06-08 Thread Jakub Jelinek
On Wed, Jun 08, 2011 at 01:03:53PM -0700, Steve Ellcey wrote: > 2011-06-08 Steve Ellcey > > PR middle-end/49191 > * lib/target-supports.exp (check_effective_target_strict_align): New. > * gcc.dg/memcpy-3.c: Add dg-require-effective-target strict_align. Isn't the test backward

[patch, testsuite] Fix PR 49191 with test for STRICT_ALIGNMENT

2011-06-08 Thread Steve Ellcey
Here is a patch to skip gcc.dg/memcpy-3.c on platforms that define STRICT_ALIGNMENT. It adds a new check_effective routine, check_effective_target_strict_align that looks for a warning that will only be produced on platforms that define STRICT_ALIGNMENT. Technically, the test may not work if the