Commit 4ff10c0e by Jakub Jelinek

[multiple changes]

2011-06-26  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/48377
	* gcc.dg/vect/pr48377.c: Add dg-require-effective-target
	non_strict_align.

2011-06-26  Steve Ellcey  <sje@cup.hp.com>

	PR middle-end/49191
	* lib/target-supports.exp (check_effective_target_non_strict_align):
	New.
	* gcc.dg/memcpy-3.c: Add dg-require-effective-target non_strict_align.

From-SVN: r175408
parent 605354f3
2011-06-26 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/48377
* gcc.dg/vect/pr48377.c: Add dg-require-effective-target
non_strict_align.
2011-06-26 Steve Ellcey <sje@cup.hp.com>
PR middle-end/49191
* lib/target-supports.exp (check_effective_target_non_strict_align):
New.
* gcc.dg/memcpy-3.c: Add dg-require-effective-target non_strict_align.
2011-06-24 Martin Jambor <mjambor@suse.cz>
PR tree-optimizations/49516
......
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-optimized" } */
/* { dg-require-effective-target non_strict_align } */
int get_int(const void *p)
{
......
/* PR tree-optimization/48377 */
/* { dg-require-effective-target non_strict_align } */
typedef unsigned int U __attribute__((__aligned__ (1), __may_alias__));
......
......@@ -3962,3 +3962,11 @@ proc check_vect_support_and_set_flags { } {
return 1
}
proc check_effective_target_non_strict_align {} {
return [check_no_compiler_messages non_strict_align assembly {
char *y;
typedef char __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))) c;
c *z;
void foo(void) { z = (c *) y; }
} "-Wcast-align"]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment