Re: [PATCH 2/3] PowerPC: require IBM long double for pr70117.

2020-11-21 Thread Michael Meissner via Gcc-patches
On Sat, Nov 21, 2020 at 10:46:45AM -0500, David Edelsohn wrote: > On Sat, Nov 21, 2020 at 12:37 AM Michael Meissner > wrote: > > > > PowerPC: require IBM long double for pr70117. > > > > Since the test is explicitly checking for IBM extended double, do not try to > > run it when long double is

Re: [PATCH] unshare expressions in attribute arguments

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/20/20 12:00 PM, Martin Sebor via Gcc-patches wrote: > To detect a subset of VLA misuses, the C front associates the bounds > of VLAs in function argument lists with the corresponding variables > by implicitly adding an instance of attribute access to each function > declared to take VLAs

Re: [PATCH 30/31] PR target/95294: VAX: Convert backend to MODE_CC representation

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/19/20 8:36 PM, Maciej W. Rozycki wrote: > In the VAX ISA INSV bitfield insert instruction is the only computational > operation that keeps the condition codes, held in the PSL or Processor > Status Longword register, intact. The instruction is flexible enough it > could potentially be

[Bug c/44511] Misdetects missing return with non-void return type, but only if the function is static

2020-11-21 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44511 eggert at cs dot ucla.edu changed: What|Removed |Added CC||eggert at cs dot ucla.edu

[Bug c++/97934] Adding an operator== breaks implicit operator== generation from defaulted <=>

2020-11-21 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97934 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

Re: [PATCH] libstdc++: Add C++2a synchronization support

2020-11-21 Thread Jonathan Wakely via Gcc-patches
On Sat, 21 Nov 2020 at 23:55, David Edelsohn via Libstdc++ wrote: > > I am seeing 93 new libstdc++ failures on AIX, even after Jonathan's > fixes. And a few c++ failures with similar symptoms. I'm not certain > that it is due to this patch, but it's the likely suspect. Yes, it's that patch.

[Bug libstdc++/97935] Missing subsumption in iterator category detection

2020-11-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97935 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/97936] [11 Regression] 30_threads/latch/3.cc hangs

2020-11-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936 --- Comment #1 from H.J. Lu --- Also: FAIL: 29_atomics/atomic_integral/wait_notify.cc

[Bug libstdc++/97936] [11 Regression] 30_threads/latch/3.cc hangs

2020-11-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

Re: [PATCH] libstdc++: Add C++2a synchronization support

2020-11-21 Thread H.J. Lu via Gcc-patches
On Sat, Nov 21, 2020 at 9:40 AM Jonathan Wakely via Gcc-patches wrote: > > On 21/11/20 17:04 +, Jonathan Wakely wrote: > >On 21/11/20 16:16 +0100, Andreas Schwab wrote: > >>In file included from > >>/daten/aranym/gcc/gcc-20201121/Build/m68k-linux/libstdc++-v3/in

[Bug libstdc++/97936] New: [11 Regression] 30_threads/latch/3.cc hangs

2020-11-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936 Bug ID: 97936 Summary: [11 Regression] 30_threads/latch/3.cc hangs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH] libstdc++: Add C++2a synchronization support

2020-11-21 Thread David Edelsohn via Gcc-patches
I am seeing 93 new libstdc++ failures on AIX, even after Jonathan's fixes. And a few c++ failures with similar symptoms. I'm not certain that it is due to this patch, but it's the likely suspect. FAIL: 17_intro/headers/c++2020/all_attributes.cc (test for excess errors) FAIL:

[Bug libstdc++/97935] New: Missing subsumption in iterator category detection

2020-11-21 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97935 Bug ID: 97935 Summary: Missing subsumption in iterator category detection Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/54278] [6 regression] __attribute__((noreturn)) called from destructor when another auto-scoped variable has a non-trivial dtor erroneously fails with "control reaches end of non-void functio

2020-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54278 --- Comment #9 from Andrew Pinski --- (In reply to danikiw542 from comment #8) > https://kodlogs.com/blog/852/warning-control-reaches-end-non-void-function- > wreturn-type values not defined in enum's are still valid and well defined, that is

