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
3345ee7d
Commit
3345ee7d
authored
Mar 04, 1997
by
Stan Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure FUNDECL is non-nil before we try to use it.
From-SVN: r13689
parent
b0298aa6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
gcc/config/i386/i386.c
+1
-1
gcc/config/i386/isc.h
+1
-1
gcc/config/i386/next.h
+1
-1
gcc/config/i386/sco.h
+1
-1
gcc/config/i386/sco5.h
+1
-1
gcc/config/i386/scodbx.h
+1
-1
No files found.
gcc/config/i386/i386.c
View file @
3345ee7d
...
...
@@ -579,7 +579,7 @@ i386_return_pops_args (fundecl, funtype, size)
tree
funtype
;
int
size
;
{
int
rtd
=
TARGET_RTD
&&
TREE_CODE
(
fundecl
)
!=
IDENTIFIER_NODE
;
int
rtd
=
TARGET_RTD
&&
(
!
fundecl
||
TREE_CODE
(
fundecl
)
!=
IDENTIFIER_NODE
)
;
/* Cdecl functions override -mrtd, and never pop the stack */
if
(
!
lookup_attribute
(
"cdecl"
,
TYPE_ATTRIBUTES
(
funtype
)))
{
...
...
gcc/config/i386/isc.h
View file @
3345ee7d
...
...
@@ -37,7 +37,7 @@
#undef RETURN_POPS_ARGS
#define RETURN_POPS_ARGS(FUNDECL,FUNTYPE,SIZE) \
(
TREE_CODE (FUNDECL) == IDENTIFIER_NODE ? 0
\
(
(FUNDECL) && TREE_CODE (FUNDECL) == IDENTIFIER_NODE ? 0
\
: (TARGET_RTD \
&& (TYPE_ARG_TYPES (FUNTYPE) == 0 \
|| (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
...
...
gcc/config/i386/next.h
View file @
3345ee7d
...
...
@@ -216,7 +216,7 @@ Boston, MA 02111-1307, USA. */
#undef RETURN_POPS_ARGS
#define RETURN_POPS_ARGS(FUNDECL,FUNTYPE,SIZE) \
(
TREE_CODE (FUNDECL) == IDENTIFIER_NODE
\
(
(FUNDECL) && TREE_CODE (FUNDECL) == IDENTIFIER_NODE
\
? 0 \
: (TARGET_RTD \
&& (TYPE_ARG_TYPES (FUNTYPE) == 0 \
...
...
gcc/config/i386/sco.h
View file @
3345ee7d
...
...
@@ -104,7 +104,7 @@ Boston, MA 02111-1307, USA. */
#undef RETURN_POPS_ARGS
#define RETURN_POPS_ARGS(FUNDECL,FUNTYPE,SIZE) \
(
TREE_CODE (FUNDECL) == IDENTIFIER_NODE ? 0
\
(
(FUNDECL) && TREE_CODE (FUNDECL) == IDENTIFIER_NODE ? 0
\
: (TARGET_RTD \
&& (TYPE_ARG_TYPES (FUNTYPE) == 0 \
|| (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
...
...
gcc/config/i386/sco5.h
View file @
3345ee7d
...
...
@@ -668,7 +668,7 @@ dtors_section () \
#define RETURN_POPS_ARGS(FUNDECL,FUNTYPE,SIZE) \
((TARGET_ELF) ? \
(i386_return_pops_args (FUNDECL, FUNTYPE, SIZE)) : \
(
TREE_CODE (FUNDECL) == IDENTIFIER_NODE ? 0
\
(
((FUNDECL) && (TREE_CODE (FUNDECL) == IDENTIFIER_NODE)) ? 0
\
: (TARGET_RTD \
&& (TYPE_ARG_TYPES (FUNTYPE) == 0 \
|| (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
...
...
gcc/config/i386/scodbx.h
View file @
3345ee7d
...
...
@@ -75,7 +75,7 @@ Boston, MA 02111-1307, USA. */
#undef RETURN_POPS_ARGS
#define RETURN_POPS_ARGS(FUNDECL,FUNTYPE,SIZE) \
(
TREE_CODE (FUNDECL) == IDENTIFIER_NODE ? 0
\
(
(FUNDECL) && TREE_CODE (FUNDECL) == IDENTIFIER_NODE ? 0
\
: (TARGET_RTD \
&& (TYPE_ARG_TYPES (FUNTYPE) == 0 \
|| (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
...
...
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