[Bug target/103094] [12 Regression] Incorrect codegen from AArch64 intrinsics

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103094 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-11-06 Ever confirmed|0

[Bug target/103100] [11/12 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[PATCH] Fix PR target/103100 -mstrict-align and memset on not aligned buffers

2021-11-05 Thread apinski--- via Gcc-patches
From: Andrew Pinski The problem here is with -mstrict-align, aarch64_expand_setmem needs to check the alginment of the mode to make sure we can use it for doing the stores. gcc/ChangeLog: PR target/103100 * config/aarch64/aarch64.c (aarch64_expand_setmem): Add check for

[Bug c++/98401] coroutines: Temporaries passed to co_await sometimes cause an extraneous call to destructor at incorrect address

2021-11-05 Thread pigman46 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98401 Michael Theall changed: What|Removed |Added CC||pigman46 at gmail dot com --- Comment

[Bug c++/103105] [11/12 Regression] ICE iterative_hash_template_arg with concepts and varagrs template

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

[Bug c++/12255] [C++98/11/14 only] exception-specification ignored on pointer to function

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12255 Bug 12255 depends on bug 103092, which changed state. Bug 103092 Summary: Non-throwing function pointer can point to a throwing-function in C++14 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103092 What|Removed

[Bug c++/49332] [C++0x] noexcept ignored on function pointer

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49332 Andrew Pinski changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/103092] Non-throwing function pointer can point to a throwing-function in C++14

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103092 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/103105] [11/12 Regression] ICE iterative_hash_template_arg with concepts and varagrs template

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103105 Andrew Pinski changed: What|Removed |Added Summary|[11 Regression] ICE |[11/12 Regression] ICE

[Bug fortran/35930] -pedantic: Check for -std=f95/f2003/f2008

2021-11-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35930 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug c++/94404] [meta-bug] C++ core issues

2021-11-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 95016, which changed state. Bug 95016 Summary: [DR 2082] Referring to parameters in unevaluated operands of default arguments https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95016 What|Removed

[Bug c++/95016] [DR 2082] Referring to parameters in unevaluated operands of default arguments

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

Re: [PATCH] Add TSVC tests.

2021-11-05 Thread David Edelsohn via Gcc-patches
I just noticed that Iain adjusted the tsvc.h for Darwin in the same way that I need to adjust it for AIX. Are we trying to keep the testcase directory pristine and in sync with its upstream source or can we fix it locally? Thanks, David On Fri, Nov 5, 2021 at 8:24 PM David Edelsohn wrote: > >

Re: [PATCH] PR middle-end/103059: reload: Also accept ASHIFT with indexed addressing

