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
a3a03040
Commit
a3a03040
authored
Mar 10, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(subreg_lowpart_p): Return 0 if SUBREG_REG is VOIDmode.
From-SVN: r13697
parent
6e86170d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
gcc/emit-rtl.c
+3
-1
No files found.
gcc/emit-rtl.c
View file @
a3a03040
/* Emit RTL for the GNU C-Compiler expander.
/* Emit RTL for the GNU C-Compiler expander.
Copyright (C) 1987, 88, 92
, 93, 94, 95, 1996
Free Software Foundation, Inc.
Copyright (C) 1987, 88, 92
-96, 1997
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -1041,6 +1041,8 @@ subreg_lowpart_p (x)
...
@@ -1041,6 +1041,8 @@ subreg_lowpart_p (x)
{
{
if
(
GET_CODE
(
x
)
!=
SUBREG
)
if
(
GET_CODE
(
x
)
!=
SUBREG
)
return
1
;
return
1
;
else
if
(
GET_MODE
(
SUBREG_REG
(
x
))
==
VOIDmode
)
return
0
;
if
(
WORDS_BIG_ENDIAN
if
(
WORDS_BIG_ENDIAN
&&
GET_MODE_SIZE
(
GET_MODE
(
SUBREG_REG
(
x
)))
>
UNITS_PER_WORD
)
&&
GET_MODE_SIZE
(
GET_MODE
(
SUBREG_REG
(
x
)))
>
UNITS_PER_WORD
)
...
...
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