Re: PATCH: PR bootstrap/61914: [4.10 Regression] wide-int change breaks bootstrap

2014-07-28 Thread Mike Stump
On Jul 28, 2014, at 5:14 PM, H.J. Lu wrote: > wide-int change introduced C++ templates in header file, like > > generic_wide_int::precision>> > > create_user_defined_type in gengtype.c calls Hum… In the original wide-int, the templates where less beefy; the code worked because the types were

PATCH: PR bootstrap/61914: [4.10 Regression] wide-int change breaks bootstrap

2014-07-28 Thread H.J. Lu
wide-int change introduced C++ templates in header file, like generic_wide_int::precision>> create_user_defined_type in gengtype.c calls 1. strtok (arg, ",>"). 2. resolve_typedef (field_name, pos), which calls create_user_defined_type, which calls strtok (arg, ",>") again. 3. strtok (0, ",>"), w