2021-11-05 Thread Hans-Peter Nilsson
On Wed, 3 Nov 2021, Maciej W. Rozycki wrote: > Correct a `vax-netbsdelf' target regression ultimately caused by commit > c605a8bf9270 ("VAX: Accept ASHIFT in address expressions") (needed for > LRA) and as of commit 4a960d548b7d ("Avoid invalid loop transformations > in jump threading registry.")

Re: [PATCH v5] attribs: Implement -Wno-attributes=vendor::attr [PR101940]

2021-11-05 Thread Bernhard Reutner-Fischer via Gcc-patches
On 6 November 2021 01:21:43 CET, Marek Polacek via Gcc-patches wrote: > >Thanks, so like this? I'm including an incremental diff so that it's >clear what changed: > >diff --git a/gcc/attribs.c b/gcc/attribs.c >index d5fba7f4bbb..addfe6f6c80 100644 >--- a/gcc/attribs.c >+++ b/gcc/attribs.c >@@

[Bug c++/103105] New: [11 Regression] ICE iterative_hash_template_arg, at cp/pt.c:1790

2021-11-05 Thread jonathan.poelen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103105 Bug ID: 103105 Summary: [11 Regression] ICE iterative_hash_template_arg, at cp/pt.c:1790 Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/79001] spurious "defined but not used" warning with explicit instantiation

2021-11-05 Thread bernie at codewiz dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79001 --- Comment #5 from Bernie Innocenti --- clang with -Wunused-function also does not issue a warning for this testcase.

[Bug c++/79001] spurious "defined but not used" warning with explicit instantiation

2021-11-05 Thread bernie at codewiz dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79001 --- Comment #4 from Bernie Innocenti --- GCC 5.1 does not issue a warning.

[Bug c++/79001] spurious "defined but not used" warning with explicit instantiation

2021-11-05 Thread bernie at codewiz dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79001 Bernie Innocenti changed: What|Removed |Added CC||bernie at codewiz dot org ---

[Bug c/103104] New: missing warning about superfluous forward declaration -Wsuperfluous-forward-declaration

2021-11-05 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103104 Bug ID: 103104 Summary: missing warning about superfluous forward declaration -Wsuperfluous-forward-declaration Product: gcc Version: 12.0 Status: UNCONFIRMED

Re: [PATCH] coroutines, c++: Find lambda-ness from the ramp function [PR 96517].

2021-11-05 Thread Iain Sandoe
Hi Jason > On 5 Nov 2021, at 21:53, Jason Merrill wrote: > > On 11/5/21 17:16, Iain Sandoe wrote: >> Hi Jason, >>> On 5 Nov 2021, at 20:50, Jason Merrill via Gcc-patches >>> wrote: >>> >>> On 11/5/21 12:01, Iain Sandoe wrote: +|| (DECL_DECLARES_FUNCTION_P (DECL_CONTEXT (decl))

[Bug c++/103092] Non-throwing function pointer can point to a throwing-function in C++14

2021-11-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103092 --- Comment #4 from Jonathan Wakely --- Ah yes, and I think this is a dup of pr 49332

Re: [PATCH] Add TSVC tests.

2021-11-05 Thread David Edelsohn via Gcc-patches
Hi, Martin These testcases rely on memalign in tsvc.h. memalign is provided in Linux and Solaris, but is not part of Posix, and it is not available in AIX. Posix defines posix_memalign, which also is available in AIX. Should the tsvc.h use posix_memalign? Always? Only when memalign is not

[PATCH v5] attribs: Implement -Wno-attributes=vendor::attr [PR101940]

2021-11-05 Thread Marek Polacek via Gcc-patches
On Fri, Nov 05, 2021 at 02:48:31PM -0400, Jason Merrill wrote: > On 9/28/21 16:20, Marek Polacek wrote: > > On Thu, Sep 23, 2021 at 02:25:16PM -0400, Jason Merrill wrote: > > > On 9/20/21 18:59, Marek Polacek via Gcc-patches wrote: > > > > + handle_ignored_attributes_option (); > > > > +

Re: [PATCH 18/18] rs6000: Add escape-newline support for builtins files

2021-11-05 Thread Segher Boessenkool
Hi! On Wed, Sep 01, 2021 at 11:13:54AM -0500, Bill Schmidt wrote: > +/* Escape-newline support. For readability, we prefer to allow developers > + to use escape-newline to continue long lines to the next one. We > + maintain a buffer of "original" lines here, which are concatenated into > +

Re: libstdc++: Make atomic::wait() const [PR102994]

2021-11-05 Thread Jonathan Wakely via Gcc-patches
On Fri, 5 Nov 2021 at 21:51, Jonathan Wakely via Libstdc++ wrote: > > OK, thanks. Actually, we should really have a test to verify it can be called on a const object. Please add something when you commit, it can be dumb and simple, it just needs to verify that it can be called. > > > On Fri, 5

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2021-11-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 --- Comment #49 from Marek Polacek --- Patch resurrected for GCC 12: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/583544.html

Re: [PATCH 2/4] libstdc++: Adjust build of PCH files accounting configured host support.

2021-11-05 Thread Jonathan Wakely via Gcc-patches
On Thu, 4 Nov 2021 at 21:04, Iain Sandoe wrote: > Well, I did try to CC it to this list .. > > > Begin forwarded message: > > > > From: Iain Sandoe via Gcc-patches > > Subject: [PATCH 2/4] libstdc++: Adjust build of PCH files accounting > configured host support. > > Date: 4 November 2021 at

[PATCH] c++: Implement -Wuninitialized for mem-initializers (redux) [PR19808]

2021-11-05 Thread Marek Polacek via Gcc-patches
2021 update: Last year I posted a version of this patch: but it didn't make it in. The main objection seemed to be that the patch tried to do too much, and overlapped with the ME uninitialized warnings. Since the patch used

[Bug target/38549] [avr] eicall not properly set for > 128K program space

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38549 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #8

[Bug target/38342] [4.4/4.5/4.6/4.7 Regression] __attribute__((__progmem__)) not propagated from typedef to data

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38342 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug target/26504] [4.1/4.2 Regression] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26504 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug target/71151] [avr] -fmerge-constants and -fdata-sections/-ffunction-sections results in string constants in .progmem.gcc_sw section

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug tree-optimization/82944] missing -Wstringop-truncation on strncpy due to system header macro

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82944 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #2

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug target/77728] [5 Regression] Miscompilation multiple vector iteration on ARM

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug c++/87137] [8/9 Regression] Non-virtual member function increases struct size

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87137 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug c/40366] Array + XOR swap fails

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40366 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #4

[Bug target/94711] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on arm

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94711 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #5

[Bug target/94707] [8/9 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug target/18251] unable to find a register to spill in class `POINTER_REGS'

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18251 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug c++/43745] [avr] g++ puts VTABLES in SRAM

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43745 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug libstdc++/40518] data races when calling std::string::erase() on empty string

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40518 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug c++/41437] No access control for classes in template functions

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug target/94704] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on s390x/s390

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94704 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #7

