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
aa994333
Commit
aa994333
authored
Jan 29, 2006
by
Gabriel Dos Reis
Committed by
Gabriel Dos Reis
Jan 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* toplev.c: Fix thinko.
From-SVN: r110374
parent
98fb1d29
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/toplev.c
+2
-2
No files found.
gcc/ChangeLog
View file @
aa994333
2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
* toplev.c: Fix thinko.
2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
Marcin Dalecki <martin@dalecki.de>
* toplev.c (floor_log2, exact_log2): Don't define if __cplusplus.
...
...
gcc/toplev.c
View file @
aa994333
...
...
@@ -520,7 +520,7 @@ read_integral_parameter (const char *p, const char *pname, const int defval)
for floor_log2 and exact_log2; see toplev.h. That construct, however,
conflicts with the ISO C++ One Definition Rule. */
#if !defined (__cplusplus)
#if
GCC_VERSION < 3004 ||
!defined (__cplusplus)
/* Given X, an unsigned number, return the largest int Y such that 2**Y <= X.
If X is 0, return -1. */
...
...
@@ -572,7 +572,7 @@ exact_log2 (unsigned HOST_WIDE_INT x)
#endif
}
#endif
/* !defined (__cplusplus) */
#endif
/*
GCC_VERSION < 3004 ||
!defined (__cplusplus) */
/* Handler for fatal signals, such as SIGSEGV. These are transformed
into ICE messages, which is much more user friendly. In case the
...
...
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