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

2022-01-03 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #79 from rguenther at suse dot de --- On Mon, 3 Jan 2022, dcb314 at hotmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 > > --- Comment #77 from David Binderman --- > (In reply to rguent...@suse.de from

[Bug middle-end/103643] [12 Regression][OpenMP] ICE in create_tmp_var, at gimple-expr.c:482 - via gimplify_omp_affinity

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103643 --- Comment #2 from CVS Commits --- The master branch has been updated by Chung-Lin Tang : https://gcc.gnu.org/g:62c8b21d48ab6012ddc50529a39071d902dba31a commit r12-6200-g62c8b21d48ab6012ddc50529a39071d902dba31a Author: Chung-Lin Tang Date:

[Bug c/82100] gcc does not warn about code that is unreachable due to conflicting conditions [subset of reviving -Wunreachable-code]

2022-01-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82100 Eric Gallager changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug middle-end/95485] missing warning writing into function text

2022-01-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > Ah, yes, -Wpedantic does detect the invalid conversion. But few projects > use -Wpedantic (GCC itself doesn't) and enabling the warning in -Wall or > -Wextra

[Bug bootstrap/103899] make profiledbootstrap fails due to uninitialized warning in expr.c

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103899 --- Comment #3 from Andrew Pinski --- I suspect this is a regression and one caused by some of the jump threading patches. Let me finish up reducing the testcase and I will test the reduced one on different versions of GCC.

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2022-01-03 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #19 from Jiu Fu Guo --- (In reply to Segher Boessenkool from comment #18) Thanks for your clarify! > Yes, it is slow. Five sequential dependent integer instructions instead of > one load instruction. Depending on how you benchmark

[Bug bootstrap/103899] make profiledbootstrap fails due to uninitialized warning in expr.c

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103899 --- Comment #2 from Andrew Pinski --- I am going to try to reduce the issue as I know without -fprofile-generate, GCC does not warn .

[Bug bootstrap/103899] make profiledbootstrap fails due to uninitialized warning in expr.c

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103899 --- Comment #1 from Andrew Pinski --- Created attachment 52113 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52113=edit unreduced testcase ../prev-gcc/cc1plus expr-warning.ii -fpreprocessed -fno-PIE -g -O2 -fno-checking -gtoggle

[Bug bootstrap/103899] New: make profiledbootstrap fails due to uninitialized warning in expr.c

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103899 Bug ID: 103899 Summary: make profiledbootstrap fails due to uninitialized warning in expr.c Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: build,

[Bug preprocessor/45227] libcpp Makefile does not enable instrumentation

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45227 Andrew Pinski changed: What|Removed |Added Status|NEW |WAITING --- Comment #4 from Andrew

[Bug libstdc++/33612] make check -jN should fully use N cores

2022-01-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33612 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug libstdc++/103879] error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression

2022-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug preprocessor/45227] libcpp Makefile does not enable instrumentation

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45227 --- Comment #3 from Andrew Pinski --- I looked into the makefiles and nothing has changed in them since 2007 with respect to profiledbootstrap. And I am double checking a "make profiledbootstrap" right now and will report back on the options

[Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02

2022-01-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895 --- Comment #3 from Hongtao.liu --- Fixed in GCC12.

[Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895 --- Comment #2 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:05da96886efa3ccdcc0e4e337ecd01b2827db213 commit r12-6199-g05da96886efa3ccdcc0e4e337ecd01b2827db213 Author: liuhongt Date: Tue Jan

[Bug target/103897] x86: Missing optimizations with _mm_undefined_si128 and PMOVSX*

2022-01-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103897 --- Comment #4 from Hongtao.liu --- For 2), it seems to be a generic optimization to optimize (set (mem:V4SI (reg:DI 95) [0 *dst_7(D)+0 S16 A128]) (ashiftrt:V4SI (subreg:V4SI (vec_select:V8HI (vec_concat:V16HI (const_vector:V8HI [

[Bug c++/101603] [meta-bug] pointer to member functions issues

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 90782, which changed state. Bug 90782 Summary: internal compiler error: in dependent_type_p, at cp/pt.c:25409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90782 What|Removed |Added

[Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409

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

[Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90782 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:d4b710a31dc854970ab501f2d3bad7d69fe7f083 commit r12-6198-gd4b710a31dc854970ab501f2d3bad7d69fe7f083 Author: Andrew Pinski Date:

[Bug target/103897] x86: Missing optimizations with _mm_undefined_si128 and PMOVSX*

2022-01-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103897 --- Comment #3 from Hongtao.liu --- For 1), we have (define_insn "*sse4_1_v4hiv4si2_1" [(set (match_operand:V4SI 0 "register_operand" "=Yr,*x,v") (any_extend:V4SI (match_operand:V4HI 1 "memory_operand" "m,m,m")))] and

[Bug middle-end/68122] ICE in is_tm_pure_call with -fsanitize=undefined and -fgnu-tm

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68122 Andrew Pinski changed: What|Removed |Added CC||stefansf at linux dot ibm.com ---

[Bug libitm/93782] ICE (segfault) while using TM in conjunction with UBSAN

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93782 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/100556] ICE: in gimplify_expr with __transaction_atomic without -ftm

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100556 Andrew Pinski changed: What|Removed |Added Known to fail||11.2.0 Component|middle-end

[Bug c/100625] ICE on gimple program: Segmentation fault, contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*)

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100625 --- Comment #4 from Andrew Pinski --- *** Bug 100505 has been marked as a duplicate of this bug. ***

[Bug c/100505] ICE: in record_in_finally_tree, at tree-eh.c:213

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100505 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/100625] ICE on gimple program: Segmentation fault, contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*)

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

