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
a9da2e5b
Commit
a9da2e5b
authored
May 31, 2002
by
Neil Booth
Committed by
Neil Booth
May 31, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-common.c (builtin_define_std): Correct logic.
From-SVN: r54089
parent
6248c4dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
gcc/ChangeLog
+4
-0
gcc/c-common.c
+7
-4
No files found.
gcc/ChangeLog
View file @
a9da2e5b
2002-05-31 Neil Booth <neil@daikokuya.demon.co.uk>
* c-common.c (builtin_define_std): Correct logic.
2002-05-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.c (output_millicode_call): Correct "be,l" insn for TARGET_PA_20.
...
...
gcc/c-common.c
View file @
a9da2e5b
...
...
@@ -4440,10 +4440,13 @@ builtin_define_std (macro)
/* prepend __ (or maybe just _) if in user's namespace. */
memcpy
(
p
,
macro
,
len
+
1
);
if
(
*
p
!=
'_'
)
*--
p
=
'_'
;
if
(
p
[
1
]
!=
'_'
&&
!
ISUPPER
(
p
[
1
]))
*--
p
=
'_'
;
if
(
!
(
*
p
==
'_'
&&
(
p
[
1
]
==
'_'
||
ISUPPER
(
p
[
1
]))))
{
if
(
*
p
!=
'_'
)
*--
p
=
'_'
;
if
(
p
[
1
]
!=
'_'
)
*--
p
=
'_'
;
}
cpp_define
(
parse_in
,
p
);
/* If it was in user's namespace... */
...
...
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