https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63429
Bug ID: 63429
Summary: [Regression 5] Cannot build compiler with
--enable-gather-detailed-mem-stats
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: pch
Assignee: unassigned at gcc dot gnu.org
Reporter: mliska at suse dot cz
Error:
g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../gcc -I../../gcc/build
-I../../gcc/../include -I../../gcc/../libcpp/include \
-o build/gencondmd.o build/gencondmd.c
In file included from ../../gcc/hash-table.h:199:0,
from ../../gcc/hash-set.h:24,
from ../../gcc/function.h:24,
from build/gencondmd.c:25:
../../gcc/ggc.h:165:59: error: default argument given for parameter 3 of ‘void*
ggc_realloc(void*, size_t, const char*, int, const char*)’ [-fpermissive]
extern void *ggc_realloc (void *, size_t CXX_MEM_STAT_INFO);
^
In file included from ../../gcc/rtl.h:28:0,
from build/gencondmd.c:23:
../../gcc/vec.h:54:16: note: previous specification in ‘void*
ggc_realloc(void*, size_t, const char*, int, const char*)’ here
extern void *ggc_realloc (void *, size_t CXX_MEM_STAT_INFO);
^
In file included from ../../gcc/hash-table.h:199:0,
from ../../gcc/hash-set.h:24,
from ../../gcc/function.h:24,
from build/gencondmd.c:25:
../../gcc/ggc.h:165:59: error: default argument given for parameter 4 of ‘void*
ggc_realloc(void*, size_t, const char*, int, const char*)’ [-fpermissive]
extern void *ggc_realloc (void *, size_t CXX_MEM_STAT_INFO);
^
In file included from ../../gcc/rtl.h:28:0,
from build/gencondmd.c:23:
../../gcc/vec.h:54:16: note: previous specification in ‘void*
ggc_realloc(void*, size_t, const char*, int, const char*)’ here
extern void *ggc_realloc (void *, size_t CXX_MEM_STAT_INFO);
^
In file included from ../../gcc/hash-table.h:199:0,
from ../../gcc/hash-set.h:24,
from ../../gcc/function.h:24,
from build/gencondmd.c:25:
../../gcc/ggc.h:165:59: error: default argument given for parameter 5 of ‘void*
ggc_realloc(void*, size_t, const char*, int, const char*)’ [-fpermissive]
extern void *ggc_realloc (void *, size_t CXX_MEM_STAT_INFO);
^
In file included from ../../gcc/rtl.h:28:0,
from build/gencondmd.c:23:
../../gcc/vec.h:54:16: note: previous specification in ‘void*
ggc_realloc(void*, size_t, const char*, int, const char*)’ here
extern void *ggc_realloc (void *, size_t CXX_MEM_STAT_INFO);
Started with r214834.
Thanks,
Martin