[Bug debug/103975] DWARF .debug_frame incorrect for ISRs on AVR; pushing SREG creates off-by-one error

2022-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103975 Andrew Pinski changed: What|Removed |Added Keywords||wrong-debug --- Comment #2 from Andrew

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 --- Comment #3 from Richard Biener --- Yes, the oracle assumes that for MEM[(struct ovs_list *)pos_32 + 64B] pos_32 needs to still point to some valid object (even if it's not of type ovs_list) and a pointer to 'start' cannot be constructed from

[Bug bootstrap/103820] [12 Regression] i686 failed to bootstrap with ada by r12-6077

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103820 --- Comment #6 from CVS Commits --- The master branch has been updated by Xiong Hu Luo : https://gcc.gnu.org/g:0552605b7b27dc6beed62e71bd05bc1efd191c0d commit r12-6430-g0552605b7b27dc6beed62e71bd05bc1efd191c0d Author: Xionghu Luo Date: Mon

[Bug bootstrap/103820] [12 Regression] i686 failed to bootstrap with ada by r12-6077

2022-01-11 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103820 luoxhu at gcc dot gnu.org changed: What|Removed |Added CC||luoxhu at gcc dot gnu.org --

[Bug tree-optimization/103802] [12 regression] recip-3.c fails after r12-6087 on Power m32

2022-01-11 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103802 luoxhu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/103968] [11/12 Regression] ICE and segfault when instantiating template with lvalue ref argument and nested template type

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103968 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/103971] [12 regression] build fails after r12-6420, ICE at libgfortran/generated/matmul_i1.c:2450

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103971 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/103973] x86: 4-way comparison of floats/doubles with spaceship operator possibly suboptimal

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103973 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Last reconfirmed

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/103971] [12 regression] build fails after r12-6420, ICE at libgfortran/generated/matmul_i1.c:2450

2022-01-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103971 Martin Liška changed: What|Removed |Added CC||avieira at gcc dot gnu.org,

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function since r12-6030-g422f9eb7011b76c1

2022-01-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Martin Liška changed: What|Removed |Added CC||siddhesh at gcc dot gnu.org S

[Bug libgomp/103976] New: Very large overhead for if(false) openmp pragmas

2022-01-11 Thread nickpapior at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103976 Bug ID: 103976 Summary: Very large overhead for if(false) openmp pragmas Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/103975] DWARF .debug_frame incorrect for ISRs on AVR; pushing SREG creates off-by-one error

2022-01-11 Thread kimballa at apache dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103975 --- Comment #3 from Aaron Kimball --- (In reply to Andrew Pinski from comment #2) > Can you try a newer verison of GCC since 7.x is no longer support like maybe > 11.2.0 or even 10.3.0? Hi Andrew, I tried again and figured out the issue in my

[Bug target/103975] DWARF .debug_frame incorrect for ISRs on AVR; pushing SREG creates off-by-one error

2022-01-11 Thread kimballa at apache dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103975 --- Comment #4 from Aaron Kimball --- Created attachment 52161 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52161&action=edit Test case for gcc 11.2.0 demonstrating issue Attaching updated test case for gcc 11.2.0

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function since r12-6030-g422f9eb7011b76c1

2022-01-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #12 from Martin Liška --- Self-contained test-case: extern __inline __attribute__((__gnu_inline__)) int sprintf( char *__restrict __s, const char *__restrict __fmt, ...) { return __builtin___sprintf_chk(__s, 2 - 1, __builtin_o

[Bug target/102239] powerpc suboptimal boolean test of contiguous bits

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102239 --- Comment #12 from CVS Commits --- The master branch has been updated by Xiong Hu Luo : https://gcc.gnu.org/g:19d81fda48f30c4fc11c8912749351acd9159c17 commit r12-6433-g19d81fda48f30c4fc11c8912749351acd9159c17 Author: Xionghu Luo Date: Sun

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function since r12-6030-g422f9eb7011b76c1

