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
871e97f7
Commit
871e97f7
authored
22 years ago
by
Mark Mitchell
Committed by
Mark Mitchell
22 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cp
From-SVN: r57695
parent
f7e466a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/tls/init-2.C
+3
-3
No files found.
gcc/testsuite/ChangeLog
View file @
871e97f7
2002-10-01 Mark Mitchell <mark@codesourcery.com>
* g++.dg/tls/init-2.C: Tweak error messages.
2002-10-01 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20020923-1.c: New test.
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.dg/tls/init-2.C
View file @
871e97f7
/* Invalid initializations. */
extern
__thread
int
i
;
__thread
int
*
p
=
&
i
;
/* { dg-error "
run-time initialization
" } */
__thread
int
*
p
=
&
i
;
/* { dg-error "
dynamically initialized
" } */
extern
int
f
();
__thread
int
j
=
f
();
/* { dg-error "
run-time initialization
" } */
__thread
int
j
=
f
();
/* { dg-error "
dynamically initialized
" } */
struct
S
{
S
();
};
__thread
S
s
;
/* { dg-error "
run-time initialization
" } */
__thread
S
s
;
/* { dg-error "
non-POD
" } */
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