[Bug libstdc++/79789] [6 Regression] non-reserved names in headers

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789

Jonathan Wakely  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|6.4 |5.5

--- Comment #7 from Jonathan Wakely  ---
All single-character variable names using non-reserved names should be fixed
for 5.5 and 6.4 and 7.0

There might still be other problems, we should add them to the
17_intro/names.cc test as they are found.

[Bug libstdc++/79789] [6 Regression] non-reserved names in headers

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789

--- Comment #6 from Jonathan Wakely  ---
Author: redi
Date: Thu Mar  2 18:59:06 2017
New Revision: 245847

URL: https://gcc.gnu.org/viewcvs?rev=245847=gcc=rev
Log:
PR libstdc++/79789 fix non-reserved names in headers

PR libstdc++/79789
* include/bits/ios_base.h (make_error_code, make_error_condition):
Likewise.
* include/bits/mask_array.h (mask_array): Likewise.
* include/bits/regex.h (regex_token_iterator): Likewise.
* include/bits/slice_array.h (slice_array): Likewise.
* include/std/memory (undeclare_no_pointers): Likewise.
* testsuite/17_intro/names.cc: New test.

Added:
branches/gcc-5-branch/libstdc++-v3/testsuite/17_intro/names.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/bits/ios_base.h
branches/gcc-5-branch/libstdc++-v3/include/bits/mask_array.h
branches/gcc-5-branch/libstdc++-v3/include/bits/regex.h
branches/gcc-5-branch/libstdc++-v3/include/bits/slice_array.h

[Bug libstdc++/79789] [6 Regression] non-reserved names in headers

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789

--- Comment #5 from Jonathan Wakely  ---
Author: redi
Date: Thu Mar  2 18:58:07 2017
New Revision: 245846

URL: https://gcc.gnu.org/viewcvs?rev=245846=gcc=rev
Log:
PR libstdc++/79789 fix non-reserved names in headers

PR libstdc++/79789
* include/bits/ios_base.h (make_error_code, make_error_condition):
Likewise.
* include/bits/mask_array.h (mask_array): Likewise.
* include/bits/regex.h (regex_token_iterator): Likewise.
* include/bits/slice_array.h (slice_array): Likewise.
* include/std/memory (undeclare_no_pointers): Likewise.
* testsuite/17_intro/names.cc: New test.

Added:
branches/gcc-6-branch/libstdc++-v3/testsuite/17_intro/names.cc
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/include/bits/ios_base.h
branches/gcc-6-branch/libstdc++-v3/include/bits/mask_array.h
branches/gcc-6-branch/libstdc++-v3/include/bits/regex.h
branches/gcc-6-branch/libstdc++-v3/include/bits/slice_array.h
branches/gcc-6-branch/libstdc++-v3/include/std/memory

[Bug libstdc++/79789] [6 Regression] non-reserved names in headers

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2
   Target Milestone|7.0 |6.4

[Bug libstdc++/79789] [6 Regression] non-reserved names in headers

2017-03-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789

Jonathan Wakely  changed:

   What|Removed |Added

Summary|[6/7 Regression]|[6 Regression] non-reserved
   |non-reserved names in   |names in headers
   |headers |

--- Comment #4 from Jonathan Wakely  ---
Fixed on trunk, there are cases to fix on the branches still.