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
cc56c744
Commit
cc56c744
authored
Mar 31, 2001
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
Mar 31, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* libiberty.h (alloca): Handle setting C_ALLOCA.
From-SVN: r40978
parent
7656d28a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
include/ChangeLog
+4
-0
include/libiberty.h
+6
-1
No files found.
include/ChangeLog
View file @
cc56c744
2001-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libiberty.h (alloca): Handle setting C_ALLOCA.
2001-03-20 Jim Blandy <jimb@redhat.com>
2001-03-20 Jim Blandy <jimb@redhat.com>
* demangle.h (enum gnu_v3_constructor_kinds,
* demangle.h (enum gnu_v3_constructor_kinds,
...
...
include/libiberty.h
View file @
cc56c744
...
@@ -238,15 +238,20 @@ extern int vasprintf PARAMS ((char **, const char *, va_list))
...
@@ -238,15 +238,20 @@ extern int vasprintf PARAMS ((char **, const char *, va_list))
/* Drastically simplified alloca configurator. If we're using GCC,
/* Drastically simplified alloca configurator. If we're using GCC,
we use __builtin_alloca; otherwise we use the C alloca. The C
we use __builtin_alloca; otherwise we use the C alloca. The C
alloca is always available. You can override GCC by defining
alloca is always available. You can override GCC by defining
USE_C_ALLOCA yourself. */
USE_C_ALLOCA yourself. The canonical autoconf macro C_ALLOCA is
also set/unset as it is often used to indicate whether code needs
to call alloca(0). */
extern
PTR
C_alloca
PARAMS
((
size_t
));
extern
PTR
C_alloca
PARAMS
((
size_t
));
#undef alloca
#undef alloca
#if GCC_VERSION >= 2000 && !defined USE_C_ALLOCA
#if GCC_VERSION >= 2000 && !defined USE_C_ALLOCA
# define alloca(x) __builtin_alloca(x)
# define alloca(x) __builtin_alloca(x)
# undef C_ALLOCA
#else
#else
# define alloca(x) C_alloca(x)
# define alloca(x) C_alloca(x)
# undef USE_C_ALLOCA
# undef USE_C_ALLOCA
# define USE_C_ALLOCA 1
# define USE_C_ALLOCA 1
# undef C_ALLOCA
# define C_ALLOCA 1
#endif
#endif
#ifdef __cplusplus
#ifdef __cplusplus
...
...
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