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
2ee2d707
Commit
2ee2d707
authored
Sep 19, 2002
by
Geoffrey Keating
Committed by
Geoffrey Keating
Sep 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/20020312-2.c: Update for darwin.
From-SVN: r57320
parent
307f767b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/20020312-2.c
+5
-4
No files found.
gcc/testsuite/ChangeLog
View file @
2ee2d707
2002-09-19 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/20020312-2.c: Update for darwin.
2002-09-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/crash32.C: Mark ICE.
...
...
gcc/testsuite/gcc.dg/20020312-2.c
View file @
2ee2d707
...
...
@@ -72,8 +72,8 @@
/* No pic register. */
#elif defined(__pj__)
/* No pic register. */
#elif defined(__powerpc__) || defined(__PPC__)
# ifdef __
darwin
__
#elif defined(__powerpc__) || defined(__PPC__)
|| defined(__POWERPC__)
# ifdef __
MACH
__
# define PIC_REG "31"
# else
# define PIC_REG "30"
...
...
@@ -144,8 +144,9 @@ main()
/* Additionally test that the prologue/epilogue properly does *not*
save and restore global registers. Not possible when the PIC
register is in a register window, of course. */
#ifndef __sparc__
register is in a register window, of course. On Darwin, you can't
call library routines from non-PIC code. */
#if !defined (__sparc__) && !(defined(__MACH__) && defined(__POWERPC__))
if
(
reg
)
abort
();
#endif
...
...
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