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
bd3e497d
Commit
bd3e497d
authored
Sep 18, 2012
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Sep 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* btest.c (test1, test2, test3, test4): Add the unused attribute.
From-SVN: r191440
parent
30e15876
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
libbacktrace/ChangeLog
+4
-0
libbacktrace/btest.c
+4
-4
No files found.
libbacktrace/ChangeLog
View file @
bd3e497d
2012-09-18 Ian Lance Taylor <iant@google.com>
2012-09-18 Ian Lance Taylor <iant@google.com>
* btest.c (test1, test2, test3, test4): Add the unused attribute.
2012-09-18 Ian Lance Taylor <iant@google.com>
* dwarf.c: Correct test of HAVE_DECL_STRNLEN.
* dwarf.c: Correct test of HAVE_DECL_STRNLEN.
2012-09-18 Ian Lance Taylor <iant@google.com>
2012-09-18 Ian Lance Taylor <iant@google.com>
...
...
libbacktrace/btest.c
View file @
bd3e497d
...
@@ -269,7 +269,7 @@ error_callback_three (void *vdata, const char *msg, int errnum)
...
@@ -269,7 +269,7 @@ error_callback_three (void *vdata, const char *msg, int errnum)
/* Test the backtrace function with non-inlined functions. */
/* Test the backtrace function with non-inlined functions. */
static
int
test1
(
void
)
__attribute__
((
noinline
));
static
int
test1
(
void
)
__attribute__
((
noinline
,
unused
));
static
int
f2
(
int
)
__attribute__
((
noinline
));
static
int
f2
(
int
)
__attribute__
((
noinline
));
static
int
f3
(
int
,
int
)
__attribute__
((
noinline
));
static
int
f3
(
int
,
int
)
__attribute__
((
noinline
));
...
@@ -323,7 +323,7 @@ f3 (int f1line, int f2line)
...
@@ -323,7 +323,7 @@ f3 (int f1line, int f2line)
/* Test the backtrace function with inlined functions. */
/* Test the backtrace function with inlined functions. */
static
inline
int
test2
(
void
)
__attribute__
((
always_inline
));
static
inline
int
test2
(
void
)
__attribute__
((
always_inline
,
unused
));
static
inline
int
f12
(
int
)
__attribute__
((
always_inline
));
static
inline
int
f12
(
int
)
__attribute__
((
always_inline
));
static
inline
int
f13
(
int
,
int
)
__attribute__
((
always_inline
));
static
inline
int
f13
(
int
,
int
)
__attribute__
((
always_inline
));
...
@@ -375,7 +375,7 @@ f13 (int f1line, int f2line)
...
@@ -375,7 +375,7 @@ f13 (int f1line, int f2line)
/* Test the backtrace_simple function with non-inlined functions. */
/* Test the backtrace_simple function with non-inlined functions. */
static
int
test3
(
void
)
__attribute__
((
noinline
));
static
int
test3
(
void
)
__attribute__
((
noinline
,
unused
));
static
int
f22
(
int
)
__attribute__
((
noinline
));
static
int
f22
(
int
)
__attribute__
((
noinline
));
static
int
f23
(
int
,
int
)
__attribute__
((
noinline
));
static
int
f23
(
int
,
int
)
__attribute__
((
noinline
));
...
@@ -524,7 +524,7 @@ f23 (int f1line, int f2line)
...
@@ -524,7 +524,7 @@ f23 (int f1line, int f2line)
/* Test the backtrace_simple function with inlined functions. */
/* Test the backtrace_simple function with inlined functions. */
static
inline
int
test4
(
void
)
__attribute__
((
always_inline
));
static
inline
int
test4
(
void
)
__attribute__
((
always_inline
,
unused
));
static
inline
int
f32
(
int
)
__attribute__
((
always_inline
));
static
inline
int
f32
(
int
)
__attribute__
((
always_inline
));
static
inline
int
f33
(
int
,
int
)
__attribute__
((
always_inline
));
static
inline
int
f33
(
int
,
int
)
__attribute__
((
always_inline
));
...
...
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