]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH] Factor out `find_a_program` helper around `find_a_file`
authorJohn Ericson <git@JohnEricson.me>
Sun, 19 Sep 2021 15:08:32 +0000 (11:08 -0400)
committerJeff Law <jeffreyalaw@gmail.com>
Sun, 19 Sep 2021 15:08:32 +0000 (11:08 -0400)
commit5fee8a0a9223d030c66d53c104fb0a431369248f
treedc6903de9280bf2e051dbd7fd9c58d4922066cfc
parent16f9776669c0d7695ee93163a86d27a4805ab37d
[PATCH] Factor out `find_a_program` helper around `find_a_file`

gcc/
* gcc.c (find_a_program): New function, factored out of...
(find_a_file): Here.
(execute): Use find_a_program when looking for programs rather
than find_a_file.
gcc/gcc.c