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
67aa8289
Commit
67aa8289
authored
Feb 19, 2003
by
Aldy Hernandez
Committed by
Aldy Hernandez
Feb 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/20030218-1.c: New.
From-SVN: r63089
parent
860c9ea6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/20030218-1.c
+16
-0
No files found.
gcc/testsuite/ChangeLog
View file @
67aa8289
2003-02-18 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20030218-1.c: New.
2003-02-18 Richard Henderson <rth@redhat.com>
* gcc.dg/attr-invalid.c: Allow __used__ on static data.
...
...
gcc/testsuite/gcc.dg/20030218-1.c
0 → 100644
View file @
67aa8289
/* { dg-do compile { target powerpc-*-eabi* } } */
/* { dg-options "-mcpu=8540" } */
/* Test vectors that can interconvert without a cast. */
int
vint
__attribute__
((
mode
(
V2SI
)));
int
vshort
__attribute__
((
mode
(
V4HI
)));
int
vfloat
__attribute__
((
mode
(
V2SF
)));
int
main
(
void
)
{
vint
=
vfloat
;
vshort
=
vint
;
vfloat
=
vshort
;
/* { dg-error "incompatible types in assignment" } */
}
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