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
a09a009c
Commit
a09a009c
authored
Oct 01, 1998
by
Nick Clifton
Committed by
Nick Clifton
Oct 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
From-SVN: r22711
parent
e2af664c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
15 deletions
+24
-15
gcc/cp/ChangeLog
+3
-0
gcc/cp/lex.c
+13
-12
gcc/f/ChangeLog
+5
-0
gcc/f/lex.c
+3
-3
No files found.
gcc/cp/ChangeLog
View file @
a09a009c
...
...
@@ -5,6 +5,9 @@ Thu Oct 1 10:43:45 1998 Nick Clifton <nickc@cygnus.com>
(start_function): Add invocation of
SET_DEFAULT_DECL_ATTRIBUTES, if defined.
* lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
HANDLE_GENERIC_PRAGMAS.
1998-09-28 Anthony Green <green@cygnus.com>
* semantics.c (finish_asm_stmt): Always permit volatile asms.
...
...
gcc/cp/lex.c
View file @
a09a009c
...
...
@@ -75,8 +75,8 @@ static void store_pending_inline PROTO((tree, struct pending_inline *));
static
void
reinit_parse_for_expr
PROTO
((
struct
obstack
*
));
static
int
*
init_cpp_parse
PROTO
((
void
));
static
int
handle_cp_pragma
PROTO
((
char
*
));
#ifdef HANDLE_
SYSV_PRAGMA
static
int
handle_
sysv
_pragma
PROTO
((
int
));
#ifdef HANDLE_
GENERIC_PRAGMAS
static
int
handle_
generic
_pragma
PROTO
((
int
));
#endif
#ifdef GATHER_STATISTICS
#ifdef REDUCE_LENGTH
...
...
@@ -2308,7 +2308,7 @@ check_newline ()
goto
skipline
;
#ifdef HANDLE_PRAGMA
/* We invoke HANDLE_PRAGMA before HANDLE_
SYSV_PRAGMA
/* We invoke HANDLE_PRAGMA before HANDLE_
GENERIC_PRAGMAS
(if both are defined), in order to give the back
end a chance to override the interpretation of
SYSV style pragmas. */
...
...
@@ -2317,10 +2317,10 @@ check_newline ()
goto
skipline
;
#endif
/* HANDLE_PRAGMA */
#ifdef HANDLE_
SYSV_PRAGMA
if
(
handle_
sysv
_pragma
(
token
))
#ifdef HANDLE_
GENERIC_PRAGMAS
if
(
handle_
generic
_pragma
(
token
))
goto
skipline
;
#endif
/*
!HANDLE_SYSV_PRAGMA
*/
#endif
/*
HANDLE_GENERIC_PRAGMAS
*/
/* Issue a warning message if we have been asked to do so.
Ignoring unknown pragmas in system header file unless
...
...
@@ -4934,17 +4934,17 @@ handle_cp_pragma (pname)
return
0
;
}
#ifdef HANDLE_
SYSV_PRAGMA
#ifdef HANDLE_
GENERIC_PRAGMAS
/* Handle a #pragma directive.
INPUT is the current input stream,
and C is a character to reread. Processes the entire input line
and returns a character for the caller to reread: either \n or EOF
. */
/* Handle a #pragma directive.
TOKEN is the type of the word following
the #pragma directive on the line. Process the entire input line and
return non-zero iff the directive successfully parsed
. */
/* This function has to be in this file, in order to get at
the token types. */
static
int
handle_
sysv
_pragma
(
token
)
handle_
generic
_pragma
(
token
)
register
int
token
;
{
for
(;;)
...
...
@@ -4977,7 +4977,8 @@ handle_sysv_pragma (token)
default
:
return
handle_pragma_token
(
NULL_PTR
,
NULL_TREE
);
}
token
=
real_yylex
();
}
}
#endif
/* HANDLE_
SYSV_PRAGMA
*/
#endif
/* HANDLE_
GENERIC_PRAGMAS
*/
gcc/f/ChangeLog
View file @
a09a009c
Thu Oct 1 10:43:45 1998 Nick Clifton <nickc@cygnus.com>
* lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
HANDLE_GENERIC_PRAGMAS.
Mon Sep 28 04:22:00 1998 Jeffrey A Law (law@cygnus.com)
* news.texi: Update from Craig.
...
...
gcc/f/lex.c
View file @
a09a009c
...
...
@@ -1145,10 +1145,10 @@ ffelex_hash_ (FILE *finput)
if (HANDLE_PRAGMA (pragma_getc, pragma_ungetc, buffer))
goto skipline;
#endif /* HANDLE_PRAGMA */
#ifdef HANDLE_
SYSV_PRAGMA
if (handle_
sysv
_pragma (buffer))
#ifdef HANDLE_
GENERIC_PRAGMAS
if (handle_
generic
_pragma (buffer))
goto skipline;
#endif /* !HANDLE_
SYSV_PRAGMA
*/
#endif /* !HANDLE_
GENERIC_PRAGMAS
*/
/* Issue a warning message if we have been asked to do so.
Ignoring unknown pragmas in system header file unless
...
...
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