[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-13 Thread syq at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #4 from YunQiang Su --- but where is the stat_t of D is defined?

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 ibuclaw at gcc dot gnu.org changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org

[Bug tree-optimization/103253] Unused COND_MUL isn't removed by DCE even with -fno-trapping-math

2021-12-13 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 Tamar Christina changed: What|Removed |Added Priority|P1 |P3 Summary|[12 Regression]

[Bug tree-optimization/66502] SCCVN can't handle PHIs optimistically optimally

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66502 --- Comment #5 from Andrew Pinski --- (In reply to Richard Biener from comment #4) > SCCVN preference changed. Missed optimization remains (now the other > variant). GCC 10 looks like it can handle both now. I don't know if that means this can

gcc-bugs@gcc.gnu.org

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94267 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #0) > Likewise > &TARGET_MEM_REF[ptr_1 + 4] should be canonicalized to &MEM_REF[ptr_1 + 4] > or even a POINTER_PLUS_EXPR. We now canonicalized &MEM_REF[ptr_1 + 4] in

[Bug middle-end/103632] wrong code at -O2 on aarch64-unknown-linux-gnu

2021-12-13 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103632 Tamar Christina changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug rtl-optimization/103350] [12 Regression] wrong code with -Os -fno-tree-ter on aarch64-unknown-linux-gnu since r12-2288-g8695bf78dad1a42636775843ca832a2f4dba4da3

2021-12-13 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103350 --- Comment #5 from Tamar Christina --- *** Bug 103632 has been marked as a duplicate of this bug. ***

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above since r12-5531-g1b0acc4b800b589a

2021-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103513 --- Comment #8 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:3b61f06b2e1e7e72fcb6c0cf3590cb25eb92c4f2 commit r12-5921-g3b61f06b2e1e7e72fcb6c0cf3590cb25eb92c4f2 Author: Jan Hubicka Date: Mon D

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above since r12-5531-g1b0acc4b800b589a

2021-12-13 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103513 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/82918] No aliasing is possible on non equal pointers

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82918 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|middle-en

[Bug rtl-optimization/40893] ARM and PPC truncate intermediate operations unnecessarily

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40893 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug rtl-optimization/103350] [12 Regression] wrong code with -Os -fno-tree-ter on aarch64-unknown-linux-gnu since r12-2288-g8695bf78dad1a42636775843ca832a2f4dba4da3

2021-12-13 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103350 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org

[Bug target/103094] [12 Regression] AAPCS for new partial vector mode types (e.g. V2x8QI) are incorrect.

2021-12-13 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103094 Tamar Christina changed: What|Removed |Added CC||jonathan.wright at arm dot com

[Bug c++/103678] [concepts] Constrained partial specialization of dependent template conflicts with unconstrained partial specialization

2021-12-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103678 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug gcov-profile/103652] Producing profile with -O2 -flto and trying to consume it with -O3 -flto leads to ICEs on indirect call profiling

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103652 --- Comment #1 from Martin Liška --- (In reply to Jan Hubicka from comment #0) > Building clang in the funny way (training with -O2 -flto -fprofile-generate) > and use with -O3 -flto -fprofile-generate I get ICE here: Do you mean, -O3 -flto -fp

[Bug ipa/103669] [12 Regression] wrong code with -O --param=modref-max-depth=1 since r12-4976-g4898e958a92d45db

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103669 Martin Liška changed: What|Removed |Added Summary|[12 Regression] wrong code |[12 Regression] wrong code

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #67 from Martin Liška --- (In reply to Arseny Solokha from comment #66) > Should I file my commend 38 as a separate PR, then? Yes, please.

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #68 from Martin Liška --- > Righto. This is proving unexpectedly hard to reproduce. Ok, so please tell me exact steps how to reproduce it.

[Bug gcov-profile/103652] Producing profile with -O2 -flto and trying to consume it with -O3 -flto leads to ICEs on indirect call profiling

2021-12-13 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103652 --- Comment #2 from hubicka at kam dot mff.cuni.cz --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103652 > > --- Comment #1 from Martin Liška --- > (In reply to Jan Hubicka from comment #0) > > Building clang in the funny way (training with

[Bug target/103661] __builtin_cpu_supports returns a negative integer for avx512vbmi2

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103661 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #69 from David Binderman --- (In reply to Martin Liška from comment #68) > > Righto. This is proving unexpectedly hard to reproduce. > > Ok, so please tell me exact steps how to reproduce it. First of all, get a -march=bdver2 machin

[Bug gcov-profile/103666] [11/12 Regression] compiling single-file preprocessed programs with -fprofile-generate no longer leads to intended results since r11-627-g1dedc12d186a1108

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103666 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/103675] gather is a loss for floats and win for doubles at zen3

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103675 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug gcov-profile/103652] Producing profile with -O2 -flto and trying to consume it with -O3 -flto leads to ICEs on indirect call profiling

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103652 --- Comment #3 from Martin Liška --- > You need to disable those to build multithreaded programs like clang. Well, I'm specifically speaking about: error: the control flow of function ‘BZ2_compressBlock’ does not match its profile data (counter

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-13 Thread syq at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #6 from YunQiang Su --- Index: gcc-12-12-20211211/src/libphobos/libdruntime/core/sys/posix/sys/stat.d === --- gcc-12-12-20211211.orig/src/libphobos/libdruntime/core/sys/

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-13 Thread syq at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #7 from YunQiang Su --- Where should we fallback this patch to?

Re: [Bug gcov-profile/103652] Producing profile with -O2 -flto and trying to consume it with -O3 -flto leads to ICEs on indirect call profiling

2021-12-13 Thread Jan Hubicka via Gcc-bugs
> > Well, I'm specifically speaking about: > error: the control flow of function ‘BZ2_compressBlock’ does not match its > profile data (counter ‘arcs’) > > this type of errors should not happen even in a multi-threaded programs. There are some cases where I see even those on clang build - I am

[Bug gcov-profile/103652] Producing profile with -O2 -flto and trying to consume it with -O3 -flto leads to ICEs on indirect call profiling

2021-12-13 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103652 --- Comment #4 from hubicka at kam dot mff.cuni.cz --- > > Well, I'm specifically speaking about: > error: the control flow of function ‘BZ2_compressBlock’ does not match its > profile data (counter ‘arcs’) > > this type of errors should not h

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |ASSIGNED --- Comment #8 fro

[Bug tree-optimization/103680] New: Jump threading and switch corrupts profile

2021-12-13 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Bug ID: 103680 Summary: Jump threading and switch corrupts profile Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2021-12-13 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Jan Hubicka changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-13 Thread syq at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #9 from YunQiang Su --- (In reply to ibuclaw from comment #8) > (In reply to YunQiang Su from comment #7) > > Where should we fallback this patch to? > I can submit it to upstream dlang/druntime (on github) and merged it in when > I

[Bug tree-optimization/103674] Poor codegen for C++ casts

2021-12-13 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103674 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/95663] static_cast checks for null even when the pointer is dereferenced

2021-12-13 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95663 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #19

[Bug tree-optimization/95663] static_cast checks for null even when the pointer is dereferenced

2021-12-13 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95663 --- Comment #20 from Jan Hubicka --- I really think with -fdelete-null-pointer-checks we should optimize away the pointer adjustment relying on the fact that program will segfault. I was wondering, -fdelete-null-pointer-checks currently requires

[Bug libstdc++/103664] std::regex_replace bug if the string contains \0

2021-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103664 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ef5d671cd80a4afa4f74c3dfe2904c63f51fcfde commit r12-5924-gef5d671cd80a4afa4f74c3dfe2904c63f51fcfde Author: Jonathan Wakely Date:

[Bug middle-end/103670] Incorrect optimization of loop termination: Early exit with any optimization

2021-12-13 Thread robert.muench at saphirion dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103670 Robert M. Münch changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug fortran/103576] [12 Regression] gcc/fortran/openmp.c:7556:8: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] since r12-5793-g689407ef916503b2f5a3c8c07fe7

2021-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103576 --- Comment #3 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:494ebfa7c9aacaeb6ec1fccc47a0e49f31eb2bb8 commit r12-5926-g494ebfa7c9aacaeb6ec1fccc47a0e49f31eb2bb8 Author: Tobias Burnus Date: M

