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
65728e39
Commit
65728e39
authored
Feb 15, 2012
by
Aldy Hernandez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mistaken commit.
From-SVN: r184272
parent
2da8c1ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
25 deletions
+0
-25
gcc/testsuite/gcc.dg/tm/pr52141.c
+0
-21
gcc/trans-mem.c
+0
-4
No files found.
gcc/testsuite/gcc.dg/tm/pr52141.c
deleted
100644 → 0
View file @
2da8c1ad
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -O1" } */
inline
void
asmfunc
(
void
)
{
__asm__
(
""
);
/* { dg-error "asm not allowed in .transaction_safe" } */
}
__attribute__
((
transaction_safe
))
static
void
f
(
void
)
{
asmfunc
();
}
int
main
()
{
__transaction_atomic
{
f
();
}
return
0
;
}
gcc/trans-mem.c
View file @
65728e39
...
...
@@ -3736,10 +3736,6 @@ ipa_tm_scan_irr_block (basic_block bb)
assembly statement is not relevant to the transaction
is to wrap it in a __tm_waiver block. This is not
yet implemented, so we can't check for it. */
if
(
is_tm_safe
(
current_function_decl
))
error_at
(
gimple_location
(
stmt
),
"asm not allowed in %<transaction_safe%> function %qE"
,
current_function_decl
);
return
true
;
default:
...
...
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