mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 15:01:17 +08:00
re PR testsuite/30179 (FAIL: gcc.c-torture/execute/mode-dependent-address.c compilation, -O0)
PR testsuite/30179 PR testsuite/30180 * gcc.dg/builtin-bswap-1.c: Require stdint_types. * gcc.dg/builtin-bswap-2.c: Likewise. * gcc.dg/builtin-bswap-3.c: Likewise. * gcc.dg/builtin-bswap-4.c: Likewise. * lib/target-supports.exp (check_effective_target_stdint_types): New. * cc.c-torture/execute/mode-dependent-address.x: New file. From-SVN: r119945
This commit is contained in:
parent
b65151d3dd
commit
8f3fc4aa8d
@ -1,3 +1,14 @@
|
||||
2006-12-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR testsuite/30179
|
||||
PR testsuite/30180
|
||||
* gcc.dg/builtin-bswap-1.c: Require stdint_types.
|
||||
* gcc.dg/builtin-bswap-2.c: Likewise.
|
||||
* gcc.dg/builtin-bswap-3.c: Likewise.
|
||||
* gcc.dg/builtin-bswap-4.c: Likewise.
|
||||
* lib/target-supports.exp (check_effective_target_stdint_types): New.
|
||||
* cc.c-torture/execute/mode-dependent-address.x: New file.
|
||||
|
||||
2006-12-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/30145
|
||||
|
@ -0,0 +1,7 @@
|
||||
load_lib target-supports.exp
|
||||
|
||||
if { ! [check_effective_target_stdint_types] } {
|
||||
return 1
|
||||
}
|
||||
|
||||
return 0
|
@ -1,4 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target stdint_types } */
|
||||
/* { dg-options "" } */
|
||||
/* { dg-final { scan-assembler-not "__builtin_" } } */
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-require-effective-target stdint_types } */
|
||||
/* { dg-options "" } */
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-require-effective-target stdint_types } */
|
||||
/* { dg-options "" } */
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-require-effective-target stdint_types } */
|
||||
/* { dg-options "-Wall" } */
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -2044,3 +2044,14 @@ proc check_effective_target_string_merging { } {
|
||||
const char *var = "String";
|
||||
} {-O2}]
|
||||
}
|
||||
|
||||
# Return 1 if target has the basic signed and unsigned types in
|
||||
# <stdint.h>, 0 otherwise.
|
||||
|
||||
proc check_effective_target_stdint_types { } {
|
||||
return [check_no_compiler_messages stdint_types assembly {
|
||||
#include <stdint.h>
|
||||
int8_t a; int16_t b; int32_t c; int64_t d;
|
||||
uint8_t e; uint16_t f; uint32_t g; uint64_t h;
|
||||
}]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user