This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/80058] New: fix double spaces is string literals everywhere
- From: "roland.illig at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Mar 2017 20:26:59 +0000
- Subject: [Bug other/80058] New: fix double spaces is string literals everywhere
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80058
Bug ID: 80058
Summary: fix double spaces is string literals everywhere
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
Target Milestone: ---
Searching the whole GCC source code for the following regular expression finds
a few places in the code:
[ ]"\n[ \t]+"[ ]
This expression finds concatenated string literals where the first ends with a
space and the second starts with a space, like these:
gfc_warning_now (w, "Change of value in conversion from "
" %qs to %qs at %L",
gfc_typename (&src->ts), gfc_typename (&result->ts),
&src->where);
The above code and all similar places should be fixed so that they only have a
single space character.