[Bug c++/99521] ICE Segmentation fault when decltype lambda in requires clause

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99521 Andrew Pinski changed: What|Removed |Added Keywords||error-recovery Last reconfirmed|

[Bug c++/100055] [10/11/12 Regression] ICE on invalid requires expression

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100055 --- Comment #9 from Andrew Pinski --- *** Bug 99465 has been marked as a duplicate of this bug. ***

[Bug c++/99465] Segmentation fault when put lambda into requires clause

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

[Bug c++/100055] [10/11/12 Regression] ICE on invalid requires expression

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100055 Andrew Pinski changed: What|Removed |Added CC||nico at josuttis dot de --- Comment #8

[Bug c++/98635] ad-hoc requirement without semicolon creates internal compiler bug

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98635 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | Status|NEW

[Bug c++/100055] [10/11/12 Regression] ICE on invalid requires expression

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100055 Andrew Pinski changed: What|Removed |Added Target Milestone|10.4|12.0

[Bug c++/99734] [modules] ICE in most_specialized_instantiation

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99734 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Keywords|

[Bug c++/97536] [concepts] parser segfault for concept defined in function template

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

[Bug c++/98635] ad-hoc requirement without semicolon creates internal compiler bug

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98635 Andrew Pinski changed: What|Removed |Added Known to fail||11.2.0 Keywords|

[Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02

2022-01-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug c++/102229] [11 Regression] 'decltype(auto)' cannot be cv-qualified

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

[Bug c++/102229] [11 Regression] 'decltype(auto)' cannot be cv-qualified

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:24ee44c37a28eae80430a1ad86ffb0923446db2d commit r11-9430-g24ee44c37a28eae80430a1ad86ffb0923446db2d Author: Marek Polacek

[Bug c/87983] Feature: Add a warning when case labels from a different enum than the one in switch(EXPR) are used

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

[Bug c/87983] Feature: Add a warning when case labels from a different enum than the one in switch(EXPR) are used

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

[Bug c/85290] Defining identifiers to themselves in system headers prevents diagnostics from being emitted.

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

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

2022-01-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #78 from David Binderman --- -mxop adds 124 functions. I am not sure how to find out which ones are broken. Is there some way to add only some of the 124 into the machine description ?

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

2022-01-03 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #77 from David Binderman --- (In reply to rguent...@suse.de from comment #76) > Maybe the issue reproduces with only -mtune=bdver2 or with -march=bdver2 > -mno-xop (XOP is what's removed from znver2 for example, not 100% sure >

[Bug c++/95222] [10/11 Regression] GCC 10.1 x86 issue with function pointers with calling convention attribute and template specialization

2022-01-03 Thread puetzk at puetzk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95222 --- Comment #9 from Kevin Puetz --- I accidentally dropped a word, meant to say: I'm not directly arguing for (or against) a backport to (a hypothetical 9.5.0) Just noting that this issue could also manifest as wrong-code, for consideration in

[Bug target/103889] gccgo is unable to find its standard library by default on 64-Bit RISC-V due to musl not using multilib but still uses t-linux

2022-01-03 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103889 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #14

[Bug c++/103758] bogus warning: misspelled term 'decl' in format; use 'declaration' instead [-Wformat-diag]

2022-01-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758 --- Comment #4 from Marek Polacek --- Fixed in GCC 12, will backport to GCC 11 around Jan 17.

[Bug c++/103758] bogus warning: misspelled term 'decl' in format; use 'declaration' instead [-Wformat-diag]

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103758 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:bb936163e28fdbe1a751c55d5e5975e036322a3d commit r12-6195-gbb936163e28fdbe1a751c55d5e5975e036322a3d Author: Marek Polacek Date:

[Bug c/97986] [9/10/11/12 Regression] ICE in force_constant_size when applying va_arg to VLA type

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

