infrastructure to detect whether code originates from macro expansion

2013-11-26 Thread Robert Schiele
Hi, in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48778 Manuel López-Ibáñez mentioned that starting with gcc 4.7 there is supposed to be infrastructure to figure out for diagnostics whether the location of an error was created by macro expansion and that this can be used to disable a warning in t

gcc/configure handling $host == $target but different $build

2013-10-24 Thread Robert Schiele
Hi, I saw incorrect gcc/configure results when building a native compiler with a cross compiler. I think I understand what is going wrong there but looking for your opinion on my thoughts: Let's get through the thing with an example. Assume: $build == i686-pc-linux-gnu $host == $target == arm-li