This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/48306] [4.4/4.5 Regression] presence of gcc subdir with . in PATH causes breakdown
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Feb 2012 21:33:15 +0000
- Subject: [Bug driver/48306] [4.4/4.5 Regression] presence of gcc subdir with . in PATH causes breakdown
- Auto-submitted: auto-generated
- References: <bug-48306-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48306
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 21:33:15 UTC ---
Author: jakub
Date: Thu Feb 9 21:33:11 2012
New Revision: 184069
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184069
Log:
Backported from mainline
2012-01-26 Jakub Jelinek <jakub@redhat.com>
* make-relative-prefix.c (make_relative_prefix_1): Avoid warning
about using preprocessor directives inside of macro arguments.
2012-01-02 Jakub Jelinek <jakub@redhat.com>
* 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.
Modified:
branches/gcc-4_5-branch/libiberty/ChangeLog
branches/gcc-4_5-branch/libiberty/make-relative-prefix.c