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
a3afde42
Commit
a3afde42
authored
Nov 04, 2015
by
Eric Botcazou
Committed by
Eric Botcazou
Nov 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gnat.dg/slice9.adb: New test.
From-SVN: r229779
parent
5d6823a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
gcc/testsuite/ChangeLog
+4
-4
gcc/testsuite/gnat.dg/slice9.adb
+18
-0
No files found.
gcc/testsuite/ChangeLog
View file @
a3afde42
2015-11-04 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/slice9.adb: New test.
2015-11-04 Nathan Sidwell <nathan@codesourcery.com>
* gfortran.dg/goacc/reduction-2.f95: Delete.
...
...
@@ -8,10 +12,6 @@
* gcc.dg/tree-ssa/restrict-7.c: New test.
* gcc.dg/tree-ssa/restrict-8.c: New test.
2015-11-04 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/slice9.adb: New test.
2015-11-03 Martin Sebor <msebor@redhat.com>
PR c++-common/67882
...
...
gcc/testsuite/gnat.dg/slice9.adb
0 → 100644
View file @
a3afde42
-- { dg-do compile }
procedure Slice9 is
function Ident (I : Integer) return Integer is
begin
return I;
end;
subtype S is String (Ident(5)..Ident(9));
Dest : S;
Src : String (Ident(1)..Ident(5)) := "ABCDE";
begin
Dest (Ident(5)..Ident(7)) := Src (Ident(1)..Ident(3));
end;
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