Commit b0cd199e by Matthias Klose Committed by Matthias Klose

gcc-ar.c (main): Don't check for execute bits for the plugin.

2012-05-09  Matthias Klose  <doko@ubuntu.com>

        * gcc-ar.c (main): Don't check for execute bits for the plugin.

From-SVN: r187338
parent c75e90f3
2012-05-09 Matthias Klose <doko@ubuntu.com>
* gcc-ar.c (main): Don't check for execute bits for the plugin.
2012-05-09 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
* tree-ssa-loop-ivopts.c (add_autoinc_candidates, get_address_cost):
......
......@@ -70,7 +70,7 @@ main(int ac, char **av)
dir_separator,
LTOPLUGINSONAME,
NULL);
if (access (plugin, X_OK))
if (access (plugin, R_OK))
{
fprintf (stderr, "%s: Cannot find plugin %s\n", av[0], plugin);
exit (1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment