ChangeLog:
* intl/*: Remove.
---
intl/ChangeLog | 306 --
intl/Makefile.in | 264 --
intl/README | 21 -
intl/VERSION |1 -
intl/aclocal.m4 | 33 -
intl/bindtextdom.c | 374 --
intl/config.h.in | 280 --
intl/config.intl.in | 12 -
-gettext}
@item --with-included-gettext
OK for trunk? (granted that a regstrap + hand-test for working
localization passes - build's ongoing asynchronously)
Thanks in advance, have a lovely day.
Arsen Arsenović (2):
intl: remove, in favor of out-of-tree gettext
*: add modern gettext
This patch updates gettext.m4 and related .m4 files and adds
gettext-runtime as a gmp/mpfr/... style host library, allowing newer
libintl to be used.
This patch /does not/ add build-time tools required for
internationalizing (msgfmt et al), instead, it just updates the runtime
library. The
Ping^2
It'd be nice to get this patch into 14 (given the intended C strictness
changes, especially).
Have a lovely evening.
--
Arsen Arsenović
signature.asc
Description: PGP signature
anchor{with-included-gettext}
@item --with-included-gettext
Only available if @file{gettext} is present in the source tree.
Thanks.
--
Arsen Arsenović
signature.asc
Description: PGP signature
Hi Iain,
Iain Sandoe writes:
> Hi Arsen,
>
>> On 28 Oct 2023, at 10:22, Arsen Arsenović wrote:
>
>> Andrew Pinski writes:
>>
>>> One comment from me. It would be nice to update install.texi in
>>> gcc/doc/ to make a mention of this requirement
libc.so.7 (0x258b25acc000)
[vdso] (0x7fffe5d0)
OK for trunk (if passing review on the binutils and GDB sides)?
Thanks in advance, have a lovely day.
Arsen Arsenović (2):
intl: remove, in favor of out-of-tree gettext
*: add modern gettext
.gitignore |1 +
Mak
Xi Ruoyao writes:
> On Mon, 2023-09-25 at 17:00 +0200, Arsen Arsenović wrote:
>> Afternoon,
>>
>> This patch series replaces the old (early 2000s era, AFAICT) libintl
>> implementation in-tree, which relies on C constructs some compilers
>> (newer clang, ho
Bruno Haible writes:
> Arsen Arsenović wrote:
>> -+The in-tree configuration requires GNU gettext v0.22.
>
> Can you change this to "... requires GNU gettext version 0.22 or newer.",
> please?
> I wouldn't like to give the impression that a particular r
h was released
> on 2023-09-26. (Older versions of libintl crash on macOS 14, due
> to an incompatible change in macOS.) [1]
Thanks. I'll update before pushing.
--
Arsen Arsenović
signature.asc
Description: PGP signature
"Paul M. Bendixen" writes:
> Updated patch, added the requested files, hopefully wrote the commit better.
LGTM. Jonathan?
--
Arsen Arsenović
signature.asc
Description: PGP signature
Evening,
Arsen Arsenović writes:
> Afternoon,
>
> This patch is a rebase and rewording of
> https://inbox.sourceware.org/20230925150921.894157-1-ar...@aarsen.me/
>
> Changes since v1:
> - Implement Brunos suggested changes to install.texi.
> - Elaborate commit mes
ChangeLog:
* intl: Remove directory. Replaced with out-of-tree GNU
gettext.
---
Note that the commit message here doesn't pass the changelog verifier.
What should I reword it as? mklog suggests:
ChangeLog:
* intl/ChangeLog: Removed.
* intl/Makefile.in: Removed.
Afternoon,
This patch is a rebase and rewording of
https://inbox.sourceware.org/20230925150921.894157-1-ar...@aarsen.me/
Changes since v1:
- Implement Brunos suggested changes to install.texi.
- Elaborate commit message in p2 (as requested by the Binutils
maintainers).
Arsen Arsenović (2
This allows us to add features to freestanding which allow specifying
non-default allocators (generators, collections, ...) without having to
modify them.
libstdc++-v3/ChangeLog:
* include/bits/memoryfwd.h: Remove HOSTED check around allocator
and its specializations.
---
libstdc++-v3/ChangeLog:
* testsuite/20_util/scoped_allocator/noexcept.cc: Mark as
requiring hosted.
---
libstdc++-v3/testsuite/20_util/scoped_allocator/noexcept.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/noexcept.cc
Jonathan Wakely writes:
> OK
Thanks, pushed (tests did pass).
Have a lovely night.
--
Arsen Arsenović
signature.asc
Description: PGP signature
Hi Will,
Will Hawkins writes:
> On Thu, Dec 21, 2023 at 4:26 PM Arsen Arsenović wrote:
>>
>> libstdc++-v3/ChangeLog:
>>
>
> ... snip ...
>
>> + void
>> + _M_jump_in(_Coro_handle __rest, _Coro_handle __new) noexcept
>> + {
>&g
libstdc++-v3/ChangeLog:
* include/bits/ranges_util.h: Add missing
include.
---
libstdc++-v3/include/bits/ranges_util.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libstdc++-v3/include/bits/ranges_util.h
b/libstdc++-v3/include/bits/ranges_util.h
index
r==(const _Iterator& i, default_sentinel_t) noexcept
-+ { return i._M_coro.done(); }
++ operator==(const _Iterator& __i, default_sentinel_t) noexcept
++ { return __i._M_coro.done(); }
+
+ friend class generator;
+
@@ libstdc++-v3/include/std/generator (new)
+
ChangeLog:
PR bootstrap/112534
* Makefile.def (host-gettext): Set all_args_override="".
* Makefile.in: Regenerate.
* Makefile.tpl (all--args): Define as a helper macro for
computing extra arguments to make.
(all): Use all--args over args.
---
Hi,
libstdc++-v3/ChangeLog:
* include/Makefile.am: Install std/generator, bits/elements_of.h
as freestanding.
* include/Makefile.in: Regenerate.
* include/bits/version.def: Add __cpp_lib_generator.
* include/bits/version.h: Regenerate.
*
Hi,
Ping on this patch.
TIA, have a lovely day and happy holidays!
--
Arsen Arsenović
signature.asc
Description: PGP signature
libstdc++-v3/ChangeLog:
* include/std/generator (_Subyield_state::_M_jump_in): Fix typo
reported by Will Hawkins .
---
libstdc++-v3/include/std/generator | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/include/std/generator
libstdc++-v3/ChangeLog:
* include/std/generator (_Stateless_alloc): Rename typename _A
to _All.
---
Pushed as obvious.
Happy new year, have a lovely day!
libstdc++-v3/include/std/generator | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
my subject, hopefully that works.
Have a lovely day!
--
Arsen Arsenović
signature.asc
Description: PGP signature
Evening folks,
Hope you had wonderful holidays.
Gentle ping on this patch.
Have a lovely night!
--
Arsen Arsenović
signature.asc
Description: PGP signature
Jonathan Wakely writes:
> On Thu, 21 Dec 2023 at 21:26, Arsen Arsenović wrote:
>> +
>> +template
>> +concept _Stateless_alloc = (allocator_traits<_A>::is_always_equal::value
>> + && default_initializable<
contrib/ChangeLog:
* download_prerequisites
: Parse --only-gettext.
(echo_archives): Check only_gettext and stop early if true.
(helptext): Document --only-gettext.
---
Afternoon,
This patch adds a --only-gettext option to download_prerequisites for
when the only
This fixes issues reported by David Edelsohn , and by
Eric Gallager .
ChangeLog:
* Makefile.def (gettext): Disable (via missing)
{install-,}{pdf,html,info,dvi} and TAGS targets. Set no_install
to true. Add --disable-threads --disable-libasprintf. Drop the
Richard Biener writes:
> OK.
Thanks. I'll wait for the Binutils and GDB maintainers to weigh in
before pushing (plus, I can't push there).
Have a lovely day!
--
Arsen Arsenović
signature.asc
Description: PGP signature
ekday_last/io.cc
> index 6f76922195d..d069d857ff0 100644
> --- a/libstdc++-v3/testsuite/std/time/weekday_last/io.cc
> +++ b/libstdc++-v3/testsuite/std/time/weekday_last/io.cc
> @@ -1,3 +1,4 @@
> +// { dg-options "-lstdc++exp" { target c++23 } }
> // { dg-do run { target c++20 } }
> // { dg-require-namedlocale "fr_FR.ISO8859-15" }
> // { dg-timeout-factor 2 }
> diff --git a/libstdc++-v3/testsuite/std/time/year/io.cc
> b/libstdc++-v3/testsuite/std/time/year/io.cc
> index bcaa57faeb7..1bdc95ddbd1 100644
> --- a/libstdc++-v3/testsuite/std/time/year/io.cc
> +++ b/libstdc++-v3/testsuite/std/time/year/io.cc
> @@ -1,3 +1,4 @@
> +// { dg-options "-lstdc++exp" { target c++23 } }
> // { dg-do run { target c++20 } }
> // { dg-require-namedlocale "fr_FR.ISO8859-15" }
> // { dg-timeout-factor 2 }
> diff --git a/libstdc++-v3/testsuite/std/time/year_month/io.cc
> b/libstdc++-v3/testsuite/std/time/year_month/io.cc
> index 7bb3442e299..e7963d31ae6 100644
> --- a/libstdc++-v3/testsuite/std/time/year_month/io.cc
> +++ b/libstdc++-v3/testsuite/std/time/year_month/io.cc
> @@ -1,3 +1,4 @@
> +// { dg-options "-lstdc++exp" { target c++23 } }
> // { dg-do run { target c++20 } }
> // { dg-require-namedlocale "fr_FR.ISO8859-15" }
> // { dg-timeout-factor 2 }
> diff --git a/libstdc++-v3/testsuite/std/time/year_month_day/io.cc
> b/libstdc++-v3/testsuite/std/time/year_month_day/io.cc
> index cb82ef3b612..e7dc60b9dea 100644
> --- a/libstdc++-v3/testsuite/std/time/year_month_day/io.cc
> +++ b/libstdc++-v3/testsuite/std/time/year_month_day/io.cc
> @@ -1,3 +1,4 @@
> +// { dg-options "-lstdc++exp" { target c++23 } }
> // { dg-do run { target c++20 } }
> // { dg-require-namedlocale "fr_FR.ISO8859-15" }
> // { dg-timeout-factor 2 }
> diff --git a/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc
> b/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc
> index 3241536a2e6..a57e56a1805 100644
> --- a/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc
> +++ b/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc
> @@ -1,3 +1,4 @@
> +// { dg-options "-lstdc++exp" { target c++23 } }
> // { dg-do run { target c++20 } }
> // { dg-require-namedlocale "fr_FR.ISO8859-15" }
> // { dg-timeout-factor 2 }
> diff --git a/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc
> b/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc
> index 65baf1d37ae..e9a5bee7666 100644
> --- a/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc
> +++ b/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc
> @@ -1,3 +1,4 @@
> +// { dg-options "-lstdc++exp" { target c++23 } }
> // { dg-do run { target c++20 } }
> // { dg-require-namedlocale "fr_FR.ISO8859-15" }
> // { dg-timeout-factor 2 }
> diff --git a/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc
> b/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc
> index 17f2244420d..fc2328ac001 100644
> --- a/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc
> +++ b/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc
> @@ -1,3 +1,4 @@
> +// { dg-options "-lstdc++exp" { target c++23 } }
> // { dg-do run { target c++20 } }
> // { dg-require-namedlocale "fr_FR.ISO8859-15" }
> // { dg-timeout-factor 2 }
> diff --git a/libstdc++-v3/testsuite/std/time/zoned_time/1.cc
> b/libstdc++-v3/testsuite/std/time/zoned_time/1.cc
> index 1623aca1c7a..e773f50ae73 100644
> --- a/libstdc++-v3/testsuite/std/time/zoned_time/1.cc
> +++ b/libstdc++-v3/testsuite/std/time/zoned_time/1.cc
> @@ -1,3 +1,4 @@
> +// { dg-options "-lstdc++exp" { target c++23 } }
> // { dg-do run { target c++20 } }
> // { dg-require-effective-target tzdb }
> // { dg-require-effective-target cxx11_abi }
> diff --git a/libstdc++-v3/testsuite/std/time/zoned_time/io.cc
> b/libstdc++-v3/testsuite/std/time/zoned_time/io.cc
> index 376b2734f19..c19e2a3c882 100644
> --- a/libstdc++-v3/testsuite/std/time/zoned_time/io.cc
> +++ b/libstdc++-v3/testsuite/std/time/zoned_time/io.cc
> @@ -1,3 +1,4 @@
> +// { dg-options "-lstdc++exp" { target c++23 } }
> // { dg-do run { target c++20 } }
> // { dg-require-effective-target cxx11_abi }
> // { dg-timeout-factor 2 }
--
Arsen Arsenović
S functions on AIX, but gcc configure
> fails in its tests of gettext functionality, which leads to an inconsistent
> configuration and build breakage.
>
> Thanks, David
--
Arsen Arsenović
signature.asc
Description: PGP signature
David Edelsohn writes:
> On Fri, Nov 17, 2023 at 10:17 AM Arsen Arsenović wrote:
>
>>
>> David Edelsohn writes:
>>
>> > On Fri, Nov 17, 2023 at 3:46 AM Arsen Arsenović wrote:
>> >
>> >>
>> >> David Edelsohn writes:
>&
libstdc++-v3/ChangeLog:
* include/Makefile.am: Install std/generator, bits/elements_of.h
as freestanding.
* include/Makefile.in: Regenerate.
* include/bits/version.def: Add __cpp_lib_generator.
* include/bits/version.h: Regenerate.
*
David Edelsohn writes:
> On Wed, Nov 15, 2023 at 9:22 AM Arsen Arsenović wrote:
>
>>
>> David Edelsohn writes:
>>
>> > GCC had been working on AIX with NLS, using "--with-included-gettext".
>> > --disable-nls gets past the breakage, b
Xi Ruoyao writes:
> On Wed, 2023-11-15 at 15:14 +0100, Arsen Arsenović wrote:
>> That is interesting. They should be using the same checks. I've
>> checked trunk and regenerated files on it, and saw no significant diff
>> (some whitespace changes only). Could yo
disable-threads would be OK too, for the case that it is
utilized. (relevant for the latter case: GCC-private build of libintl)
> How do other library vendors handle this issue on AIX? Do they ship two
> libraries, one MT-safe and one not? Under different names? Or in different
> library search paths?
>
> Bruno
>
> [1] https://www.ibm.com/support/pages/aix-support-lifecycle-information
--
Arsen Arsenović
signature.asc
Description: PGP signature
Arsen Arsenović writes:
> [[PGP Signed Part:Good signature from 52C294301EA2C493 Arsen Arsenović
> (Gentoo Developer UID) (trust ultimate) created at
> 2023-11-16T19:47:16+0100 using EDDSA]]
>
> David Edelsohn writes:
>
>> On Wed, Nov 15, 2023 at 9:22 A
Bruno Haible writes:
> Arsen Arsenović wrote:
>> > * If yes, then the question is how distributors will in general package
>> > libintl on AIX. If it's installed in public locations (such as in
>> > /opt/freeware/{lib,lib64}/libintl.a on gcc119.fsffran
could not be
loaded.
Member libintl.so.8 is not found in archive
I'll try to see why intl/ didn't cause the same issue soon.
Thanks, have a lovely evening.
> Thanks, David
>
>
>
> On Thu, Nov 16, 2023 at 4:15 PM Arsen Arsenović wrote:
>
>>
>> Arsen Arsenović wr
David Edelsohn writes:
> On Thu, Nov 16, 2023 at 5:52 PM Arsen Arsenović wrote:
>
> [snip]
>> Sure, but my patch does insert --disable-shared:
>>
>> --8<---cut here---start->8---
>> host_modules= { module= g
Richard Biener writes:
> On Fri, Nov 17, 2023 at 12:13 AM Arsen Arsenović wrote:
>>
>>
>> Bruno Haible writes:
>>
>> > Hi David,
>> >
>> >> the default, distributed libintl library will not allow GCC to be built
>> >>
Richard Biener writes:
> On Fri, Nov 17, 2023 at 9:46 AM Arsen Arsenović wrote:
>>
>>
>> David Edelsohn writes:
>>
>> > On Thu, Nov 16, 2023 at 5:52 PM Arsen Arsenović wrote:
>> >
>> > [snip]
>> >> Sure, but my patch doe
tree, in
which case we already want a --disable-shared build).
If that library gets installed, then, so far, it is unintentional. I'll
check that (as well as the docs targets that Eric Gallager mentioned on
IRC) tonight.
> Bruno
>
> [1] https://lists.gnu.org/archive/html/bug-gnulib/2023-11/msg00164.html
--
Arsen Arsenović
signature.asc
Description: PGP signature
David Edelsohn writes:
> On Thu, Nov 16, 2023 at 5:22 PM Arsen Arsenović wrote:
>
>>
>> David Edelsohn writes:
>>
>> > Don't build with the dependent libraries in tree. Don't build the
>> > dependent libraries as shared libraries. The librarie
b/libcurses.a(shr42_64.o)
> /usr/lib/libiconv.a(shr4_64.o)
> /usr/lib/libc++.a(shr_64.o)
> /usr/lib/libc++abi.a(libc++abi.so.1)
> /usr/lib/libc.a(shr_64.o)
> /usr/lib/libpthreads.a(_shr_xpg5_64.o)
> /usr/lib/libc++.a(libc++.so.1)
>
David Edelsohn writes:
> On Fri, Nov 17, 2023 at 3:46 AM Arsen Arsenović wrote:
>
>>
>> David Edelsohn writes:
>>
>> > On Thu, Nov 16, 2023 at 5:52 PM Arsen Arsenović wrote:
>> >
>> > [snip]
>> >> Sure, but my patch does i
The previous commit did not include regenerating files maintained by
autoheader.
libcpp/ChangeLog:
* config.in: Regenerate.
---
Pushed as obvious in response to the quite neat buildbot:
https://builder.sourceware.org/buildbot/#/builders/269/builds/56
libcpp/config.in | 17
mode?
I'll try to investigate ASAP.
In the meanwhile, does disabling NLS etc work?
Thanks in advance, have a lovely night.
--
Arsen Arsenović
signature.asc
Description: PGP signature
o have a link-time error here if missing?
Have a lovely night.
--
Arsen Arsenović
signature.asc
Description: PGP signature
58 prmhsh 0 snhsh 0 typ 2 algn 0 clss 1 stb 0 snstb 0
[ 62](sec 2)(fl 0x00)(ty0)(scl 107) (nx 1) 0x05a0 _autosprintf.rw_
AUX val 0 prmhsh 0 snhsh 0 typ 1 algn 4 clss 5 stb 0 snstb 0
I am unsure what this symbol is. It does not appear in the stripped
binary.
--
Arsen Arsenović
signature.asc
Description: PGP signature
Bruno Haible writes:
> Arsen Arsenović wrote:
>> Comparing stages 2 and 3
>> Bootstrap comparison failure!
>> gettext/libasprintf/autosprintf.o differs
>> make[2]: *** [Makefile:23435: compare] Error 1
>
> You should be able to work around this
ack.
> Thanks, David
>
>
> On Mon, Nov 20, 2023 at 4:23 PM Arsen Arsenović wrote:
>
>>
>> David Edelsohn writes:
>>
>> > On Sun, Nov 19, 2023 at 5:15 PM Bruno Haible wrote:
>> >
>> >> David Edelsohn wrote:
>> >> > --
Arsen Arsenović writes:
> Bruno Haible writes:
>
>> Arsen Arsenović wrote:
>>> Comparing stages 2 and 3
>>> Bootstrap comparison failure!
>>> gettext/libasprintf/autosprintf.o differs
>>> make[2]: *** [Makefile:23435: compare]
ChangeLog:
* Makefile.def: Inform gettext of our freshly-built libiconv.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac (LIBICONV_SIBLING): If an in-tree host libiconv
is being built, set this variable to the path to libiconv.a
ChangeLog:
* .gitignore: Ignore /libiconv* as with other possibly-in-tree
libs.
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 93a16b0b950c..3528d9a115ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -70,3 +70,4 @@ stamp-*
/gmp*
with delivering these, I have,
unfortunately, been busied by various external factors. Hopefully, it
is not too late yet.
Thanks in advance, have a lovely night!
Arsen Arsenović (3):
toplevel: don't override gettext-runtime/configure-discovered build
args
gitignore: ignore /libiconv
ChangeLog:
PR bootstrap/112534
* Makefile.def (host-gettext): Set all_args_override="".
* Makefile.in: Regenerate.
* Makefile.tpl (all--args): Define as a helper macro for
computing extra arguments to make.
(all): Use all--args over args.
---
Hi!
Given that trunk is now GCC 15, it might be good to land this patch
early. I will re-test it just in case after a rebase but, otherwise, OK
for trunk?
TIA, have a lovely day.
--
Arsen Arsenović
signature.asc
Description: PGP signature
Per the standard, the return type of a generators ranges iterator op*
should be the reference type rather than the yielded type.
The yielded type was used here by mistake.
libstdc++-v3/ChangeLog:
* include/std/generator (generator::_Iterator::operator*): Fix
return type.
From: Arsen Arsenović
Afternoon!
These couple of patches fix two minor issues in the generator
implementation that were informally reported a while ago.
Tested on x86_64-pc-linux-gnu.
OK for trunk?
TIA, have a lovely day!
Arsen Arsenović (2):
libstdc++: fix _V badname in
libstdc++: fix
libstdc++-v3/ChangeLog:
* include/std/generator: Fix _V badname.
---
libstdc++-v3/include/std/generator | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/libstdc++-v3/include/std/generator
b/libstdc++-v3/include/std/generator
index
It was mistakenly added to these files.
libstdc++-v3/ChangeLog:
* testsuite/24_iterators/range_generators/01.cc: Drop GCC
Runtime Library Exception.
* testsuite/24_iterators/range_generators/02.cc: Drop GCC
Runtime Library Exception.
*
ith the full script.
--
Arsen Arsenović
signature.asc
Description: PGP signature
where overflow is unexpected. One could easily imagine a scenario
where overflow is not expected in some region of code but is in the
larger application.
--
Arsen Arsenović
signature.asc
Description: PGP signature
in freestanding,
partially, in 13 already, indeed.
>> /Paul M. Bendixen
>>
>> --
>> • − − •/• −/• • −/• − • •/− • • •/•/− •/− • •/• •/− • • −/•/− •/• − − •−
>> •/− − •/− −/• −/• •/• − • •/• − • − • −/− • − •/− − −/− −//
--
Arsen Arsenović
signature.asc
Description: PGP signature
all need to use:
> #if __glibcxx_make_reverse_iterator
> because they wouldn't have the __cpp_lib_xxx macro, because they only
> include the internal bits header not .
>
> That's for another day though.
Yes, that sounds quite reasonable. I like the idea that headers should
export narrower FTMs.
Pushed. Thanks :-)
--
Arsen Arsenović
signature.asc
Description: PGP signature
necessary.
(morph_fn_to_coro): Pass fnbody into susp_frame_data.
gcc/testsuite/ChangeLog:
* g++.dg/coroutines/pr106188.C: New test.
Signed-off-by: Arsen Arsenović
---
gcc/cp/coroutines.cc | 45 --
gcc/testsuite/g++.dg/coroutines/pr106188.C
Hi,
On Wednesday, 7 September 2022 17:13:03 CEST Jason Merrill wrote:
> Applied with some minor tweaks, described below.
>
> Thanks!
Got it, and noted the changes and rationale you provided
Thank you!
--
Arsen Arsenović
signature.asc
Description: This is a digitally signed message part.
-by: Arsen Arsenović
---
gcc/cp/coroutines.cc | 10 +++
gcc/testsuite/g++.dg/coroutines/pr106188.C | 35 ++
2 files changed, 45 insertions(+)
create mode 100644 gcc/testsuite/g++.dg/coroutines/pr106188.C
Hi Iain,
> I can see that adding the b
This should permit redefining `operator new' where-ever that is
possible, and should allow libsupc++ to be more broadly useful in
freestanding.
libstdc++-v3/ChangeLog:
* acinclude.m4: Add link test for __attribute__ ((weak)).
* config.h.in: Regenerate.
*
). This
applies to both the C and C++ frontends.
--
Arsen Arsenović
signature.asc
Description: This is a digitally signed message part.
On Friday, 21 October 2022 23:02:02 CEST Joseph Myers wrote:
> I have no objections to the C changes.
Great! Thanks for the review. I don't have push rights currently, so I
must ask that someone else pushes this patch for me.
Have a great day!
--
Arsen Arsenović
signature.asc
Descript
details). I was intending on giving this issue a
proper look in the GNU toolchain frame of reference, but never got
around to it (and I kinda knocked priority down after managing to
configure properly once IIRC).
--
Arsen Arsenović
signature.asc
Description: This is a digitally signed message part.
This enables us to provide symbols for placeholders and numeric limits,
and allows users to mess about with linker flags less.
libstdc++-v3/ChangeLog:
* Makefile.am [!_GLIBCXX_HOSTED]: Enable src/ subdirectory.
* Makefile.in: Regenerate.
* src/Makefile.am
xed packages did send patches usptream
while they worked on this issue. Unfortunately, there is dead
upstreams, as you said, so I expect either lingering in-tree patches for
issues or compile flag changes like the one for unzip you mentioned.
Such contribution and collaboration is more than welcome, tho
libstdc++-v3/ChangeLog:
* configure.ac: Stop generating gstdint.h.
* src/c++11/compatibility-atomic-c++0x.cc: Stop using gstdint.h.
---
> > +using guintptr_t = __UINTPTR_TYPE__;
>
> I think this should be local in the only function that uses it.
Sure.
Tested on
libstdc++-v3/ChangeLog:
* configure.ac: Stop generating gstdint.h.
* src/c++11/compatibility-atomic-c++0x.cc: Stop using gstdint.h.
---
Tested on x86_64-pc-linux-gnu.
libstdc++-v3/configure.ac| 6 --
This slightly lowers the dependency of generated code on libstdc++.so.
libstdc++-v3/ChangeLog:
* include/std/functional: Make placeholders inline, if possible.
---
libstdc++-v3/include/std/functional | 66 -
1 file changed, 37 insertions(+), 29 deletions(-)
This saves us a build flag when building for freestanding targets.
libstdc++-v3/ChangeLog:
* acinclude.m4: Default hosted to off if building without
headers and without newlib.
---
Tested for x86_64-elf.
libstdc++-v3/acinclude.m4 | 5 -
1 file changed, 4 insertions(+), 1
in this test, and
it doesn't even need to link, so using any ol' function should be okay;
see attachment)
The attached patch is also v2 of the original builtin-main one submitted
earlier. Tested on x86_64-pc-linux-gnu. This revision excludes the
mentioned pedwarns unless hosted.
Thanks,
--
Arsen Ars
oreturn-1.c), so maybe dropping is the right thing to do,
indeed.
--
Arsen Arsenović
signature.asc
Description: This is a digitally signed message part.
ern "C" in the C++ frontend,
AFAICT).
--
Arsen Arsenović
>From e60be6bb45fdba8085bde5d1883deeae640e786b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?=
Date: Thu, 13 Oct 2022 21:46:30 +0200
Subject: [PATCH v3] c-family: Implicitly return zero from main even on
frees
Evening,
Ping on this patch, it should fix some configuration issues we get on
ELF targets (especially in libstdc++).
https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602751.html
Thanks,
--
Arsen Arsenović
signature.asc
Description: This is a digitally signed message part.
stdint.h is considered a freestanding headers by C, and a valid stdint.h
is required for certain parts of libstdc++' configuration, so we should
simply provide one when we have no other way (i.e. newlib or
user-specified sysroot) of getting one.
gcc/ChangeLog:
* config.gcc:
ibstdc++-v3/ChangeLog:
* include/std/iostream: Use ///< for inline documentation.
* include/std/limits: Likewise.
* include/experimental/internet: Likewise.
Signed-off-by: Arsen Arsenović
---
Hey,
I just got reminded that I found some trivial documentation errors a few m
op of that, clangd interprets it properly (it's how I stumbled upon
this, cout was "Linked to standard output" in its LSP hover response).
https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01635.html#a53dbc8572a84ca50272f9e55a1e23e18
--
Arsen Arsenović
signature.asc
Description
On Tuesday, 11 October 2022 08:47:32 CEST Richard Biener wrote:
> OK.
Thanks for the review. I don't have push rights currently, so could you
push this for me?
Have a good evening,
--
Arsen Arsenović
signature.asc
Description: This is a digitally signed message part.
Thanks,
--
Arsen Arsenović
>From dfc1677d1dcfa1b3b963fca8ea5eb8878c4e63d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?=
Date: Thu, 13 Oct 2022 21:46:30 +0200
Subject: [PATCH v4] c-family: Implicitly return zero from main even on
freestanding
... unless marked noreturn.
.
Signed-off-by: Arsen Arsenović
---
libstdc++-v3/include/Makefile.am | 300 +++---
libstdc++-v3/include/Makefile.in | 656 +++
2 files changed, 477 insertions(+), 479 deletions(-)
diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am
From: Jonathan Wakely
Co-authored-by: Arsen Arsenović
libstdc++-v3/ChangeLog:
* include/precompiled/extc++.h [!_GLIBCXX_HOSTED]: Do not
include headers that aren't valid for freestanding.
* include/precompiled/stdc++.h [!_GLIBCXX_HOSTED]: Likewise.
Signed-off
ac_includes_default, when running Autoconf <2.70.
* configure: Regenerate.
Signed-off-by: Arsen Arsenović
---
libstdc++-v3/configure.ac | 9 +
1 file changed, 9 insertions(+)
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
index b351622bf46..c05fcdda7e9 100
libstdc++
tests.
Signed-off-by: Arsen Arsenović
---
libstdc++-v3/include/Makefile.am | 1 +
libstdc++-v3/include/Makefile.in | 1 +
libstdc++-v3/include/bits/algorithmfwd.h | 4 +
libstdc++-v3/include/bits/concept_check.h | 2 +-
libstdc++-v3
]: Likewise.
* testsuite/std/ranges/adaptors/100577.cc [!__STDC_HOSTED__]: Likewise.
Signed-off-by: Arsen Arsenović
---
.../17_intro/headers/c++1998/stdc++.cc| 2 +
.../17_intro/tag_type_explicit_ctor.cc| 32 +++
.../17_intro/using_namespace_std_exp_neg.cc | 53
/20_util/bitset/ext/constexpr.cc: Likewise.
Signed-off-by: Arsen Arsenović
---
libstdc++-v3/include/std/bitset | 9 +
.../testsuite/20_util/bitset/cons/constexpr_c++23.cc | 2 ++
libstdc++-v3/testsuite/20_util/bitset/ext/constexpr.cc | 2 ++
3 files changed
Hi,
This patchset:
- Implements the P1642 WG21 paper, with a fair few extensions,
- Fixes libstdc++' build system on systems --without-headers,
- Ports (a large chunk of) the libstdc++ testsuite to freestanding, and
- Changes the semantics of `int main' in freestanding (!!).
Thanks,
Arsen
: Likewise.
Signed-off-by: Arsen Arsenović
---
libstdc++-v3/acinclude.m4| 2 +-
libstdc++-v3/configure | 2 +-
libstdc++-v3/include/Makefile.am | 2 +-
libstdc++-v3/include/Makefile.in | 2 +-
libstdc++-v3/testsuite/lib/libstdc
s.c: New test.
* gcc.dg/no-builtin-main.c: New test.
Signed-off-by: Arsen Arsenović
---
gcc/c-family/c-common.cc | 6 ++
gcc/c-family/c-common.h | 10 ++
gcc/c/c-decl.cc | 4 ++--
gcc/c/c-objc-common
.
Signed-off-by: Arsen Arsenović
---
libstdc++-v3/testsuite/lib/libstdc++.exp | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp
b/libstdc++-v3/testsuite/lib/libstdc++.exp
index d3256b6c8c4..635f16db4e8 100644
--- a/libstdc++-v3
1 - 100 of 240 matches
Mail list logo