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
a89dd072
Commit
a89dd072
authored
23 years ago
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix noreturn warnings
From-SVN: r44350
parent
31d8a3ac
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
7 deletions
+9
-7
gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
+1
-1
gcc/testsuite/g++.old-deja/g++.brendan/groff1.C
+2
-2
gcc/testsuite/g++.old-deja/g++.eh/flow1.C
+1
-0
gcc/testsuite/g++.old-deja/g++.eh/unwind1.C
+1
-1
gcc/testsuite/g++.old-deja/g++.ext/addrfunc4.C
+1
-1
gcc/testsuite/g++.old-deja/g++.jason/template31.C
+1
-0
gcc/testsuite/g++.old-deja/g++.jason/warning2.C
+2
-2
No files found.
gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
View file @
a89dd072
...
...
@@ -5,7 +5,7 @@ public:
A
(
void
)
{}
private
:
A
(
const
A
&
)
{
abort
();
}
// ERROR -
const
A
&
operator
=
(
const
A
&
)
{
abort
();
}
const
A
&
operator
=
(
const
A
&
)
{
abort
();
}
// WARNING - no return stmt XFAIL *-*-*
};
class
B
:
public
A
{
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.brendan/groff1.C
View file @
a89dd072
...
...
@@ -16,8 +16,8 @@ public:
class
dictionary
{
public
:
void
*
lookup
(
symbol
s
,
void
*
v
=
0
)
{
win
=
1
;
}
void
*
lookup
(
const
char
*
)
{}
void
lookup
(
symbol
s
,
void
*
v
=
0
)
{
win
=
1
;
}
void
lookup
(
const
char
*
)
{}
};
int
main
()
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.eh/flow1.C
View file @
a89dd072
...
...
@@ -3,6 +3,7 @@
int
bar
()
{
throw
100
;
return
0
;
}
int
main
()
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.eh/unwind1.C
View file @
a89dd072
// Test that unwinding properly restores SP.
// Contributed by Jason Merrill <jason@cygnus.com>
int
f
(
int
i
)
void
f
(
int
i
)
{
throw
i
;
}
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.ext/addrfunc4.C
View file @
a89dd072
...
...
@@ -5,7 +5,7 @@
struct
A
{
int
f
(
int
a
)
{
}
int
f
(
int
a
)
{
return
0
;
}
void
f
(
int
a
,
int
b
)
{
}
};
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.jason/template31.C
View file @
a89dd072
...
...
@@ -25,6 +25,7 @@ public:
}
IncludeIt
&
operator
=
(
const
IncludeIt
&
i
)
{
myStrvec
=
i
.
myStrvec
;
return
*
this
;
}
private
:
CopyMe
myStrvec
;
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.jason/warning2.C
View file @
a89dd072
...
...
@@ -2,10 +2,10 @@
// Build don't link:
struct
A
{
virtual
int
f
()
=
0
;
virtual
void
f
()
=
0
;
};
struct
B
:
public
A
{
int
f
()
{
}
};
struct
B
:
public
A
{
void
f
()
{
}
};
int
main
()
{
...
...
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