gcc-10-20201121 is now available

2020-11-21 Thread GCC Administrator via Gcc
Snapshot gcc-10-20201121 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20201121/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug bootstrap/97933] [11 Regression] Bootstrap failure on s390x-linux

2020-11-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97933 Jakub Jelinek changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Comment

[Bug c++/97934] Adding an operator== breaks implicit operator== generation from defaulted <=>

2020-11-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97934 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/97934] New: Defaulting <=> breaks other equality operators

2020-11-21 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97934 Bug ID: 97934 Summary: Defaulting <=> breaks other equality operators Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/94695] Implement -Wrange-loop-analysis

2020-11-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94695 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/87403] [Meta-bug] Issues that suggest a new warning

2020-11-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 94695, which changed state. Bug 94695 Summary: Implement -Wrange-loop-analysis https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94695 What|Removed |Added

[Bug c++/94695] Implement -Wrange-loop-analysis

2020-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94695 --- Comment #3 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c51e31a06f2c740c55852a683aa7ffdc20417362 commit r11-5234-gc51e31a06f2c740c55852a683aa7ffdc20417362 Author: Marek Polacek Date:

[Bug c++/97846] No diagnostic for use of identifier label in constexpr function

2020-11-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97846 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/97846] No diagnostic for use of identifier label in constexpr function

2020-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97846 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6f20c42cc162ac3725584547ab4933bae4c78665 commit r11-5233-g6f20c42cc162ac3725584547ab4933bae4c78665 Author: Marek Polacek Date:

Re: [PATCH] c++: Reject identifier label in constexpr [PR97846]

2020-11-21 Thread Marek Polacek via Gcc-patches
On Fri, Nov 20, 2020 at 05:18:55PM -0500, Jason Merrill via Gcc-patches wrote: > On 11/16/20 9:58 PM, Marek Polacek wrote: > > [dcl.constexpr]/3 says that the function-body of a constexpr function > > shall not contain an identifier label, but we aren't enforcing that. > > > > This patch

Re: [PATCH 00/31] VAX: Bring the port up to date (yes, MODE_CC conversion is included)

2020-11-21 Thread Toon Moene
[ cc'd to the fortran mailing list to hopely get some more knowledgeable input ... ] On 11/20/20 4:38 AM, Maciej W. Rozycki wrote: 2. libgfortran -- oddly enough for Fortran a piece requires IEEE 754 floating-point arithmetic (possibly a porting problem too). gcc/libgfortran/config.h.in

[Bug c++/97881] [11 Regression] ICE in warn_about_ambiguous_parse, at cp/parser.c:20800

2020-11-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97881 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/97839] Template lambda incorrectly requiring the optional lambda-declarator

2020-11-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97839 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: [PATCH] c++: Fix ICE-on-invalid with -Wvexing-parse [PR97881]

2020-11-21 Thread Marek Polacek via Gcc-patches
On Fri, Nov 20, 2020 at 05:23:56PM -0500, Jason Merrill wrote: > On 11/17/20 2:32 PM, Marek Polacek wrote: > > --- /dev/null > > +++ b/gcc/testsuite/g++.dg/warn/Wvexing-parse9.C > > @@ -0,0 +1,8 @@ > > +// PR c++/97881 > > +// { dg-do compile } > > + > > +void > > +cb () > > +{ > > + volatile

[Bug c++/97881] [11 Regression] ICE in warn_about_ambiguous_parse, at cp/parser.c:20800

2020-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97881 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:0999f26098598fe0a499c5b79ad23678ccfe583a commit r11-5232-g0999f26098598fe0a499c5b79ad23678ccfe583a Author: Marek Polacek Date:

[Bug c++/97839] Template lambda incorrectly requiring the optional lambda-declarator

2020-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97839 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:78cd6a63ee67ed854fbe54dd7c0a500dc138459a commit r11-5230-g78cd6a63ee67ed854fbe54dd7c0a500dc138459a Author: Marek Polacek Date:

[Bug c++/97427] constexpr destructor for const object incorrectly rejected as modifying const object

