Hi,

I have noticed there is a minor flaw with the include path when cloog is 
installed in-tree.

That is, the cloog-include directory is added twice, first with absolute path, 
and then
again with relative path, but with one "../" to little, so this is useless when 
compiling
sources in the gcc directory.

For example, if I call ../gcc-4.10-20140608/configure, the following is added 
to each
invocation of xg++:
-I/<absolute_path>/gcc-4.10-20140608/cloog/include 
-I../gcc-4.10-20140608/cloog/include
The attached patch removes the bogus relative include path for in-tree 
cloog/include.

Boot-strapped and regression-tested on x86_64-linux-gnu.
OK for trunk?


Thanks
Bernd.
                                          
2014-06-20  Bernd Edlinger  <bernd.edlin...@hotmail.de>

        Fix include path for in-tree cloog.
        * config/cloog.m4 (CLOOG_INIT_FLAGS): Remove bogus include path.
        * configure: Regenerate.

Attachment: patch-cloog.diff
Description: Binary data

Reply via email to