diff options
author | Jan Hubicka <jh@suse.cz> | 2007-09-04 15:05:19 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2007-09-04 13:05:19 +0000 |
commit | 1e0890ae3c09d0f8885fd4917e76268a44071e35 (patch) | |
tree | 55c5d9ba0d70ddba600860b2e5e6563cb414d6e5 /gcc/testsuite/gcc.dg/vect | |
parent | f1a72222fd133585f75865dcd319240edc340dcd (diff) | |
download | gcc-1e0890ae3c09d0f8885fd4917e76268a44071e35.zip gcc-1e0890ae3c09d0f8885fd4917e76268a44071e35.tar.gz gcc-1e0890ae3c09d0f8885fd4917e76268a44071e35.tar.bz2 |
vect-reduc-dot-s16b.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-dot-s16b.c: Mark functions noinline.
* gcc.dg/vect/vect-105.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-6.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-53.c: Mark functions noinline.
* gcc.dg/vect/wrapv-vect-reduc-2short.c: Mark functions noinline.
* gcc.dg/vect/fast-math-vect-pr29925.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-dot-u8a.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-7.c: Mark functions noinline.
* gcc.dg/vect/vect-50.c: Mark functions noinline.
* gcc.dg/vect/vect-33.c: Mark functions noinline.
* gcc.dg/vect/vect-16.c: Mark functions noinline.
* gcc.dg/vect/vect-widen-mult-sum.c: Mark functions noinline.
* gcc.dg/vect/vect-float-extend-1.c: Mark functions noinline.
* gcc.dg/vect/vect-92.c: Mark functions noinline.
* gcc.dg/vect/vect-75.c: Mark functions noinline.
* gcc.dg/vect/vect-58.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-2b.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-4.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-7.c: Mark functions noinline.
* gcc.dg/vect/no-section-anchors-vect-69.c: Mark functions noinline.
* gcc.dg/vect/vect-114.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-4g.c: Mark functions noinline.
* gcc.dg/vect/vect-8.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-vect-iv-1.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-10.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-45.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-10a.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-5.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-18.c: Mark functions noinline.
* gcc.dg/vect/vect-42.c: Mark functions noinline.
* gcc.dg/vect/vect-25.c: Mark functions noinline.
* gcc.dg/vect/vect-vfa-01.c: Mark functions noinline.
* gcc.dg/vect/vect-67.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-3a.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-a-u16-mult.c: Mark functions noinline.
* gcc.dg/vect/vect-106.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-7.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-37.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-2short.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-dot-u8b.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-8.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-79.c: Mark functions noinline.
* gcc.dg/vect/vect-34.c: Mark functions noinline.
* gcc.dg/vect/vect-17.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-102a.c: Mark functions noinline.
* gcc.dg/vect/vect-align-1.c: Mark functions noinline.
* gcc.dg/vect/vect-93.c: Mark functions noinline.
* gcc.dg/vect/vect-widen-mult-s16.c: Mark functions noinline.
* gcc.dg/vect/vect-76.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-a-u16-i2.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-2c.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-5.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-8.c: Mark functions noinline.
* gcc.dg/vect/vect-115.c: Mark functions noinline.
* gcc.dg/vect/vect-9.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-vect-iv-2.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-pattern-1a.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-11.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-10b.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u32-i4.c: Mark functions noinline.
* gcc.dg/vect/vect-widen-mult-u8.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-6.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-19.c: Mark functions noinline.
* gcc.dg/vect/vect-60.c: Mark functions noinline.
* gcc.dg/vect/vect-26.c: Mark functions noinline.
* gcc.dg/vect/vect-vfa-02.c: Mark functions noinline.
* gcc.dg/vect/vect-85.c: Mark functions noinline.
* gcc.dg/vect/vect-68.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-3b.c: Mark functions noinline.
* gcc.dg/vect/vect-floatint-conversion-1.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u8-i8-gap7.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-8.c: Mark functions noinline.
* gcc.dg/vect/vect-107.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-1.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-20.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-9.c: Mark functions noinline.
* gcc.dg/vect/vect-52.c: Mark functions noinline.
* gcc.dg/vect/vect-35.c: Mark functions noinline.
* gcc.dg/vect/vect-18.c: Mark functions noinline.
* gcc.dg/vect/vect-align-2.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-1.c: Mark functions noinline.
* gcc.dg/vect/vect-77.c: Mark functions noinline.
* gcc.dg/vect/vect-2.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-2d.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-6.c: Mark functions noinline.
* gcc.dg/vect/vect-82_64.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-9.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u8-i2-gap.c: Mark functions noinline.
* gcc.dg/vect/vect-116.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-store-u16-i4.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-vect-iv-3.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-pattern-1b.c: Mark functions noinline.
* gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-12.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-7.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-101.c: Mark functions noinline.
* gcc.dg/vect/vect-44.c: Mark functions noinline.
* gcc.dg/vect/vect-27.c: Mark functions noinline.
* gcc.dg/vect/vect-vfa-03.c: Mark functions noinline.
* gcc.dg/vect/vect-86.c: Mark functions noinline.
* gcc.dg/vect/vect-100.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-1.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-3c.c: Mark functions noinline.
* gcc.dg/vect/vect-floatint-conversion-2.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-a-u32-mult.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u8-i8.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-fir-lb.c: Mark functions noinline.
* gcc.dg/vect/vect-108.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-9.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-21.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-2.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-pattern-2a.c: Mark functions noinline.
* gcc.dg/vect/vect-11.c: Mark functions noinline.
* gcc.dg/vect/vect-70.c: Mark functions noinline.
* gcc.dg/vect/vect-36.c: Mark functions noinline.
* gcc.dg/vect/vect-19.c: Mark functions noinline.
* gcc.dg/vect/vect-95.c: Mark functions noinline.
* gcc.dg/vect/vect-78.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-a-u16-i4.c: Mark functions noinline.
* gcc.dg/vect/vect-3.c: Mark functions noinline.
* gcc.dg/vect/vect-all.c: Mark functions noinline.
* gcc.dg/vect/vect-117.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-13.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-pattern-1c.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u16-i2.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-a-u8-i8-gap7.c: Mark functions noinline.
* gcc.dg/vect/vect-20.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-8.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-noreassoc-outer-1.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-102.c: Mark functions noinline.
* gcc.dg/vect/vect-62.c: Mark functions noinline.
* gcc.dg/vect/vect-28.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-10.c: Mark functions noinline.
* gcc.dg/vect/vect-vfa-04.c: Mark functions noinline.
* gcc.dg/vect/vect-87.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-dot-u16a.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-2.c: Mark functions noinline.
* gcc.dg/vect/vect-intfloat-conversion-4a.c: Mark functions noinline.
* gcc.dg/vect/vect-109.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-22.c: Mark functions noinline.
* gcc.dg/vect/no-section-anchors-vect-outer-4h.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-3.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-pattern-2b.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-dot-s8a.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-57.c: Mark functions noinline.
* gcc.dg/vect/vect-12.c: Mark functions noinline.
* gcc.dg/vect/vect-71.c: Mark functions noinline.
* gcc.dg/vect/vect-54.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-a-mult.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-3.c: Mark functions noinline.
* gcc.dg/vect/vect-96.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-1char.c: Mark functions noinline.
* gcc.dg/vect/vect-110.c: Mark functions noinline.
* gcc.dg/vect/vect-intfloat-conversion-1.c: Mark functions noinline.
* gcc.dg/vect/vect-4.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-store-u32-i2.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-4k.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-1.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-mult.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-14.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-49.c: Mark functions noinline.
* gcc.dg/vect/vect-21.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-9.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-noreassoc-outer-2.c: Mark functions noinline.
* gcc.dg/vect/vect-80.c: Mark functions noinline.
* gcc.dg/vect/vect-63.c: Mark functions noinline.
* gcc.dg/vect/vect-46.c: Mark functions noinline.
* gcc.dg/vect/vect-29.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u8-i8-gap2.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-11.c: Mark functions noinline.
* gcc.dg/vect/vect-88.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u8-i2.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-dot-u16b.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-3.c: Mark functions noinline.
* gcc.dg/vect/vect-83_64.c: Mark functions noinline.
* gcc.dg/vect/vect-intfloat-conversion-4b.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-4.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-pattern-2c.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-dot-s8b.c: Mark functions noinline.
* gcc.dg/vect/vect-30.c: Mark functions noinline.
* gcc.dg/vect/vect-13.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-a-u8-i2-gap.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-8a.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-same-dr.c: Mark functions noinline.
* gcc.dg/vect/vect-72.c: Mark functions noinline.
* gcc.dg/vect/vect-38.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-4.c: Mark functions noinline.
* gcc.dg/vect/vect-widen-mult-u16.c: Mark functions noinline.
* gcc.dg/vect/vect-97.c: Mark functions noinline.
* gcc.dg/vect/vect-111.c: Mark functions noinline.
* gcc.dg/vect/vect-intfloat-conversion-2.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-4d.c: Mark functions noinline.
* gcc.dg/vect/vect-5.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-mult-char-ls.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-store-a-u8-i2.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-4l.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-2.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-15.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-1short.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u16-i4.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u32-i8.c: Mark functions noinline.
* gcc.dg/vect/vect-22.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-noreassoc-outer-3.c: Mark functions noinline.
* gcc.dg/vect/vect-64.c: Mark functions noinline.
* gcc.dg/vect/vect-89.c: Mark functions noinline.
* gcc.dg/vect/no-tree-dom-vect-bug.c: Mark functions noinline.
* gcc.dg/vect/vect-103.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-51.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-pr29145.c: Mark functions noinline.
* gcc.dg/vect/wrapv-vect-reduc-pattern-2c.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-5.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-dot-s8c.c: Mark functions noinline.
* gcc.dg/vect/vect-11a.c: Mark functions noinline.
* gcc.dg/vect/vect-31.c: Mark functions noinline.
* gcc.dg/vect/vect-14.c: Mark functions noinline.
* gcc.dg/vect/vect-73.c: Mark functions noinline.
* gcc.dg/vect/vect-56.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-2.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-5.c: Mark functions noinline.
* gcc.dg/vect/vect-98.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-float.c: Mark functions noinline.
* gcc.dg/vect/vect-intfloat-conversion-3.c: Mark functions noinline.
* gcc.dg/vect/vect-112.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-9a.c: Mark functions noinline.
* gcc.dg/vect/vect-6.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-43.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-a-u8-i8-gap2.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-4m.c: Mark functions noinline.
* gcc.dg/vect/vect-widen-mult-s8.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-3.c: Mark functions noinline.
* gcc.dg/vect/pr25413.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-16.c: Mark functions noinline.
* gcc.dg/vect/vect-40.c: Mark functions noinline.
* gcc.dg/vect/vect-23.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-noreassoc-outer-4.c: Mark functions noinline.
* gcc.dg/vect/vect-82.c: Mark functions noinline.
* gcc.dg/vect/vect-65.c: Mark functions noinline.
* gcc.dg/vect/vect-48.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-dot-s16a.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u8-i8-gap4.c: Mark functions noinline.
* gcc.dg/vect/vect-104.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-fir.c: Mark functions noinline.
* gcc.dg/vect/vect-iv-6.c: Mark functions noinline.
* gcc.dg/vect/vect-strided-u32-mult.c: Mark functions noinline.
* gcc.dg/vect/vect-32.c: Mark functions noinline.
* gcc.dg/vect/vect-15.c: Mark functions noinline.
* gcc.dg/vect/no-trapping-math-2.c: Mark functions noinline.
* gcc.dg/vect/vect-float-truncate-1.c: Mark functions noinline.
* gcc.dg/vect/vect-91.c: Mark functions noinline.
* gcc.dg/vect/vect-74.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-2a.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-3.c: Mark functions noinline.
* gcc.dg/vect/vect-reduc-2char.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-6.c: Mark functions noinline.
* gcc.dg/vect/vect-99.c: Mark functions noinline.
* gcc.dg/vect/vect-113.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-9b.c: Mark functions noinline.
* gcc.dg/vect/vect-outer-4f.c: Mark functions noinline.
* gcc.dg/vect/vect-7.c: Mark functions noinline.
* gcc.dg/vect/no-vfa-vect-61.c: Mark functions noinline.
* gcc.dg/vect/vect-multitypes-4.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-outer-17.c: Mark functions noinline.
* gcc.dg/vect/vect-24.c: Mark functions noinline.
* gcc.dg/vect/no-scevccp-noreassoc-outer-5.c: Mark functions noinline.
* gcc.dg/vect/vect-83.c: Mark functions noinline.
* gcc.dg/vect/vect-66.c: Mark functions noinline.
* gcc.dg/vect/wrapv-vect-reduc-2char.c: Mark functions noinline.
From-SVN: r128079
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect')
267 files changed, 321 insertions, 199 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-vect-pr29925.c b/gcc/testsuite/gcc.dg/vect/fast-math-vect-pr29925.c index caa6a3c..be2f1a9 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-vect-pr29925.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-vect-pr29925.c @@ -3,6 +3,7 @@ #include <stdlib.h> #include "tree-vect.h" +__attribute__ ((noinline)) void interp_pitch(float *exc, float *interp, int pitch, int len) { int i,k; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c index 7c5b27a..9d8a403 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-1.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (){ int i,j,k=0; int sum,x; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-2.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-2.c index 109ec24..71897ff6 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-2.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-2.c @@ -6,7 +6,7 @@ #define N 40 int a[200*N]; -void +__attribute__ ((noinline)) void foo (){ int i,j; int sum,s=0; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-3.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-3.c index 831bace..a4755e1 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-3.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-3.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (){ int i,j; int sum,x; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-4.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-4.c index 1a8cf63..afd2bc4 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-4.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-4.c @@ -5,7 +5,7 @@ #define N 40 -int +__attribute__ ((noinline)) int foo (){ int i,j; int sum,s=0; @@ -21,6 +21,7 @@ foo (){ return s; } +__attribute__ ((noinline)) int bar (int i, int j) { return (i + j); diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-5.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-5.c index 59c93b9..0246a3c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-5.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-outer-5.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (){ int i,j; int sum,x; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-1.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-1.c index 02c89c2..01fcbaa 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-1.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-1.c @@ -6,7 +6,7 @@ signed short block[N][N]; /* memory references in the inner-loop */ -unsigned int +__attribute__ ((noinline)) unsigned int foo (){ int i,j; unsigned int diff = 0; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10.c index a4ff856..e4d6f23 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10.c @@ -8,7 +8,7 @@ int a[N]; int b[N]; -int +__attribute__ ((noinline)) int foo (int n){ int i,j; int sum,x,y; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10a.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10a.c index ff3333d..9a71b49 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10a.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10a.c @@ -8,7 +8,7 @@ int a[N]; int b[N]; -int +__attribute__ ((noinline)) int foo (int n){ int i,j; int sum,x,y; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10b.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10b.c index 4aba6d8..b28111c 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10b.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-10b.c @@ -8,7 +8,7 @@ int a[N]; int b[N]; -int +__attribute__ ((noinline)) int foo (int n){ int i,j; int sum,x,y; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-11.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-11.c index ebc1735..16b0cc0 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-11.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-11.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (int n){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c index 85d4ec1..90ea32d 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c @@ -8,7 +8,7 @@ int a[N]; short b[N]; -int +__attribute__ ((noinline)) int foo (){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-13.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-13.c index 3e491a1..b70aabd 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-13.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-13.c @@ -7,7 +7,7 @@ unsigned short in[N]; -unsigned int +__attribute__ ((noinline)) unsigned int foo (short scale){ int i; unsigned short j; @@ -24,7 +24,7 @@ foo (short scale){ return sum; } -unsigned short +__attribute__ ((noinline)) unsigned short bar (void) { unsigned short j; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-14.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-14.c index ea11545..d7614dc 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-14.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-14.c @@ -5,7 +5,7 @@ #define N 64 -unsigned short +__attribute__ ((noinline)) unsigned short foo (short scale){ int i; unsigned short j; @@ -22,7 +22,7 @@ foo (short scale){ return sum; } -unsigned short +__attribute__ ((noinline)) unsigned short bar (void) { unsigned short j; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-15.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-15.c index 7eb5ff5..b901676 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-15.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-15.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (int x){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-16.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-16.c index 7304504..bdad0a0 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-16.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-16.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (){ int i; unsigned short j; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-17.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-17.c index 3ddea5f..e40a206 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-17.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-17.c @@ -9,7 +9,7 @@ int a[N]; int b[N]; int c[N]; -int +__attribute__ ((noinline)) int foo (){ int i; unsigned short j; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-18.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-18.c index f069a98..a584828 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-18.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-18.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-19.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-19.c index 3a5f6cd..f3acb4a 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-19.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-19.c @@ -8,7 +8,7 @@ unsigned short a[N]; unsigned int b[N]; -int +__attribute__ ((noinline)) int foo (){ unsigned short i,j; unsigned short sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-20.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-20.c index be2b85f..18e5087 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-20.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-20.c @@ -8,7 +8,7 @@ int a[N]; int b[N]; -int +__attribute__ ((noinline)) int foo (){ int i,j; int sum,x,y; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-21.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-21.c index 30f76fa..2338de0 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-21.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-21.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (){ int i; unsigned short j; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-22.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-22.c index 659420f..ac24b05d 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-22.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-22.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (int n){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-3.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-3.c index ba15ecf..15afdfd 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-3.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-3.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-4.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-4.c index c206587..5cf9ade 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-4.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-4.c @@ -9,7 +9,7 @@ int a[N]; /* induction variable k advances through inner and outer loops. */ -int +__attribute__ ((noinline)) int foo (int n){ int i,j,k=0; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-5.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-5.c index 4b609ca..338e0283 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-5.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-5.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-6.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-6.c index d90857b..58edfb5 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-6.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-6.c @@ -5,7 +5,7 @@ #define N 40 -int +__attribute__ ((noinline)) int foo (int * __restrict__ b, int k){ int i,j; int sum,x; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-7.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-7.c index ff0dc0d..9606d30 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-7.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-7.c @@ -9,7 +9,7 @@ unsigned short in[N]; unsigned short coef[N]; unsigned short a[N]; -unsigned int +__attribute__ ((noinline)) unsigned int foo (short scale){ int i; unsigned short j; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-8.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-8.c index 44026dd..629cb94 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-8.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-8.c @@ -6,7 +6,7 @@ #define N 40 -int +__attribute__ ((noinline)) int foo (int *a){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9.c index 16b014c..e003127 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (int n){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9a.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9a.c index 93b0864..730600a 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9a.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9a.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (int n){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9b.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9b.c index 5935599..a8a52b9 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9b.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-9b.c @@ -7,7 +7,7 @@ int a[N]; -int +__attribute__ ((noinline)) int foo (int n){ int i,j; int sum; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-1.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-1.c index 60c6ff5..9793a12 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-1.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-1.c @@ -5,7 +5,7 @@ #define N 26 -int main1 (int X) +__attribute__ ((noinline)) int main1 (int X) { int s = X; int i; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-2.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-2.c index 5e1c7b8..adca5cb 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-2.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-2.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int arr1[N]; diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-3.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-3.c index cdfaa6f..9bf3b4b 100644 --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-3.c +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-vect-iv-3.c @@ -6,6 +6,7 @@ #define N 26 +__attribute__ ((noinline)) unsigned int main1 () { unsigned short i; diff --git a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c index fd51847..8317848 100644 --- a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c +++ b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c @@ -33,6 +33,7 @@ struct test2{ struct test1 tmp1[4]; struct test2 tmp2[4]; +__attribute__ ((noinline)) int main1 () { int i,j; diff --git a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-outer-4h.c b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-outer-4h.c index ab92381..fc99122 100644 --- a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-outer-4h.c +++ b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-outer-4h.c @@ -10,6 +10,7 @@ unsigned int out[N]; /* Outer-loop vectorization. */ +__attribute__ ((noinline)) void foo (){ int i,j; diff --git a/gcc/testsuite/gcc.dg/vect/no-trapping-math-2.c b/gcc/testsuite/gcc.dg/vect/no-trapping-math-2.c index b4e3249..cc3142e 100644 --- a/gcc/testsuite/gcc.dg/vect/no-trapping-math-2.c +++ b/gcc/testsuite/gcc.dg/vect/no-trapping-math-2.c @@ -6,7 +6,7 @@ #define N 16 -int +__attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c b/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c index 3df9afe..d94aa3a 100644 --- a/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c +++ b/gcc/testsuite/gcc.dg/vect/no-tree-dom-vect-bug.c @@ -5,7 +5,7 @@ long stack_vars_sorted[32]; -int +__attribute__ ((noinline)) int main1 (long n) { long si; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c b/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c index 97d190c..3a4b126 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c @@ -3,6 +3,7 @@ #include <stdarg.h> #include "tree-vect.h" +__attribute__ ((noinline)) void with_restrict(int * __restrict p) { int i; @@ -13,6 +14,7 @@ void with_restrict(int * __restrict p) } } +__attribute__ ((noinline)) void without_restrict(int * p) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c index e195a58..1830eb8 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c @@ -15,6 +15,7 @@ struct extraction static int a[N] = {1,2,3,4,5,6,7,8,9}; static int b[N] = {2,3,4,5,6,7,8,9,0}; +__attribute__ ((noinline)) int main1 (int x, int y) { int i; struct extraction *p; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c index 49df4f9..da62074 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c @@ -16,6 +16,7 @@ static int a[N] = {1,2,3,4,5,6,7,8,9}; static int b[N] = {2,3,4,5,6,7,8,9,9}; volatile int foo; +__attribute__ ((noinline)) int main1 (int x, int y) { int i; struct extraction *p; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c index 35023fc..56ea53d 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c @@ -16,6 +16,7 @@ static int a[N] = {1,2,3,4,5,6,7,8,9}; static int b[N] = {2,3,4,5,6,7,8,9,9}; volatile int foo; +__attribute__ ((noinline)) int main1 (int x, int y) { int i; struct extraction *p; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c index e54e0c5..09df31f 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c @@ -6,6 +6,7 @@ #define N 16 char x[N] __attribute__ ((__aligned__(16))); +__attribute__ ((noinline)) int main1 (char *y) { struct { diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c index 258da28..b64427f 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -20,7 +21,7 @@ void bar (float *pa, float *pb, float *pc) } -int +__attribute__ ((noinline)) int main1 (float *pa) { int i; @@ -38,7 +39,7 @@ main1 (float *pa) return 0; } -int +__attribute__ ((noinline)) int main2 (float * pa) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c index 8a99856..38328c1 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (const float *pa, const float *pb, const float *pc) { int i; @@ -27,7 +28,7 @@ void bar (const float *pa, const float *pb, const float *pc) vect-44.c is similar to this one with one difference: Aliasing is not a problem. */ -int +__attribute__ ((noinline)) int main1 (float *pa, float *pb, float *pc) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c index 8dfd0e7..6c33675 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -27,7 +28,7 @@ void bar (float *pa, float *pb, float *pc) vect-48.c is similar to this one with one difference: aliasing is not a problem. */ -int +__attribute__ ((noinline)) int main1 (float *pb, float *pc) { float pa[N] __attribute__ ((__aligned__(16))); diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c index 541a5ff..df463df 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (const float *pa, const float *pb, const float *pc) { int i; @@ -27,7 +28,7 @@ void bar (const float *pa, const float *pb, const float *pc) vect-50.c is similar to this one with one difference: Aliasing is not a problem. */ -int +__attribute__ ((noinline)) int main1 (int n, float *pa, float *pb, float *pc) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c index 91eaabe..02926b0 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (const float *pa, const float *pb, const float *pc) { int i; @@ -27,7 +28,7 @@ void bar (const float *pa, const float *pb, const float *pc) vect-52.c is similar to this one with one difference: aliasing is not a problem. */ -int +__attribute__ ((noinline)) int main1 (int n, float *pb, float *pc) { float pa[N] __attribute__ ((__aligned__(16))); diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c index bcac95a..8d630b8 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -28,7 +29,7 @@ void bar (float *pa, float *pb, float *pc) vect-56.c is similar to this one with two differences: aliasing is a problem, and the write access is aligned. */ -int +__attribute__ ((noinline)) int main1 (float *pa) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c index 9f4e8e9..61cfec2 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c @@ -6,6 +6,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -29,7 +30,7 @@ void bar (float *pa, float *pb, float *pc) vect-60.c is similar to this one with two differences: aliasing is not a problem, and the write access is unaligned. */ -int +__attribute__ ((noinline)) int main1 (int n , float *pa) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c index 8e98e4d..f653714 100644 --- a/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c +++ b/gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c @@ -12,7 +12,7 @@ float fc[N] __attribute__ ((__aligned__(16))) = {0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 7 /* Like vect-80.c but the pointers are not annotated as restricted, and therefore can't be antialiased. */ -int +__attribute__ ((noinline)) int main1 (float *pa, float *pb, float *pc) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/pr25413.c b/gcc/testsuite/gcc.dg/vect/pr25413.c index a4cb0b0..7f54889 100644 --- a/gcc/testsuite/gcc.dg/vect/pr25413.c +++ b/gcc/testsuite/gcc.dg/vect/pr25413.c @@ -11,6 +11,7 @@ struct double d[N]; } a; +__attribute__ ((noinline)) int main1() { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-100.c b/gcc/testsuite/gcc.dg/vect/vect-100.c index 2b79975..9388084 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-100.c +++ b/gcc/testsuite/gcc.dg/vect/vect-100.c @@ -15,6 +15,7 @@ struct extraction static int a[N] = {1,2,3,4,5,6,7,8,9}; static int b[N] = {2,3,4,5,6,7,8,9,0}; +__attribute__ ((noinline)) int main1 () { int i; struct extraction *p; @@ -38,6 +39,7 @@ int main1 () { return 0; } +__attribute__ ((noinline)) int main2 () { int i; int c[N] = {1,2,3,4,5,6,7,8,9}; diff --git a/gcc/testsuite/gcc.dg/vect/vect-103.c b/gcc/testsuite/gcc.dg/vect/vect-103.c index da1b69e..108f56d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-103.c +++ b/gcc/testsuite/gcc.dg/vect/vect-103.c @@ -17,6 +17,7 @@ static int b[N] = {17,24,7,0,2,3,4,31,82}; static int c[N] = {9,17,24,7,0,2,3,4,31}; volatile int foo; +__attribute__ ((noinline)) int main1 (int x, int y) { int i; struct extraction *p; diff --git a/gcc/testsuite/gcc.dg/vect/vect-104.c b/gcc/testsuite/gcc.dg/vect/vect-104.c index 6ab0f23..a4675e6 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-104.c +++ b/gcc/testsuite/gcc.dg/vect/vect-104.c @@ -17,6 +17,7 @@ static int b[N][N] = {{17,24,7},{0,2,3},{4,31,82}}; static int c[N][N] = {{1,2,3},{4,6,8},{8,9,9}}; volatile int foo; +__attribute__ ((noinline)) int main1 (int x) { int i,j; struct extraction *p; diff --git a/gcc/testsuite/gcc.dg/vect/vect-105.c b/gcc/testsuite/gcc.dg/vect/vect-105.c index 34352de..eb21b16 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-105.c +++ b/gcc/testsuite/gcc.dg/vect/vect-105.c @@ -16,6 +16,7 @@ static int a[N][N] = {{1,2,3,11},{4,5,6,12},{7,8,9,13},{34,45,67,83}}; static int b[N][N] = {{17,28,15,23},{0,2,3,24},{4,31,82,25},{29,31,432,256}}; static int c[N][N] = {{1,2,3,11},{4,9,13,34},{45,67,83,13},{34,45,67,83}}; +__attribute__ ((noinline)) int main1 (int x) { int i,j; struct extraction *p; diff --git a/gcc/testsuite/gcc.dg/vect/vect-106.c b/gcc/testsuite/gcc.dg/vect/vect-106.c index 891cd31..d578d81 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-106.c +++ b/gcc/testsuite/gcc.dg/vect/vect-106.c @@ -9,6 +9,7 @@ static int a[N] = {1,2,3,4,5,6,7,8,9}; static int b[N] = {2,3,4,5,6,7,8,9,0}; +__attribute__ ((noinline)) int main1 () { int i; int *p, *q, *p1, *q1; diff --git a/gcc/testsuite/gcc.dg/vect/vect-107.c b/gcc/testsuite/gcc.dg/vect/vect-107.c index e4f823f..8c6a695 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-107.c +++ b/gcc/testsuite/gcc.dg/vect/vect-107.c @@ -5,7 +5,7 @@ #define N 16 -int +__attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-108.c b/gcc/testsuite/gcc.dg/vect/vect-108.c index 2fa61d0..56700aa 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-108.c +++ b/gcc/testsuite/gcc.dg/vect/vect-108.c @@ -5,7 +5,7 @@ #define N 16 -int +__attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-109.c b/gcc/testsuite/gcc.dg/vect/vect-109.c index e861a77..d4e017f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-109.c +++ b/gcc/testsuite/gcc.dg/vect/vect-109.c @@ -16,6 +16,7 @@ int ic[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45, int ib[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}; +__attribute__ ((noinline)) int main1 (int n) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-11.c b/gcc/testsuite/gcc.dg/vect/vect-11.c index 0633b6c..46cc19a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-11.c @@ -6,6 +6,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-110.c b/gcc/testsuite/gcc.dg/vect/vect-110.c index 3fa4f41..b62ad94 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-110.c +++ b/gcc/testsuite/gcc.dg/vect/vect-110.c @@ -5,7 +5,7 @@ #define N 16 -int +static __attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-111.c b/gcc/testsuite/gcc.dg/vect/vect-111.c index 8fb3f72..413c7ef 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-111.c +++ b/gcc/testsuite/gcc.dg/vect/vect-111.c @@ -5,7 +5,7 @@ #define N 16 -int +__attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-112.c b/gcc/testsuite/gcc.dg/vect/vect-112.c index 8363f30..4b963eb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-112.c +++ b/gcc/testsuite/gcc.dg/vect/vect-112.c @@ -5,7 +5,7 @@ #define N 16 -int +__attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-113.c b/gcc/testsuite/gcc.dg/vect/vect-113.c index f5d6b4a..0d36c16 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-113.c +++ b/gcc/testsuite/gcc.dg/vect/vect-113.c @@ -5,7 +5,7 @@ #define N 16 -int +__attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-114.c b/gcc/testsuite/gcc.dg/vect/vect-114.c index 41ecd48..035c9a8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-114.c +++ b/gcc/testsuite/gcc.dg/vect/vect-114.c @@ -5,7 +5,7 @@ #define N 16 -int +__attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-115.c b/gcc/testsuite/gcc.dg/vect/vect-115.c index fe055fb..ed1d679 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-115.c +++ b/gcc/testsuite/gcc.dg/vect/vect-115.c @@ -23,6 +23,7 @@ struct test1{ int l; }; +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-116.c b/gcc/testsuite/gcc.dg/vect/vect-116.c index 52acbf9..f59e8ab 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-116.c +++ b/gcc/testsuite/gcc.dg/vect/vect-116.c @@ -5,6 +5,8 @@ #include "tree-vect.h" extern void abort (void); + +__attribute__ ((noinline)) void foo() { static unsigned char A[256], B[256], C[256]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-117.c b/gcc/testsuite/gcc.dg/vect/vect-117.c index 2180e22..bf1e52c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-117.c +++ b/gcc/testsuite/gcc.dg/vect/vect-117.c @@ -20,6 +20,7 @@ static int c[N][N] = {{ 1, 2, 3, 4, 5}, volatile int foo; +__attribute__ ((noinline)) int main1 (int A[N][N], int n) { diff --git a/gcc/testsuite/gcc.dg/vect/vect-11a.c b/gcc/testsuite/gcc.dg/vect/vect-11a.c index c77d6c9..84e2a8b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-11a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-11a.c @@ -5,6 +5,8 @@ #include "tree-vect.h" extern void abort (void); + +__attribute__ ((noinline)) void u () { unsigned int A[4] = {0x08000000,0xffffffff,0xff0000ff,0xf0000001}; @@ -19,6 +21,8 @@ void u () if (C[i] != Answer[i]) abort (); } + +__attribute__ ((noinline)) void s() { signed int A[4] = {0x08000000,0xffffffff,0xff0000ff,0xf0000001}; @@ -34,6 +38,7 @@ void s() abort (); } +__attribute__ ((noinline)) int main1 () { u(); diff --git a/gcc/testsuite/gcc.dg/vect/vect-12.c b/gcc/testsuite/gcc.dg/vect/vect-12.c index c697064..e3d35cc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-12.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-13.c b/gcc/testsuite/gcc.dg/vect/vect-13.c index dcafcaf..5cbec87 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-13.c +++ b/gcc/testsuite/gcc.dg/vect/vect-13.c @@ -8,6 +8,7 @@ int a[N]; int results[N] = {0,1,2,3,0,0,0,0,0,0,0,0,12,13,14,15}; +__attribute__ ((noinline)) int main1() { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-14.c b/gcc/testsuite/gcc.dg/vect/vect-14.c index cb04076..35e48cc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-14.c +++ b/gcc/testsuite/gcc.dg/vect/vect-14.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-15.c b/gcc/testsuite/gcc.dg/vect/vect-15.c index 37e6b06..b2ae9c8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-15.c +++ b/gcc/testsuite/gcc.dg/vect/vect-15.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-16.c b/gcc/testsuite/gcc.dg/vect/vect-16.c index d5b60de..889fb7f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-16.c @@ -6,6 +6,7 @@ #define N 16 #define DIFF 240 +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-17.c b/gcc/testsuite/gcc.dg/vect/vect-17.c index 347b9a1..57c7241 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-17.c +++ b/gcc/testsuite/gcc.dg/vect/vect-17.c @@ -5,7 +5,7 @@ #define N 64 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-18.c b/gcc/testsuite/gcc.dg/vect/vect-18.c index eab298a..caf6952 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-18.c +++ b/gcc/testsuite/gcc.dg/vect/vect-18.c @@ -5,7 +5,7 @@ #define N 64 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-19.c b/gcc/testsuite/gcc.dg/vect/vect-19.c index 6d3ea73..6a2df60 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-19.c +++ b/gcc/testsuite/gcc.dg/vect/vect-19.c @@ -5,7 +5,7 @@ #define N 64 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-2.c b/gcc/testsuite/gcc.dg/vect/vect-2.c index 2bf5ba7..21daf79 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-2.c @@ -4,7 +4,8 @@ #include "tree-vect.h" #define N 16 - + +__attribute__ ((noinline)) int main1 () { char cb[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45}; diff --git a/gcc/testsuite/gcc.dg/vect/vect-20.c b/gcc/testsuite/gcc.dg/vect/vect-20.c index aa27285..33479b1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-20.c +++ b/gcc/testsuite/gcc.dg/vect/vect-20.c @@ -5,7 +5,7 @@ #define N 64 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-21.c b/gcc/testsuite/gcc.dg/vect/vect-21.c index 904a4ab..d0d9c2c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-21.c +++ b/gcc/testsuite/gcc.dg/vect/vect-21.c @@ -5,7 +5,7 @@ #define N 64 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-22.c b/gcc/testsuite/gcc.dg/vect/vect-22.c index a71f141..c7fe6bf 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-22.c +++ b/gcc/testsuite/gcc.dg/vect/vect-22.c @@ -6,7 +6,7 @@ #define N 64 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-23.c b/gcc/testsuite/gcc.dg/vect/vect-23.c index 3185fdb..7991bb2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-23.c +++ b/gcc/testsuite/gcc.dg/vect/vect-23.c @@ -5,7 +5,7 @@ #define N 64 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-24.c b/gcc/testsuite/gcc.dg/vect/vect-24.c index 1d87f0e..c1ae6b7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-24.c +++ b/gcc/testsuite/gcc.dg/vect/vect-24.c @@ -5,7 +5,7 @@ #define N 64 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-25.c b/gcc/testsuite/gcc.dg/vect/vect-25.c index 092cadc..769df4f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-25.c +++ b/gcc/testsuite/gcc.dg/vect/vect-25.c @@ -5,6 +5,7 @@ #define N 128 +__attribute__ ((noinline)) int main1 (int n, int *p) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-26.c b/gcc/testsuite/gcc.dg/vect/vect-26.c index 2ee9958..3cb9fb6 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-26.c +++ b/gcc/testsuite/gcc.dg/vect/vect-26.c @@ -7,6 +7,7 @@ /* unaligned store. */ +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-27.c b/gcc/testsuite/gcc.dg/vect/vect-27.c index 9faf776..376d6d4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-27.c +++ b/gcc/testsuite/gcc.dg/vect/vect-27.c @@ -7,6 +7,7 @@ /* unaligned load. */ +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-28.c b/gcc/testsuite/gcc.dg/vect/vect-28.c index 474950d..e698eef 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-28.c +++ b/gcc/testsuite/gcc.dg/vect/vect-28.c @@ -8,6 +8,7 @@ /* unaligned store. */ +__attribute__ ((noinline)) int main1 (int off) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-29.c b/gcc/testsuite/gcc.dg/vect/vect-29.c index eef68e4..ac12c82 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-29.c +++ b/gcc/testsuite/gcc.dg/vect/vect-29.c @@ -8,6 +8,7 @@ /* unaligned load. */ +__attribute__ ((noinline)) int main1 (int off) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-3.c b/gcc/testsuite/gcc.dg/vect/vect-3.c index cb1daeb..026c2a4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-3.c @@ -6,7 +6,7 @@ #define N 20 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-30.c b/gcc/testsuite/gcc.dg/vect/vect-30.c index 90da3c1..408cbca 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-30.c +++ b/gcc/testsuite/gcc.dg/vect/vect-30.c @@ -9,6 +9,7 @@ float b[N] = {0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30}; float a[N]; float c[N]; +__attribute__ ((noinline)) int main1 (int n) { int i=0; @@ -29,6 +30,7 @@ int main1 (int n) return 0; } +__attribute__ ((noinline)) int main2 (unsigned int n) { int i=0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-31.c b/gcc/testsuite/gcc.dg/vect/vect-31.c index 44a10f6..67bb0de 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-31.c +++ b/gcc/testsuite/gcc.dg/vect/vect-31.c @@ -18,6 +18,7 @@ struct s{ struct t e; /* unaligned (offset 2N+4N+4 B) */ }; +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-32.c b/gcc/testsuite/gcc.dg/vect/vect-32.c index 2c4a663..c869f5e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-32.c +++ b/gcc/testsuite/gcc.dg/vect/vect-32.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { struct { diff --git a/gcc/testsuite/gcc.dg/vect/vect-33.c b/gcc/testsuite/gcc.dg/vect/vect-33.c index 3fd54fa..c1e89c4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-33.c +++ b/gcc/testsuite/gcc.dg/vect/vect-33.c @@ -11,6 +11,7 @@ struct test { extern struct test s; +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-34.c b/gcc/testsuite/gcc.dg/vect/vect-34.c index f83d414..7dc176b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-34.c +++ b/gcc/testsuite/gcc.dg/vect/vect-34.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { struct { diff --git a/gcc/testsuite/gcc.dg/vect/vect-35.c b/gcc/testsuite/gcc.dg/vect/vect-35.c index f4392cd..569907c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-35.c +++ b/gcc/testsuite/gcc.dg/vect/vect-35.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { union { diff --git a/gcc/testsuite/gcc.dg/vect/vect-36.c b/gcc/testsuite/gcc.dg/vect/vect-36.c index deaf729..65a1d30 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-36.c +++ b/gcc/testsuite/gcc.dg/vect/vect-36.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { struct { diff --git a/gcc/testsuite/gcc.dg/vect/vect-38.c b/gcc/testsuite/gcc.dg/vect/vect-38.c index 331cfe3..8df8b5c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-38.c +++ b/gcc/testsuite/gcc.dg/vect/vect-38.c @@ -8,6 +8,7 @@ double cb[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45}; double ca[N]; +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-4.c b/gcc/testsuite/gcc.dg/vect/vect-4.c index 05c0b36..17ae287 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-4.c @@ -5,7 +5,7 @@ #define N 20 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-40.c b/gcc/testsuite/gcc.dg/vect/vect-40.c index 43db7bf..83d8cab 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-40.c +++ b/gcc/testsuite/gcc.dg/vect/vect-40.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -25,7 +26,7 @@ void bar (float *pa, float *pb, float *pc) vect-46.c is similar to this one with one difference: the loop bound is unknown. */ -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-42.c b/gcc/testsuite/gcc.dg/vect/vect-42.c index 59fe7da..324e2f8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-42.c +++ b/gcc/testsuite/gcc.dg/vect/vect-42.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -25,7 +26,7 @@ void bar (float *pa, float *pb, float *pc) The loop bound is known and divisible by the vectorization factor. No aliasing problems. */ -int +__attribute__ ((noinline)) int main1 (float * __restrict__ pa) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-44.c b/gcc/testsuite/gcc.dg/vect/vect-44.c index 029475f..d80df10 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-44.c +++ b/gcc/testsuite/gcc.dg/vect/vect-44.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -27,7 +28,7 @@ void bar (float *pa, float *pb, float *pc) vect-45.c is similar to this one with one difference: can't prove that pointers don't alias. */ -int +__attribute__ ((noinline)) int main1 (float * __restrict__ pa, float * __restrict__ pb, float * __restrict__ pc) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-46.c b/gcc/testsuite/gcc.dg/vect/vect-46.c index 08db542..abe35b4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-46.c +++ b/gcc/testsuite/gcc.dg/vect/vect-46.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -25,7 +26,7 @@ void bar (float *pa, float *pb, float *pc) vect-40.c is similar to this one with one difference: the loop bound is known. */ -int +__attribute__ ((noinline)) int main1 (int n) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-48.c b/gcc/testsuite/gcc.dg/vect/vect-48.c index 38135d9..011b868 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-48.c +++ b/gcc/testsuite/gcc.dg/vect/vect-48.c @@ -15,7 +15,7 @@ vect-49.c is similar to this one with one difference: aliasing is a problem. */ -int +__attribute__ ((noinline)) int main1 (float *pb, float *pc) { float pa[N] __attribute__ ((__aligned__(16))); diff --git a/gcc/testsuite/gcc.dg/vect/vect-5.c b/gcc/testsuite/gcc.dg/vect/vect-5.c index 5ecf4e7..291a05e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-5.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i, j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-50.c b/gcc/testsuite/gcc.dg/vect/vect-50.c index 39438ca..ea4d7ff 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-50.c +++ b/gcc/testsuite/gcc.dg/vect/vect-50.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -19,7 +20,7 @@ void bar (float *pa, float *pb, float *pc) return; } -int +__attribute__ ((noinline)) int main1 (int n, float * __restrict__ pa, float * __restrict__ pb, float * __restrict__ pc) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-52.c b/gcc/testsuite/gcc.dg/vect/vect-52.c index bddbc83..207e700 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-52.c +++ b/gcc/testsuite/gcc.dg/vect/vect-52.c @@ -15,7 +15,7 @@ vect-53.c is similar to this one with one difference: aliasing is a problem. */ -int +__attribute__ ((noinline)) int main1 (int n, float *pb, float *pc) { float pa[N] __attribute__ ((__aligned__(16))); diff --git a/gcc/testsuite/gcc.dg/vect/vect-54.c b/gcc/testsuite/gcc.dg/vect/vect-54.c index 05962df..6e1aa54 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-54.c +++ b/gcc/testsuite/gcc.dg/vect/vect-54.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -25,7 +26,7 @@ void bar (float *pa, float *pb, float *pc) vect-58.c is similar to this one with one difference: the loop bound is unknown. */ -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-56.c b/gcc/testsuite/gcc.dg/vect/vect-56.c index d74afab..387bd3a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-56.c +++ b/gcc/testsuite/gcc.dg/vect/vect-56.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -29,7 +30,7 @@ void bar (float *pa, float *pb, float *pc) vect-57.c is similar to this one with two differences: aliasing is a problem, and the write access has unknown alignment. */ -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-58.c b/gcc/testsuite/gcc.dg/vect/vect-58.c index 89f6de6..94cc3ef 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-58.c +++ b/gcc/testsuite/gcc.dg/vect/vect-58.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -25,7 +26,7 @@ void bar (float *pa, float *pb, float *pc) vect-54.c is similar to this one with one difference: the loop bound is known. */ -int +__attribute__ ((noinline)) int main1 (int n) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-6.c b/gcc/testsuite/gcc.dg/vect/vect-6.c index 1b3383a..7ad5192 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-6.c @@ -8,6 +8,7 @@ float results1[N] = {192.00,240.00,288.00,336.00,384.00,432.00,480.00,528.00,0.00}; float results2[N] = {0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,54.00,120.00,198.00,288.00,390.00,504.00,630.00}; +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-60.c b/gcc/testsuite/gcc.dg/vect/vect-60.c index 6fbcb94..97e614c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-60.c +++ b/gcc/testsuite/gcc.dg/vect/vect-60.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pa, float *pb, float *pc) { int i; @@ -29,7 +30,7 @@ void bar (float *pa, float *pb, float *pc) vect-61.c is similar to this one with two differences: aliasing is not a problem, and the write access has unknown alignment. */ -int +__attribute__ ((noinline)) int main1 (int n) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-62.c b/gcc/testsuite/gcc.dg/vect/vect-62.c index 79f8876..724b646 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-62.c +++ b/gcc/testsuite/gcc.dg/vect/vect-62.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i, j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-63.c b/gcc/testsuite/gcc.dg/vect/vect-63.c index 2bffa2b..70628da 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-63.c +++ b/gcc/testsuite/gcc.dg/vect/vect-63.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i, j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-64.c b/gcc/testsuite/gcc.dg/vect/vect-64.c index e63f93e..e3d6855 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-64.c +++ b/gcc/testsuite/gcc.dg/vect/vect-64.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i, j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-65.c b/gcc/testsuite/gcc.dg/vect/vect-65.c index 4215441..614b8f7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-65.c +++ b/gcc/testsuite/gcc.dg/vect/vect-65.c @@ -6,6 +6,7 @@ #define N 16 #define M 4 +__attribute__ ((noinline)) int main1 () { int i, j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-66.c b/gcc/testsuite/gcc.dg/vect/vect-66.c index 683cd73..6d37d05 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-66.c +++ b/gcc/testsuite/gcc.dg/vect/vect-66.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i, j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-67.c b/gcc/testsuite/gcc.dg/vect/vect-67.c index 7bc728d..1ddab5c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-67.c +++ b/gcc/testsuite/gcc.dg/vect/vect-67.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 (int a, int b) { int i, j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-68.c b/gcc/testsuite/gcc.dg/vect/vect-68.c index 05ab1dd..511de7b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-68.c +++ b/gcc/testsuite/gcc.dg/vect/vect-68.c @@ -17,6 +17,7 @@ struct test1{ struct s e; /* array e.n is aligned */ }; +__attribute__ ((noinline)) int main1 () { int i,j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-7.c b/gcc/testsuite/gcc.dg/vect/vect-7.c index 10cff36..3b31a62 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-7.c @@ -5,6 +5,7 @@ #define N 128 +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-70.c b/gcc/testsuite/gcc.dg/vect/vect-70.c index 226ec12..df7de31 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-70.c +++ b/gcc/testsuite/gcc.dg/vect/vect-70.c @@ -17,6 +17,7 @@ struct test1{ struct s e[N]; /* array e.n is aligned */ }; +__attribute__ ((noinline)) int main1 () { int i,j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-71.c b/gcc/testsuite/gcc.dg/vect/vect-71.c index ac1b4d7..7416b43 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-71.c +++ b/gcc/testsuite/gcc.dg/vect/vect-71.c @@ -7,6 +7,7 @@ /* indirect access. */ +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-72.c b/gcc/testsuite/gcc.dg/vect/vect-72.c index d6f0fe4..3d678a8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-72.c +++ b/gcc/testsuite/gcc.dg/vect/vect-72.c @@ -7,6 +7,7 @@ /* unaligned load. */ +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-73.c b/gcc/testsuite/gcc.dg/vect/vect-73.c index d4dd077..a19d198 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-73.c +++ b/gcc/testsuite/gcc.dg/vect/vect-73.c @@ -9,6 +9,7 @@ int ic[N*2]; #define ia (ic+N) +__attribute__ ((noinline)) int main1 () { int i, j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-74.c b/gcc/testsuite/gcc.dg/vect/vect-74.c index e1a4965..e1e2805 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-74.c +++ b/gcc/testsuite/gcc.dg/vect/vect-74.c @@ -13,7 +13,7 @@ float a[N] __attribute__ ((__aligned__(16))); float b[N+4] __attribute__ ((__aligned__(16))) = {0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 7.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0}; float c[N] __attribute__ ((__aligned__(16))) = {0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 7.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5}; -int +__attribute__ ((noinline)) int main1 (float *__restrict__ pa, float * __restrict__ pb, float * __restrict__ pc) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-75.c b/gcc/testsuite/gcc.dg/vect/vect-75.c index 07050c3..03c1868 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-75.c +++ b/gcc/testsuite/gcc.dg/vect/vect-75.c @@ -12,6 +12,7 @@ int ib[N+OFF] __attribute__ ((__aligned__(16))) = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10, 14, 22, 26, 34}; +__attribute__ ((noinline)) int main1 (int *ib) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-76.c b/gcc/testsuite/gcc.dg/vect/vect-76.c index 8539b60..1902f0c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-76.c +++ b/gcc/testsuite/gcc.dg/vect/vect-76.c @@ -12,6 +12,7 @@ int ib[N+OFF] __attribute__ ((__aligned__(16))) = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10}; +__attribute__ ((noinline)) int main1 (int *pib) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-77.c b/gcc/testsuite/gcc.dg/vect/vect-77.c index e182eca..d443804 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-77.c +++ b/gcc/testsuite/gcc.dg/vect/vect-77.c @@ -12,6 +12,7 @@ int ib[N+OFF] __attribute__ ((__aligned__(16))) = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10, 14, 22, 26, 34}; +__attribute__ ((noinline)) int main1 (int *ib, int off) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-78.c b/gcc/testsuite/gcc.dg/vect/vect-78.c index d1d367d..bcf8858 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-78.c +++ b/gcc/testsuite/gcc.dg/vect/vect-78.c @@ -13,6 +13,7 @@ int ib[N+OFF] __attribute__ ((__aligned__(16))) = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10, 14, 22, 26, 34}; int off = 8; +__attribute__ ((noinline)) int main1 (int *ib) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-8.c b/gcc/testsuite/gcc.dg/vect/vect-8.c index 1957232..62f819e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-8.c @@ -8,6 +8,7 @@ float b[N] = {0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30}; float a[N]; +__attribute__ ((noinline)) int main1 (int n) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-80.c b/gcc/testsuite/gcc.dg/vect/vect-80.c index cf51df5..beb8d25 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-80.c +++ b/gcc/testsuite/gcc.dg/vect/vect-80.c @@ -13,7 +13,7 @@ float fc[N] __attribute__ ((__aligned__(16))) = {0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 7 the expression that represents the first location accessed - is more involved than just an ssa_name. */ -int +__attribute__ ((noinline)) int main1 (float * __restrict__ pa, float * __restrict__ pb, float *__restrict__ pc) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-82.c b/gcc/testsuite/gcc.dg/vect/vect-82.c index aecd619..9cc63ff 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-82.c +++ b/gcc/testsuite/gcc.dg/vect/vect-82.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { long long unsigned int ca[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-82_64.c b/gcc/testsuite/gcc.dg/vect/vect-82_64.c index 15921a4..71de0ce 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-82_64.c +++ b/gcc/testsuite/gcc.dg/vect/vect-82_64.c @@ -7,6 +7,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { long long unsigned int ca[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-83.c b/gcc/testsuite/gcc.dg/vect/vect-83.c index 5c21cbbe..7c46ed9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-83.c +++ b/gcc/testsuite/gcc.dg/vect/vect-83.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { long long unsigned int ca[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-83_64.c b/gcc/testsuite/gcc.dg/vect/vect-83_64.c index 6cfebb2..8734a52 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-83_64.c +++ b/gcc/testsuite/gcc.dg/vect/vect-83_64.c @@ -7,6 +7,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { long long unsigned int ca[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-85.c b/gcc/testsuite/gcc.dg/vect/vect-85.c index 4c24262..6e8b43e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-85.c +++ b/gcc/testsuite/gcc.dg/vect/vect-85.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 (int *a) { int i, j, k; diff --git a/gcc/testsuite/gcc.dg/vect/vect-86.c b/gcc/testsuite/gcc.dg/vect/vect-86.c index 66d664c..a1183b5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-86.c +++ b/gcc/testsuite/gcc.dg/vect/vect-86.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 (int n) { int i, j, k; diff --git a/gcc/testsuite/gcc.dg/vect/vect-87.c b/gcc/testsuite/gcc.dg/vect/vect-87.c index f98ff1a..20a0d2d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-87.c +++ b/gcc/testsuite/gcc.dg/vect/vect-87.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 (int n, int *a) { int i, j, k; diff --git a/gcc/testsuite/gcc.dg/vect/vect-88.c b/gcc/testsuite/gcc.dg/vect/vect-88.c index 6c61c96..8c231c09 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-88.c +++ b/gcc/testsuite/gcc.dg/vect/vect-88.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 (int n, int *a) { int i, j, k; diff --git a/gcc/testsuite/gcc.dg/vect/vect-89.c b/gcc/testsuite/gcc.dg/vect/vect-89.c index f86b28f..131efea 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-89.c +++ b/gcc/testsuite/gcc.dg/vect/vect-89.c @@ -11,6 +11,7 @@ struct tmp_struct int y[N]; }; +__attribute__ ((noinline)) int main1 () { int i, *q; diff --git a/gcc/testsuite/gcc.dg/vect/vect-9.c b/gcc/testsuite/gcc.dg/vect/vect-9.c index 77ff55e..3a40367 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-9.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-91.c b/gcc/testsuite/gcc.dg/vect/vect-91.c index 0eecdb4..7507363 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-91.c +++ b/gcc/testsuite/gcc.dg/vect/vect-91.c @@ -13,7 +13,7 @@ extern int a[N]; the same alignment. Peeling to align one of the accesses will align the other. */ -int +__attribute__ ((noinline)) int main1 (int * pa) { int i; @@ -31,7 +31,7 @@ main1 (int * pa) the same alignment. Peeling to align one of the accesses will align the other. */ -int +__attribute__ ((noinline)) int main2 () { int i; @@ -44,7 +44,7 @@ main2 () return 0; } -int +__attribute__ ((noinline)) int main3 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-92.c b/gcc/testsuite/gcc.dg/vect/vect-92.c index b47d859..94fff98 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-92.c +++ b/gcc/testsuite/gcc.dg/vect/vect-92.c @@ -17,7 +17,7 @@ float pc[N] __attribute__ ((__aligned__(16))) = {0,1,2,3,4,5,6,7,8,9,10,11,12,13 can use this information (generate prolog and epilog loops with known number of iterations, and only if needed). */ -int +__attribute__ ((noinline)) int main1 () { int i; @@ -37,7 +37,7 @@ main1 () return 0; } -int +__attribute__ ((noinline)) int main2 () { int i; @@ -57,7 +57,7 @@ main2 () return 0; } -int +__attribute__ ((noinline)) int main3 (int n) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-93.c b/gcc/testsuite/gcc.dg/vect/vect-93.c index 3277a7a..b2245c8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-93.c +++ b/gcc/testsuite/gcc.dg/vect/vect-93.c @@ -6,7 +6,7 @@ #define N 3001 -int +__attribute__ ((noinline)) main1 (float *pa) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-95.c b/gcc/testsuite/gcc.dg/vect/vect-95.c index 935f608..aeb5042 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-95.c +++ b/gcc/testsuite/gcc.dg/vect/vect-95.c @@ -5,6 +5,7 @@ #define N 256 +__attribute__ ((noinline)) void bar (float *pd, float *pa, float *pb, float *pc) { int i; @@ -22,7 +23,7 @@ void bar (float *pd, float *pa, float *pb, float *pc) } -int +__attribute__ ((noinline)) int main1 (int n, float * __restrict__ pd, float * __restrict__ pa, float * __restrict__ pb, float * __restrict__ pc) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-96.c b/gcc/testsuite/gcc.dg/vect/vect-96.c index f186515..d92b28d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-96.c +++ b/gcc/testsuite/gcc.dg/vect/vect-96.c @@ -11,6 +11,7 @@ struct tmp int ia[N]; }; +__attribute__ ((noinline)) int main1 (int off) { struct tmp sb[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-97.c b/gcc/testsuite/gcc.dg/vect/vect-97.c index bf92dac..527aeef 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-97.c +++ b/gcc/testsuite/gcc.dg/vect/vect-97.c @@ -5,6 +5,7 @@ #define N 16 +__attribute__ ((noinline)) int main1 () { struct { diff --git a/gcc/testsuite/gcc.dg/vect/vect-98.c b/gcc/testsuite/gcc.dg/vect/vect-98.c index 56437e2..0987ec8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-98.c +++ b/gcc/testsuite/gcc.dg/vect/vect-98.c @@ -6,6 +6,7 @@ #define N 4 #define DOT4( a, b ) ( a[0]*b[0] + a[1]*b[1] + a[2]*b[2] + a[3]*b[3] ) +__attribute__ ((noinline)) int main1 (int ia[][N]) { int i, j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-99.c b/gcc/testsuite/gcc.dg/vect/vect-99.c index 288f2ae..aedbae4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-99.c +++ b/gcc/testsuite/gcc.dg/vect/vect-99.c @@ -2,6 +2,7 @@ int ca[100]; +__attribute__ ((noinline)) void foo (int n) { unsigned int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-align-1.c b/gcc/testsuite/gcc.dg/vect/vect-align-1.c index 5804d51..a0f078c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-align-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-align-1.c @@ -14,7 +14,7 @@ struct foo { int y[N]; } __attribute__((packed)); -int +__attribute__ ((noinline)) int main1 (struct foo * __restrict__ p) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-align-2.c b/gcc/testsuite/gcc.dg/vect/vect-align-2.c index 75fb214..dad9d59 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-align-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-align-2.c @@ -18,6 +18,7 @@ struct foo { struct foo f2; int z[16] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}; +__attribute__ ((noinline)) void fbar(struct foo *fp) { int i,j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-all.c b/gcc/testsuite/gcc.dg/vect/vect-all.c index 2f4429b..29bd3ea 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-all.c +++ b/gcc/testsuite/gcc.dg/vect/vect-all.c @@ -13,6 +13,7 @@ float fresults1[N] = {192.00,240.00,288.00,336.00,384.00,432.00,480.00,528.00,48 float fresults2[N] = {0.00,6.00,12.00,18.00,24.00,30.00,36.00,42.00,0.00,54.00,120.00,198.00,288.00,390.00,504.00,630.00}; /****************************************************/ +__attribute__ ((noinline)) void icheck_results (int *a, int *results) { int i; @@ -23,6 +24,7 @@ void icheck_results (int *a, int *results) } } +__attribute__ ((noinline)) void fcheck_results (float *a, float *results) { int i; @@ -33,31 +35,31 @@ void fcheck_results (float *a, float *results) } } -void +__attribute__ ((noinline)) void fbar_mul (float *a) { fcheck_results (a, fmul_results); } -void +__attribute__ ((noinline)) void fbar_add (float *a) { fcheck_results (a, fadd_results); } -void +__attribute__ ((noinline)) void ibar_add (int *a) { icheck_results (a, iadd_results); } -void +__attribute__ ((noinline)) void fbar1 (float *a) { fcheck_results (a, fresults1); } -void +__attribute__ ((noinline)) void fbar2 (float *a) { fcheck_results (a, fresults2); @@ -66,7 +68,7 @@ fbar2 (float *a) /* All of the loops below are currently vectorizable. */ -int +__attribute__ ((noinline)) int main1 () { int i,j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c b/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c index 24552b2..1647193 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-float-extend-1.c @@ -5,7 +5,7 @@ #define N 32 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c b/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c index 9862e9c..b7a9b47 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-float-truncate-1.c @@ -5,7 +5,7 @@ #define N 32 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c index dd845bf..d9b2228 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-1.c @@ -5,7 +5,7 @@ #define N 32 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c index 5d115ff..683b43c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c @@ -5,7 +5,7 @@ #define N 32 -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c index 48f91d9..d3d0491 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-1.c @@ -5,7 +5,7 @@ #define N 32 -int main1 () +__attribute__ ((noinline)) int main1 () { int i; int ib[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45}; diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c index 0723f8a..10c49d6 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-2.c @@ -5,7 +5,7 @@ #define N 32 -int main1 () +__attribute__ ((noinline)) int main1 () { int i; int int_arr[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45}; diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c index e496e40..0da7977 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c @@ -5,7 +5,7 @@ #define N 32 -int main1 () +__attribute__ ((noinline)) int main1 () { int i; int ib[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45}; diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c index e34f345..4223c37 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4a.c @@ -5,7 +5,7 @@ #define N 32 -int main1 () +__attribute__ ((noinline)) int main1 () { int i; short sb[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,0,-3,-6,-9,-12,-15,-18,-21,-24,-27,-30,-33,-36,-39,-42,-45}; diff --git a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c index 72e7bf6..29af8e5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-4b.c @@ -5,7 +5,7 @@ #define N 32 -int main1 () +__attribute__ ((noinline)) int main1 () { int i; unsigned short usb[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,0,65533,65530,65527,65524,65521,65518,65515,65512,65509,65506,65503,65500,65497,65494,65491}; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-1.c b/gcc/testsuite/gcc.dg/vect/vect-iv-1.c index 4bd082a..5d6ab5c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-1.c @@ -6,7 +6,7 @@ #define N 16 int result[N] = {8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38}; -int main1 (int X) +__attribute__ ((noinline)) int main1 (int X) { int arr[N]; int k = X; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-2.c b/gcc/testsuite/gcc.dg/vect/vect-iv-2.c index 831b005..df34a99 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-2.c @@ -5,7 +5,7 @@ #define N 16 -int main1 () +__attribute__ ((noinline)) int main1 () { int arr1[N]; int k = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-3.c b/gcc/testsuite/gcc.dg/vect/vect-iv-3.c index effa8ec..fac303a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-3.c @@ -5,7 +5,7 @@ #define N 16 -int main1 () +__attribute__ ((noinline)) int main1 () { int arr1[N]; int arr2[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-4.c b/gcc/testsuite/gcc.dg/vect/vect-iv-4.c index 8dd39b1..fe29cff 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-4.c @@ -5,7 +5,7 @@ #define N 16 -int main1 () +__attribute__ ((noinline)) int main1 () { unsigned int arr1[N]; unsigned short arr2[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-5.c b/gcc/testsuite/gcc.dg/vect/vect-iv-5.c index 6c5cb66..1766ae6 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-5.c @@ -5,7 +5,7 @@ #define N 16 -int main1 () +__attribute__ ((noinline)) int main1 () { float arr[N]; float f = 1.0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-6.c b/gcc/testsuite/gcc.dg/vect/vect-iv-6.c index 6f02575..a0863cf 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-6.c @@ -5,7 +5,7 @@ #define N 16 -int main1 (int X) +__attribute__ ((noinline)) int main1 (int X) { int arr1[N+1]; int arr2[N+1]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-7.c b/gcc/testsuite/gcc.dg/vect/vect-iv-7.c index eafeb30..140d903 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-7.c @@ -6,7 +6,7 @@ #define N 16 int result[N] = {8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38}; -int main1 (int X) +__attribute__ ((noinline)) int main1 (int X) { int arr[N]; int k = 3; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8.c index c6e4773d..c932fa9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8.c @@ -5,7 +5,7 @@ #define N 26 -int main1 (short X) +__attribute__ ((noinline)) int main1 (short X) { unsigned char a[N]; unsigned short b[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c b/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c index 62f0d07..dc742eb 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-8a.c @@ -5,7 +5,7 @@ #define N 26 -int main1 (short X) +__attribute__ ((noinline)) int main1 (short X) { signed char a[N]; short b[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-iv-9.c b/gcc/testsuite/gcc.dg/vect/vect-iv-9.c index 5926bbd..28ce927 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-iv-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-iv-9.c @@ -6,7 +6,7 @@ #define N 26 int a[N]; -int main1 (int X) +__attribute__ ((noinline)) int main1 (int X) { int s = X; int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c index e1cbafa..2ebecec 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c @@ -18,7 +18,7 @@ int ib[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45, which will also align the access to 'ia[i+3]', and the loop could be vectorized on all targets that support unaligned loads. */ -int main1 (int n) +__attribute__ ((noinline)) int main1 (int n) { int i; @@ -46,7 +46,7 @@ int main1 (int n) This will not align the access 'sa[i+3]' (for which we need to peel 5 iterations), so the loop can not be vectorized. */ -int main2 (int n) +__attribute__ ((noinline)) int main2 (int n) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c index 8958467..757af63 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c @@ -13,7 +13,7 @@ signed short Y[N] __attribute__ ((__aligned__(16))); int result[N]; /* Unsigned type promotion (hi->si) */ -int +__attribute__ ((noinline)) int foo1(int len) { int i; @@ -24,7 +24,7 @@ foo1(int len) { } /* Signed type promotion (hi->si) */ -int +__attribute__ ((noinline)) int foo2(int len) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-11.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-11.c index 81b2003..ef66c73 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-11.c @@ -7,7 +7,7 @@ short x[N] __attribute__ ((__aligned__(16))); -int +__attribute__ ((noinline)) int foo (int len, int *z) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-2.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-2.c index 4f4ecbc..6abe9f5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-2.c @@ -5,7 +5,7 @@ #define N 32 -int main1 () +__attribute__ ((noinline)) int main1 () { int i; int ia[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-3.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-3.c index 23b17dd..22711aa 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-3.c @@ -12,6 +12,7 @@ short sb[N] __attribute__ ((__aligned__(16))) = char cb[N] __attribute__ ((__aligned__(16))) = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45}; +__attribute__ ((noinline)) int main1 (int n, int * __restrict__ pib, short * __restrict__ psb, char * __restrict__ pcb) diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-4.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-4.c index b5a55cb..7ac3367 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-4.c @@ -22,6 +22,7 @@ unsigned int ib[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45, which will also align the access to 'ia[i+3]', and the loop could be vectorized on all targets that support unaligned loads. */ +__attribute__ ((noinline)) int main1 (int n) { int i; @@ -51,6 +52,7 @@ int main1 (int n) need to peel 5,1 iterations for VF=4,2 respectively, so the loop can not be vectorized. */ +__attribute__ ((noinline)) int main2 (int n) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-5.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-5.c index d6ad34d..33da531 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-5.c @@ -5,6 +5,7 @@ #define N 32 +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c index d4b27a8..a4867e4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-6.c @@ -18,6 +18,7 @@ unsigned char cc[N] __attribute__ ((__aligned__(16))) = unsigned char cb[N] __attribute__ ((__aligned__(16))) = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45}; +__attribute__ ((noinline)) int main1 (int n, unsigned int * __restrict__ pic, unsigned int * __restrict__ pib, unsigned short * __restrict__ psc, unsigned short * __restrict__ psb, diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-7.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-7.c index 8cbb502..8060432 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-7.c @@ -13,7 +13,7 @@ signed short X[N] __attribute__ ((__aligned__(16))); signed short Y[N] __attribute__ ((__aligned__(16))); unsigned char CX[N] __attribute__ ((__aligned__(16))); -void +__attribute__ ((noinline)) void foo1(int len) { int i; int result1 = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-8.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-8.c index 18ded39..6a71298 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-8.c @@ -12,7 +12,7 @@ unsigned short uresultY[N]; /* Unsigned type demotion (si->hi) */ -int +__attribute__ ((noinline)) int foo1(int len) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-9.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-9.c index 82c53e4..4ac2d0c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-9.c @@ -11,7 +11,7 @@ signed char X[N] __attribute__ ((__aligned__(16))); short result[N]; /* Unsigned type promotion (qi->hi) */ -int +__attribute__ ((noinline)) int foo1(int len) { int i; @@ -21,7 +21,7 @@ foo1(int len) { } /* Signed type promotion (qi->hi) */ -int +__attribute__ ((noinline)) int foo2(int len) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-2.c b/gcc/testsuite/gcc.dg/vect/vect-outer-2.c index caf38d7..21d6c2a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-2.c @@ -8,7 +8,7 @@ float out[N]; /* Outer-loop vectorization. */ -void +__attribute__ ((noinline)) void foo (){ int i,j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-2a.c b/gcc/testsuite/gcc.dg/vect/vect-outer-2a.c index 4925c08..ca49f69 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-2a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-2a.c @@ -5,7 +5,7 @@ #define N 40 float image[N][N][N] __attribute__ ((__aligned__(16))); -void +__attribute__ ((noinline)) void foo (){ int i,j,k; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-2b.c b/gcc/testsuite/gcc.dg/vect/vect-outer-2b.c index 65c64fc..9d9fb5c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-2b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-2b.c @@ -5,7 +5,7 @@ #define N 40 float image[2*N][N][N] __attribute__ ((__aligned__(16))); -void +__attribute__ ((noinline)) void foo (){ int i,j,k; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-2c.c b/gcc/testsuite/gcc.dg/vect/vect-outer-2c.c index c724259..43553e1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-2c.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-2c.c @@ -5,7 +5,7 @@ #define N 40 float image[2*N][2*N][N] __attribute__ ((__aligned__(16))); -void +__attribute__ ((noinline)) void foo (){ int i,j,k; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-2d.c b/gcc/testsuite/gcc.dg/vect/vect-outer-2d.c index f6f9c35..af19867 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-2d.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-2d.c @@ -5,7 +5,7 @@ #define N 40 float image[N][N][N+1] __attribute__ ((__aligned__(16))); -void +__attribute__ ((noinline)) void foo (){ int i,j,k; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-3.c b/gcc/testsuite/gcc.dg/vect/vect-outer-3.c index 6f41b82..5f7a802 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-3.c @@ -8,7 +8,7 @@ float out[N]; /* Outer-loop vectoriation. */ -void +__attribute__ ((noinline)) void foo (){ int i,j; float diff; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-3a.c b/gcc/testsuite/gcc.dg/vect/vect-outer-3a.c index a5fd23d..beade07 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-3a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-3a.c @@ -8,7 +8,7 @@ float out[N]; /* Outer-loop vectorization with misaliged accesses in the inner-loop. */ -void +__attribute__ ((noinline)) void foo (){ int i,j; float diff; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-3b.c b/gcc/testsuite/gcc.dg/vect/vect-outer-3b.c index 67edb60..a0ff090 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-3b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-3b.c @@ -8,7 +8,7 @@ float out[N]; /* Outer-loop vectorization with non-consecutive access. Not vectorized yet. */ -void +__attribute__ ((noinline)) void foo (){ int i,j; float diff; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-3c.c b/gcc/testsuite/gcc.dg/vect/vect-outer-3c.c index 1e28777..149823a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-3c.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-3c.c @@ -8,7 +8,7 @@ float out[N]; /* Outer-loop vectorization. */ -void +__attribute__ ((noinline)) void foo (){ int i,j; float diff; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4.c b/gcc/testsuite/gcc.dg/vect/vect-outer-4.c index 3b8f911..8f53f25 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4.c @@ -11,7 +11,7 @@ float out[N]; /* Outer-loop vectorization. */ -void +__attribute__ ((noinline)) void foo (){ int i,j; float diff; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4d.c b/gcc/testsuite/gcc.dg/vect/vect-outer-4d.c index 444a332..c344fb1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4d.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4d.c @@ -10,7 +10,7 @@ float out[N]; /* Outer-loop vectorization. */ -void +__attribute__ ((noinline)) void foo (){ int i,j; float diff; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4f.c b/gcc/testsuite/gcc.dg/vect/vect-outer-4f.c index ebd0ef38..cef37c4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4f.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4f.c @@ -11,7 +11,7 @@ unsigned char arr[N]; /* Outer-loop vectorization. */ /* Not vectorized due to multiple-types in the inner-loop. */ -unsigned int +__attribute__ ((noinline)) unsigned int foo (){ int i,j; unsigned int diff; @@ -28,7 +28,7 @@ foo (){ return s; } -unsigned int +__attribute__ ((noinline)) unsigned int bar (int i, unsigned int diff, unsigned short *in) { int j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4g.c b/gcc/testsuite/gcc.dg/vect/vect-outer-4g.c index ebd0ef38..cef37c4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4g.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4g.c @@ -11,7 +11,7 @@ unsigned char arr[N]; /* Outer-loop vectorization. */ /* Not vectorized due to multiple-types in the inner-loop. */ -unsigned int +__attribute__ ((noinline)) unsigned int foo (){ int i,j; unsigned int diff; @@ -28,7 +28,7 @@ foo (){ return s; } -unsigned int +__attribute__ ((noinline)) unsigned int bar (int i, unsigned int diff, unsigned short *in) { int j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4k.c b/gcc/testsuite/gcc.dg/vect/vect-outer-4k.c index ebd0ef38..cef37c4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4k.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4k.c @@ -11,7 +11,7 @@ unsigned char arr[N]; /* Outer-loop vectorization. */ /* Not vectorized due to multiple-types in the inner-loop. */ -unsigned int +__attribute__ ((noinline)) unsigned int foo (){ int i,j; unsigned int diff; @@ -28,7 +28,7 @@ foo (){ return s; } -unsigned int +__attribute__ ((noinline)) unsigned int bar (int i, unsigned int diff, unsigned short *in) { int j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4l.c b/gcc/testsuite/gcc.dg/vect/vect-outer-4l.c index ebd0ef38..cef37c4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4l.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4l.c @@ -11,7 +11,7 @@ unsigned char arr[N]; /* Outer-loop vectorization. */ /* Not vectorized due to multiple-types in the inner-loop. */ -unsigned int +__attribute__ ((noinline)) unsigned int foo (){ int i,j; unsigned int diff; @@ -28,7 +28,7 @@ foo (){ return s; } -unsigned int +__attribute__ ((noinline)) unsigned int bar (int i, unsigned int diff, unsigned short *in) { int j; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-4m.c b/gcc/testsuite/gcc.dg/vect/vect-outer-4m.c index f85ddbf..6e032f1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-4m.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-4m.c @@ -10,7 +10,7 @@ unsigned int out[N]; /* Outer-loop vectorization. */ /* Not vectorized due to multiple-types in the inner-loop. */ -unsigned int +__attribute__ ((noinline)) unsigned int foo (){ int i,j; unsigned int diff; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-5.c b/gcc/testsuite/gcc.dg/vect/vect-outer-5.c index f998cb2..54eb3b9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-5.c @@ -9,6 +9,7 @@ extern void abort(void); +__attribute__ ((noinline)) int main1 () { float A[N] __attribute__ ((__aligned__(16))); diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-6.c b/gcc/testsuite/gcc.dg/vect/vect-outer-6.c index f4adfaa..5682544 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-6.c @@ -13,6 +13,7 @@ float C[N] __attribute__ ((__aligned__(16))); float D[N] __attribute__ ((__aligned__(16))); extern void abort(void); +__attribute__ ((noinline)) int main1 () { float s; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-fir-lb.c b/gcc/testsuite/gcc.dg/vect/vect-outer-fir-lb.c index 768b104..bdc07f9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-fir-lb.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-fir-lb.c @@ -14,6 +14,7 @@ float fir_out[N]; /* Currently not vectorized because the loop-count for the inner-loop has a maybe_zero component. Will be fixed when we incorporate the "cond_expr in rhs" patch. */ +__attribute__ ((noinline)) void foo (){ int i,j,k; float diff; @@ -39,6 +40,7 @@ void foo (){ } /* Vectorized. Changing misalignment in the inner-loop. */ +__attribute__ ((noinline)) void fir (){ int i,j,k; float diff; diff --git a/gcc/testsuite/gcc.dg/vect/vect-outer-fir.c b/gcc/testsuite/gcc.dg/vect/vect-outer-fir.c index 0b03dc9..30a1c15 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-outer-fir.c +++ b/gcc/testsuite/gcc.dg/vect/vect-outer-fir.c @@ -15,6 +15,7 @@ float fir_out[N]; because the compiler doesn't realize that the inner-loop executes at least once (cause k<4), and so there's no need to create a guard code to skip the inner-loop in case it doesn't execute. */ +__attribute__ ((noinline)) void foo (){ int i,j,k; float diff; @@ -36,6 +37,7 @@ void foo (){ } /* Vectorized. Changing misalignment in the inner-loop. */ +__attribute__ ((noinline)) void fir (){ int i,j,k; float diff; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-1.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-1.c index 660c2df..63cd3c0 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-1.c @@ -8,6 +8,7 @@ /* Test vectorization of reduction of unsigned-int. */ +__attribute__ ((noinline)) void main1 (unsigned int x, unsigned int max_result, unsigned int min_result) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-1char.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-1char.c index 38bb917..bf053dc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-1char.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-1char.c @@ -6,7 +6,7 @@ #define N 16 #define DIFF 242 -void +__attribute__ ((noinline)) void main1 (unsigned char x, unsigned char max_result, unsigned char min_result) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-1short.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-1short.c index cb2293f..0947ca3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-1short.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-1short.c @@ -6,7 +6,7 @@ #define N 16 #define DIFF 242 -void +__attribute__ ((noinline)) void main1 (unsigned short x, unsigned short max_result, unsigned short min_result) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-2.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-2.c index 37635ea..b23dfba 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-2.c @@ -8,6 +8,7 @@ /* Test vectorization of reduction of signed-int. */ +__attribute__ ((noinline)) void main1 (int x, int max_result, int min_result) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-2char.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-2char.c index e664fda..6d01f03 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-2char.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-2char.c @@ -6,6 +6,7 @@ #define N 16 #define DIFF 121 +__attribute__ ((noinline)) void main1 (signed char x, signed char max_result, signed char min_result) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-2short.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-2short.c index 9f312fb..7d19e70 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-2short.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-2short.c @@ -6,6 +6,7 @@ #define N 16 #define DIFF 242 +__attribute__ ((noinline)) void main1 (short x, short max_result, short min_result) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-3.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-3.c index 486ac53..4921420 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-3.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-3.c @@ -8,6 +8,7 @@ /* Test vectorization of reduction of unsigned-int in the presence of unknown-loop-bound. */ +__attribute__ ((noinline)) int main1 (int n, int res) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-6.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-6.c index 6254297..4b27be8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-6.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-6.c @@ -6,6 +6,7 @@ #define N 16 #define DIFF 242 +__attribute__ ((noinline)) int main1 (float x, float max_result) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-7.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-7.c index 2d0052b..a59a24a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-7.c @@ -7,7 +7,7 @@ extern void abort (void); typedef unsigned char T; -void +__attribute__ ((noinline)) void testmax (const T *c, T init, T result) { T lc[N], accum = init; @@ -23,7 +23,7 @@ testmax (const T *c, T init, T result) abort (); } -void +__attribute__ ((noinline)) void testmin (const T *c, T init, T result) { T lc[N], accum = init; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-8.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-8.c index 596c93e..fdfec0a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-8.c @@ -7,7 +7,7 @@ extern void abort (void); typedef signed char T; -void +__attribute__ ((noinline)) void testmax (const T *c, T init, T result) { T lc[N], accum = init; @@ -23,7 +23,7 @@ testmax (const T *c, T init, T result) abort (); } -void +__attribute__ ((noinline)) void testmin (const T *c, T init, T result) { T lc[N], accum = init; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-9.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-9.c index 5fa2954..ecf3bf1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-9.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-9.c @@ -7,7 +7,7 @@ extern void abort (void); typedef unsigned short T; -void +__attribute__ ((noinline)) void testmax (const T *c, T init, T result) { T lc[N], accum = init; @@ -23,7 +23,7 @@ testmax (const T *c, T init, T result) abort (); } -void +__attribute__ ((noinline)) void testmin (const T *c, T init, T result) { T lc[N], accum = init; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16a.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16a.c index 4f0c3e9..b768c6c 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16a.c @@ -13,7 +13,7 @@ signed short Y[N] __attribute__ ((__aligned__(16))); Detected as a dot-product pattern. Vectorized on targets that support dot-product for signed shorts. */ -int +__attribute__ ((noinline)) int foo (int len) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16b.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16b.c index feb7df0..8c636a5 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16b.c @@ -13,7 +13,7 @@ signed short Y[N] __attribute__ ((__aligned__(16))); /* short->short->int dot product. Should be vectorized on architectures supporting vectorized multiplication of two short args with short result, e.g "mulv4hi3" and widenning sum */ -int +__attribute__ ((noinline)) int foo (int len) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8a.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8a.c index 31bdb10..66ca021 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8a.c @@ -18,7 +18,7 @@ signed char Y[N] __attribute__ ((__aligned__(16))); In the future could also be vectorized as widening-mult + widening-summation, or with type-conversion support. */ -int +__attribute__ ((noinline)) int foo1(int len) { int i; int result = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c index 9b22d74..8db7797 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c @@ -26,7 +26,7 @@ signed char Y[N] __attribute__ ((__aligned__(16))); Alternatively, the loop could also be vectorized as widening-mult + summation, or with type-conversion support. */ -short +__attribute__ ((noinline)) short foo2(int len) { int i; short result = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c index bba41df..081a530 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8c.c @@ -13,7 +13,7 @@ signed char Y[N] __attribute__ ((__aligned__(16))); /* char->int->int dot product. Not detected as a dot-product pattern. Currently fails to be vectorized due to presence of type conversions. */ -int +__attribute__ ((noinline)) int foo3(int len) { int i; int result = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u16a.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u16a.c index 2947db2..eb89ac7 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u16a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u16a.c @@ -14,7 +14,7 @@ unsigned short Y[N] __attribute__ ((__aligned__(16))); /* short->short->int dot product. Not detected as a dot-product pattern. Requires support for non-widneing multiplication and widening-summation. */ -unsigned int +__attribute__ ((noinline)) unsigned int foo1(int len) { int i; unsigned int result = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u16b.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u16b.c index bf499eb..270a3f4 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u16b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u16b.c @@ -15,7 +15,7 @@ unsigned short Y[N] __attribute__ ((__aligned__(16))); promotes the ushorts to int, and then the product is promoted to unsigned int for the addition. Which results in an int->unsigned int cast, which since no bits are modified in the cast should be trivially vectorizable. */ -unsigned int +__attribute__ ((noinline)) unsigned int foo2(int len) { int i; unsigned int result = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8a.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8a.c index 0c5cf78..38f8a69 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8a.c @@ -21,7 +21,7 @@ unsigned char Y[N] __attribute__ ((__aligned__(16))); Widening summation can also be supported by type promotion and non-widening summation (vect_unpack). */ -unsigned int +__attribute__ ((noinline)) unsigned int foo (int len) { int i; unsigned int result = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c index e3216a0..bfe3769 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c @@ -18,7 +18,7 @@ unsigned char Y[N] __attribute__ ((__aligned__(16))); Alternatively, this test can be vectorized using vect_widen_mult_qi (or vect_unpack and non-widening multplication: vect_unpack && vect_short_mult). */ -unsigned short +__attribute__ ((noinline)) unsigned short foo (int len) { int i; unsigned short result = 0; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1a.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1a.c index ca578a4..2d5c5b9 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1a.c @@ -8,7 +8,7 @@ unsigned short udata_sh[N] = { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 }; #define SUM 210 -int +__attribute__ ((noinline)) int foo () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1b.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1b.c index 443ec93..7d8bbf3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1b.c @@ -8,7 +8,7 @@ unsigned char udata_ch[N] = { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 }; #define SUM 210 -int +__attribute__ ((noinline)) int foo () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1c.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1c.c index 39eb48e..872e6e8 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1c.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1c.c @@ -8,7 +8,7 @@ unsigned char udata_ch[N] = { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 }; #define SUM 210 -int +__attribute__ ((noinline)) int foo () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2a.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2a.c index a5030c6..6957386 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2a.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2a.c @@ -8,7 +8,7 @@ signed short data_sh[N] = { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 }; #define SUM 210 -int +__attribute__ ((noinline)) int foo () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2b.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2b.c index 5ca5185..b24df18 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2b.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2b.c @@ -8,7 +8,7 @@ signed char data_ch[N] = { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 }; #define SUM 210 -int +__attribute__ ((noinline)) int foo () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2c.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2c.c index 7444ac7..36f5149 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2c.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2c.c @@ -8,7 +8,7 @@ signed char data_ch[N] = { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 }; #define SUM 210 -int +__attribute__ ((noinline)) int foo () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c index f269c9d..c888142 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-mult.c @@ -15,7 +15,7 @@ typedef struct { unsigned int b; } ii; -int +__attribute__ ((noinline)) int main1 () { s arr[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c index 6cc62b4..702d911 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i2.c @@ -10,7 +10,7 @@ typedef struct { unsigned short b; } s; -int +__attribute__ ((noinline)) int main1 () { s arr[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c index 140f963..93c1b58 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c @@ -12,7 +12,7 @@ typedef struct { unsigned short d; } s; -int +__attribute__ ((noinline)) int main1 () { s arr[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c index 5d45bf8..afb2f46 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-mult.c @@ -10,7 +10,7 @@ typedef struct { unsigned short b; } s; -int +__attribute__ ((noinline)) int main1 () { s arr[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c index 0fd0fdb..d58679a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u32-mult.c @@ -10,7 +10,7 @@ typedef struct { unsigned int b; } ii; -int +__attribute__ ((noinline)) int main1 () { unsigned short arr[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c index 671b7d2..cda5739 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c @@ -10,7 +10,7 @@ typedef struct { unsigned char b; } s; -int +__attribute__ ((noinline)) int main1 () { s arr[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c index ce56795..243961b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c @@ -17,7 +17,7 @@ typedef struct { unsigned char h; } s; -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c index 740d056..8dfb21b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c @@ -16,7 +16,7 @@ typedef struct { unsigned char h; } s; -int +__attribute__ ((noinline)) int main1 () { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-float.c b/gcc/testsuite/gcc.dg/vect/vect-strided-float.c index f2e4484..690cf94 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-float.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-float.c @@ -5,7 +5,7 @@ #define N 16 -int +__attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c b/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c index 29d752d3..3890a79 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-mult-char-ls.c @@ -15,7 +15,7 @@ typedef struct { unsigned int b; } ii; -int +__attribute__ ((noinline)) int main1 (s *arr, ii *iarr) { s *ptr = arr; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c index 823444e..6ddf093 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-mult.c @@ -15,7 +15,7 @@ typedef struct { unsigned int b; } ii; -int +__attribute__ ((noinline)) int main1 (s *arr, ii *iarr) { s *ptr = arr; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c b/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c index 84aaa68..5f18baa 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c @@ -12,7 +12,7 @@ typedef struct { s buffer1[N], buffer2[N]; -int +__attribute__ ((noinline)) int main1 (s * __restrict__ pIn, s* __restrict__ pOut) { unsigned short i, x, y, d; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c index e7125b1..dc6c6e3 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store-a-u8-i2.c @@ -10,7 +10,7 @@ typedef struct { unsigned char b; } s; -int +__attribute__ ((noinline)) int main1 () { s arr[N]; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c index c896a72..1eb848e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u16-i4.c @@ -16,7 +16,7 @@ unsigned short a[N]; unsigned short b[N]; unsigned short c[N]; -int +__attribute__ ((noinline)) int main1 (s *arr) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c index ec81098..2c5a999 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-store-u32-i2.c @@ -6,7 +6,7 @@ #define N 16 -int +__attribute__ ((noinline)) int main1 (void) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c index 3c76410..eb6ecc6 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i2.c @@ -10,7 +10,7 @@ typedef struct { unsigned short b; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { s *ptr = arr; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c index 199e363..da5a728 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u16-i4.c @@ -12,7 +12,7 @@ typedef struct { unsigned short d; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c index e872b97..96ee254 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i4.c @@ -12,7 +12,7 @@ typedef struct { int d; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c index 7e8888f..5f5a66e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-i8.c @@ -16,7 +16,7 @@ typedef struct { int h; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c index 188bef8..e271a92 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u32-mult.c @@ -10,7 +10,7 @@ typedef struct { unsigned int b; } ii; -int +__attribute__ ((noinline)) int main1 (unsigned short *arr, ii *iarr) { unsigned short *ptr = arr; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c index 86e8615..b18b660 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c @@ -10,7 +10,7 @@ typedef struct { unsigned char b; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { s *ptr = arr; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c index b9dcbba..2f44b8e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2.c @@ -10,7 +10,7 @@ typedef struct { unsigned char b; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { s *ptr = arr; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c index 8827ee1..259e91f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c @@ -17,7 +17,7 @@ typedef struct { unsigned char h; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c index 7569146..1bd932b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c @@ -16,7 +16,7 @@ typedef struct { unsigned char h; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c index 317fe03..be8ef67 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7.c @@ -16,7 +16,7 @@ typedef struct { unsigned char h; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c index 77a67e0..6609f59 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8.c @@ -17,7 +17,7 @@ typedef struct { unsigned char h; } s; -int +__attribute__ ((noinline)) int main1 (s *arr) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c index ea5523e..4ae967a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-01.c @@ -8,7 +8,7 @@ int result[N] = {12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27} int X[N] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25}; int Y[N] = {}; -void +__attribute__ ((noinline)) void foo (int *in, int *out) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c index 80d85a7..13ab54a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-02.c @@ -10,7 +10,7 @@ int X[N] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25}; int Y[N] = {}; int Z[N] = {}; -void +__attribute__ ((noinline)) void foo (int *in, int *out1, int *out2) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c index aa001bf..53d7816 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-03.c @@ -18,7 +18,7 @@ struct S X[N] = {10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 23, 23, 24, 24, 25, 25}; struct S Y[N] = {}; -void +__attribute__ ((noinline)) void foo (struct S * in, struct S * out) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c b/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c index e43df00..bbe2996 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c +++ b/gcc/testsuite/gcc.dg/vect/vect-vfa-04.c @@ -7,7 +7,7 @@ int result[] = {10, 11, 15, 16, 20, 21, 25, 26, 30, 31, 35, 36, 40, 41, 45, 46, 50, 51}; int X[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0, 0}; -void +__attribute__ ((noinline)) void foo (int *in, int *out) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c index 23baa20..e63373b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s16.c @@ -10,7 +10,7 @@ short Y[N] __attribute__ ((__aligned__(16))); int result[N]; /* short->int widening-mult */ -int +__attribute__ ((noinline)) int foo1(int len) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s8.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s8.c index 626b22f..8f79e22 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-s8.c @@ -10,7 +10,7 @@ signed char Y[N] __attribute__ ((__aligned__(16))); short result[N]; /* char->short widening-mult */ -int +__attribute__ ((noinline)) int foo1(int len) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-sum.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-sum.c index d86dafe..19804bd 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-sum.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-sum.c @@ -7,7 +7,7 @@ #define SUM 0 /* Require widening-mult or data-unpacking (for the type promotion). */ -int +__attribute__ ((noinline)) int main1 (short *in, int off, short scale, int n) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u16.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u16.c index e8579e4..3aa0ff1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u16.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u16.c @@ -10,7 +10,7 @@ unsigned short Y[N] __attribute__ ((__aligned__(16))); unsigned int result[N]; /* short->int widening-mult */ -int +__attribute__ ((noinline)) int foo1(int len) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c index 2140141..6052943 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c @@ -10,7 +10,7 @@ unsigned char Y[N] __attribute__ ((__aligned__(16))); unsigned short result[N]; /* char->short widening-mult */ -int +__attribute__ ((noinline)) int foo1(int len) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-2char.c b/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-2char.c index aecf8a5..560229f 100644 --- a/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-2char.c +++ b/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-2char.c @@ -6,6 +6,7 @@ #define N 16 #define DIFF 121 +__attribute__ ((noinline)) void main1 (signed char x, signed char max_result, signed char min_result) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-2short.c b/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-2short.c index 4476c83..e6e8c6f 100644 --- a/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-2short.c +++ b/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-2short.c @@ -6,6 +6,7 @@ #define N 16 #define DIFF 242 +__attribute__ ((noinline)) void main1 (short x, short max_result, short min_result) { int i; diff --git a/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c b/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c index 724bb58..8307af4 100644 --- a/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c +++ b/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c @@ -19,7 +19,7 @@ signed char Y[N] __attribute__ ((__aligned__(16))); Can also be vectorized as widening-mult + summation, or with type-conversion support. */ -short +__attribute__ ((noinline)) short foo(int len) { int i; short result = 0; diff --git a/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-pattern-2c.c b/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-pattern-2c.c index 9296098..12f3650 100644 --- a/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-pattern-2c.c +++ b/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-pattern-2c.c @@ -8,7 +8,7 @@ signed char data_ch[N] = { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 }; #define SUM 210 -int +__attribute__ ((noinline)) int foo () { int i; |