[Bug target/94706] [8/9/10/11 Regression] class with empty base passed incorrectly with -std=c++17 on ia64

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94706 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug pch/29085] Turning on precompiled header with anonymous namespaces spoils linking.

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29085 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #2

[Bug target/96168] GCC support for Apple Silicon (Arm64) on macOS requested

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug c++/11633] [DR 430] g++ does not initialize structures when auto-increment variables are used

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11633 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug c++/21008] [4.3/4.4/4.5 Regression] [DR515] Access failure in accessing data member of base class from derived template class

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21008 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug libstdc++/92285] Layout of istreambuf_iterator subobject depends on -std mode

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92285 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment

[Bug middle-end/323] optimized code gives strange floating point results

2021-11-05 Thread timturnerc at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 Tim Turner changed: What|Removed |Added CC||timturnerc at yahoo dot com --- Comment #223

Re: [PATCH 0/2] incpath, Fortran: Fix memory leak in gfc_add_include_path

2021-11-05 Thread Bernhard Reutner-Fischer via Gcc-patches
On Fri, 5 Nov 2021 22:17:16 +0100 Bernhard Reutner-Fischer wrote: > Hi! > > In order to fix this very minor leak, we need a knob to free all > cpp_dirs that were added. > This adds a free_cpp_dirs() to gcc/incpath and needs review from some > global maintainer or maybe libcpp maintainer for

Re: [PATCH] PR fortran/102817 - [12 Regression] ICE in gfc_clear_shape, at fortran/expr.c:422

2021-11-05 Thread Harald Anlauf via Gcc-patches
Hi Mikael, Am 05.11.21 um 22:28 schrieb Mikael Morin: Le 01/11/2021 à 22:39, Harald Anlauf via Fortran a écrit : Dear Fortranners, a recent patch uncovered a latent issue with simplification of array-valued expressions where the resulting shape was not set from the referenced subobject.  Once

[Bug fortran/102817] [12 Regression] ICE in gfc_clear_shape, at fortran/expr.c:422 since r12-4278-g74ccca380cde5e79

2021-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102817 --- Comment #7 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bcf3728abe842922005166d3065fc5fdfea1 commit r12-4967-gbcf3728abe842922005166d3065fc5fdfea1 Author: Harald Anlauf Date:

[Bug c++/103092] Non-throwing function pointer can point to a throwing-function in C++14

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103092 Andrew Pinski changed: What|Removed |Added Blocks||12255 --- Comment #3 from Andrew

Re: [PATCH 16/18] rs6000: Test case adjustments

2021-11-05 Thread Segher Boessenkool
On Wed, Sep 01, 2021 at 11:13:52AM -0500, Bill Schmidt wrote: > * gcc.target/powerpc/bfp/scalar-extract-exp-2.c: Adjust. My favourite changelog entry! But, adjust to what? This is the first line :-) "Adjust expected error message"? But you should fold this patch with some previous patch

Re: [PATCH] Cleanup back_threader::find_path_to_names.

2021-11-05 Thread Jeff Law via Gcc-patches
On 11/5/2021 2:44 PM, Aldy Hernandez wrote: On Fri, Nov 5, 2021 at 9:06 PM Jeff Law wrote: On 11/5/2021 9:09 AM, Aldy Hernandez wrote: The main path discovery function was due for a cleanup. First, there's a nagging goto and second, my bitmap use was sloppy. Hopefully this makes the

gcc-10-20211105 is now available

2021-11-05 Thread GCC Administrator via Gcc
Snapshot gcc-10-20211105 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20211105/ 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

Fix ICE in insert_access

2021-11-05 Thread Jan Hubicka via Gcc-patches
Hi, this patch makes insert_access to ignore accesses that are paradoxical (i.e. their max_size is smaller than size) which can happen for example when VRP proves that the access happens past the end of array bounds. It also checks for zero sized accesses and verifies that max_size is never