[Bug fortran/103576] [12 Regression] gcc/fortran/openmp.c:7556:8: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] since r12-5793-g689407ef916503b2f5a3c8c07fe7

2021-12-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103576 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/103664] std::regex_replace bug if the string contains \0

2021-12-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103664 Jonathan Wakely changed: What|Removed |Added Blocks||102445 --- Comment #5 from Jonathan W

[Bug c++/103672] [10/11/12 Regression] using with template class> causes internal compiler error

2021-12-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103672 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-12-13 Keywords|

[Bug d/103577] d21 SIGSEGV on Darwin/x86_64

2021-12-13 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103577 --- Comment #1 from ro at CeBiTec dot Uni-Bielefeld.DE --- > I recently tried to build master on Darwin 11 with gcc 11.0.1. That's the > first > release to build gdc, and while libphobos isn't marked as supported in > libphobos/configure.tgt, i

[Bug d/103577] d21 SIGSEGV on Darwin/x86_64

2021-12-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103577 --- Comment #2 from Iain Buclaw --- (In reply to r...@cebitec.uni-bielefeld.de from comment #1) > I cannot yet tell if this is just an issue with GCC 11.1.0 gdc or > libphobos that's fixed in 11.2.0 or gcc-11 branch. It could be this patch fix

[Bug other/103681] New: Unusual behavior for tail padding with different c++ standards

2021-12-13 Thread n.deshmukh at samsung dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103681 Bug ID: 103681 Summary: Unusual behavior for tail padding with different c++ standards Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Martin Liška changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug d/103577] d21 SIGSEGV on Darwin/x86_64

2021-12-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103577 --- Comment #3 from Iain Buclaw --- FYI, with darwin, I've only been using the most recent commit in releases/gcc-11 for testing as there have been a number of issues exposed from that port. I have VMs set-up running 10.4 (PPC), 10.6 (x86_64),

[Bug other/103681] Unusual behavior for tail padding with different c++ standards

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103681 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker Keywords|

[Bug tree-optimization/103682] New: [12 regression] ICE on atomics: gimple check: expected gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs_code, at gimple.h:2852

2021-12-13 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103682 Bug ID: 103682 Summary: [12 regression] ICE on atomics: gimple check: expected gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs_code, at gimple.h:2852 Prod

[Bug tree-optimization/103682] [12 regression] ICE on atomics: gimple check: expected gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs_code, at gimple.h:2852

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103682 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug tree-optimization/103682] [12 regression] ICE on atomics: gimple check: expected gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs_code, at gimple.h:2852 since r12-5486-g7df89377a

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103682 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Summary|[12 regression] ICE

[Bug tree-optimization/103682] [12 regression] ICE on atomics: gimple check: expected gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs_code, at gimple.h:2852 since r12-5486-g7df89377a

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103682 --- Comment #2 from Andrew Pinski --- Confirmed. C testcase: int bug(unsigned *ready, unsigned u) { return __atomic_fetch_and (ready, ~u, 0) & u; }

[Bug tree-optimization/103683] New: Redundant !__builtin_isnan not removed with -fno-signaling-nans

2021-12-13 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103683 Bug ID: 103683 Summary: Redundant !__builtin_isnan not removed with -fno-signaling-nans Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: enhancement

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #70 from Martin Liška --- I'm sorry, but I don't have an access to a bdver2 machine. Anyway, can you please debug what I asked in #c57?

[Bug d/103577] d21 SIGSEGV on Darwin/x86_64

