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
7e127823
Commit
7e127823
authored
Mar 21, 1995
by
Per Bothner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged in earlier cccp.c changes.
From-SVN: r9217
parent
eb6b0c88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
gcc/cpperror.c
+1
-1
gcc/cppexp.c
+14
-2
No files found.
gcc/cpperror.c
View file @
7e127823
...
...
@@ -34,7 +34,7 @@ extern int errno;
#ifndef VMS
#ifndef HAVE_STRERROR
extern
int
sys_nerr
;
#if defined(bsd4_4)
|| defined(__NetBSD__)
#if defined(bsd4_4)
extern
const
char
*
const
sys_errlist
[];
#else
extern
char
*
sys_errlist
[];
...
...
gcc/cppexp.c
View file @
7e127823
...
...
@@ -119,12 +119,24 @@ static long right_shift ();
#define HAVE_VALUE 4
/*#define UNSIGNEDP 8*/
#ifndef HOST_BITS_PER_WIDE_INT
#if HOST_BITS_PER_LONG > HOST_BITS_PER_INT
#define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG
#define HOST_WIDE_INT long
#else
#define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_INT
#define HOST_WIDE_INT int
#endif
#endif
struct
operation
{
short
op
;
char
rprio
;
/* Priority of op (relative to it right operand). */
char
flags
;
char
unsignedp
;
/* true if value should be treated as unsigned */
long
value
;
/* The value logically "right" of op. */
HOST_WIDE_INT
value
;
/* The value logically "right" of op. */
};
/* Take care of parsing a number (anything that starts with a digit).
...
...
@@ -641,7 +653,7 @@ right_shift (pfile, a, unsignedp, b)
/* Parse and evaluate a C expression, reading from PFILE.
Returns the value of the expression. */
long
HOST_WIDE_INT
cpp_parse_expr
(
pfile
)
cpp_reader
*
pfile
;
{
...
...
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