public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libstdc++: std/ranges - Remove a duplicate define directive
@ 2024-01-10 21:22 Michael Levine (BLOOMBERG/ 120 PARK)
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Levine (BLOOMBERG/ 120 PARK) @ 2024-01-10 21:22 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 2319 bytes --]

From a67cfd07ce27a62f764b381268502acb68b6bad9 Mon Sep 17 00:00:00 2001
From: Michael Levine <mlevine55@bloomberg.net>
Date: Wed, 10 Jan 2024 15:48:46 -0500
Subject: [PATCH 1/2] Removed a duplicate define directive for
 __glibcxx_want_ranges_iota

Signed-off-by: Michael Levine <mlevine55@bloomberg.net>
---
 libstdc++-v3/include/std/ranges | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges
index 81a857502e3..ae857f8c7fc 100644
--- a/libstdc++-v3/include/std/ranges
+++ b/libstdc++-v3/include/std/ranges
@@ -59,7 +59,6 @@
 #define __glibcxx_want_ranges_chunk_by
 #define __glibcxx_want_ranges_enumerate
 #define __glibcxx_want_ranges_iota
-#define __glibcxx_want_ranges_iota
 #define __glibcxx_want_ranges_join_with
 #define __glibcxx_want_ranges_repeat
 #define __glibcxx_want_ranges_slide
--
2.25.1


From 204b7ae1e403f86208e781ff2ca68df213d3104b Mon Sep 17 00:00:00 2001
From: Michael Levine <mlevine55@bloomberg.net>
Date: Wed, 10 Jan 2024 16:15:16 -0500
Subject: [PATCH 2/2] Updated the changelog with the change from the previous
 commit

Signed-off-by: Michael Levine <mlevine55@bloomberg.net>
---
 contrib/ChangeLog | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 04bde02b65b..11c9c1178bc 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2024-01-10  Michael Levine  <mlevine55@bloomberg.net>
+
+       * libstdc++-v3/include/std/ranges: Remove a duplicate define directive
+       for __glibcxx_want_ranges_iota.
+
 2024-01-09  Jonathan Wakely  <jwakely@redhat.com>

        * unicode/gen_libstdcxx_unicode_data.py: Print out Gcb_property
@@ -2324,8 +2329,8 @@

        * update-copyright.py (LibJavaFilter): Remove.

-2017-01-17  Gerald Pfeifer  <gerald@pfeifer.com>
-
+2017-01-17  Gerald Pfeifer  <gerald@pfeifer.com>
+
        * gcc_update: Remove entries related to GCJ and libgcj.
        Complete copyright years and adjust my e-mail address.

@@ -2362,7 +2367,7 @@

        PR other/61439
        * download_prerequisites: Conditionally verify checksums of
-       downloaded pacakges.  Add help text.
+       downloaded pacakges.  Add help text.
        * prerequisites.md5: New file.
        * prerequisites.sha512: New file.

--
2.25.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libstdc++: std/ranges - Remove a duplicate define directive
  2024-01-10 23:31 ` Jonathan Wakely
@ 2024-01-11 20:17   ` Jonathan Wakely
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Wakely @ 2024-01-11 20:17 UTC (permalink / raw)
  To: Michael Levine; +Cc: libstdc++, gcc Patches