2022-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #13 from Jakub Jelinek --- Testcase with nicer formatting: extern inline __attribute__ ((__gnu_inline__)) int sprintf (char *restrict s, const char *restrict fmt, ...) { return __builtin___sprintf_chk (s, 1, __builtin_object_size

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function since r12-6030-g422f9eb7011b76c1

2022-01-11 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Siddhesh Poyarekar changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |siddhesh at gcc dot gnu.org

[Bug tree-optimization/100315] missed optimization for dead code elimination at -O3, -O2 (vs. -O1, -Os)

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100315 Richard Biener changed: What|Removed |Added Version|unknown |12.0 Keywords|wrong-code

[Bug ipa/100314] missed optimization for dead code elimination at -O3 (vs. -O1) (inlining differences)

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100314 Richard Biener changed: What|Removed |Added Version|unknown |12.0 Last reconfirmed|2021-09-25 00:

[Bug ipa/100308] IPA CP ipcp_modif_dom_walker removes calls w/o updating the cgraph

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100308 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug target/32593] Missed optimization of 'y = constant - x' operation

2022-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32593 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.8.0 Status|NEW

[Bug ipa/100220] missed optimization for dead code elimination at -O3 (vs. -O1, -Os, -O2) (inlining differences)

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100220 --- Comment #2 from Richard Biener --- Indeed similar interaction between inlining, static var const promotion and IPA CP / inline heuristics

[Bug target/32735] i686 sse2 generates more movdqa than necessary

2022-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32735 Andrew Pinski changed: What|Removed |Added Keywords||ra Severity|normal

Re: [Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2022-01-11 Thread Jan Hubicka via Gcc-bugs
on zen2 and 3 with -flto the speedup seems to be cca 12% for both -O2 and -Ofast -march=native which is both very nice! Zen1 for some reason sees less improvement, about 6%. With PGO it is 3.8% Overall it seems a win, but there are few noteworthy issues. I also see a 6.69% regression on x64 with

[Bug rtl-optimization/98782] [11 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2022-01-11 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #42 from hubicka at kam dot mff.cuni.cz --- on zen2 and 3 with -flto the speedup seems to be cca 12% for both -O2 and -Ofast -march=native which is both very nice! Zen1 for some reason sees less improvement, about 6%. With PGO it is 3.

[Bug tree-optimization/100221] Takes two passes at DSE to remove some dead stores

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100221 Richard Biener changed: What|Removed |Added Version|unknown |12.0 --- Comment #4 from Richard Biene

[Bug target/34719] N_GSYM stabs warning with common blocks on Mac OS X Leopard

2022-01-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34719 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/70763] Use SSE for DImode load/store

2022-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70763 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 Status|NEW

[Bug ipa/100314] missed optimization for dead code elimination at -O3 (vs. -O1) (inlining differences)

2022-01-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100314 --- Comment #3 from Jan Hubicka --- With -O1 i get: IPA function summary for main/7 inlinable global time: 72.936364 self size: 6 global size: 19 min size: 16 self stack: 0 global stack:44 size:15.000

[Bug ipa/100314] missed optimization for dead code elimination at -O3 (vs. -O1) (inlining differences)

2022-01-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100314 --- Comment #4 from Jan Hubicka --- However i is also dead at dse time: void d (int m) { int k;

[Bug ipa/100220] missed optimization for dead code elimination at -O3 (vs. -O1, -Os, -O2) (inlining differences)

2022-01-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100220 Jan Hubicka changed: What|Removed |Added Depends on||100314 --- Comment #3 from Jan Hubicka -

[Bug tree-optimization/100221] Takes two passes at DSE to remove some dead stores

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100221 --- Comment #5 from Richard Biener --- Note handling this special case doesn't resolve the issue in the original testcase since the virtual operand setup is different there. As said, DSE is not set up to follow multiple paths to uses (sth akin

[Bug tree-optimization/100221] Takes two passes at DSE to remove some dead stores

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100221 --- Comment #6 from Richard Biener --- Created attachment 52162 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52162&action=edit untested patch fixing the reduced testcase

[Bug tree-optimization/100221] Takes two passes at DSE to remove some dead stores

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100221 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug bootstrap/99920] [10 regression] ICE building gcc 10 on power 7 BE with GCC 4.3.4 (SUSE) host compiler

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99920 Richard Biener changed: What|Removed |Added Summary|[10 regression] ICE |[10 regression] ICE |

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread i.maximets at ovn dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 --- Comment #5 from Ilya Maximets --- (In reply to Richard Biener from comment #4) > the IVOPTs reference is likely due to the fact that while IVOPTs uses > uintptrs to create the base pointer the TARGET_MEM_REF contained arithmetic > itself is