2020-11-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97427 --- Comment #3 from Marek Polacek --- Fixed on trunk. I plan to backport to 10.

[Bug c++/97427] constexpr destructor for const object incorrectly rejected as modifying const object

2020-11-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97427 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:caf17f3afa83623c0f538f6c91c7699c4fdd5674 commit r11-5228-gcaf17f3afa83623c0f538f6c91c7699c4fdd5674 Author: Marek Polacek Date:

Re: [PATCH] vect: Add a “very cheap” cost model

2020-11-21 Thread Jan Hubicka
> > I tested this by building and running a bunch of workloads for SVE, > > with three options: > > > > (1) -O2 > > (2) -O2 -ftree-vectorize -fvect-cost-model=very-cheap > > (3) -O2 -ftree-vectorize [-fvect-cost-model=cheap] > > > > All three builds used the default

Re: Git commit "Author: [...] via Gcc-patches "

2020-11-21 Thread Maciej W. Rozycki
On Thu, 19 Nov 2020, Florian Weimer wrote: > > Should we have a Git commit hook to catch that (and similar variants)? > > It's also possible to move to a mailing list host which does not > rewrite the From: header. The commit hook is better than nothing, > although it's probably a bit

Re: [PATCH v2] Fix -ffast-math flags handling inconsistencies

2020-11-21 Thread Segher Boessenkool
Hi! On Fri, Nov 20, 2020 at 09:33:48PM -0700, Jeff Law wrote: > On 2/11/20 11:43 AM, Ulrich Weigand wrote: > > 1. If a component flag of -ffast-math (or -funsafe-math-optimizations) > >is explicitly set (or reset) on the command line, this should override > >any implicit change due to

[Bug c++/54278] [6 regression] __attribute__((noreturn)) called from destructor when another auto-scoped variable has a non-trivial dtor erroneously fails with "control reaches end of non-void functio

2020-11-21 Thread danikiw542 at bcpfm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54278 danikiw542 at bcpfm dot com changed: What|Removed |Added CC||danikiw542 at bcpfm dot com