[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578 since r12-4401-gfecd145359fc981b

2021-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 --- Comment #14 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:5f37780372212a7245f0528e46dbeb741316bba1 commit r12-4966-g5f37780372212a7245f0528e46dbeb741316bba1 Author: Jan Hubicka Date: Fri

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2021-11-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 103082, which changed state. Bug 103082 Summary: [12 Regression] gcc/poly-int.h:1162:5: runtime error: left shift of negative value -40 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103082 What|Removed

[Bug ipa/103082] [12 Regression] gcc/poly-int.h:1162:5: runtime error: left shift of negative value -40

2021-11-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103082 Jan Hubicka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

Avoid left shift of negative value in ipa-modref-tree.h

2021-11-05 Thread Jan Hubicka via Gcc-patches
Hi, ubsan is complaining about left shift of negative value which is undefined in c++11..c++17. Replaced by multiplication. Bootstrapped/regtested x86_64-linux, comitted. Honza gcc/ChangeLog: PR ipa/103082 * ipa-modref-tree.h (struct modref_access_node): Avoid left shift

[Bug ipa/103082] [12 Regression] gcc/poly-int.h:1162:5: runtime error: left shift of negative value -40

2021-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103082 --- Comment #3 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:9cc8ca8da90426f625481195a2127a5e86689bcd commit r12-4965-g9cc8ca8da90426f625481195a2127a5e86689bcd Author: Jan Hubicka Date: Fri

[Bug fortran/69419] ICE: tree check: expected array_type, have real_type in gfc_conv_array_initializer, at fortran/trans-array.c:5618

2021-11-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69419 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/69419] ICE: tree check: expected array_type, have real_type in gfc_conv_array_initializer, at fortran/trans-array.c:5618

2021-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69419 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:432ed97b992ccfe93616d5af1fa5c1a7d7aff9ff commit r12-4964-g432ed97b992ccfe93616d5af1fa5c1a7d7aff9ff Author: Harald Anlauf Date:

Re: [PATCH 17/18] rs6000: Enable the new builtin support

2021-11-05 Thread Segher Boessenkool
Hi! On Wed, Sep 01, 2021 at 11:13:53AM -0500, Bill Schmidt wrote: > * config/rs6000/rs6000-gen-builtins.c (write_init_file): > Initialize new_builtins_are_live to 1. > --- a/gcc/config/rs6000/rs6000-gen-builtins.c > +++ b/gcc/config/rs6000/rs6000-gen-builtins.c > @@ -2791,7 +2791,7

Re: [PATCH 15/18] rs6000: Update altivec.h for automated interfaces

2021-11-05 Thread Segher Boessenkool
On Wed, Sep 01, 2021 at 11:13:51AM -0500, Bill Schmidt wrote: > gcc/ > * config/rs6000/altivec.h: Delete a number of #defines that are > now superfluous. Alphabetize. Include rs6000-vecdefines.h. > Include some synonyms. * config/rs6000/altivec.h: Delete a number of

Re: [PATCH,FORTRAN] Fix memory leak in finalization wrappers