[Bug middle-end/98865] Missed transform of (a >> 63) * b

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98865 Richard Biener changed: What|Removed |Added Severity|enhancement |normal Last reconfirmed|2021-03-07 00

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2022-01-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #11 from Jonathan Wakely --- I already reported https://cplusplus.github.io/LWG/issue3653 for the std::hash use in . Removing exceptions, typeinfo and coroutines is unnecessary and irrelevant to this bug report. Stop using GCC bugzil

[Bug target/98167] [x86] Failure to optimize operation on indentically shuffled operands into a shuffle of the result of the operation

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98167 --- Comment #20 from Richard Biener --- -fno-trapping-math tells us we are not concerned about FP exception flags (so say spurious FP_INEXACT is OK), -fno-signalling-nans is needed as well I guess. Oh, and in practice performing the multiplicati

[Bug target/97194] optimize vector element set/extract at variable position

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97194 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/97147] GCC uses vhaddpd which is bad for latency

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97147 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/103977] New: ice in try_vectorize_loop_1

2022-01-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103977 Bug ID: 103977 Summary: ice in try_vectorize_loop_1 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 --- Comment #6 from Jakub Jelinek --- (In reply to Ilya Maximets from comment #5) > (In reply to Richard Biener from comment #4) > > the IVOPTs reference is likely due to the fact that while IVOPTs uses > > uintptrs to create the base pointer th

[Bug rtl-optimization/97071] Fails to CSE / inherit constant pool load

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97071 --- Comment #7 from Richard Biener --- Another possibility would be to do this on GIMPLE, creating parts of the constant pool early with CONST_DECLs and loads from them for constants that are never legitimate (immediate) in instructions.

[Bug tree-optimization/97064] BB vectorization behaves sub-optimal

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97064 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* CC|

[Bug tree-optimization/103977] ice in try_vectorize_loop_1

2022-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103977 Jakub Jelinek changed: What|Removed |Added Component|c |tree-optimization Target Milestone|--

[Bug tree-optimization/103977] [12 Regression] ice in try_vectorize_loop_1 since r12-6420-gd3ff7420e941931d32ce2e332e7968fe67ba20af

2022-01-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103977 --- Comment #2 from David Binderman --- Reduced C source code is int *freelist_randomize_list; int cache_random_seq_create_count_i; void cache_random_seq_create_count() { for (; cache_random_seq_create_count_i; cache_random_seq_create_count_i

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #42 from Richard Biener --- See PR101641 for an interesting case where eliding a round-trip causes wrong-code generation. It's union related so might not apply 1:1 to C++.

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #43 from Richard Biener --- (In reply to Andrew Downing from comment #41) > > Thus for types without a non-trivial ctor/dtor you do not need to use > > placement new. So take your example and remove the placement new. > > Does that c

[Bug rtl-optimization/97071] Fails to CSE / inherit constant pool load

2022-01-11 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97071 --- Comment #8 from Segher Boessenkool --- (In reply to Richard Biener from comment #7) > Another possibility would be to do this on GIMPLE, creating parts of the > constant pool early with CONST_DECLs and loads from them for constants that > are