[Bug fortran/97896] [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2020-11-21 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 --- Comment #8 from Mikael Morin --- (In reply to Mikael Morin from comment #7) > Well, it doesn’t fix comment #5. :-( Pilot error, it does fix it.

[Bug fortran/97896] [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2020-11-21 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 --- Comment #7 from Mikael Morin --- (In reply to Mikael Morin from comment #6) > rough patch > Well, it doesn’t fix comment #5. :-(

[Bug fortran/97896] [11 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2020-11-21 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 --- Comment #6 from Mikael Morin --- Created attachment 49609 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49609=edit rough patch OK, I understand better the problem. It’s not a bug that the kind argument is not used to produce code. It

Re: [PATCH] libstdc++: Add C++2a synchronization support

2020-11-21 Thread Jonathan Wakely via Gcc-patches
On 21/11/20 17:04 +, Jonathan Wakely wrote: On 21/11/20 16:16 +0100, Andreas Schwab wrote: In file included from /daten/aranym/gcc/gcc-20201121/Build/m68k-linux/libstdc++-v3/include/bits/shared_ptr_atomic.h:33, from /daten/aranym/gcc/gcc-20201121/Build/m68k-linux/libstdc

[Bug fortran/97818] PDT Parameterized Derived Type fails with SIGABRT at -O1

2020-11-21 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97818 Dominique d'Humieres changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

Re: [PATCH 28/31] RTL: Add `const_double_zero' syntactic rtx

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/19/20 8:36 PM, Maciej W. Rozycki wrote: > The use of a constant double zero is required for post-reload compare > elimination to be able to discard redundant floating-point comparisons, > for example with a VAX RTL instruction stream like: > > (insn 34 4 3 2 (parallel [ > (set

[Bug fortran/97818] PDT Parameterized Derived Type fails with SIGABRT at -O1

2020-11-21 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97818 --- Comment #1 from Dominique d'Humieres --- Confirmed from GCC8 up to trunk (for -O1 only). The code doesN't compile with GCC7.

Re: libbacktrace integration for _GLIBCXX_DEBUG mode

2020-11-21 Thread François Dumont via Gcc-patches
Maybe this last patch that has been out for a while. Here it is again rebased as some symbols have been added since my last proposal. François On 14/10/20 6:10 pm, François Dumont wrote: After further testing this version was bugged because ld considered that

Re: [PATCH 24/31] VAX: Fix predicates and constraints for bitfield comparison insns

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/19/20 8:36 PM, Maciej W. Rozycki wrote: > It makes no sense for insn operand predicates, as long as they accept a > register operand, to be more restrictive than the set of the associated > constraints, because expand will choose the insn based on the relevant > operand being a pseudo

Re: [PATCH 23/31] VAX: Make `extv' an expander matching the remaining bitfield operations

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/19/20 8:36 PM, Maciej W. Rozycki wrote: > We have matching insns defined for `sign_extract' and `zero_extract' > expressions, so make the three named patterns for bitfield operations > consistent and make `extv' an expander rather than an insn taking a > SImode, a QImode, and a SImode

Re: [PATCH 21/31] VAX: Remove EXTV/EXTZV/INSV instruction use from aligned case insns

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/19/20 8:35 PM, Maciej W. Rozycki wrote: > The INSV machine instruction is the only computational operation in the > VAX ISA that keeps condition codes intact. In preparation to MODE_CC > transition keep patterns apart then that make or do not make use of said > instruction. For

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

2020-11-21 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #7 from Dominique d'Humieres --- >just checked with today's trunk and --enable-checking=yes,extra,rtl > working there. What was the failing version?

Update vect-35.c testcase

2020-11-21 Thread Jan Hubicka
Hi, We now determine depnedencies across union fields correctly so 2 instead of 1 loops are vectorized. regtsted x86_64-linux, comitted. * gcc.dg/vect/vect-35-big-array.c: Excpect 2 loops to be vectorized. * gcc.dg/vect/vect-35.c: Excpect 2 loops to be vectorized. diff --git

Re: [PATCH] libstdc++: Add C++2a synchronization support

2020-11-21 Thread Jonathan Wakely via Gcc-patches
On 21/11/20 16:16 +0100, Andreas Schwab wrote: In file included from /daten/aranym/gcc/gcc-20201121/Build/m68k-linux/libstdc++-v3/include/bits/shared_ptr_atomic.h:33, from /daten/aranym/gcc/gcc-20201121/Build/m68k-linux/libstdc++-v3/include/memory:78, from

Re: [PATCH 22/31] VAX: Ensure PIC mode address is adjustable with aligned bitfield insns

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/19/20 8:35 PM, Maciej W. Rozycki wrote: > With the `*insv_aligned', `*extzv_aligned' and `*extv_aligned' insns we > are going to adjust the bitfield location if it is in memory, so only > allow such location addresses that can be offset, excluding external > symbol references in the PIC

Re: [PATCH 20/31] VAX: Fix predicates and constraints for EXTV/EXTZV/INSV insns

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/19/20 8:35 PM, Maciej W. Rozycki wrote: > It makes no sense for insn operand predicates, as long as they accept a > register operand, to be more restrictive than the set of the associated > constraints, because expand will choose the insn based on the relevant > operand being a pseudo

Re: [09/32] core diagnostics

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/3/20 2:14 PM, Nathan Sidwell wrote: > The 'included from ...' chain that one gets at the start of a > diagnostic needs extending to include importing.  There are a few > combinations to handle, but nothing particularly exciting. > > > 09-core-diag.diff > OK with a ChangeLog jeff

Re: [09/33] core diagnostics

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/3/20 1:03 PM, Nathan Sidwell wrote: > Here are the changes for gcc/configure.ac (config.h.in and configure > get rebuilt).  This is adding smarts to check for networking features, > so that a network-aware module mapper can be built. > > > > 10-core-config.diff > OK with a ChangeLog.

Re: [PATCH 3/3] Implement the "persistent" attribute

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/15/20 3:06 PM, Jozef Lawrynowicz wrote: > The "persistent" attribute is used for variables that are initialized > by the program loader, but are not initialized by the runtime startup > code. "persistent" variables are placed in a non-volatile area of > memory, which allows their value to

Re: [PATCH] Hurd: Enable ifunc by default

2020-11-21 Thread Samuel Thibault via Gcc-patches
Ping? I was able to pass glibc's complete ifunc tests with no problem. Samuel Samuel Thibault, le dim. 08 nov. 2020 23:52:51 +0100, a ecrit: > The binutils bugs seem to have been fixed. > > 2020-11-08 Samuel Thibault > > gcc/ > * config.gcc: Enable default_gnu_indirect_function

[Bug bootstrap/97933] New: [11 Regression] Bootstrap failure on s390x-linux

2020-11-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97933 Bug ID: 97933 Summary: [11 Regression] Bootstrap failure on s390x-linux Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH 2/3] cp/decl.c: Set DECL_INITIAL before attribute processing

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/15/20 3:05 PM, Jozef Lawrynowicz wrote: > Attribute handlers may want to examine DECL_INITIAL for a decl, to > validate the attribute being applied. For C++, DECL_INITIAL is currently > not set until cp_finish_decl, by which time attribute validation has > already been performed. > > For

Re: [PATCH 1/3] Fix "noinit" attribute being ignored for -O0 and -fdata-sections

2020-11-21 Thread Jeff Law via Gcc-patches
On 11/15/20 3:03 PM, Jozef Lawrynowicz wrote: > Variables with the "noinit" attribute are ignored at -O0 because they > are treated like a regular bss variable and placed in the .bss section. > > With -fdata-sections they are ignored because they are not handled in > resolve_unique_section. > >

Re: OpenACC 'kernels' testsuite failures

2020-11-21 Thread David Edelsohn via Gcc-patches
Hi, Thomas I see "during GIMPLE pass: omplower" message for kernels-decompose-ice-2.c. kernels-decompose-ice-1.c explicitly prunes that output, but kernels-decompose-ice-2.c does not. Is there a reason that the second testcase does not prune that output or can we add it? Thanks, David On

Re: [PATCH 2/3] PowerPC: require IBM long double for pr70117.

2020-11-21 Thread David Edelsohn via Gcc-patches
On Sat, Nov 21, 2020 at 12:37 AM Michael Meissner wrote: > > PowerPC: require IBM long double for pr70117. > > Since the test is explicitly checking for IBM extended double, do not try to > run it when long double is IEEE 128-bit. > > I have tested this patch and the first patch in the series on

Re: [PATCH] libstdc++: Add C++2a synchronization support

2020-11-21 Thread Andreas Schwab
In file included from /daten/aranym/gcc/gcc-20201121/Build/m68k-linux/libstdc++-v3/include/bits/shared_ptr_atomic.h:33, from /daten/aranym/gcc/gcc-20201121/Build/m68k-linux/libstdc++-v3/include/memory:78, from /daten/aranym/gcc/gcc-20201121/Build/m68k-linux

[Bug preprocessor/97577] [11 Regression] ICE: Segmentation fault (in get_location_from_adhoc_loc) by r11-4128

2020-11-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97577 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/97932] [8/9/10/11 Regression] Preprocessor, generated error dumps most of the source file, not just one line by r6-5941

2020-11-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97932 H.J. Lu changed: What|Removed |Added CC||dmalcolm at redhat dot com

Re: [PATCH] widening_mul: pattern recognize further forms of __builtin_add_overflow [PR95853]

2020-11-21 Thread Richard Biener
On November 21, 2020 8:21:42 AM GMT+01:00, Jakub Jelinek wrote: >Hi! > >The following patch recognizes some further forms of additions with >overflow >checks as shown in the testcase, in particular where the unsigned >addition is >performed in a wider mode just to catch overflow with a >

Re: [PATCH] warn for integer overflow in allocation calls (PR 96838)

2020-11-21 Thread Andrew MacLeod via Gcc-patches
On 11/21/20 12:07 AM, Jeff Law wrote: On 11/9/20 9:00 AM, Martin Sebor wrote: Ping: https://gcc.gnu.org/pipermail/gcc-patches/2020-September/554000.html Jeff, I don't expect to have the cycles to reimplement this patch using the Ranger APIs before stage 1 closes.  I'm open to giving it a try

Re: [PATCH v3 1/2] generate EH info for volatile asm statements (PR93981)

2020-11-21 Thread J.W. Jagersma via Gcc-patches
On 2020-11-19 06:55, Jeff Law wrote: > > > On 11/15/20 6:04 AM, J.W. Jagersma via Gcc-patches wrote: >> On 2020-11-13 09:41, Richard Biener wrote: >>> On Thu, Mar 12, 2020 at 1:41 AM J.W. Jagersma via Gcc-patches >>> wrote: diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index

[Bug c/97932] Preprocessor, generated error dumps most of the source file, not just one line.

2020-11-21 Thread lance.delahaye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97932 Lance de la Haye changed: What|Removed |Added Version|8.2.0 |10.2.0 --- Comment #3 from Lance de

[Bug c/97932] Preprocessor, generated error dumps most of the source file, not just one line.

2020-11-21 Thread lance.delahaye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97932 --- Comment #2 from Lance de la Haye --- Also verified with mingw64 build from winlibs.com gcc --version gcc.exe (MinGW-W64 x86_64-posix-seh, built by Brecht Sanders) 10.2.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free

[pushed] Darwin, libsanitizer : Support libsanitizer for x86_64-darwin20.

2020-11-21 Thread Iain Sandoe
Hi The sanitizer is supported for at least x86_64 and Darwin20. tested on a bunch of darwin platforms (including x86_64-darwin20) and on x86_64-linux, pushed to master thanks Iain libsanitizer/ChangeLog: * configure.tgt: Allow x86_64 Darwin2x. --- libsanitizer/configure.tgt | 2 +- 1

Re: [PATCH] Darwin, libgfortran : Do not use environ directly from the library.

2020-11-21 Thread Iain Sandoe
Hi Thomas, Thomas Koenig via Fortran wrote: tested on a number of Darwin platforms old and new, and on x86_64/powerpc64-linux, OK for master? … and backports to open branches? One question... +# ifdef __APPLE__ +# include +# define environ (*_NSGetEnviron ()) Is it guaranteed that

[Bug c/97932] Preprocessor, generated error dumps most of the source file, not just one line.

2020-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97932 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

Mobile app to manage your employee status

2020-11-21 Thread Vivek via Gcc-bugs
Hi, *Greetings from Travelize!!* Setting up a hassle free work environment is what makes the Company beneficial. So, we are delighted to introduce our product “Travelize” Travelize helps you to, *1.* *Get to know your field sales teamwork-status.* *2.* *Schedule the Meetings/Task

[Bug c/97932] New: Preprocessor, generated error dumps most of the source file, not just one line.

2020-11-21 Thread lance.delahaye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97932 Bug ID: 97932 Summary: Preprocessor, generated error dumps most of the source file, not just one line. Product: gcc Version: 8.2.0 Status: UNCONFIRMED

*ping* [patch, fortran] Correct fndecls for some library functions

2020-11-21 Thread Thomas Koenig via Gcc-patches
this patch makes sure that we pass the correct fn decls for some of our library functions. cshift and others still remain to be implemented. This is a step in our voyage to stop lying to the middle end :-) Regression-tested. OK for trunk? Ping? (I am not 100% sure this mail ever made it

Re: [PATCH] Darwin, libgfortran : Do not use environ directly from the library.

2020-11-21 Thread Thomas Koenig via Gcc-patches
Hi Iain, tested on a number of Darwin platforms old and new, and on x86_64/powerpc64-linux, OK for master? … and backports to open branches? One question... +# ifdef __APPLE__ +#  include +#  define environ (*_NSGetEnviron ()) Is it guaranteed that crt_externs.h is present if __APPLE__

Re: [PATCH] unshare expressions in attribute arguments

2020-11-21 Thread Jakub Jelinek via Gcc-patches
On Fri, Nov 20, 2020 at 03:44:01PM -0700, Martin Sebor via Gcc-patches wrote: > > So that likely means you are doing it too early. > > The bounds are added to attribute "arg spec" for each param in > push_parm_decl. I think that's both as early and (except maybe > in function definitions) as