This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] convert many pointer_map to hash_map


On Sat, 2014-08-02 at 07:34 -0400, Trevor Saunders wrote:
> On Fri, Aug 01, 2014 at 12:52:08PM +0200, Richard Biener wrote:
> > On Fri, Aug 1, 2014 at 12:34 PM,  <tsaunders@mozilla.com> wrote:
> > > From: Trevor Saunders <tsaunders@mozilla.com>
> > >
> > > Hi,
> > >
> > > This patch replaces a bunch of usage of pointer_map with hash_map.  It also
> > > adds an overload to hash_map::traverse that allows modifying the value, and a
> > > remove method.
> > >
> > > bootstrapped + regtested on x86_64-unknown-linux-gnu, ok?
> > 
> > Ok.
> 
> committed as r213517 thanks for the review.
> 
> Trev
> 

Either r213517 or r213516 is causing the following on my sh-elf setup
(i686 host) when doing 'make all':

libtool: compile:  /home/user/code/gcc/gcc-trunk-build-sh-elf/./gcc/xgcc
-shared-libgcc -B/home/user/code/gcc/gcc-trunk-build-sh-elf/./gcc
-nostdinc++ -L/home/user/code/gcc/gcc-trunk-build-sh-elf/sh-elf/libstdc
++-v3/src -L/home/user/code/gcc/gcc-trunk-build-sh-elf/sh-elf/libstdc
++-v3/src/.libs
-L/home/user/code/gcc/gcc-trunk-build-sh-elf/sh-elf/libstdc++-v3/libsupc
++/.libs -B/usr/local/sh-elf/bin/ -B/usr/local/sh-elf/lib/
-isystem /usr/local/sh-elf/include
-isystem /usr/local/sh-elf/sys-include
-I/home/user/code/gcc/gcc-trunk/libstdc++-v3/../libgcc
-I/home/user/code/gcc/gcc-trunk-build-sh-elf/sh-elf/libstdc
++-v3/include/sh-elf
-I/home/user/code/gcc/gcc-trunk-build-sh-elf/sh-elf/libstdc++-v3/include
-I/home/user/code/gcc/gcc-trunk/libstdc++-v3/libsupc++ -std=gnu++11
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=fstream-inst.lo -g -O2 -c ../../../../../gcc-trunk/libstdc
++-v3/src/c++11/fstream-inst.cc -o fstream-inst.o

cc1plus: out of memory allocating 2129023400 bytes after a total of
1589248 bytes
make[5]: *** [fstream-inst.lo] Error 1
make[5]: Leaving directory
`/home/user/code/gcc/gcc-trunk-build-sh-elf/sh-elf/libstdc++-v3/src/c
++11'

Cheers,
Oleg


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]