[Bug tree-optimization/103977] [12 Regression] ice in try_vectorize_loop_1 since r12-6420-gd3ff7420e941931d32ce2e332e7968fe67ba20af

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103977 --- Comment #3 from Richard Biener --- /* For epilogues start the analysis from the first mode. The motivation behind starting from the beginning comes from cases where the VECTOR_MODES array may contain length-agnostic and length-s

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function since r12-6030-g422f9eb7011b76c1

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug libgomp/103976] Very large overhead for if(false) openmp pragmas

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103976 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-01-11 Status|UNCONFIR

[Bug rtl-optimization/97071] Fails to CSE / inherit constant pool load

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97071 --- Comment #9 from Richard Biener --- (In reply to Segher Boessenkool from comment #8) > (In reply to Richard Biener from comment #7) > > Another possibility would be to do this on GIMPLE, creating parts of the > > constant pool early with CONST

[Bug libstdc++/103891] clang-13 fails to compile libstdc++'s std::variant>: error: attempt to use a deleted function

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103891 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5b417b35824fb5c15e3ee958cb86436b3409ebea commit r12-6439-g5b417b35824fb5c15e3ee958cb86436b3409ebea Author: Jonathan Wakely Date:

[Bug ada/79724] GNAT tools do not respect --program-suffix and --program-prefix

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79724 --- Comment #8 from CVS Commits --- The master branch has been updated by Pierre-Marie de Rodat : https://gcc.gnu.org/g:7aa3800216ea991050ec904a28c628cd7799021b commit r12-6459-g7aa3800216ea991050ec904a28c628cd7799021b Author: Arnaud Charlet D

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #12 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:265d3e1a4e3d6c71d354f859302f023dc2d33f62 commit r12-6474-g265d3e1a4e3d6c71d354f859302f023dc2d33f62 Author: Jonathan Wakely Date

[Bug ada/79724] GNAT tools do not respect --program-suffix and --program-prefix

2022-01-11 Thread charlet at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79724 Arnaud Charlet changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2022-01-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/103891] clang-13 fails to compile libstdc++'s std::variant>: error: attempt to use a deleted function

2022-01-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103891 Jonathan Wakely changed: What|Removed |Added Resolution|MOVED |FIXED Target Milestone|---

[Bug libgomp/103976] Very large overhead for if(false) openmp pragmas

2022-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103976 --- Comment #2 from Jakub Jelinek --- Even with if (0) it has to do that. if (0) doesn't say act as if the construct isn't there, it says that it should act as if num_threads is forced to 1. It still creates an inactive parallel region and nee

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread i.maximets at ovn dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 --- Comment #7 from Ilya Maximets --- (In reply to Jakub Jelinek from comment #6) > What is the reason why OVS (and kernel) doesn't use 2 variables, one for the > iterator that is a pointer to the prev/next structure only and one assigned > e.g.

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

2022-01-11 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #6

[Bug c++/102670] Erroneous "missing template arguments" message for wrapper of ADL function template

2022-01-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102670 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 Status|ASSIGNED

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 --- Comment #8 from Richard Biener --- (In reply to Ilya Maximets from comment #7) > One thing that is not clear to me is if the following code has an UB or not: > > struct member* pos; > struct ovs_list start; > > pos = (struct me

[Bug tree-optimization/103603] [11 Regression] stack overflow on ranger for huge program, but OK for legacy

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103603 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:3760d9d7b5410f16236ed15d02ec1d8a7d16fddb commit r11-9452-g3760d9d7b5410f16236ed15d02ec1d8a7d16fddb Author: Andrew MacLeod

[Bug tree-optimization/103464] [12 Regression] ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault since r12-5522-g661c02e54ea72fb5

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464 --- Comment #19 from CVS Commits --- The releases/gcc-11 branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:3760d9d7b5410f16236ed15d02ec1d8a7d16fddb commit r11-9452-g3760d9d7b5410f16236ed15d02ec1d8a7d16fddb Author: Andrew MacLeo

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

2022-01-11 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974 rsandifo at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot

[Bug analyzer/102692] -Wanalyzer-null-dereference false alarm with (!p || q || !p->next)

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102692 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:4f34f8cc1d064bfaaed723312c71e92f495d429b commit r12-6476-g4f34f8cc1d064bfaaed723312c71e92f495d429b Author: David Malcolm Date: F

