aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2012-01-02 23:18:21 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2012-01-02 23:18:21 +0100
commit341d3f6e9c26e2c5de4f4c57990a8121ec4abb59 (patch)
tree3393d6f40075e1d70bb7606e7e3efb6a810477c5 /gcc/fold-const.c
parenta4f436ffbb6a31d9aa56e4bebb7ccd9f7cf3bfe5 (diff)
downloadgcc-341d3f6e9c26e2c5de4f4c57990a8121ec4abb59.zip
gcc-341d3f6e9c26e2c5de4f4c57990a8121ec4abb59.tar.gz
gcc-341d3f6e9c26e2c5de4f4c57990a8121ec4abb59.tar.bz2
re PR driver/48306 (presence of gcc subdir with . in PATH causes breakdown)
* make-relative-prefix.c (make_relative_prefix_1): Avoid stack overflow if PATH contains just a single entry and HOST_EXECUTABLE_SUFFIX needs to be used. PR driver/48306 * make-relative-prefix.c: Include sys/stat.h. (make_relative_prefix_1): If access succeeds, check also stat if nstore is a regular file. From-SVN: r182820
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions