Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
497081e8
Commit
497081e8
authored
Dec 29, 2011
by
Michael Meissner
Committed by
Michael Meissner
Dec 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 51702 testsuite failures
From-SVN: r182726
parent
1893a69a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
0 deletions
+23
-0
gcc/testsuite/ChangeLog
+14
-0
gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-ref-all-2.c
+1
-0
gcc/testsuite/gcc.dg/pr35442.c
+1
-0
gcc/testsuite/gcc.dg/scal-to-vec1.c
+2
-0
gcc/testsuite/gcc.dg/scal-to-vec2.c
+1
-0
gcc/testsuite/gcc.dg/torture/pr36891.c
+1
-0
gcc/testsuite/gcc.dg/vector-compare-1.c
+2
-0
gcc/testsuite/gcc.dg/vector-compare-2.c
+1
-0
No files found.
gcc/testsuite/ChangeLog
View file @
497081e8
2011-12-29 Michael Meissner <meissner@linux.vnet.ibm.com>
PR testsuite/51702
* gcc.dg/scal-to-vec1.c: If 32-bit powerpc-linux, add the
-mabi=altivec option, which suppresses a warning message about
passing vectors by reference. The extra warning causes some tests
to fail.
* gcc.dg/scal-to-vec2.c: Likewise.
* gcc.dg/Wstrict-aliasing-bogus-ref-all-2.c: Likewise.
* gcc.dg/pr35442.c: Likewise.
* gcc.dg/vector-compare-1.c: Likewise.
* gcc.dg/vector-compare-2.c: Likewise.
* gcc.dg/torture/pr36891.c: Likewise.
2012-12-29 Kai Tietz <ktietz@redhat.com>
2012-12-29 Kai Tietz <ktietz@redhat.com>
* g++.dg/abi/bitfield3.C: Make sure test runs
* g++.dg/abi/bitfield3.C: Make sure test runs
...
...
gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-ref-all-2.c
View file @
497081e8
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2 -Wall" } */
/* { dg-options "-O2 -Wall" } */
/* { dg-options "-O2 -Wall -mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
typedef
long
long
__m128i
__attribute__
((
__vector_size__
(
16
),
__may_alias__
));
typedef
long
long
__m128i
__attribute__
((
__vector_size__
(
16
),
__may_alias__
));
...
...
gcc/testsuite/gcc.dg/pr35442.c
View file @
497081e8
/* PR c/35442 */
/* PR c/35442 */
/* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
/* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
/* { dg-options "-mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
typedef
char
A
__attribute__
((
vector_size
(
64
)));
typedef
char
A
__attribute__
((
vector_size
(
64
)));
typedef
int
B
__attribute__
((
vector_size
(
64
)));
typedef
int
B
__attribute__
((
vector_size
(
64
)));
...
...
gcc/testsuite/gcc.dg/scal-to-vec1.c
View file @
497081e8
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-Wno-long-long" } */
/* { dg-options "-Wno-long-long" } */
/* { dg-options "-Wno-long-long -mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
#define vector(elcount, type) \
#define vector(elcount, type) \
__attribute__((vector_size((elcount)*sizeof(type)))) type
__attribute__((vector_size((elcount)*sizeof(type)))) type
...
...
gcc/testsuite/gcc.dg/scal-to-vec2.c
View file @
497081e8
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
/* { dg-options "-mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
/* Test for C_MAYBE_CONST are folded correctly when
/* Test for C_MAYBE_CONST are folded correctly when
expanding an expression to vector. */
expanding an expression to vector. */
...
...
gcc/testsuite/gcc.dg/torture/pr36891.c
View file @
497081e8
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
/* { dg-options "-ffast-math" } */
/* { dg-options "-ffast-math" } */
/* { dg-options "-ffast-math -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
/* { dg-options "-ffast-math -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
/* { dg-require-effective-target sse { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
/* { dg-require-effective-target sse { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
/* { dg-options "-ffast-math -mabi=altivec" { target { { powerpc*-*-linux* } && ia32 } } } */
#define __vector __attribute__((vector_size(16) ))
#define __vector __attribute__((vector_size(16) ))
__vector
float
f
(
void
);
__vector
float
f
(
void
);
...
...
gcc/testsuite/gcc.dg/vector-compare-1.c
View file @
497081e8
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
#define vector(elcount, type) \
#define vector(elcount, type) \
__attribute__((vector_size((elcount)*sizeof(type)))) type
__attribute__((vector_size((elcount)*sizeof(type)))) type
...
...
gcc/testsuite/gcc.dg/vector-compare-2.c
View file @
497081e8
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
/* { dg-options "-mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
/* Test if C_MAYBE_CONST are folded correctly when
/* Test if C_MAYBE_CONST are folded correctly when
creating VEC_COND_EXPR. */
creating VEC_COND_EXPR. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment