[pushed] c++: Fix bootstrap on 32-bit hosts [PR91828]

2020-12-03 Thread Jason Merrill via Gcc-patches
Using the releasing_vec op[] with an int index was breaking on 32-bit hosts because of ambiguity with the built-in operator and the conversion function. Since the built-in operator has a ptrdiff_t, this was fine on 64-bit targets where ptrdiff_t is larger than int, but broke on 32-bit targets wher

c++: Fix bootstrap

2020-12-02 Thread Nathan Sidwell
I'm not sure why this didn't pop up on the earlier bootstrap. Anyway, fixed thusly. I made the prefix for dumping a binding-vector slightly too small. Fixed thusly. gcc/cp/ * ptree.c (cxx_print_xnode): Increase binding-vector prefix size. -- Nathan Sidwell diff --git i/gcc/cp/