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
414578bd
Commit
414578bd
authored
Mar 10, 2014
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move dg-do before dg-require
From-SVN: r208460
parent
c2e7e597
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
gcc/testsuite/g++.dg/tls/thread_local-wrap1.C
+1
-1
gcc/testsuite/g++.dg/tls/thread_local-wrap2.C
+1
-1
gcc/testsuite/g++.dg/tls/thread_local-wrap3.C
+1
-1
gcc/testsuite/g++.dg/tls/thread_local-wrap4.C
+1
-1
No files found.
gcc/testsuite/g++.dg/tls/thread_local-wrap1.C
View file @
414578bd
// If we can see the definition at the use site, we don't need to bother
// with a wrapper.
// { dg-require-effective-target tls }
// { dg-do compile { target c++11 } }
// { dg-require-effective-target tls }
// { dg-final { scan-assembler-not "_ZTW1i" } }
thread_local
int
i
=
42
;
...
...
gcc/testsuite/g++.dg/tls/thread_local-wrap2.C
View file @
414578bd
// If we can't see the definition at the use site, but it's in this translation
// unit, we build a wrapper but don't bother with an init function.
// { dg-require-effective-target tls }
// { dg-do compile { target c++11 } }
// { dg-require-effective-target tls }
// { dg-final { scan-assembler "_ZTW1i" } }
// { dg-final { scan-assembler-not "_ZTH1i" } }
...
...
gcc/testsuite/g++.dg/tls/thread_local-wrap3.C
View file @
414578bd
// If we can't see the definition at all, we need to assume there might be
// an init function.
// { dg-do compile { target c++11 } }
// { dg-require-alias "" }
// { dg-require-effective-target tls }
// { dg-do compile { target c++11 } }
// { dg-final { scan-assembler "_ZTW1i" } }
// { dg-final { scan-assembler "_ZTH1i" } }
...
...
gcc/testsuite/g++.dg/tls/thread_local-wrap4.C
View file @
414578bd
// We don't need to call the wrapper through the PLT; we can use a separate
// copy per shared object.
// { dg-do compile { target c++11 } }
// { dg-require-effective-target tls }
// { dg-require-effective-target fpic }
// { dg-do compile { target c++11 } }
// { dg-options "-fPIC" }
// { dg-final { scan-assembler-not "_ZTW1i@PLT" { target i?86-*-* x86_64-*-* } } }
...
...
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