[Bug rtl-optimization/98782] [11 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2022-01-11 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #43 from rsandifo at gcc dot gnu.org --- (In reply to hubicka from comment #42) > I also see a 6.69% regression on x64 with -Ofast -march=native -flto > https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=475.377.0 I can reprodu

[Bug bootstrap/103974] [12 Regression] ICE in ira_flattening building libstdc++ with r12-6415-g01f3e6a40e72

2022-01-11 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103974 --- Comment #8 from Jeffrey A. Law --- ACK. I wandered through the tester this morning, the vast majority of the current failures are the ira_flattening ICE. Though I think there's likely one other ICE in IRA (frv-elf, ICE in check_allocation)

[Bug target/103804] ICE: 'global_options' are modified in local context

2022-01-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103804 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/103804] ICE: 'global_options' are modified in local context

2022-01-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103804 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/103821] [12 Regression] huge compile time (jump threading) at -O3 for simple code since r12-4790-g4b3a325f07acebf47e82de227ce1d5ba62f5bcae

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103821 --- Comment #4 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:71b72132011a47a4b39950d95718f18d1218978c commit r12-6477-g71b72132011a47a4b39950d95718f18d1218978c Author: Andrew MacLeod Date:

[Bug tree-optimization/103821] [12 Regression] huge compile time (jump threading) at -O3 for simple code since r12-4790-g4b3a325f07acebf47e82de227ce1d5ba62f5bcae

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

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 --- Comment #9 from Jakub Jelinek --- (In reply to Ilya Maximets from comment #7) > (In reply to Jakub Jelinek from comment #6) > > What is the reason why OVS (and kernel) doesn't use 2 variables, one for the > > iterator that is a pointer to th

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function since r12-6030-g422f9eb7011b76c1

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #15 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:026d44cbbd42653908f9faf6b80773f03e1bb1a0 commit r12-6478-g026d44cbbd42653908f9faf6b80773f03e1bb1a0 Author: Siddhesh Poyarekar

[Bug middle-end/70090] add non-constant variant of __builtin_object_size for _FORTIFY_SOURCE and -fsanitize=object-size

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70090 --- Comment #4 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:404c787e2bfe8cae666b075ed903990ea452220e commit r12-6479-g404c787e2bfe8cae666b075ed903990ea452220e Author: Siddhesh Poyarekar

[Bug middle-end/70090] add non-constant variant of __builtin_object_size for _FORTIFY_SOURCE and -fsanitize=object-size

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70090 --- Comment #5 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:ea19c8f33a3a8d2b52f89f1fade0a21e3c779190 commit r12-6480-gea19c8f33a3a8d2b52f89f1fade0a21e3c779190 Author: Siddhesh Poyarekar

[Bug middle-end/70090] add non-constant variant of __builtin_object_size for _FORTIFY_SOURCE and -fsanitize=object-size

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70090 --- Comment #6 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:1f07810659616221c3bf4177c1fc2ca3607f7728 commit r12-6481-g1f07810659616221c3bf4177c1fc2ca3607f7728 Author: Siddhesh Poyarekar

[Bug middle-end/70090] add non-constant variant of __builtin_object_size for _FORTIFY_SOURCE and -fsanitize=object-size

2022-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70090 --- Comment #7 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:06bc1b0c539e3a60692d7432d15e701c38610f80 commit r12-6482-g06bc1b0c539e3a60692d7432d15e701c38610f80 Author: Siddhesh Poyarekar

[Bug other/103617] Debugging gcc: can't use 'pp' command for irange

2022-01-11 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103617 --- Comment #6 from Andrew Macleod --- Is this actually a bug? I don't believe wide_int works either? PP doesn't work with class instances... (gdb) p lh.lower_bound(0) $3 = { = {val = {-2147483648, 18992502, 140737232043872, 140737233406440,

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function since r12-6030-g422f9eb7011b76c1

