diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2022-05-15 17:21:59 +0300 |
---|---|---|
committer | Dimitar Dimitrov <dimitar@dinux.eu> | 2022-05-21 21:27:29 +0300 |
commit | addacdc87b044e63d72054036907c91a18be6734 (patch) | |
tree | c52f5caa322b8a8aa6536b391195a7dd2c5f7503 | |
parent | testsuite: Skip gcc.dg/pr46647.c for PRU (diff) | |
download | gcc-addacdc87b044e63d72054036907c91a18be6734.tar.gz gcc-addacdc87b044e63d72054036907c91a18be6734.tar.bz2 gcc-addacdc87b044e63d72054036907c91a18be6734.tar.xz |
testsuite: Adjust pr91088.c for default_packed targets
PR ipa/91088
gcc/testsuite/ChangeLog:
* gcc.dg/ipa/pr91088.c: Adjust member offset checks to
accommodate targets which pack structures by default.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/pr91088.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/ipa/pr91088.c b/gcc/testsuite/gcc.dg/ipa/pr91088.c index cc146a88134..f8b3c49b973 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr91088.c +++ b/gcc/testsuite/gcc.dg/ipa/pr91088.c | |||
@@ -115,6 +115,7 @@ int caller () | |||
115 | /* { dg-final { scan-ipa-dump-times "Creating a specialized node of callee1" 1 "cp" } } */ | 115 | /* { dg-final { scan-ipa-dump-times "Creating a specialized node of callee1" 1 "cp" } } */ |
116 | /* { dg-final { scan-ipa-dump-times "Creating a specialized node of callee2" 1 "cp" } } */ | 116 | /* { dg-final { scan-ipa-dump-times "Creating a specialized node of callee2" 1 "cp" } } */ |
117 | /* { dg-final { scan-ipa-dump-times "Creating a specialized node of callee3" 1 "cp" } } */ | 117 | /* { dg-final { scan-ipa-dump-times "Creating a specialized node of callee3" 1 "cp" } } */ |
118 | /* { dg-final { scan-ipa-dump "op0\\\[offset: 32],\\(\\(short int\\) #\\),\\(\\(int\\) #\\),\\(1300 / #\\) == 19" "cp" } } */ | 118 | /* { dg-final { scan-ipa-dump "op0\\\[offset: 16],\\(\\(short int\\) #\\),\\(\\(int\\) #\\),\\(1300 / #\\) == 19" "cp" { target default_packed } } } */ |
119 | /* { dg-final { scan-ipa-dump "op0\\\[offset: 32],\\(\\(short int\\) #\\),\\(\\(int\\) #\\),\\(1300 / #\\) == 19" "cp" { target { ! default_packed } } } } */ | ||
119 | /* { dg-final { scan-ipa-dump "op0\\\[ref offset: 0],\\(# \\^ 1\\) <" "cp" } } */ | 120 | /* { dg-final { scan-ipa-dump "op0\\\[ref offset: 0],\\(# \\^ 1\\) <" "cp" } } */ |
120 | /* { dg-final { scan-ipa-dump "op0,\\(# & 255\\),\\(1 - #\\),\\(# \\* 3\\),\\(27 % #\\) <" "cp" } } */ | 121 | /* { dg-final { scan-ipa-dump "op0,\\(# & 255\\),\\(1 - #\\),\\(# \\* 3\\),\\(27 % #\\) <" "cp" } } */ |