http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46451

--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-11-12 
15:55:57 UTC ---
Fixing this seems problematic. While config/cloog.m4 currently has the location
of the ppl headers passed to CFLAGS for these tests...

  dnl clooglibs & clooginc may have been initialized by CLOOG_INIT_FLAGS.
  CFLAGS="${CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
  CPPFLAGS="${CPPFLAGS} ${_clooglegacyinc} ${_cloogorginc}"
  LDFLAGS="${LDFLAGS} ${clooglibs}"

...the LDFLAGS entry omits ${pplibs}. Adding ${pplibs} to LDFLAGS would fix the
legacy cloog test but would result in an undesired linkage on ppl for the
cloog-isl test. This section should be reworked to only pass ${pplinc} to
CFLAGS and ${pplibs} to LDFLAGS for only the legacy cloog and cloog-ppl tests.

Reply via email to