summaryrefslogtreecommitdiffstats
path: root/gcc/fixinc/fixincl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc/fixincl.c')
-rw-r--r--gcc/fixinc/fixincl.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/fixinc/fixincl.c b/gcc/fixinc/fixincl.c
index 206b04f405c..195dbfe4de6 100644
--- a/gcc/fixinc/fixincl.c
+++ b/gcc/fixinc/fixincl.c
@@ -771,14 +771,8 @@ extract_quoted_files (pz_data, pz_fixed_file, p_re_match)
pz_incl_quot += p_re_match->rm_so;
/* Skip forward to the included file name */
- while (ISSPACE (*pz_incl_quot))
+ while (*pz_incl_quot != '"')
pz_incl_quot++;
- /* ISSPACE() may evaluate its argument more than once! */
- while (++pz_incl_quot, ISSPACE (*pz_incl_quot))
- ;
- pz_incl_quot += sizeof ("include") - 1;
- while (*pz_incl_quot++ != '"')
- ;
if (quoted_file_exists (pz_src_dir, pz_fixed_file, pz_incl_quot))
{
OpenPOWER on IntegriCloud