[PATCH, preprocessor] Fix 56896

Ryan Mansfield rmansfield@qnx.com
Tue Dec 10 18:47:00 GMT 2013


Fixes missing DIR_SEPARATOR if --with-gxx-include-dir configured as 
subdir of sysroot.

2013-12-10  Ryan Mansfield  <rmansfield@qnx.com>

         PR preprocessor/56896
         * incpath.c (add_standard_paths): Strip trailing sysroot 
DIR_SEPARATOR
         only if appended path begins with DIR_SEPARATOR.

Regards,

Ryan Mansfield
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr56896.diff
Type: text/x-diff
Size: 655 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131210/1f41a81a/attachment.bin>


More information about the Gcc-patches mailing list