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
5c8ad7f4
Commit
5c8ad7f4
authored
Oct 11, 1992
by
James Van Artsdalen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(USE_C_ALLOCA): New macro. Define if not using GNU C's builtin alloca.
From-SVN: r2397
parent
5b970343
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
gcc/config/i386/xm-aix.h
+5
-1
gcc/config/i386/xm-sysv4.h
+8
-0
No files found.
gcc/config/i386/xm-aix.h
View file @
5c8ad7f4
...
...
@@ -49,6 +49,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define bzero(a,b) memset (a,0,b)
#define bcmp(a,b,c) memcmp (a,b,c)
/* If compiled with GNU C, use the built-in alloca. */
#undef alloca
#ifdef __GNUC__
#define alloca(n) __builtin_alloca(n)
#define alloca __builtin_alloca
#else
#define USE_C_ALLOCA
#endif
gcc/config/i386/xm-sysv4.h
View file @
5c8ad7f4
...
...
@@ -2,3 +2,11 @@
#include "xm-i386.h"
#include "xm-svr4.h"
/* If compiled with GNU C, use the built-in alloca. */
#undef alloca
#ifdef __GNUC__
#define alloca __builtin_alloca
#else
#define USE_C_ALLOCA
#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