> It's not about example, but the fact that host compilers have been > compiling that code as part of building gcc for years, without anyone > complaining, afaik. It doesn't matter whether the code pointed at > is the ugliest or most beautiful code on earth. What matters is whether > it uses long long unconditionally on all hosts or not. > IOW, what are the still supported hosts/compilers that don't > support "long long"? If there are any, it appears none has been used > in at least the past 5 years, IIU the code correctly.
OK, but GCC still officially requires only an ISO C90 compiler http://gcc.gnu.org/install/prerequisites.html so the usage of 'long long' in libdecnumber is a bug that could be fixed at some point. That's why using it as a precedent isn't the best thing to do. -- Eric Botcazou