[Bug c/97986] [9/10/11/12 Regression] ICE in force_constant_size when applying va_arg to VLA type

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97986 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code, |

[Bug c/99990] [8/9 Regression] ICE in gimplifier on invalid va_arg

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=0 Andrew Pinski changed: What|Removed |Added CC||anbu1024.me at gmail dot com ---

[Bug c/96610] [9/10 Regression] ICE: in gimplify_va_arg_expr, at gimplify.c:15150 since r7-2847-gba9bbd6f584afe29

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

[Bug c/96610] [9/10 Regression] ICE: in gimplify_va_arg_expr, at gimplify.c:15150 since r7-2847-gba9bbd6f584afe29

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96610 Andrew Pinski changed: What|Removed |Added Known to work||11.1.0, 6.4.0 Summary|ICE:

[Bug c/91952] [rfe] __attribute__((__default_value__()))

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

[Bug c/84900] [9/10/11/12 Regression] cast of compound literal does not cause the code to become a non-lvalue

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84900 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Known to fail|

[Bug c/84915] documentation: __FUNCTION__ is said by gcc-6 info to be a preprocessor macro

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84915 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/84274] [feature request] mbind attribute

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

[Bug c/83537] missing integer overflow in offsetof not diagnosed

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83537 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Severity|normal

[Bug c/65673] [9/10/11/12 Regression] Compound literal with initializer for zero-sized array drops other initializers

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65673 Andrew Pinski changed: What|Removed |Added Summary|Compound literal with |[9/10/11/12 Regression]

[Bug target/103894] [12 Regression] ICE: in emit_move_multi_word, at expr.c:3870 with -mno-sse2

2022-01-03 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103894 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 --- Comment #5 from anlauf at gcc dot gnu.org --- Started most likely with commit r12-3897 by Tobias. Interestingly, the ICE occurs only for a rank-1 array, but not for rank-2 or for assumed-rank.

[Bug c/65891] [9/10/11/12 Regression] -Wlogical-op now warns about logical ‘and’ of equal expressions even when different types/sizeofs are involved

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65891 Andrew Pinski changed: What|Removed |Added Known to work||5.5.0 Known to fail|

[Bug target/103894] [12 Regression] ICE: in emit_move_multi_word, at expr.c:3870 with -mno-sse2

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103894 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:1096ab1775636f35de9c6661f8f71f03299af998 commit r12-6194-g1096ab1775636f35de9c6661f8f71f03299af998 Author: Uros Bizjak Date: Mon

[Bug c/93949] [8/9/10 Regression] Register const local var will not compile since r0-58166

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93949 Andrew Pinski changed: What|Removed |Added CC||jens.gustedt at inria dot fr ---

[Bug c/70891] "register name not specified" for const qualified register variable

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

[Bug fortran/101762] ICE with "Every subscript of the target specification must be a constant expression"

2022-01-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101762 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-03 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 --- Comment #4 from sandra at gcc dot gnu.org --- This is probably related to my rewrite of the size/shape/ubound/lbound intrinsics back in mid-November. I can add this one to my queue, but I've already got 3 or 4 other issues already waiting

[Bug tree-optimization/103897] x86: Missing optimizations with _mm_undefined_si128 and PMOVSX*

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103897 Andrew Pinski changed: What|Removed |Added Depends on||61810 --- Comment #2 from Andrew

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 --- Comment #3 from Andrew Pinski --- In GCC 11.2.0, we had: D.3972 = dim != 0B; mysize = D.3972 ? (integer(kind=4)) _gfortran_size1 (D.3971, (integer(kind=8)) *dim) : (integer(kind=4)) _gfortran_size0 (D.3971); While on the

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-03

[Bug fortran/103898] [12 Regression] ICE: gimplification failed

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2022-01-03 Thread antony at cosmologist dot info via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #10 from Antony Lewis --- I think you are right, it does not seem to fix it. I made https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 (may also be duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103391)

[Bug fortran/103898] New: [12 Regression] ICE: gimplification failed

2022-01-03 Thread antony at cosmologist dot info via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103898 Bug ID: 103898 Summary: [12 Regression] ICE: gimplification failed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/2995] __complex__ int typecasts maybe broken

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2995 Andrew Pinski changed: What|Removed |Added Status|NEW |SUSPENDED --- Comment #7 from Andrew

[Bug c/33193] slopiness in __real/__imag

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

[Bug c/33193] slopiness in __real/__imag

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33193 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:4003ecbcedca2c36de762a8171b90a7969edce82 commit r12-6192-g4003ecbcedca2c36de762a8171b90a7969edce82 Author: Andrew Pinski Date:

[Bug ipa/100491] [11/12 Regression] IPA-SRA is not happening any more

2022-01-03 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100491 --- Comment #8 from Martin Jambor --- I believe this has been fixed in November by r12-5223-gecdf414bd89e6b. (At some point I'll verify it, unless someone is faster, for which I would be grateful). Unfortunately, I do not expect the commit to

[Bug middle-end/37722] destructors not called on computed goto

2022-01-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37722 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2022-01-03 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #9 from sandra at gcc dot gnu.org --- Without a test case, I can't tell if the error in comment 7 was due to this bug or a different one. It doesn't really look the same as the other failures I looked at in this issue, as the source

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #8 from CVS Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:6447f6f983ffeaecb8753ef685d702bf2594968b commit r12-6191-g6447f6f983ffeaecb8753ef685d702bf2594968b Author: Sandra Loosemore

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

2022-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103891 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/95222] [10/11 Regression] GCC 10.1 x86 issue with function pointers with calling convention attribute and template specialization

2022-01-03 Thread puetzk at puetzk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95222 Kevin Puetz changed: What|Removed |Added CC||puetzk at puetzk dot org --- Comment #8

[Bug tree-optimization/103897] x86: Missing optimizations with _mm_undefined_si128 and PMOVSX*

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103897 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2022-01-03 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 Jan Hubicka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/103816] [12 Regression] ICE: in vect_build_slp_tree_2, at tree-vect-slp.c:1748 since r12-1551-g3dfa4fe9f1a089b2

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

[Bug tree-optimization/103800] [12 Regression] ICE in vectorizable_phi, at tree-vect-loop.c:7861 with -O3 since r12-5626-g0194d92c35ca8b3a

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

[Bug target/98737] Atomic operation on x86 no optimized to use flags

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98737 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6362627b27f395b054f359244fcfcb15ac0ac2ab commit r12-6190-g6362627b27f395b054f359244fcfcb15ac0ac2ab Author: Jakub Jelinek Date:

[Bug tree-optimization/103851] ICE in gimple_range_global with -ftrivial-auto-var-init=pattern since r12-3433-ga25e0b5e6ac8a77a

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

[Bug tree-optimization/103851] ICE in gimple_range_global with -ftrivial-auto-var-init=pattern since r12-3433-ga25e0b5e6ac8a77a

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103851 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4911609fbe47d3e4d2765cd67031a7e0ee9f5af0 commit r12-6189-g4911609fbe47d3e4d2765cd67031a7e0ee9f5af0 Author: Richard Biener Date:

[Bug c++/94716] comparison of address of template variables should be constexpr

2022-01-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94716 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:91031bffa42fdea3c985727d042cd1882a64be9c commit r12-6188-g91031bffa42fdea3c985727d042cd1882a64be9c Author: Jakub Jelinek Date:

[Bug fortran/103366] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2022-01-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 --- Comment #6 from Paul Thomas --- > From F2017: 15.5.2.5 > The actual argument shall be polymorphic if and only if the associated dummy > argument is polymorphic, and either both the actual and dummy arguments > shall be unlimited

[Bug tree-optimization/103864] [11/12 Regression] ICE in vect_transform_reduction, at tree-vect-loop.c:7389 since r10-4675-g05101d1b575a57ca26e4275e971da85a0dd1d52a

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

[Bug tree-optimization/103615] [9 Regression] wrong code with "-O3" or "-O1 -ftree-vectorize" on x86_64-pc-linux-gnu

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

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

2022-01-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103802 --- Comment #5 from Richard Biener --- So the point is that P is invariant but we do not hoist it because it's computed in a (estimated) cold block? I notice that the condition is invariant, too, so in principle we could hoist as if (d >

[Bug middle-end/37722] destructors not called on computed goto

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

[Bug c++/103896] Label as value: object destructor is not called

2022-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103896 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/103390] [12 Regression] ICE: gimplification failed since r12-4591-g1af78e731feb9327

2022-01-03 Thread antony at cosmologist dot info via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103390 --- Comment #7 from Antony Lewis --- I see similar error in another fortran code, full trace in https://app.travis-ci.com/github/cmbant/CosmoMC/jobs/552809686

[Bug fortran/103366] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647

2022-01-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103366 --- Comment #5 from Paul Thomas --- (In reply to Paul Thomas from comment #4) > (In reply to Martin Liška from comment #3) > > (In reply to Andrew Pinski from comment #2) > > > (In reply to Martin Liška from comment #1) > > > > Started with

[Bug tree-optimization/103851] ICE in gimple_range_global with -ftrivial-auto-var-init=pattern since r12-3433-ga25e0b5e6ac8a77a

2022-01-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103851 Richard Biener changed: What|Removed |Added CC||amacleod at redhat dot com

[Bug c/101537] -Wconversion false positive in ternary and |=

2022-01-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101537 Jakub Jelinek changed: What|Removed |Added Attachment #52105|0 |1 is obsolete|

  1   2   >