2021-12-13 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103577 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Iain Buclaw --- > (In reply to r...@cebitec.uni-bielefeld.de from comment #1) >> I cannot yet tell if this is just an issue with GCC 11.1.0 gdc or >> libphobos tha

[Bug d/103577] d21 SIGSEGV on Darwin/x86_64

2021-12-13 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103577 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from Iain Buclaw --- > FYI, with darwin, I've only been using the most recent commit in > releases/gcc-11 for testing as there have been a number of issues exposed from

[Bug c++/103681] [9/10/11/12 Regression] Unusual behavior for tail padding with different c++ standards and NSDMI

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103681 Andrew Pinski changed: What|Removed |Added Summary|Unusual behavior for tail |[9/10/11/12 Regression]

[Bug c++/103684] New: Ambiguous template template overload resolution

2021-12-13 Thread weidmann at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103684 Bug ID: 103684 Summary: Ambiguous template template overload resolution Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/103684] Ambiguous template template overload resolution

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103684 --- Comment #1 from Andrew Pinski --- Reduced testcase: template struct f{}; template struct g{}; template class T> constexpr int hello() { return 2; } template class T> constexpr int hello() { return 3; } void foo() { auto i = hel

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-13 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 --- Comment #7 from Bill Schmidt --- Oh, duh, sorry. Yes, I can reproduce as well.

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-13 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 --- Comment #8 from Bill Schmidt --- And Kewen's analysis is spot-on, will fix that.

[Bug c++/103684] Ambiguous template template overload resolution

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

[Bug c++/82266] [DR150] Allowing more specialized argument than parameter for placeholder

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82266 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug debug/78685] -Og generates too many ""s

2021-12-13 Thread mark at hotpy dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685 mark at hotpy dot org changed: What|Removed |Added CC||mark at hotpy dot org --- Comment

[Bug target/103624] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-13 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103624 --- Comment #6 from Bill Schmidt --- We have __builtin_darn_32 for the 32-bit case. The changes for the two 64-bit-only interfaces reflect the previous behavior.

[Bug c++/103684] Ambiguous template template overload resolution

2021-12-13 Thread weidmann at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103684 --- Comment #3 from Nicolas Weidmann --- Ok, thanks for the update!

[Bug analyzer/103685] New: false positive error: dereference of NULL ‘params’ [CWE-476]

2021-12-13 Thread vt at altlinux dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103685 Bug ID: 103685 Summary: false positive error: dereference of NULL ‘params’ [CWE-476] Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/82266] [DR150] Allowing more specialized argument than parameter for placeholder

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82266 --- Comment #2 from Andrew Pinski --- Note I put a in the alias because we had an ever older bug where GCC was implementing DR150 even before it became part of the standard (before auto even).

[Bug target/103686] New: ICE in rs6000_expand_new_builtin at rs6000-call.c:15946

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103686 Bug ID: 103686 Summary: ICE in rs6000_expand_new_builtin at rs6000-call.c:15946 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code

[Bug target/103686] ICE in rs6000_expand_new_builtin at rs6000-call.c:15946

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103686 Martin Liška changed: What|Removed |Added CC||segher at gcc dot gnu.org Ever confi

[Bug target/103622] [12 Regression] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-13 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 --- Comment #7 from Bill Schmidt --- It seems to me the problem is that long double was resolved to _Float128 when there is no _Float128 support on the target. There is no specific overloaded interface that accepts "long double," so there must

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug gcov-profile/103652] Producing profile with -O2 -flto and trying to consume it with -O3 -flto leads to ICEs on indirect call profiling

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103652 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/103636] [12 Regression] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:9eb8785b3fa3a180bd216cf68b53f1621628efc6 commit r12-5931-g9eb8785b3fa3a180bd216cf68b53f1621628efc6 Author: Martin Liska Date: Fri

[Bug ipa/103636] [12 Regression] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/103622] [12 Regression] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-13 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 --- Comment #8 from Bill Schmidt --- Hm, no, it's probably just that it's iterating looking for long double and runs across this instance with an uninitialized function type. So this patch solves the problem: diff --git a/gcc/config/rs6000/rs6

[Bug tree-optimization/26731] Jump threading gets in the way of loops

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26731 --- Comment #5 from Andrew Pinski --- In GCC 9 and above we get: _2 = x_6(D) + 1; _7 = (unsigned int) n_1; _11 = _7 + 4294967295; _15 = (int) _11; _16 = n_1 > 0 ? _15 : 0; x_3 = _2 + _16; Which is okish, the loop has been removed but

[Bug tree-optimization/103523] [11 Regression] vectorizable_induction generating code for modes without checking support for them by r11-7861-ge4180ab2f

