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
b2fb03eb
Commit
b2fb03eb
authored
Oct 28, 2015
by
Eric Botcazou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gnat.dg/discr44.adb: New test.
From-SVN: r229508
parent
38b882b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
gcc/testsuite/ChangeLog
+6
-2
gcc/testsuite/gnat.dg/discr44.adb
+27
-0
No files found.
gcc/testsuite/ChangeLog
View file @
b2fb03eb
2015-10-26 Jim Wilson <jim.wilson@linaro.org>
2015-10-28 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/discr44.adb: New test.
2015-10-28 Jim Wilson <jim.wilson@linaro.org>
PR debug/66068
PR debug/66068
* gcc.dg/debug/pr66068.c: New test.
* gcc.dg/debug/pr66068.c: New test.
...
@@ -16,7 +20,7 @@
...
@@ -16,7 +20,7 @@
* gcc.target/mips/oddspreg-1.c: Likewise.
* gcc.target/mips/oddspreg-1.c: Likewise.
* gcc.target/mips/oddspreg-2.c: Likewise.
* gcc.target/mips/oddspreg-2.c: Likewise.
2015-10-
05
Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2015-10-
28
Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
PR target/67839
PR target/67839
* gcc.target/avr/pr67839.c: New test.
* gcc.target/avr/pr67839.c: New test.
...
...
gcc/testsuite/gnat.dg/discr44.adb
0 → 100644
View file @
b2fb03eb
-- { dg-do run }
-- { dg-options "-gnatws" }
procedure Discr44 is
function Ident (I : Integer) return Integer is
begin
return I;
end;
type Int is range 1 .. 10;
type Str is array (Int range <>) of Character;
type Parent (D1, D2 : Int; B : Boolean) is record
S : Str (D1 .. D2);
end record;
type Derived (D : Int) is new Parent (D1 => D, D2 => D, B => False);
X1 : Derived (D => Int (Ident (7)));
begin
if X1.D /= 7 then
raise Program_Error;
end if;
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