mutex destruction in libgcc/unwind-dw2-fde.c

2021-10-27 Thread Rasmus Villemoes
Hi The unwind code initializes an object_mutex, but it is never destroyed. On VxWorks 5 at least, that's a problem, because it means that module load+unload leaks a resource. I don't know about other VxWorks versions. I'm wondering what the best fix is (insofar as upstream gcc wants to fix it, we

Question on calling possible_polymorphic_call_targets, side effects, and virtual tables.

2021-10-27 Thread Erick Ochoa via Gcc
Hello, I have a SIMPLE_IPA_PASS that parses the program multiple times. As it parses gimple, it builds a data structure with the information collected that will provide some invariants to future iterations over the program. I was looking into adding a new feature that would take advantage of devi

Re: Question on calling possible_polymorphic_call_targets, side effects, and virtual tables.

2021-10-27 Thread Jan Hubicka via Gcc
> Hello, > > I have a SIMPLE_IPA_PASS that parses the program multiple times. As it > parses gimple, it builds a data structure with the information > collected that will provide some invariants to future iterations over > the program. > > I was looking into adding a new feature that would take a

How to run C++ IPA tests?

2021-10-27 Thread Erick Ochoa via Gcc
Hi, I have been adding tests to the gcc/testsuite/gcc.dg/ipa folder successfully for a while now. I am starting to add some tests into gcc/testsuite/g++.dg/ipa now but I am having some issues. 1. Using `make check-g++` returns the following error message "No rule to make target 'check-g++'". 2. W

Re: How to run C++ IPA tests?

2021-10-27 Thread Marek Polacek via Gcc
On Wed, Oct 27, 2021 at 04:29:32PM +0200, Erick Ochoa via Gcc wrote: > Hi, > > I have been adding tests to the gcc/testsuite/gcc.dg/ipa folder > successfully for a while now. I am starting to add some tests into > gcc/testsuite/g++.dg/ipa now but I am having some issues. > > 1. Using `make check-

Re: How to run C++ IPA tests?

2021-10-27 Thread Prathamesh Kulkarni via Gcc
On Wed, 27 Oct 2021 at 20:09, Marek Polacek via Gcc wrote: > > On Wed, Oct 27, 2021 at 04:29:32PM +0200, Erick Ochoa via Gcc wrote: > > Hi, > > > > I have been adding tests to the gcc/testsuite/gcc.dg/ipa folder > > successfully for a while now. I am starting to add some tests into > > gcc/testsui

Re: LPC and other questions ?

2021-10-27 Thread Martin Jambor
Hi, On Mon, Oct 25 2021, Joseph Watanabe wrote: > Hello and good morning, > > Recently I had the privilege of stumbling upon a few of the videos on > youtube. I really found them helpful, and learned quite a bit. I will > say I probably have to watch them a few more times to even begin to > have a

__builtin_addc support??

2021-10-27 Thread sotrdg sotrdg via Gcc
79173 – add-with-carry and subtract-with-borrow support (x86_64 and others) (gnu.org) What I find quite interesting is things like this. Since llvm clang provides __builtin_addc __builtin_subc for all targets. Can we provide something similar?

Re: __builtin_addc support??

2021-10-27 Thread Paul Koning via Gcc
> On Oct 27, 2021, at 12:12 PM, sotrdg sotrdg via Gcc wrote: > > 79173 – add-with-carry and subtract-with-borrow support (x86_64 and others) > (gnu.org) > > What I find quite interesting is things like this. > > Since llvm clang provides _

RE: __builtin_addc support??

2021-10-27 Thread sotrdg sotrdg via Gcc
I just want a portable version of __builtin_addcarry and __builtin_subborrow. Of course if we have things __builtin_rcl and __builtin_rcr would be even better. Sent from Mail for Windows From: Paul Koning Sent: Wedne

Re: dejagnu version update?

2021-10-27 Thread Bernhard Reutner-Fischer via Gcc
On Sat, 4 Aug 2018 18:32:24 +0200 Bernhard Reutner-Fischer wrote: > On Tue, 16 May 2017 at 21:08, Mike Stump wrote: > > > > On May 16, 2017, at 5:16 AM, Jonathan Wakely wrote: > > > > > The change I care about in 1.5.3 > > > > So, we haven't talked much about the version people want most.

Re: __builtin_addc support??

2021-10-27 Thread Segher Boessenkool
On Wed, Oct 27, 2021 at 04:12:27PM +, sotrdg sotrdg via Gcc-help wrote: > 79173 – add-with-carry and subtract-with-borrow support (x86_64 and others) > (gnu.org) > > What I find quite interesting is things like this. > > Since llvm clang pr

RE: __builtin_addc support??

2021-10-27 Thread sotrdg sotrdg via Gcc
LOL https://github.com/tearosccebe/fast_io/blob/4ca355fcbf31aa26a0259ad09671eaab899930fc/include/fast_io_core_impl/intrinsics.h#L366 You are wrong dude. Give me solution for addcarry Sent from Mail for Windows From

RE: __builtin_addc support??

2021-10-27 Thread sotrdg sotrdg via Gcc
HEY. ZERO COST ABSTRACTIONS lol Sent from Mail for Windows From: Segher Boessenkool Sent: Wednesday, October 27, 2021 19:17 To: sotrdg sotrdg Cc: gcc@gcc.gnu.org;

[PATCH] Add GNU_PROPERTY_1_GLIBC_2_NEEDED

2021-10-27 Thread H.J. Lu via Gcc
Motivations: 1. Some binaries which require new ELF features, like DT_RELR, only work with the new glibc binary. They crash at run-time with the older glibc binaries. 2. Somes binaries compiled with the new language features, like C2X printf specifiers, only generate correct results with the new

Re: libgfortran.so SONAME and powerpc64le-linux ABI changes

2021-10-27 Thread Michael Meissner via Gcc
I've played with some patches to PowerPC to set the defaults for fortran. But without doing a full rebuild like you would do with a new distribution, I think it will be problematical, unless you build everything with the default long double set to IEEE 128-bit. First off all, libquadmath is curre

Re: [llvm-dev] [PATCH] Add GNU_PROPERTY_1_GLIBC_2_NEEDED

2021-10-27 Thread Florian Weimer via Gcc
* H. J. Lu via llvm-dev: > 1. Some binaries which require new ELF features, like DT_RELR, only > work with the new glibc binary. They crash at run-time with the older > glibc binaries. > 2. Somes binaries compiled with the new language features, like C2X > printf specifiers, only generate correct