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
053da6b5
Commit
053da6b5
authored
Apr 09, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(convert_arguments): Truncate and reextend for PROMOTE_PROTOTYPES so
we can give error on overflow. From-SVN: r7004
parent
d5757bb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
gcc/c-typeck.c
+0
-10
No files found.
gcc/c-typeck.c
View file @
053da6b5
...
@@ -1567,16 +1567,6 @@ convert_arguments (typelist, values, name, fundecl)
...
@@ -1567,16 +1567,6 @@ convert_arguments (typelist, values, name, fundecl)
}
}
else
else
{
{
#ifdef PROMOTE_PROTOTYPES
/* Rather than truncating and then reextending,
convert directly to int, if that's the type we will want. */
if
(
!
flag_traditional
&&
(
TREE_CODE
(
type
)
==
INTEGER_TYPE
||
TREE_CODE
(
type
)
==
ENUMERAL_TYPE
)
&&
(
TYPE_PRECISION
(
type
)
<
TYPE_PRECISION
(
integer_type_node
)))
type
=
integer_type_node
;
#endif
#if 0 /* This turns out not to win--there's no way to write a prototype
#if 0 /* This turns out not to win--there's no way to write a prototype
for a function whose arg type is a union with no tag. */
for a function whose arg type is a union with no tag. */
/* Nameless union automatically casts the types it contains. */
/* Nameless union automatically casts the types it contains. */
...
...
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