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
2d4b533d
Commit
2d4b533d
authored
Jun 30, 1998
by
Klaus-Georg Adams
Committed by
Robert Lipe
Jun 30, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New tests from Klaus-Georg.
From-SVN: r20818
parent
a6fa6420
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
gcc/testsuite/g++.old-deja/g++.robertl/eb132.C
+27
-0
gcc/testsuite/g++.old-deja/g++.robertl/eb133.C
+16
-0
No files found.
gcc/testsuite/g++.old-deja/g++.robertl/eb132.C
0 → 100644
View file @
2d4b533d
// Build don't link
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
// Reported against EGCS snaps 98/06/28.
// Special g++ Options: -O -Wall -fgcse -frerun-loop-opt
//
// Compilation of this program with the flags g++ -Wall -O -fgcse -frerun-loop-opt
// or -O2 produces spurious warnings in the standard header <std/bastring.h>.
//
// They vanish if the declaration of a::b is taken out.
#include <string>
string
foo
();
struct
a
{
void
bar
();
enum
b
{
c
,
d
};
b
theb
;
string
baz
;
};
void
a
::
bar
()
{
baz
+=
foo
()
+
foo
();
baz
+=
foo
()
+
foo
()
+
"foo"
;
}
gcc/testsuite/g++.old-deja/g++.robertl/eb133.C
0 → 100644
View file @
2d4b533d
// Build don't link
// Gives ICE 109
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
// Reported against EGCS snaps 98/06/28.
int
main
()
{
try
{
}
catch
(
bad_alloc
)
{
// ERROR - parse error
return
1
;
}
return
0
;
}
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