https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61679
--- Comment #3 from Trevor Saunders <tsaunders at mozilla dot com> --- > (In reply to Trevor Saunders from comment #1) > > The following patch compiles with 4.9 for me, but I don't have easy > > access to a machine with 4.5 on it, would you mind testing if it works > > for you? > > Applied the patch to r212302 (2014-07-04), however, still seeing compilation > failure: Well, you didn't mention those errors in the original description, so I didn't try and fix them. Is the below list complete? I'd expect to see errors for the partial specialization for true as well. > /a/gcc-4.5.1/bld/rls/bin/g++ -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND > -DIN_GCC_FRONTEND -O0 -g3 -DIN_GCC -fno-exceptions -fno-rtti > -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual > -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long > -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. > -I. -I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc > -I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/. > -I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../include > -I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../libcpp/include > -I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../libdecnumber > -I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../libdecnumber/bid > -I../libdecnumber -I/eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/../libbacktrace > > -o attribs.o -MT attribs.o -MMD -MP -MF ./.deps/attribs.TPo > /eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/attribs.c > In file included from /eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/attribs.c:35:0: > /eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/hash-table.h:845:1: error: prototype > for ‘typename Descriptor::value_type** hash_table<Descriptor, Allocator, > false>::find_slot_with_hash(hash_table<Descriptor, Allocator, > false>::compare_type*, hashval_t, insert_option)’ does not match any in class > ‘hash_table<Descriptor, Allocator, false>’ > /eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/hash-table.h:542:16: error: candidate > is: hash_table<Descriptor, Allocator, false>::value_type** > hash_table<Descriptor, Allocator, > false>::find_slot_with_hash(hash_table<Descriptor, Allocator, > false>::compare_type*, hashval_t, insert_option) You can probably fix this one in the same way as the previous ones. > /eng/upc/dev/gary/gupc-gcc-trunk/src/gcc/hash-table.h:927:1: error: prototype > for ‘void hash_table<Descriptor, Allocator, > false>::traverse_noresize(Argument)’ does not match any in class > ‘hash_table<Descriptor, Allocator, false>’ > [...] maybe the same sort of thing will work for this one too, but its hard to know when the messages are cut off. Trev