re PR middle-end/67619 (ICE at -O1 and above on x86_64-linux-gnu in int_mode_for_mode, at stor-layout.c:425)
PR middle-end/67619 * lib/target-supports.exp (check_effective_target_builtin_eh_return): New procedure. From-SVN: r227952
This commit is contained in:
parent
56547ff787
commit
7f050a11fc
|
@ -121,6 +121,8 @@
|
|||
|
||||
PR middle-end/67619
|
||||
* gcc.dg/torture/pr67619.c: New test.
|
||||
* lib/target-supports.exp (check_effective_target_builtin_eh_return):
|
||||
New procedure.
|
||||
|
||||
2015-09-18 Alan Lawrence <alan.lawrence@arm.com>
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target builtin_eh_return } */
|
||||
|
||||
void
|
||||
foo ()
|
||||
|
|
|
@ -6449,3 +6449,13 @@ proc check_effective_target_comdat_group {} {
|
|||
int (*fn) () = foo;
|
||||
}]
|
||||
}
|
||||
|
||||
# Return 1 if target supports __builtin_eh_return
|
||||
proc check_effective_target_builtin_eh_return { } {
|
||||
return [check_no_compiler_messages builtin_eh_return object {
|
||||
void test (long l, void *p)
|
||||
{
|
||||
__builtin_eh_return (l, p);
|
||||
}
|
||||
} "" ]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue