[Bug c++/99909] The value of 'std::is_integral_v' is not usable in a constant expression

2021-04-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99909 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Last

[Bug middle-end/88897] [9/10/11 Regression] Bogus maybe-uninitialized warning on class field (missed CSE)

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88897 Martin Sebor changed: What|Removed |Added Summary|Bogus maybe-uninitialized |[9/10/11 Regression] Bogus

[Bug c/89723] Bogus maybe-uninitialized warning with -Og (jump threading)

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89723 Martin Sebor changed: What|Removed |Added Last reconfirmed|2019-03-15 00:00:00 |2021-4-6 See Also|

[Bug c++/90058] False Positive in undefined-sanitizer only with GCC8

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90058 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 90058, which changed state. Bug 90058 Summary: False Positive in undefined-sanitizer only with GCC8 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90058 What|Removed |Added

[Bug tree-optimization/99943] New: wrong code at -Os

2021-04-06 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
-pc-linux-gnu Configured with: ../gcc-trunk/configure --disable-bootstrap --prefix=/local/suz-local/software/local/gcc-trunk --enable-languages=c,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.1 20210406

[Bug tree-optimization/99943] [11 Regression] wrong code at -Os

2021-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99943 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-04-06 Summary|wrong

[Bug tree-optimization/99927] [11 Regression] Maybe wrong code since r11-39-gf9e1ea10e657af9f

2021-04-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 --- Comment #9 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #5) > But what is wrong is that try_combine has been called at all, because > (reg:CCZ 17 flags) is used in 3 instructions rather than just one. That is not a

[Bug c/99944] New: incorrect maybe-uninitialized warning on variable defined as an array

2021-04-06 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
f[g++] = a; (void) (f[0] || (g && h())); } With a GCC snapshot built a few hour ago from the master branch: cventin% gcc --version gcc (GCC) 11.0.1 20210406 (experimental) [...] cventin% gcc -Werror=maybe-uninitialized -O2 -c file.c file.c: In function ‘e1’: file.c:11:3: error: ‘f

[Bug c/99945] missing maybe-uninitialized warning when using a cleanup function

2021-04-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99945 Andrew Pinski changed: What|Removed |Added Depends on||83382 --- Comment #1 from Andrew Pinski

[Bug c++/96673] [8/9/10/11 Regression] Friend class with templates and default constructor not recognized in C++14 or later

2021-04-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96673 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug middle-end/88518] Function call defeats -Wuninitialized

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88518 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Last reconfirmed|

[Bug middle-end/60488] missing uninitialized warning (address taken, VOP)

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60488 Martin Sebor changed: What|Removed |Added CC||matthew at wil dot cx --- Comment #10

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 88518, which changed state. Bug 88518 Summary: Function call defeats -Wuninitialized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88518 What|Removed |Added

[Bug tree-optimization/99927] [11 Regression] Maybe wrong code since r11-39-gf9e1ea10e657af9f

2021-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 --- Comment #10 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #9) > So something earlier is bad already. Yes, see #c7 and #c8.

[Bug middle-end/88897] Bogus maybe-uninitialized warning on class field (missed CSE)

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88897 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to

[Bug c++/96673] [8/9/10 Regression] Friend class with templates and default constructor not recognized in C++14 or later

2021-04-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96673 Jason Merrill changed: What|Removed |Added Known to work||11.0 Summary|[8/9/10/11

[Bug c++/96673] [8/9/10/11 Regression] Friend class with templates and default constructor not recognized in C++14 or later

2021-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96673 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:de03b82f3ca9103eba3699d1dc91b1d0ee1f16cb commit r11-8018-gde03b82f3ca9103eba3699d1dc91b1d0ee1f16cb Author: Jason Merrill Date:

[Bug c/99945] New: missing maybe-uninitialized warning when using a cleanup function

2021-04-06 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
i; auto void cf (int *t) { foo2 (i); } int t __attribute__ ((cleanup (cf))); t = 0; if (foo1 ()) i = foo1 (); i = N foo1 () || i; foo2 (i); return 0; } With a GCC snapshot built a few hours ago from the master branch on x86_64: cventin% gcc --version gcc (GCC) 11.0.1 20210406

[Bug tree-optimization/89697] SRA prevents -Wuninitialized warning

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89697 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to

[Bug sanitizer/85777] [8/9/10/11 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear

2021-04-06 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85777 --- Comment #16 from Vincent Lefèvre --- Well, concerning the initial testcase (and its cleaned-up version), the issue is either fixed or hidden by another bug, which I've just reported: PR99944. Indeed, I now get a maybe-uninitialized warning,

[Bug c++/96873] Internal compiler error in alias_ctad_tweaks

2021-04-06 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96873 Johel Ernesto Guerrero Peña changed: What|Removed |Added CC||johelegp at gmail dot com

[Bug c++/97900] [9/10 Regression] g++ crashes when instantiating a templated function with a template-type vector parameter

2021-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97900 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ffc2331d7994d7fabb1f6ebed931024a9bbe69f2 commit r11-8000-gffc2331d7994d7fabb1f6ebed931024a9bbe69f2 Author: Jakub Jelinek Date:

[Bug target/99881] Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX

2021-04-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99881 --- Comment #4 from Hongtao.liu --- (In reply to Richard Biener from comment #3) > But 2 element construction _should_ be cheap. What is missing is the move > cost from GPR to XMM regs (but we do not have a good idea whether the sources > are

[Bug lto/99898] Possible LTO object incompatibility on gcc-10 branch

2021-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99898 --- Comment #7 from Jakub Jelinek --- Any *.opt changes can break the streaming of optimization or target option nodes. And from experience with gcc plugins we have such changes ~ each month even on release branches.

[Bug target/99930] New: Failure to optimize floating point -abs(x) in nontrivial code at -O2/3

2021-04-06 Thread core13 at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99930 Bug ID: 99930 Summary: Failure to optimize floating point -abs(x) in nontrivial code at -O2/3 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/99925] New: Missing 'inconsistent deduction for ‘auto’' error when using type-constraint placeholder

2021-04-06 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99925 Bug ID: 99925 Summary: Missing 'inconsistent deduction for ‘auto’' error when using type-constraint placeholder Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug target/99905] [8/9/10/11 Regression] wrong code with -mno-mmx -mno-sse

2021-04-06 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99905 Zdenek Sojka changed: What|Removed |Added Summary|wrong code with |[8/9/10/11 Regression]

[Bug c++/52202] [C++11][DR 1376] Should not extend lifetime of temporary wrapped in static_cast to reference type

2021-04-06 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202 --- Comment #5 from Jens Maurer --- Core issue 1299 resolved via http://wg21.link/p0727 does in fact lifetime-extend the temporary in the example. This bug report should therefore be closed without action. (If a test case is missing that

[Bug target/99905] [8/9/10/11 Regression] wrong code with -mno-mmx -mno-sse since r7-4540-gb229ab2a712ccd44

2021-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99905 Martin Liška changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10/11 Regression]

[Bug bootstrap/99920] [10 regression] ICE building gcc 10 on power 7 BE

2021-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99920 --- Comment #1 from Jakub Jelinek --- Could you please attach preprocessed source so that I can try to look at it quickly with a cross-compiler? Thanks.

[Bug tree-optimization/99887] Failure to optimize log2 pattern to clz

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99887 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-04-06 Ever confirmed|0

[Bug c++/99911] C++20 adl issue

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99911 Richard Biener changed: What|Removed |Added Version|unknown |11.0 Keywords|

[Bug target/99748] MVE: Wrong code at -O0 with float to integer conversion

2021-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99748 --- Comment #4 from CVS Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:16ea7f57891d3fe885ee55b2917208695e184714 commit r11-7999-g16ea7f57891d3fe885ee55b2917208695e184714 Author: Alex Coplan Date: Tue

[Bug c++/99926] Parameter packs and variadic arguments: Clang, gcc, and msvc differ on this one

2021-04-06 Thread matthurd at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99926 --- Comment #1 from Matt Hurd --- Just a correction to the commentary. The variadic after the pack is not unreachable as Richard Smith points out the following code can make the variadic argument reachable if you wrote such evil and it had a

[Bug middle-end/99928] [OpenMP] reduction variable in combined target construct wrongly mapped as firstprivate

2021-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99928 --- Comment #1 from Jakub Jelinek --- Yes, that is new in OpenMP 5.0, 4.5 didn't have it. Usually we do this in the gimplifier (gimplify_scan_omp_clauses), we also know there whether it is a combined construct or not. Look for the various spots

[Bug target/99905] wrong code with -mgeneral-regs-only

2021-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99905 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-04-06 Ever confirmed|0

[Bug target/99905] wrong code with -mgeneral-regs-only

2021-04-06 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99905 --- Comment #2 from Zdenek Sojka --- (In reply to Martin Liška from comment #1) > > Probably present since -mgeneral-regs-only introduction. > > Confirmed that, it's since r7-928-gce3a16ff1f59e6db. Thank you for the bisection. If

[Bug tree-optimization/99880] [10/11 Regression] ICE in maybe_set_vectorized_backedge_value, at tree-vect-loop.c:9161 since r10-3711-g69f8c1aef5cdcc54

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99880 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/99927] New: [11 Regression] Maybe wrong code since r11-39-gf9e1ea10e657af9f

2021-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 Bug ID: 99927 Summary: [11 Regression] Maybe wrong code since r11-39-gf9e1ea10e657af9f Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug target/99924] [11 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:6040 since r11-6734-gad2603433853129e847cade5e269c6a5f889a020

2021-04-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99924 --- Comment #3 from Tamar Christina --- (In reply to Richard Biener from comment #2) > Confirmed. I will have a look. It's interesting since the cost model needs to be disabled to reproduce it. It looks like when it is one of the load nodes

[Bug target/99929] New: SVE: Wrong code at -O2 -ftree-vectorize

2021-04-06 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99929 Bug ID: 99929 Summary: SVE: Wrong code at -O2 -ftree-vectorize Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/99908] SIMD: negating logical + if_else has a suboptimal codegen.

2021-04-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99908 --- Comment #2 from Hongtao.liu --- I'm testing @@ -17759,6 +17759,35 @@ (define_insn "_pblendvb" (set_attr "btver2_decode" "vector,vector,vector") (set_attr "mode" "")]) +(define_split + [(set (match_operand:VI1_AVX2 0

[Bug lto/99898] Possible LTO object incompatibility on gcc-10 branch

2021-04-06 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99898 --- Comment #6 from Jan Hubicka --- > I only reacall backporting the streaming fixes early in gcc10 timeframe > (August) that was reason for the September bump. > Didn't we backport some new command line options/params breaking > streaming of

[Bug target/99924] [11 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:6040 since r11-6734-gad2603433853129e847cade5e269c6a5f889a020

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99924 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/99932] New: OpenACC/nvptx offloading execution regressions starting with CUDA 11.2-era Nvidia Driver 460.27.04

2021-04-06 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99932 Bug ID: 99932 Summary: OpenACC/nvptx offloading execution regressions starting with CUDA 11.2-era Nvidia Driver 460.27.04 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug tree-optimization/96573] [10 Regression] Regression in optimization on x86-64 with -O3

2021-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96573 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bfeb36bd03c2168af263daa13370a20a96c42b5d commit r11-8002-gbfeb36bd03c2168af263daa13370a20a96c42b5d Author: Jakub Jelinek Date:

[Bug lto/99898] Possible LTO object incompatibility on gcc-10 branch

2021-04-06 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99898 --- Comment #5 from Jan Hubicka --- > The LTO minor saw a bump around Sep 10 last year already so the object files > must be younger or LTO should complain. > > I'm not aware of any specific change where we forgot the bumping but there > were

Re: [Bug lto/99898] Possible LTO object incompatibility on gcc-10 branch

2021-04-06 Thread Jan Hubicka
> Any *.opt changes can break the streaming of optimization or target option > nodes. > And from experience with gcc plugins we have such changes ~ each month even on > release branches. It may make sense to add a simple test to our regular testers that either the new revision can consume old

[Bug lto/99898] Possible LTO object incompatibility on gcc-10 branch

2021-04-06 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99898 --- Comment #8 from Jan Hubicka --- > Any *.opt changes can break the streaming of optimization or target option > nodes. > And from experience with gcc plugins we have such changes ~ each month even on > release branches. It may make sense to

[Bug target/99924] [11 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:6040 since r11-6734-gad2603433853129e847cade5e269c6a5f889a020

2021-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99924 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:58cd9fc8a61de09ba181c5ed5ac7fb91ec506414 commit r11-8001-g58cd9fc8a61de09ba181c5ed5ac7fb91ec506414 Author: Richard Biener Date:

[Bug lto/99898] Possible LTO object incompatibility on gcc-10 branch

2021-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99898 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

[Bug c++/99931] New: Unnamed `struct` defined with `using` having internal linkage instead of external, unlike `typedef`, yielding different semantics for two

2021-04-06 Thread egor_suvorov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99931 Bug ID: 99931 Summary: Unnamed `struct` defined with `using` having internal linkage instead of external, unlike `typedef`, yielding different semantics for two Product:

[Bug target/99929] SVE: Wrong code at -O2 -ftree-vectorize

2021-04-06 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99929 --- Comment #1 from Alex Coplan --- Slightly cleaner testcase: #include static void e(short *g, short p2) { *g ^= p2; } static short m[23]; int main() { for (unsigned i = 0; i < 23; ++i) m[i] = 4; if (svaddv(svptrue_pat_b32(SV_VL1),

[Bug c/99872] [11 Regression] optimizations sometimes lead to missing asm prefixes

2021-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99872 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/99880] [10/11 Regression] ICE in maybe_set_vectorized_backedge_value, at tree-vect-loop.c:9161 since r10-3711-g69f8c1aef5cdcc54

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99880 --- Comment #3 from Richard Biener --- So we're having a PHI latch value vectorized because it's used by the outer loop (vect_used_in_outer_by_reduction), but the vect_nested_cycle def PHI in the inner loop isn't relevant since it's

[Bug other/99933] New: gcc/brig/brigfrontend/brig-function.cc: 4 * possible performance problem ?

2021-04-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99933 Bug ID: 99933 Summary: gcc/brig/brigfrontend/brig-function.cc: 4 * possible performance problem ? Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/99946] New: fail to exchange if conditions in terms of likely/unlikely probability

2021-04-06 Thread jiangning.liu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99946 Bug ID: 99946 Summary: fail to exchange if conditions in terms of likely/unlikely probability Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/52202] [C++11][DR 1376] Should not extend lifetime of temporary wrapped in static_cast to reference type

2021-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202 --- Comment #7 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:a7698c0e1ecad65b1ab651acc82b34e12c7efd35 commit r11-8022-ga7698c0e1ecad65b1ab651acc82b34e12c7efd35 Author: Marek Polacek Date:

[Bug target/99900] feature request: 16-bit x86 C compiler / support compilation of (VirtualBox) BIOS

2021-04-06 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99900 --- Comment #3 from joseph at codesourcery dot com --- I've no idea whether the (not merged) ia16 port can do this, or whether the person currently maintaining a version of that port for GCC 6 is covered by an FSF copyright assignment.

[Bug sanitizer/83382] UBSAN tiggers false-positive warning [-Werror=uninitialized]

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83382 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Ever

[Bug tree-optimization/98736] [10/11 Regression] Wrong partition order generated in loop distribution pass since r10-619-g5879ab5fafedc8f6

2021-04-06 Thread amker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98736 --- Comment #6 from bin cheng --- Shall this be backported to 10/11 later? Thanks.

[Bug target/99941] m_ALDERLAKE is missing from m_CORE_AVX2

2021-04-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99941 --- Comment #2 from Hongtao.liu --- (In reply to H.J. Lu from comment #0) > i386-options.c has > > #define m_ALDERLAKE (HOST_WIDE_INT_1U< #define m_CORE_AVX512 (m_SKYLAKE_AVX512 | m_CANNONLAKE \ >| m_ICELAKE_CLIENT |

[Bug tree-optimization/90710] Bogus Wmaybe-uninitialized caused by __builtin_expect when compiled with -Og

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90710 Martin Sebor changed: What|Removed |Added Last reconfirmed|2019-06-02 00:00:00 |2021-4-6 Known to fail|

[Bug c++/52202] [C++11][DR 1376] Should not extend lifetime of temporary wrapped in static_cast to reference type

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

[Bug tree-optimization/90710] Bogus Wmaybe-uninitialized caused by __builtin_expect when compiled with -Og

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90710 --- Comment #4 from Martin Sebor --- Here's a smaller test case showing both the problem (first gcc invocation) and how it can be avoided (second invocation): $ (set -x && cat pr90710.c && gcc -Og -S -Wall pr90710.c && gcc -Dint=long -Og -S

[Bug c/99945] missing maybe-uninitialized warning when using a cleanup function

2021-04-06 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99945 --- Comment #2 from Vincent Lefèvre --- Unless you consider that bug 83382 is actually 2 bugs, this is not a dup. Bug 83382 is about a false positive -Werror=uninitialized error. Do you mean that it also has a missing -Werror=maybe-uninitialized

[Bug tree-optimization/99946] fail to exchange if conditions in terms of likely/unlikely probability

2021-04-06 Thread jiangning.liu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99946 --- Comment #1 from Jiangning Liu --- Is there any gcc pass that can deal with this simple optimization?

[Bug tree-optimization/98736] [10/11 Regression] Wrong partition order generated in loop distribution pass since r10-619-g5879ab5fafedc8f6

2021-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98736 --- Comment #5 from CVS Commits --- The master branch has been updated by Bin Cheng : https://gcc.gnu.org/g:e0bdccac582c01c928a05f26edcd8f5ac24669eb commit r11-8023-ge0bdccac582c01c928a05f26edcd8f5ac24669eb Author: Bin Cheng Date: Wed Apr 7

[Bug sanitizer/99945] missing maybe-uninitialized warning when using a cleanup function

2021-04-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99945 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/99945] missing maybe-uninitialized warning when using a cleanup function

2021-04-06 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99945 --- Comment #3 from Vincent Lefèvre --- Note that with gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, I get the same behavior. But with gcc-9 (Debian 9.3.0-22) 9.3.0, the warning is missing in the 4 cases.

[Bug target/99908] SIMD: negating logical + if_else has a suboptimal codegen.

2021-04-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99908 --- Comment #3 from Hongtao.liu --- Created attachment 50517 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50517=edit tested patch waiting for GCC12.

[Bug c++/52202] [C++11][DR 1376] Should not extend lifetime of temporary wrapped in static_cast to reference type

2021-04-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug tree-optimization/99947] New: [11 Regression] ICE Segmentation fault "during GIMPLE pass: vect"

2021-04-06 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99947 Bug ID: 99947 Summary: [11 Regression] ICE Segmentation fault "during GIMPLE pass: vect" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords:

[Bug c++/99948] New: [modules] ICE in add_mergeable_specialization

2021-04-06 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
- g++ (GCC) 11.0.1 20210406 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[Bug target/99941] m_ALDERLAKE is missing from m_CORE_AVX2

2021-04-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99941 --- Comment #1 from Hongtao.liu --- If we were more concerned about the performance of the big core, the answer would be yes.

[Bug target/99949] ICE in setup_reg_classes, at reginfo.c:956

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

[Bug target/99949] New: ICE in setup_reg_classes, at reginfo.c:956

2021-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99949 Bug ID: 99949 Summary: ICE in setup_reg_classes, at reginfo.c:956 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug target/99900] feature request: 16-bit x86 C compiler / support compilation of (VirtualBox) BIOS

2021-04-06 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99900 Eric Gallager changed: What|Removed |Added CC||andrewjenner at gcc dot gnu.org,

[Bug lto/99898] Possible LTO object incompatibility on gcc-10 branch

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99898 --- Comment #4 from Richard Biener --- The LTO minor saw a bump around Sep 10 last year already so the object files must be younger or LTO should complain. The specific assert that triggers isn't a sign of format divergence (it would be a very

[Bug target/99924] [11 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:6040 since r11-6734-gad2603433853129e847cade5e269c6a5f889a020

2021-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99924 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-04-06 Known to fail|

[Bug target/99924] [11 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:6040 since r11-6734-gad2603433853129e847cade5e269c6a5f889a020

2021-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99924 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.0

[Bug target/99748] MVE: Wrong code at -O0 with float to integer conversion

2021-04-06 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99748 --- Comment #5 from Alex Coplan --- Fixed on trunk so far, needs a backport to GCC 10.

[Bug c/99872] [11 Regression] optimizations sometimes lead to missing asm prefixes

2021-04-06 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99872 --- Comment #2 from jyong at gcc dot gnu.org --- No, its the internal compiler symbols like LC5 and _LC6 generated by GCC ignoring the underscore prefix setting for the target, causing GAS to emit them as external undefined symbols. LD fails to

[Bug tree-optimization/99873] [11 Regression] GCC no longer makes as much use of ST3

2021-04-06 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99873 --- Comment #3 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #2) > We can also undo the splitting if SLP doesn't work out (keep the original > DR analysis chaining somewhere). Yeah, that sounds like something we

[Bug bootstrap/99920] [10 regression] ICE building gcc 10 on power 7 BE

2021-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99920 --- Comment #2 from Jakub Jelinek --- Can't reproduce btw, ../configure --enable-languages=c,fortran,c++ --with-cpu=power7 --enable-bootstrap --enable-multilib on gcc110.fsffrance.org built just fine.

[Bug target/99905] [8/9/10/11 Regression] wrong code with -mno-mmx -mno-sse since r7-4540-gb229ab2a712ccd44

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99905 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug tree-optimization/99887] Failure to optimize log2 pattern to clz

2021-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99887 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/99908] SIMD: negating logical + if_else has a suboptimal codegen.

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99908 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/99910] [11 Regression] g++.dg/modules/xtreme-header-2_b.C ICE

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99910 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c++/99911] C++20 adl issue

2021-04-06 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99911 --- Comment #2 from Denis Yaroshevskiy --- Created attachment 50510 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50510=edit Test Case (-std=c++20 -O3)

[Bug tree-optimization/99927] [11 Regression] Maybe wrong code since r11-39-gf9e1ea10e657af9f

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/99872] [11 Regression] optimizations sometimes lead to missing asm prefixes

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99872 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0 Last reconfirmed|

[Bug c++/99845] gcc8: Overloaded operator new[](size_t, const std::nothrow_t&) is seg faulting when the allocation fails

2021-04-06 Thread keith.halligan at microfocus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99845 Keith Halligan changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug c++/99911] C++20 adl issue

2021-04-06 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99911 --- Comment #3 from Denis Yaroshevskiy --- Also removed catch dependency from godbolt if that was the issue: https://gcc.godbolt.org/z/1YEoeeP93

[Bug target/99912] Unnecessary / inefficient spilling of AVX2 ymm registers

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99912 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug tree-optimization/99919] [9/10/11 Regression] bogus -Wmaybe-uninitialized with a _Bool bit-field

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99919 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.4

[Bug middle-end/99928] New: [OpenMP] reduction variable in combined target construct wrongly mapped as firstprivate

2021-04-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99928 Bug ID: 99928 Summary: [OpenMP] reduction variable in combined target construct wrongly mapped as firstprivate Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug tree-optimization/99918] [9/10/11 Regression] suboptimal code for bool bitfield tests

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99918 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/99924] [11 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:6040 since r11-6734-gad2603433853129e847cade5e269c6a5f889a020

2021-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99924 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code

  1   2   >