mirror of git://gcc.gnu.org/git/gcc.git
stack-limit.c: Includes ansidecl.h.
2012-04-02 Tristan Gingold <gingold@adacore.com>
* stack-limit.c: Includes ansidecl.h.
(stack_limit_increase): Add ATTRIBUTE_UNUSED
From-SVN: r186064
This commit is contained in:
parent
f38a14ca90
commit
63e1e57a9a
|
|
@ -1,3 +1,8 @@
|
||||||
|
2012-04-02 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
|
* stack-limit.c: Includes ansidecl.h.
|
||||||
|
(stack_limit_increase): Add ATTRIBUTE_UNUSED
|
||||||
|
|
||||||
2012-03-20 Jason Merrill <jason@redhat.com>
|
2012-03-20 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
* cp-demangle.c (cplus_demangle_type): Handle 'auto'.
|
* cp-demangle.c (cplus_demangle_type): Handle 'auto'.
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ Attempt to increase stack size limit to @var{pref} bytes if possible.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "ansidecl.h"
|
||||||
|
|
||||||
#ifdef HAVE_STDINT_H
|
#ifdef HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
@ -43,7 +44,7 @@ Attempt to increase stack size limit to @var{pref} bytes if possible.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
stack_limit_increase (unsigned long pref)
|
stack_limit_increase (unsigned long pref ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_SETRLIMIT) && defined(HAVE_GETRLIMIT) \
|
#if defined(HAVE_SETRLIMIT) && defined(HAVE_GETRLIMIT) \
|
||||||
&& defined(RLIMIT_STACK) && defined(RLIM_INFINITY)
|
&& defined(RLIMIT_STACK) && defined(RLIM_INFINITY)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue