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
b398ac30
Commit
b398ac30
authored
24 years ago
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more 16-bit/h8300 tweaks
From-SVN: r34560
parent
ddc22296
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
gcc/testsuite/g++.old-deja/g++.benjamin/bool01.C
+7
-5
gcc/testsuite/g++.old-deja/g++.bugs/900227_01.C
+1
-5
gcc/testsuite/g++.old-deja/g++.ext/attrib5.C
+1
-1
gcc/testsuite/g++.old-deja/g++.jason/thunk3.C
+1
-1
gcc/testsuite/g++.old-deja/g++.other/crash18.C
+1
-0
gcc/testsuite/g++.old-deja/g++.pt/static6.C
+1
-0
No files found.
gcc/testsuite/g++.old-deja/g++.benjamin/bool01.C
View file @
b398ac30
...
...
@@ -2,6 +2,7 @@
//test for bools with inclusive ors
#include <assert.h>
#include <limits.h>
void
bar
(
bool
x
)
{};
void
bars
(
short
x
)
{};
...
...
@@ -45,12 +46,14 @@ int ors(){
}
#if INT_MAX > 32767
int
orus
(){
unsigned
short
y
=
1
;
bars
(
y
);
int
blob
=
(
65539
|
int
(
y
)
);
return
blob
;
//expect 65539, will be 3 if done in us type
}
#endif
int
main
()
{
int
tmp
;
...
...
@@ -66,11 +69,10 @@ int main() {
assert
(
tmp
==
27
);
tmp
=
ors
();
assert
(
tmp
==
27
);
if
(
sizeof
(
int
)
>
2
&&
sizeof
(
int
)
>
sizeof
(
unsigned
short
))
{
tmp
=
orus
();
assert
(
tmp
==
65539
);
}
#if INT_MAX > 32767
tmp
=
orus
();
assert
(
tmp
==
65539
);
#endif
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.bugs/900227_01.C
View file @
b398ac30
...
...
@@ -30,13 +30,9 @@
// Special g++ Options:
#include <limits.h>
int
main
();
#if INT_MAX > 32767
short
s
=
(
short
)
&
main
;
// WARNING - small integer
#endif
short
s
=
(
short
)
&
main
;
// WARNING - small integer XFAIL h8*-*-*
char
c
=
(
char
)
&
main
;
// WARNING - small integer
int
main
()
{
return
0
;
}
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.ext/attrib5.C
View file @
b398ac30
// Test that attributes weak and alias coexist.
// excess errors test - XFAIL alpha*-dec-osf* *-hms
// excess errors test - XFAIL alpha*-dec-osf* *-
*-
hms
extern
"C"
{
void
f
()
__attribute__
((
weak
,
alias
(
"_f"
)));
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.jason/thunk3.C
View file @
b398ac30
...
...
@@ -3,7 +3,7 @@
// support, because it doesn't support variadic functions.
// Special g++ Options: -fvtable-thunks
// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3 mn10300-*-* mn10200-*-* v850-*-* sh-*-* h8*
// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3 mn10300-*-* mn10200-*-* v850-*-* sh-*-* h8*
-*-*
#include <stdarg.h>
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.other/crash18.C
View file @
b398ac30
// Build don't link:
// Special g++ Options: -fvtable-gc
// Origin: Mark Mitchell <mitchell@codesourcery.com>
// excess errors test - XFAIL *-*-coff *-*-aout *-*-hms
struct
S
{
virtual
void
f
();
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.pt/static6.C
View file @
b398ac30
// Build don't run:
// excess errors test - XFAIL *-*-aout *-*-coff *-*-hpux* alpha*-dec-osf* *-*-hms
// Simplified from testcase by Erez Louidor Lior <s3824888@techst02.technion.ac.il>
...
...
This diff is collapsed.
Click to expand it.
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