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
fd589a2a
Commit
fd589a2a
authored
24 years ago
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
From-SVN: r35059
parent
f67798e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
gcc/ChangeLog
+4
-0
gcc/fixinc/fixfixes.c
+9
-7
No files found.
gcc/ChangeLog
View file @
fd589a2a
2000-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
2000-07-16 Neil Booth <NeilB@earthling.net>
* cpplex.c: Update comments.
...
...
This diff is collapsed.
Click to expand it.
gcc/fixinc/fixfixes.c
View file @
fd589a2a
...
...
@@ -164,15 +164,17 @@ emit_gnu_type ( text, rm )
/*
* Now print out the reformed typedef
*/
printf
(
"#ifndef __%s_TYPE__
\n
"
"#define __%s_TYPE__ %s
\n
"
"#endif
\n
"
,
printf
(
"\
#ifndef __%s_TYPE__
\n
\
#define __%s_TYPE__ %s
\n
\
#endif
\n
"
,
p_tm
->
pz_TYPE
,
p_tm
->
pz_TYPE
,
p_tm
->
pz_gtype
);
printf
(
"#if !defined(_GCC_%s_T)%s
\n
"
"#define _GCC_%s_T
\n
"
"typedef __%s_TYPE__ %s_t;
\n
"
"#endif
\n
"
,
printf
(
"\
#if !defined(_GCC_%s_T)%s
\n
\
#define _GCC_%s_T
\n
\
typedef __%s_TYPE__ %s_t;
\n
\
#endif
\n
"
,
p_tm
->
pz_TYPE
,
p_tm
->
pz_cxx_guard
,
p_tm
->
pz_TYPE
,
p_tm
->
pz_TYPE
,
p_tm
->
pz_type
);
...
...
This diff is collapsed.
Click to expand it.
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