Oleg Endo <[email protected]> wrote: > This implements the changes as proposed PR, albeit with some small > differences:
> --- gcc/config/sh/sh.c (revision 191865)
> +++ gcc/config/sh/sh.c (working copy)
[snip]
> + std::vector<std::string> tokens;
> + for (std::stringstream ss (str); ss.good (); )
> + {
> + tokens.push_back (std::string ());
> + std::getline (ss, tokens.back (), ',');
> + }
Can we use C++ in .c files already? I couldn't find other examples
in the current gcc.
Regards,
kaz