On Wed, 10 Jan 2024 at 23:31, Jonathan Wakely <jwakely@redhat.com> wrote:
>
> On Wed, 10 Jan 2024 at 21:28, Michael Levine (BLOOMBERG/ 120 PARK)
> <mlevine55@bloomberg.net> wrote:
> >
> > From a67cfd07ce27a62f764b381268502acb68b6bad9 Mon Sep 17 00:00:00 2001
> > From: Michael Levine <mlevine55@bloomberg.net>
> > Date: Wed, 10 Jan 2024 15:48:46 -0500
> > Subject: [PATCH 1/2] Removed a duplicate define directive for
> > __glibcxx_want_ranges_iota
> >
> > Signed-off-by: Michael Levine <mlevine55@bloomberg.net>
> > ---
> > libstdc++-v3/include/std/ranges | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges
> > index 81a857502e3..ae857f8c7fc 100644
> > --- a/libstdc++-v3/include/std/ranges
> > +++ b/libstdc++-v3/include/std/ranges
> > @@ -59,7 +59,6 @@
> > #define __glibcxx_want_ranges_chunk_by
> > #define __glibcxx_want_ranges_enumerate
> > #define __glibcxx_want_ranges_iota
> > -#define __glibcxx_want_ranges_iota
> > #define __glibcxx_want_ranges_join_with
> > #define __glibcxx_want_ranges_repeat
> > #define __glibcxx_want_ranges_slide
>
> Thanks for the patch, this looks obviously correct.
>
> Please note that all patches need to go to the gcc-patches list (as
> well as the more specific list, like this one, so e.g. add both to the
> email's To: header, or CC one of them).
>
> Also please don't touch the ChangeLog file in patches. We have been
> auto-generating the ChangeLog files nightly for some years now, so you
> should not edit them manually (and including it in the patch just
> means the patch won't apply cleanly after the next time the file is
> regen'd).
>
> But I can take care of that and apply the patch, there's no need for a
> corrected patch. Thanks again for the contribution.

Pushed to trunk now, thanks again.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libstdc++: std/ranges - Remove a duplicate define directive
       [not found] <659F0AD8000248DD0C340001@message.bloomberg.net>
@ 2024-01-10 23:31 ` Jonathan Wakely
  2024-01-11 20:17   ` Jonathan Wakely
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Wakely @ 2024-01-10 23:31 UTC (permalink / raw)
  To: Michael Levine; +Cc: libstdc++, gcc Patches

On Wed, 10 Jan 2024 at 21:28, Michael Levine (BLOOMBERG/ 120 PARK)
<mlevine55@bloomberg.net> wrote:
>
> From a67cfd07ce27a62f764b381268502acb68b6bad9 Mon Sep 17 00:00:00 2001
> From: Michael Levine <mlevine55@bloomberg.net>
> Date: Wed, 10 Jan 2024 15:48:46 -0500
> Subject: [PATCH 1/2] Removed a duplicate define directive for
> __glibcxx_want_ranges_iota
>
> Signed-off-by: Michael Levine <mlevine55@bloomberg.net>
> ---
> libstdc++-v3/include/std/ranges | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges
> index 81a857502e3..ae857f8c7fc 100644
> --- a/libstdc++-v3/include/std/ranges
> +++ b/libstdc++-v3/include/std/ranges
> @@ -59,7 +59,6 @@
> #define __glibcxx_want_ranges_chunk_by
> #define __glibcxx_want_ranges_enumerate
> #define __glibcxx_want_ranges_iota
> -#define __glibcxx_want_ranges_iota
> #define __glibcxx_want_ranges_join_with
> #define __glibcxx_want_ranges_repeat
> #define __glibcxx_want_ranges_slide

Thanks for the patch, this looks obviously correct.

Please note that all patches need to go to the gcc-patches list (as
well as the more specific list, like this one, so e.g. add both to the
email's To: header, or CC one of them).

Also please don't touch the ChangeLog file in patches. We have been
auto-generating the ChangeLog files nightly for some years now, so you
should not edit them manually (and including it in the patch just
means the patch won't apply cleanly after the next time the file is
regen'd).

But I can take care of that and apply the patch, there's no need for a
corrected patch. Thanks again for the contribution.


> --
> 2.25.1
>
>
> From 204b7ae1e403f86208e781ff2ca68df213d3104b Mon Sep 17 00:00:00 2001
> From: Michael Levine <mlevine55@bloomberg.net>
> Date: Wed, 10 Jan 2024 16:15:16 -0500
> Subject: [PATCH 2/2] Updated the changelog with the change from the previous
> commit
>
> Signed-off-by: Michael Levine <mlevine55@bloomberg.net>
> ---
> contrib/ChangeLog | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/contrib/ChangeLog b/contrib/ChangeLog
> index 04bde02b65b..11c9c1178bc 100644
> --- a/contrib/ChangeLog
> +++ b/contrib/ChangeLog
> @@ -1,3 +1,8 @@
> +2024-01-10 Michael Levine <mlevine55@bloomberg.net>
> +
> + * libstdc++-v3/include/std/ranges: Remove a duplicate define directive
> + for __glibcxx_want_ranges_iota.
> +
> 2024-01-09 Jonathan Wakely <jwakely@redhat.com>
>
> * unicode/gen_libstdcxx_unicode_data.py: Print out Gcb_property
> @@ -2324,8 +2329,8 @@
>
> * update-copyright.py (LibJavaFilter): Remove.
>
> -2017-01-17 Gerald Pfeifer <gerald@pfeifer.com>
> -
> +2017-01-17 Gerald Pfeifer <gerald@pfeifer.com>
> +
> * gcc_update: Remove entries related to GCJ and libgcj.
> Complete copyright years and adjust my e-mail address.
>
> @@ -2362,7 +2367,7 @@
>
> PR other/61439
> * download_prerequisites: Conditionally verify checksums of
> - downloaded pacakges. Add help text.
> + downloaded pacakges. Add help text.
> * prerequisites.md5: New file.
> * prerequisites.sha512: New file.
>
> --
> 2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-11 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-10 21:22 [PATCH] libstdc++: std/ranges - Remove a duplicate define directive Michael Levine (BLOOMBERG/ 120 PARK)
     [not found] <659F0AD8000248DD0C340001@message.bloomberg.net>
2024-01-10 23:31 ` Jonathan Wakely
2024-01-11 20:17   ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).