2021-12-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103523 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Joel Hutton : https://gcc.gnu.org/g:f2cc8d059df8aea1b811a4a68512d137f4e83bd5 commit r11-9380-gf2cc8d059df8aea1b811a4a68512d137f4e83bd5 Author: Joel Hutton Dat

[Bug c++/83145] Ambiguous overload with templates, only GCC7 C++17 mode

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83145 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|Ambiguous overload

[Bug middle-end/103372] Warning on failure order defaulting to SEQ_CST if not a compile time constant

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103372 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ipa/79857] cgraph_node::verify_node should call internal_error instead of error

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79857 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX See Also|

[Bug target/103686] ICE in rs6000_expand_new_builtin at rs6000-call.c:15946

2021-12-13 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103686 --- Comment #1 from Bill Schmidt --- I think that the MMA implementation is incompatible with -mno-fold-gimple. We'll need to prevent that flag combination, I think.

[Bug libstdc++/103687] New: [12 regression] several time/date failures after r12-5898

2021-12-13 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103687 Bug ID: 103687 Summary: [12 regression] several time/date failures after r12-5898 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug libstdc++/103687] [12 regression] several time/date failures after r12-5898

2021-12-13 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103687 --- Comment #1 from seurer at gcc dot gnu.org --- It looks like a couple of these fail on some LE systems, too: FAIL: 22_locale/time_get/get_time/char/2.cc execution test FAIL: 22_locale/time_get/get_time/wchar_t/2.cc execution test

[Bug c++/65157] Unable to define a static template member function of a nested class as a friend of a sibling class.

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

[Bug c++/65157] Unable to define a static template member function of a nested class as a friend of a sibling class.

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65157 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) Note if I change d not to be a template, then GCC is able to recognize the friend and the code compiles.

[Bug analyzer/103233] Warning from system libraries in user code: CWE-476 -Werror=analyzer-null-dereference

2021-12-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103233 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/95663] static_cast checks for null even when the pointer is dereferenced

2021-12-13 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95663 --- Comment #21 from Jeffrey A. Law --- I don't think there's anything inherently wrong with treating 0 + small offset similarly to 0 when it comes to -fdelete-null-pointer-checks. I suspect it'll break some poorly written low level code, thoug

[Bug c++/100339] [9/10/11/12 Regression] Bogus "should have been declared inside" error with friend

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100339 Andrew Pinski changed: What|Removed |Added Known to fail||8.1.0 Ever confirmed|0

[Bug c++/101356] The non-public member of a local class cannot be accessed by a friend of the class

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101356 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-08-02 00:00:00 |2021-12-13 Blocks|

[Bug c++/91618] template-id required to friend a function template, even for a qualified-id

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

[Bug c++/100339] [9/10/11/12 Regression] Bogus "should have been declared inside" error with friend

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100339 Andrew Pinski changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Comme

[Bug c++/91618] template-id required to friend a function template, even for a qualified-id

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

[Bug c++/100339] [9/10/11/12 Regression] Bogus "should have been declared inside" error with friend

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

[Bug c++/91618] [9/10/11/12 Regression] template-id required to friend a function template, even for a qualified-id

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91618 Andrew Pinski changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/103534] [12 regression] Spurious -Wstringop-overflow warning with std::string concatencation

2021-12-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103534 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2021-12-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 103534, which changed state. Bug 103534 Summary: [12 regression] Spurious -Wstringop-overflow warning with std::string concatencation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103534 What|Removed

[Bug tree-optimization/103332] [12 Regression] Spurious -Wstringop-overflow on string concatenation in libstdc++ tests

2021-12-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103332 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/103534] [12 regression] Spurious -Wstringop-overflow warning with std::string concatencation

2021-12-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103534 Jason Merrill changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #12

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2021-12-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 103332, which changed state. Bug 103332 Summary: [12 Regression] Spurious -Wstringop-overflow on string concatenation in libstdc++ tests https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103332 What|Removed

[Bug target/103622] [12 Regression] ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-13 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 --- Comment #9 from Bill Schmidt --- Patch posted here: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586715.html

  1   2   3   >