2022-01-11 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #16 from Siddhesh Poyarekar --- Should be fixed with that patch. May I close this or wait for confirmation from the reporter?

[Bug middle-end/77608] missing protection on trivially detectable runtime buffer overflow

2022-01-11 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77608 --- Comment #8 from Siddhesh Poyarekar --- The test case for pr 103961 exposed a flaw in my patch, where assuming wholesize isn't always safe or at least would need more careful consideration. I need to think this through some more.

[Bug sanitizer/103978] New: AddressSanitizer CHECK failed ../../../../src/libsanitizer/asan/asan_thread.cpp:367 "((ptr[0] == kCurrentStackFrameMagic)) != (0)" (0x0, 0x0)

2022-01-11 Thread contino at epigenesys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103978 Bug ID: 103978 Summary: AddressSanitizer CHECK failed ../../../../src/libsanitizer/asan/asan_thread.cpp:367 "((ptr[0] == kCurrentStackFrameMagic)) != (0)" (0x0, 0x

[Bug sanitizer/103978] AddressSanitizer CHECK failed ../../../../src/libsanitizer/asan/asan_thread.cpp:367 "((ptr[0] == kCurrentStackFrameMagic)) != (0)" (0x0, 0x0)

2022-01-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103978 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-01-11 Status|UNCONFIRME

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function since r12-6030-g422f9eb7011b76c1

2022-01-11 Thread manuel.lauss at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #17 from Manuel Lauss --- (In reply to Siddhesh Poyarekar from comment #16) > Should be fixed with that patch. May I close this or wait for confirmation > from the reporter? I can no longer reproduce the original issue.

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function since r12-6030-g422f9eb7011b76c1

2022-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug libstdc++/103891] clang-13 fails to compile libstdc++'s std::variant>: error: attempt to use a deleted function

2022-01-11 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103891 --- Comment #8 from Sergei Trofimovich --- That allowed me to build mold-1.0.0 with clang-13 + libstdc++. Thank you!

[Bug c/103979] New: asm goto is not considered volatile

2022-01-11 Thread gareth.webb+gccbugzilla at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103979 Bug ID: 103979 Summary: asm goto is not considered volatile Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/97390] [OpenACC] 'async' clause on 'data' construct

2022-01-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97390 Thomas Schwinge changed: What|Removed |Added Status|SUSPENDED |NEW Assignee|tschwinge at gc

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread i.maximets at ovn dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 --- Comment #10 from Ilya Maximets --- (In reply to Jakub Jelinek from comment #9) > (In reply to Ilya Maximets from comment #7) > > (In reply to Jakub Jelinek from comment #6) > > > What is the reason why OVS (and kernel) doesn't use 2 variable

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 --- Comment #11 from Jakub Jelinek --- (In reply to Ilya Maximets from comment #10) > Doesn't sound very intuitive. I guess, it's easier to just add a NULL > pointer > check after the loop, i.e. ovs_list_insert(pos ? &pos->elem : &start, ...).

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-11 Thread i.maximets at ovn dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 --- Comment #12 from Ilya Maximets --- > (In reply to Ilya Maximets from comment #7) > > One thing that is not clear to me is if the following code has an UB or not: > > > > struct member* pos; > > struct ovs_list start; > > > > po

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2022-01-11 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #14 from cqwrteur --- (In reply to Jonathan Wakely from comment #13) > Fixed on trunk. What about source_location?

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2022-01-11 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #14 from cqwrteur --- (In reply to Jonathan Wakely from comment #13) > Fixed on trunk. What about source_location? --- Comment #15 from cqwrteur --- (In reply to Jonathan Wakely from comment #13) > Fixed on trunk. What about sour

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2022-01-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #16 from Jonathan Wakely --- This is the first time anybody has pointed out it's missing, that's why it's still missing.

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2022-01-11 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #17 from cqwrteur --- (In reply to Jonathan Wakely from comment #16) > This is the first time anybody has pointed out it's missing, that's why it's > still missing. https://en.cppreference.com/w/cpp/freestanding Btw ciso646, cstdali

  1   2   >