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
ce2acd31
Commit
ce2acd31
authored
Apr 25, 2014
by
Marek Polacek
Committed by
Marek Polacek
Apr 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/pr18079-2.c: Fix quoting in dg-warning.
From-SVN: r209801
parent
97891c11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/pr18079-2.c
+4
-4
No files found.
gcc/testsuite/ChangeLog
View file @
ce2acd31
2014-04-25 Marek Polacek <polacek@redhat.com>
* gcc.dg/pr18079-2.c: Fix quoting in dg-warning.
2014-04-25 Marek Polacek <polacek@redhat.com>
PR c/18079
* gcc.dg/pr18079.c: New test.
* gcc.dg/pr18079-2.c: New test.
...
...
gcc/testsuite/gcc.dg/pr18079-2.c
View file @
ce2acd31
...
...
@@ -3,14 +3,14 @@
/* { dg-options "-Wall" } */
__attribute__
((
always_inline
))
void
fndecl1
(
void
);
__attribute__
((
noinline
))
void
fndecl1
(
void
);
/* { dg-warning "attribute
noinline follows declaration with attribute always_inline
" } */
__attribute__
((
noinline
))
void
fndecl1
(
void
);
/* { dg-warning "attribute
'noinline' follows declaration with attribute 'always_inline'
" } */
__attribute__
((
noinline
))
void
fndecl2
(
void
);
__attribute__
((
always_inline
))
void
fndecl2
(
void
);
/* { dg-warning "attribute
always_inline follows declaration with attribute noinline
" } */
__attribute__
((
always_inline
))
void
fndecl2
(
void
);
/* { dg-warning "attribute
'always_inline' follows declaration with attribute 'noinline'
" } */
__attribute__
((
hot
))
void
fndecl3
(
void
);
__attribute__
((
cold
))
void
fndecl3
(
void
);
/* { dg-warning "attribute
cold follows declaration with attribute hot
" } */
__attribute__
((
cold
))
void
fndecl3
(
void
);
/* { dg-warning "attribute
'cold' follows declaration with attribute 'hot'
" } */
__attribute__
((
cold
))
void
fndecl4
(
void
);
__attribute__
((
hot
))
void
fndecl4
(
void
);
/* { dg-warning "attribute
hot follows declaration with attribute cold
" } */
__attribute__
((
hot
))
void
fndecl4
(
void
);
/* { dg-warning "attribute
'hot' follows declaration with attribute 'cold'
" } */
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