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
77fc9313
Commit
77fc9313
authored
Dec 06, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(hppa_legitimize_address): If we can't legitimize, do nothing; don't
call abort. From-SVN: r6191
parent
cb778d40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
gcc/config/pa/pa.c
+9
-10
No files found.
gcc/config/pa/pa.c
View file @
77fc9313
/* Subroutines for insn-output.c for HPPA.
/* Subroutines for insn-output.c for HPPA.
Copyright (C) 1992 Free Software Foundation, Inc.
Copyright (C) 1992
, 1993
Free Software Foundation, Inc.
Contributed by Tim Moore (moore@cs.utah.edu), based on sparc.c
Contributed by Tim Moore (moore@cs.utah.edu), based on sparc.c
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -705,15 +705,14 @@ hppa_legitimize_address (x, oldx, mode)
...
@@ -705,15 +705,14 @@ hppa_legitimize_address (x, oldx, mode)
if
(
GET_CODE
(
y
)
==
CONST
)
if
(
GET_CODE
(
y
)
==
CONST
)
y
=
XEXP
(
y
,
0
);
y
=
XEXP
(
y
,
0
);
/* 'y' had better be a PLUS or MINUS expression at this point. */
if
(
GET_CODE
(
y
)
==
PLUS
||
GET_CODE
(
y
)
==
MINUS
)
if
(
GET_CODE
(
y
)
!=
PLUS
&&
GET_CODE
(
y
)
!=
MINUS
)
{
abort
();
regx1
=
force_reg
(
Pmode
,
force_operand
(
XEXP
(
x
,
0
),
0
));
regy1
=
force_reg
(
Pmode
,
force_operand
(
XEXP
(
y
,
0
),
0
));
regx1
=
force_reg
(
Pmode
,
force_operand
(
XEXP
(
x
,
0
),
0
));
regy2
=
force_reg
(
Pmode
,
force_operand
(
XEXP
(
y
,
1
),
0
));
regy1
=
force_reg
(
Pmode
,
force_operand
(
XEXP
(
y
,
0
),
0
));
regx1
=
force_reg
(
Pmode
,
gen_rtx
(
GET_CODE
(
y
),
Pmode
,
regx1
,
regy2
));
regy2
=
force_reg
(
Pmode
,
force_operand
(
XEXP
(
y
,
1
),
0
));
return
force_reg
(
Pmode
,
gen_rtx
(
PLUS
,
Pmode
,
regx1
,
regy1
));
regx1
=
force_reg
(
Pmode
,
gen_rtx
(
GET_CODE
(
y
),
Pmode
,
regx1
,
regy2
));
}
return
force_reg
(
Pmode
,
gen_rtx
(
PLUS
,
Pmode
,
regx1
,
regy1
));
}
}
if
(
flag_pic
)
if
(
flag_pic
)
...
...
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