tgmath.h without complex.h

Joseph S. Myers
Wed Sep 26 06:19:00 GMT 2007

On Tue, 25 Sep 2007, Richard Sandiford wrote:

> The problem is that SYSTEM_HEADER_DIR can be overridden by the target
> makefile fragments, so we don't necessarily know the right value at
> configure time.  I also think it would be a bad idea to test for
> limits.h in the Makefile and complex.h in configure.

SYSTEM_HEADER_DIR can also depend on the multilib, so the logic testing 
for tgmath.h would best go in the loop over multilibs that runs 
LIMITS_H_TEST.  This would mean tgmath.h goes in include-fixed rather than 
include (which agrees with where I said it should go when include-fixed 
was first proposed <>).

Joseph S. Myers

More information about the Gcc-patches mailing list