2021-11-05 Thread Bernhard Reutner-Fischer via Gcc-patches
On Fri, 5 Nov 2021 19:46:16 +0100 Mikael Morin wrote: > Le 29/10/2021 à 01:58, Bernhard Reutner-Fischer via Fortran a écrit : > > On Wed, 27 Oct 2021 23:39:43 +0200 > > Bernhard Reutner-Fischer wrote: > > > >> Ping > >> [hmz. it's been a while, I'll rebase and retest this one. > >> Ok if it

[Bug tree-optimization/101240] [missed optimization] Transitivity of less-than and less-or-equal

2021-11-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101240 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment

Re: [PATCH] coroutines: Pass lvalues to user-defined operator new [PR 100772].

2021-11-05 Thread Jason Merrill via Gcc-patches
On 11/5/21 11:49, Iain Sandoe wrote: The wording of the standard has been clarified to be explicit that the the parameters to any user-defined operator-new in the promise class should be lvalues. tested on x86_64 darwin, linux, OK for master and backports? thanks Iain Signed-off-by: Iain

Re: [PATCH] coroutines, c++: Find lambda-ness from the ramp function [PR 96517].

2021-11-05 Thread Jason Merrill via Gcc-patches
On 11/5/21 17:16, Iain Sandoe wrote: Hi Jason, On 5 Nov 2021, at 20:50, Jason Merrill via Gcc-patches wrote: On 11/5/21 12:01, Iain Sandoe wrote: + || (DECL_DECLARES_FUNCTION_P (DECL_CONTEXT (decl)) + && DECL_COROUTINE_P (DECL_CONTEXT (decl)) +

[Bug c/103103] Incorrect integer optimization omits x < 0 comparison

2021-11-05 Thread k.melekhin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103103 --- Comment #3 from Kyryl Melekhin --- Thank you! I figured that this has something to do with being UB behavior with int overflow, however it's strange to find this kind of bug only on 1 compiler, with no possible warnings or idications that

Re: libstdc++: Make atomic::wait() const [PR102994]

2021-11-05 Thread Jonathan Wakely via Gcc-patches
OK, thanks. On Fri, 5 Nov 2021 at 21:46, Thomas Rodgers via Libstdc++ < libstd...@gcc.gnu.org> wrote: > >

Re: [committed] libstdc++: Fix range access for empty std::valarray [PR103022]

2021-11-05 Thread Jonathan Wakely via Gcc-patches
On Mon, 1 Nov 2021 at 13:27, Jonathan Wakely via Libstdc++ < libstd...@gcc.gnu.org> wrote: > Tested powerpc64le-linux, pushed to trunk. > > > The std::begin and std::end overloads for std::valarray are defined in > terms of std::addressof(v[0]) which is undefined for an empty valarray. > >

Re: *PING* [PATCH] PR fortran/69419 - ICE: tree check: expected array_type, have real_type in gfc_conv_array_initializer, at fortran/trans-array.c:5618

2021-11-05 Thread Mikael Morin
Le 04/11/2021 à 20:49, Harald Anlauf via Fortran a écrit : Let's see what others think. OK, thanks. Mikael

Re: [committed] libstdc++: Optimize std::tuple_element and std::tuple_size_v

2021-11-05 Thread Jonathan Wakely via Gcc-patches
On Fri, 5 Nov 2021 at 21:19, Patrick Palka wrote: > On Thu, Nov 4, 2021 at 2:34 PM Jonathan Wakely via Libstdc++ > wrote: > > > > Tested powerpc64le-linux, committed to trunk. > > > > > > This reduces the number of class template instantiations needed for code > > using tuples, by reusing

libstdc++: Make atomic::wait() const [PR102994]

2021-11-05 Thread Thomas Rodgers via Gcc-patches
From 360c094a0725bb0cc444115c0377db10e5e9ae1f Mon Sep 17 00:00:00 2001 From: Thomas Rodgers Date: Fri, 5 Nov 2021 14:30:24 -0700 Subject: [PATCH] libstdc++: Make atomic::wait() const [PR102994] This was an oversight in the original commit adding wait/notify to atomic. libstdc++-v3/ChangeLog:

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2021-11-05 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 100802, which changed state. Bug 100802 Summary: VRP fails to fold comparison using known value orders https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100802 What|Removed |Added

[Bug tree-optimization/100802] VRP fails to fold comparison using known value orders

2021-11-05 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100802 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-05 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #15 from Aldy Hernandez --- Created attachment 51740 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51740=edit untested patch This should do it. Martin, can you verify this fixes it on your end?

Re: [PATCH 14/18] rs6000: Debug support

2021-11-05 Thread Segher Boessenkool
On Wed, Sep 01, 2021 at 11:13:50AM -0500, Bill Schmidt wrote: > * config/rs6000/rs6000-call.c (rs6000_debug_type): New function. > (def_builtin): Change debug formatting for easier parsing and > include more information. > (rs6000_init_builtins): Add dump of autogenerated

[Bug tree-optimization/101240] [missed optimization] Transitivity of less-than and less-or-equal

2021-11-05 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101240 Andrew Macleod changed: What|Removed |Added CC||aldyh at redhat dot com --- Comment

Re: [PATCH] PR fortran/102817 - [12 Regression] ICE in gfc_clear_shape, at fortran/expr.c:422

2021-11-05 Thread Mikael Morin
Le 01/11/2021 à 22:39, Harald Anlauf via Fortran a écrit : Dear Fortranners, a recent patch uncovered a latent issue with simplification of array-valued expressions where the resulting shape was not set from the referenced subobject. Once found, the fix looks obvious. Regtested on

Re: [PATCH] gcc: vx-common.h: fix test for VxWorks7

2021-11-05 Thread Rasmus Villemoes via Gcc-patches
On 05/11/2021 16.12, Olivier Hainque wrote: > > >> On 5 Nov 2021, at 15:12, Rasmus Villemoes wrote: > We happen to also have a few fixincludes hunks around. Some of > them have been there for years now and I thought would be nice to > propagate at some point. > > Do you use it? Sort of, kind

Re: [committed] libstdc++: Optimize std::tuple_element and std::tuple_size_v

2021-11-05 Thread Patrick Palka via Gcc-patches
On Thu, Nov 4, 2021 at 2:34 PM Jonathan Wakely via Libstdc++ wrote: > > Tested powerpc64le-linux, committed to trunk. > > > This reduces the number of class template instantiations needed for code > using tuples, by reusing _Nth_type in tuple_element and specializing > tuple_size_v for tuple,

[PATCH 0/2] incpath, Fortran: Fix memory leak in gfc_add_include_path

2021-11-05 Thread Bernhard Reutner-Fischer via Gcc-patches
Hi! In order to fix this very minor leak, we need a knob to free all cpp_dirs that were added. This adds a free_cpp_dirs() to gcc/incpath and needs review from some global maintainer or maybe libcpp maintainer for this hunk. Bootstrapped and regtested on x86_64-unknown-linux without regressions.

[PATCH 2/2] Fortran: Fix memory leak in gfc_add_include_path [PR68800]

2021-11-05 Thread Bernhard Reutner-Fischer via Gcc-patches
From: Bernhard Reutner-Fischer gcc/fortran/ChangeLog: PR fortran/68800 * cpp.h (gfc_cpp_free_cpp_dirs): New declaration. * cpp.c (gfc_cpp_free_cpp_dirs): New definition. (gfc_cpp_add_include_path, gfc_cpp_add_include_path_after): Add comment. *

[PATCH 1/2] Add free_cpp_dirs()

2021-11-05 Thread Bernhard Reutner-Fischer via Gcc-patches
From: Bernhard Reutner-Fischer gcc/ChangeLog: * incpath.c (free_cpp_dirs): New function. * incpath.h (free_cpp_dirs): Ditto. --- This adds a helper to allow the fortran FE to free it's include dirs. Bootstrapped and regtested without new regressions on x86_64-unknown-linux. Ok

Re: [PATCH] coroutines, c++: Find lambda-ness from the ramp function [PR 96517].

2021-11-05 Thread Iain Sandoe
Hi Jason, > On 5 Nov 2021, at 20:50, Jason Merrill via Gcc-patches > wrote: > > On 11/5/21 12:01, Iain Sandoe wrote: >> + || (DECL_DECLARES_FUNCTION_P (DECL_CONTEXT (decl)) >> + && DECL_COROUTINE_P (DECL_CONTEXT (decl)) >> + && DECL_RAMP_FN (DECL_CONTEXT

Re: [pushed] testsuite, Darwin : Fix tsvc test build on Darwin.

2021-11-05 Thread Martin Liška
On 11/5/21 22:08, Iain Sandoe wrote: |Fixed as below.| Thank you Iain for the fix. Martin

[Bug fortran/89078] [meta-bug] Improve the gfortran manual

2021-11-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89078 Bug 89078 depends on bug 35276, which changed state. Bug 35276 Summary: Doc should described how to compile mixed-language programs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276 What|Removed |Added

[Bug fortran/35276] Doc should described how to compile mixed-language programs

2021-11-05 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[committed] Fortran: Add more documentation for mixed-language programming

2021-11-05 Thread Sandra Loosemore
I was recently pinged about PR35276. It's an old issue, but a couple of the concerns raised there haven't been fixed yet, so I've checked in this patch to fill in the gaps. -Sandra commit b8bf685ed44dba9bd4bbd600bc8bc2be0a2abb1b Author: Sandra Loosemore Date: Fri Nov 5 14:01:03 2021 -0700

[Bug c/103103] Incorrect integer optimization omits x < 0 comparison

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103103 --- Comment #2 from Andrew Pinski --- Also you can detect this at runtime with -fsanitize=undefined.

[Bug c/103103] Incorrect integer optimization omits x < 0 comparison

2021-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103103 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug fortran/100972] Missing error with "implicit none (external)"

2021-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100972 --- Comment #3 from CVS Commits --- The master branch has been updated by Bernhard Reutner-Fischer : https://gcc.gnu.org/g:1727bb533ede295a3ef2dd494225d27b6d1746aa commit r12-4961-g1727bb533ede295a3ef2dd494225d27b6d1746aa Author: Bernhard

  1   2   3   4   >