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
d5d1738a
Commit
d5d1738a
authored
Sep 05, 1997
by
Jim Wilson
Committed by
Jim Wilson
Sep 04, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mips-sgi-irix5.2 eh25 g++ testsuite failure.
* mips.md (nonlocal_goto_receiver): Define. From-SVN: r15091
parent
f4da7881
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
gcc/ChangeLog
+2
-0
gcc/config/mips/mips.md
+18
-0
No files found.
gcc/ChangeLog
View file @
d5d1738a
Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
* mips.md (nonlocal_goto_receiver): Define.
* profile.c (output_arc_profiler): Check next_insert_after for non
NULL before deferencing it.
...
...
gcc/config/mips/mips.md
View file @
d5d1738a
...
...
@@ -6392,6 +6392,24 @@ move\\t%0,%z4\\n\\
(set_attr "mode" "none")
(set_attr "length" "6")])
;; ??? This is a hack to work around a problem with expand_builtin_setjmp.
;; It restores the frame pointer, and then does a call to restore the global
;; pointer (gp) register. The call insn implicitly (via the assembler) reloads
;; gp from the stack. However, call insns do not depend on $fp, so it is
;; possible for the instruction scheduler to move the fp restore after the
;; call, which then causes gp to be corrupted. We fix this by emitting a
;; scheduler barrier. A better fix is to put code here that restores the
;; $gp, and then the call is unnecessary. This is only a problem when PIC
;; (TARGET_ABICALLS), and only when the gp register is caller-saved
;; (irix5/o32, but not irix6/n32/n64).
(define_expand "nonlocal_goto_receiver"
[
(const_int 0)
]
""
"
{
emit_insn (gen_blockage ());
}")
;;
;; ....................
...
...
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