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
d131a4af
Commit
d131a4af
authored
12 years ago
by
Uros Bizjak
Committed by
Uros Bizjak
12 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init-2.mm: Tweak errors.
* obj-c++.dg/tls/init-2.mm: Tweak errors. From-SVN: r192348
parent
444d5288
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/obj-c++.dg/tls/init-2.mm
+3
-3
No files found.
gcc/testsuite/ChangeLog
View file @
d131a4af
2012-10-11 Uros Bizjak <ubizjak@gmail.com>
* obj-c++.dg/tls/init-2.mm: Tweak errors.
2012-10-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/43663
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/obj-c++.dg/tls/init-2.mm
View file @
d131a4af
...
...
@@ -2,13 +2,13 @@
/* { dg-require-effective-target tls } */
extern __thread int i;
__thread int *p = &i;
/* { dg-error "dynamically initialized
" } */
__thread int *p = &i;
/* { dg-error "dynamic initialization
" } */
extern int f();
__thread int j = f();
/* { dg-error "dynamically initialized
" } */
__thread int j = f();
/* { dg-error "dynamic initialization
" } */
struct S
{
S();
};
__thread S s;
/* { dg-error "" } two errors here
*/
__thread S s;
/* { dg-error "dynamic initialization" }
*/
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