[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #6 from Jakub Jelinek --- That doesn't make sense. -fsanitize=signed-integer-overflow also removes that undefined behavior by defining what happens on signed integer overflow, one can choose whether to get a non-fatal runtime

[Bug rtl-optimization/69689] gcc.target/i386/addr-sel-1.c FAILs with PR69274 fix

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

[Bug target/86744] gcc.target/i386/addr-sel-1.c XPASSes on 32-bit x86

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86744 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #6 from Andrew

[Bug target/69274] [6 Regression] 435.gromacs performance regression after r231814 on x86 Haswell and bdver2

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69274 Bug 69274 depends on bug 69689, which changed state. Bug 69689 Summary: gcc.target/i386/addr-sel-1.c FAILs with PR69274 fix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69689 What|Removed |Added

[Bug rtl-optimization/69689] gcc.target/i386/addr-sel-1.c FAILs with PR69274 fix

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69689 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/97142] __builtin_fmod not optimized on POWER

2021-09-13 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 luoxhu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/97142] __builtin_fmod not optimized on POWER

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #21 from CVS Commits --- The releases/gcc-10 branch has been updated by Xiong Hu Luo : https://gcc.gnu.org/g:68d525ee859041b21d87b23030d1e829a9cc3b6f commit r10-10116-g68d525ee859041b21d87b23030d1e829a9cc3b6f Author: Xionghu Luo

[Bug target/97142] __builtin_fmod not optimized on POWER

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #20 from CVS Commits --- The releases/gcc-11 branch has been updated by Xiong Hu Luo : https://gcc.gnu.org/g:a87d7fbef55f72781905bffb298aab698fe6ed40 commit r11-8985-ga87d7fbef55f72781905bffb298aab698fe6ed40 Author: Xionghu Luo

[Bug middle-end/102316] Unexpected stringop-overflow Warnings on POWER CPU

2021-09-13 Thread xtkoba at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102316 Tee KOBAYASHI changed: What|Removed |Added CC||xtkoba at gmail dot com --- Comment #2

[Bug testsuite/21496] more flexible dg-error

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21496 --- Comment #2 from Andrew Pinski --- So I think this testcase was fixed in two different ways. First was by using dg-excess-errors for the testcase which was introduced by r0-98409 to testcase. And then fixed with r0-109419 for GCC 4.7.0

[Bug middle-end/21132] gensupport mistreats match_code split with an ior

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21132 --- Comment #5 from Andrew Pinski --- (In reply to Hans-Peter Nilsson from comment #4) > (In reply to Andrew Pinski from comment #2) > > >1. While working on this I noticed that genpreds treats > > > > Fixed/changed with r6-1344. > > > > > >

[Bug middle-end/21132] gensupport mistreats match_code split with an ior

2021-09-13 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21132 Hans-Peter Nilsson changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/102294] memset expansion is sometimes slow for small sizes

2021-09-13 Thread bart.vanassche at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294 --- Comment #13 from Bart Van Assche --- Hi H.J. Lu, thank you for having taken a look. I would like to try your patch. However, I'm not a gcc developer so I don't have a gcc tree checked out on my development workstation. It may take some time

[Bug middle-end/21132] gensupport mistreats match_code split with an ior

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21132 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > >1. While working on this I noticed that genpreds treats > > Fixed/changed with r6-1344. https://gcc.gnu.org/pipermail/gcc-patches/2015-May/420317.html

[Bug middle-end/21132] gensupport mistreats match_code split with an ior

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21132 --- Comment #2 from Andrew Pinski --- >1. While working on this I noticed that genpreds treats Fixed/changed with r6-1344. I think that is the only ask in this bug report, is that correct?

[Bug tree-optimization/102075] fill_always_executed_in_1 incomplete computation

2021-09-13 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102075 luoxhu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug bootstrap/102278] [12 regression] Bootstrap fails with LLVM 11.0.1 on powerpc-unknown-freebsd: libgcov-interface.c:201:1: internal compiler error

2021-09-13 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102278 --- Comment #5 from Piotr Kubaj --- Still the same issue: /wrkdirs/usr/ports/lang/gcc12-devel/work/.build/./gcc/xgcc -B/wrkdirs/usr/ports/lang/gcc12-devel/work/.build/./gcc/ -B/usr/local/powerpc-portbld-freebsd13.0/bin/

[Bug target/27791] assert() without -ansi doesnt print the failing condition

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27791 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug jit/100380] Segfault when using inline asm

2021-09-13 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100380 --- Comment #7 from Antoni --- Since then, I found a workaround to fix the similar segfault in my other feature. It might work for solving this and goes like this: instead of trying to access the rvalue when first replaying the asm, create an

[Bug target/91050] -mdejagnu-cpu= does not affect the -m assembler option

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

[Bug target/12691] bug building with option with-cpu with AIX

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12691 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Target Milestone|---

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-13 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #5 from Qing Zhao --- > On Sep 13, 2021, at 4:45 PM, pinskia at gcc dot gnu.org > wrote: > >> is it possible to make -fsanitize=signed-integer-overflow work with -fwrapv? > > Why would it? they conflict. This is a feature that

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/45881] bit offset of bitfields

2021-09-13 Thread konfera at efton dot sk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45881 --- Comment #3 from Jan Waclawek --- Thanks for the comments and the link. Small embedded is generally frowned upon. The proposal is characteristically heavyweight and unwieldy. Maybe in C5x.

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #3 from Andrew Pinski --- (In reply to qinzhao from comment #2) > (In reply to Andrew Pinski from comment #1) > > -fno-strict-overflow maps directly to -fwrapv . > > > > If you want to use -fsanitize=signed-integer-overflow, you

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-13 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #2 from qinzhao at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #1) > -fno-strict-overflow maps directly to -fwrapv . > > If you want to use -fsanitize=signed-integer-overflow, you can just remove > both

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #1 from Andrew Pinski --- -fno-strict-overflow maps directly to -fwrapv . If you want to use -fsanitize=signed-integer-overflow, you can just remove both -fno-strict-overflow -fwrapv. -fwrapv is implied for code later on.

[Bug sanitizer/102317] New: signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-13 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 Bug ID: 102317 Summary: signed integer overflow sanitizer cannot work well with -fno-strict-overflow Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug middle-end/58748] %n asm output template with symbol references should not be permitted?

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

[Bug c/33451] Collapsing of offsetable memory operands.

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33451 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/82701] RFE: x86: double word operands in inline assembly

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82701 Andrew Pinski changed: What|Removed |Added Component|inline-asm |target Severity|normal

[Bug fortran/102287] optional allocatable array arguments (intent out) of derived types with allocatable components are not properly passed to subroutines.

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

[Bug c/45881] bit offset of bitfields

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45881 --- Comment #2 from Andrew Pinski --- http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2763.pdf It seems like they did not add this ... But they do have _Bitwidthof now ...

[Bug middle-end/61893] Constant folding inhibits trapping with -ftrapv

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

[Bug c++/102303] optimizer elides -ftrapv overflow detection

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

[Bug c++/102295] ELF symbol sizes for variable-length objects are too small (C++)

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102295 --- Comment #4 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #3) > Note, we have other issues, consider: > struct A > { > float a; > int b[]; > }; > > int x[4]; > struct A c = { 42.0f, { ++x[0], ++x[1], ++x[2], ++x[3] } };

[Bug middle-end/102316] Unexpected stringop-overflow Warnings on POWER CPU

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102316 --- Comment #1 from Andrew Pinski --- Looks like it is unrolling ...

[Bug c/102316] New: Unexpected stringop-overflow Warnings on POWER CPU

2021-09-13 Thread drc at linux dot vnet.ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102316 Bug ID: 102316 Summary: Unexpected stringop-overflow Warnings on POWER CPU Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/102287] optional allocatable array arguments (intent out) of derived types with allocatable components are not properly passed to subroutines.

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

[Bug fortran/102311] [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278

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

[Bug fortran/102311] [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278

2021-09-13 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102311 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-09-13 Ever

[Bug c++/77565] `typdef int Int;` --> did you mean `typeof`?

2021-09-13 Thread mimomorin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77565 --- Comment #5 from Michel Morin --- Confirmed the fix. Will send a patch to ML. > I had use -std=c++98 This comment helps me a lot to understand what's going on. Thanks!

[Bug c++/102307] [10/11/12 Regression] internal compiler error: in reshape_init_r since r10-6388-ge98ebda074bf8fc5

2021-09-13 Thread jyhgekyfbkjsyebf at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 --- Comment #7 from jyhgekyfbkjsyebf at protonmail dot ch --- Note that: * based on repro: if I add constexpr to the first ctor and provide body, it will compile without error. Like this: constexpr Matrix(double const ()[N][M]) {} * based on

[Bug middle-end/102276] -ftrivial-auto-var-init fails to initialize a variable, causes a spurious warning

2021-09-13 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102276 --- Comment #2 from Alexander Monakov --- That -ftrivial-auto-var-init places an initialization at the point of the declaration is an implementation detail: there's no initializer in the testcase itself, so it is valid C and C++ (spelling this

[Bug target/102211] [12 regression] ICE introduced by r12-3277

2021-09-13 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102211 --- Comment #10 from Jim Wilson --- I attached a patch which is my proposed solution to the RISC-V backend. It adds a new f_register_operand predicate and modifies patterns that use the f constraint to use it instead of register_operand. This

[Bug target/102211] [12 regression] ICE introduced by r12-3277

2021-09-13 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102211 --- Comment #9 from Jim Wilson --- Created attachment 51456 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51456=edit proposed RISC-V backend solution

[Bug fortran/102315] New: ICE tree check: expected integer_cst, have save_expr in gfc_trans_array_constructor_value, at fortran/trans-array.c:2056

2021-09-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102315 Bug ID: 102315 Summary: ICE tree check: expected integer_cst, have save_expr in gfc_trans_array_constructor_value, at fortran/trans-array.c:2056 Product: gcc

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes many crashes in the testsuite

2021-09-13 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 qinzhao at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |qinzhao at gcc dot

[Bug fortran/102314] New: [11/12 Regression] ICE in verify_ssa, at tree-ssa.c:1076

2021-09-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102314 Bug ID: 102314 Summary: [11/12 Regression] ICE in verify_ssa, at tree-ssa.c:1076 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/82314] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:6972

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82314 --- Comment #10 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:104c05c5284b7822d770ee51a7d91946c7e56d50 commit r12-3500-g104c05c5284b7822d770ee51a7d91946c7e56d50 Author: Harald Anlauf Date:

[Bug fortran/102313] New: [12 Regression] ICE in gfc_ascii_statement(): Bad statement code

2021-09-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102313 Bug ID: 102313 Summary: [12 Regression] ICE in gfc_ascii_statement(): Bad statement code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102312] New: [12 Regression] ICE in gfc_get_dtype_rank_type, at fortran/trans-types.c:1558

2021-09-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102312 Bug ID: 102312 Summary: [12 Regression] ICE in gfc_get_dtype_rank_type, at fortran/trans-types.c:1558 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug fortran/85130] Substrings out of range are not rejected

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85130 --- Comment #7 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:8d93ba93d3b13ac3d3c34404cad87732c809605b commit r12-3499-g8d93ba93d3b13ac3d3c34404cad87732c809605b Author: Harald Anlauf Date:

[Bug fortran/102311] New: [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278

2021-09-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102311 Bug ID: 102311 Summary: [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278 Product: gcc Version: 12.0 Status:

[Bug middle-end/102310] New: ICE in visit_ref_for_mod_analysis with OpenACC

2021-09-13 Thread ygribov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102310 Bug ID: 102310 Summary: ICE in visit_ref_for_mod_analysis with OpenACC Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/101574] gcc/sparseset.h:215:20: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]

2021-09-13 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101574 Thomas Schwinge changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tschwinge at gcc dot gnu.org

[Bug bootstrap/101574] gcc/sparseset.h:215:20: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101574 --- Comment #10 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:6c79057fae6bbb36c4a4fd61c5b7107a16b71b17 commit r12-3498-g6c79057fae6bbb36c4a4fd61c5b7107a16b71b17 Author: Thomas Schwinge

[Bug c++/102295] ELF symbol sizes for variable-length objects are too small (C++)

2021-09-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102295 --- Comment #3 from Jakub Jelinek --- Note, we have other issues, consider: struct A { float a; int b[]; }; int x[4]; struct A c = { 42.0f, { ++x[0], ++x[1], ++x[2], ++x[3] } }; When splitting the init into DECL_INITIAL constant

[Bug c++/102295] ELF symbol sizes for variable-length objects are too small (C++)

2021-09-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102295 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-09-13

[Bug testsuite/102282] New test cases in r12-3320 fail

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

[Bug c++/102300] [10/11/12 Regression] Qualified name of same template in class template is rejected

2021-09-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102300 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug c++/102307] [10/11/12 Regression] internal compiler error: in reshape_init_r since r10-6388-ge98ebda074bf8fc5

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

[Bug c++/102307] [10/11/12 Regression] internal compiler error: in reshape_init_r, at cp/decl.c:6717

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-09-13 00:00:00 | Target Milestone|---

[Bug c++/102307] internal compiler error: in reshape_init_r, at cp/decl.c:6717 since r10-6388-ge98ebda074bf8fc5

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

[Bug target/101696] Function multiversioning not usable with new x86-64-v*

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

[Bug target/101696] Function multiversioning not usable with new x86-64-v*

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101696 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:8ea292591e42aa4d52b4b7a00b86335bfd2e2e85 commit r12-3494-g8ea292591e42aa4d52b4b7a00b86335bfd2e2e85 Author: Martin Liska Date:

[Bug target/102309] New: thumb2-replicated-constant2.c fails on cortex-m7

2021-09-13 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102309 Bug ID: 102309 Summary: thumb2-replicated-constant2.c fails on cortex-m7 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/95958] [meta-bug] Inefficient arm_neon.h code for AArch64

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95958 Bug 95958 depends on bug 95969, which changed state. Bug 95969 Summary: Use of __builtin_aarch64_im_lane_boundsi in AArch64 arm_neon.h interferes with gimple optimisation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95969 What

[Bug target/95969] Use of __builtin_aarch64_im_lane_boundsi in AArch64 arm_neon.h interferes with gimple optimisation

2021-09-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95969 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug target/95969] Use of __builtin_aarch64_im_lane_boundsi in AArch64 arm_neon.h interferes with gimple optimisation

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95969 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:03312cbd54f337dfb25be356a1d1abc9925c6c03 commit r12-3493-g03312cbd54f337dfb25be356a1d1abc9925c6c03 Author: Andrew Pinski Date:

[Bug lto/49664] liblto_plugin.so exports too many symbols

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

[Bug lto/49664] liblto_plugin.so exports too many symbols

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49664 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:9e58de3ce00fc2385c9efb7faf321e0c601f0b0c commit r12-3491-g9e58de3ce00fc2385c9efb7faf321e0c601f0b0c Author: Andrew Pinski Date:

[Bug c++/101904] Wrong result of decltype during instantiation of std::result_of

2021-09-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101904 Patrick Palka changed: What|Removed |Added Resolution|INVALID |FIXED Target Milestone|---

[Bug c++/12672] Evals template defaults args that it should not

2021-09-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12672 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug c++/102307] internal compiler error: in reshape_init_r, at cp/decl.c:6717

2021-09-13 Thread jyhgekyfbkjsyebf at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 --- Comment #4 from jyhgekyfbkjsyebf at protonmail dot ch --- Created attachment 51453 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51453=edit GDB bt and bt full Figured out how to run g++ through gdb. Breakpoint is set right on the

[Bug c++/101764] ICE for constexpr if within fold expression within lambda expression within a template

2021-09-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101764 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug target/102252] svbool_t with SVE can generate invalid assembly

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102252 --- Comment #5 from CVS Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:512b383534785f9fc021e700a1fdda86cf0f3fe7 commit r12-3490-g512b383534785f9fc021e700a1fdda86cf0f3fe7 Author: Kyrylo Tkachov Date:

[Bug analyzer/102308] New: False positive -Wanalyzer-malloc-leak when writing to array in struct

2021-09-13 Thread matti.niemenmaa+gccbugs at iki dot fi via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102308 Bug ID: 102308 Summary: False positive -Wanalyzer-malloc-leak when writing to array in struct Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug c++/101764] ICE for constexpr if within fold expression within lambda expression within a template

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101764 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c8b2b89358481d36755dbc99e585a251780453b0 commit r12-3488-gc8b2b89358481d36755dbc99e585a251780453b0 Author: Patrick Palka Date:

[Bug c++/102307] internal compiler error: in reshape_init_r, at cp/decl.c:6717

2021-09-13 Thread jyhgekyfbkjsyebf at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 --- Comment #3 from jyhgekyfbkjsyebf at protonmail dot ch --- Created attachment 51452 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51452=edit .s file

[Bug c++/102307] internal compiler error: in reshape_init_r, at cp/decl.c:6717

2021-09-13 Thread jyhgekyfbkjsyebf at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 --- Comment #2 from jyhgekyfbkjsyebf at protonmail dot ch --- Created attachment 51451 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51451=edit .ii file

[Bug c++/102307] internal compiler error: in reshape_init_r, at cp/decl.c:6717

2021-09-13 Thread jyhgekyfbkjsyebf at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 --- Comment #1 from jyhgekyfbkjsyebf at protonmail dot ch --- Created attachment 51450 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51450=edit Compiler info and backtrace

[Bug c++/102307] New: internal compiler error: in reshape_init_r, at cp/decl.c:6717

2021-09-13 Thread jyhgekyfbkjsyebf at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102307 Bug ID: 102307 Summary: internal compiler error: in reshape_init_r, at cp/decl.c:6717 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/102282] New test cases in r12-3320 fail

2021-09-13 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102282 seurer at gcc dot gnu.org changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug c++/102204] OpenMP offload map type restriction

2021-09-13 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102204 --- Comment #2 from Ye Luo --- User code has been written in mostly 5.0 fashion as 4.5 has too many restrictions. For most users, they only need a subset of 5.0 feature with up-to-date compilers and fully implemented 5.0 is not expected. Back

[Bug c++/102204] OpenMP offload map type restriction

2021-09-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102204 --- Comment #1 from Jakub Jelinek --- That isn't a made up restriction, but the OpenMP 4.5 standard (and older too) explicitly requiring that "A mappable type cannot contain virtual members." OpenMP 5.0 doesn't have that restriction anymore,

[Bug target/102294] memset expansion is sometimes slow for small sizes

2021-09-13 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #12

[Bug c++/101331] [12 Regression] ICE in sanitize_coverage_p, at asan.h:259

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

[Bug c++/101331] [12 Regression] ICE in sanitize_coverage_p, at asan.h:259

2021-09-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101331 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:90ac6edc3c0123b6cf975781f70c8517db84bd63 commit r12-3487-g90ac6edc3c0123b6cf975781f70c8517db84bd63 Author: Martin Liska Date:

[Bug c++/98869] Allowing mapping this in OpenMP target

2021-09-13 Thread xw111luoye at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98869 Ye Luo changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/101380] Segmentation fault in address sanitizer initialization, caused by mmap-ing into the running code

2021-09-13 Thread puspmvqyfzxrbytwsu at niwghx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101380 --- Comment #3 from puspmvqyfzxrbytwsu at niwghx dot com --- Summary of the problem, as far as I understand it now: The address sanitizer initialisation code invokes the mmap-syscall (syscall 0x9) with the following paramaters:

[Bug target/93011] PowerPC GCC has warning that aggregate alignment changed in GCC 5

2021-09-13 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93011 Bill Schmidt changed: What|Removed |Added Resolution|--- |FIXED Status|SUSPENDED

[Bug c++/102281] -ftrivial-auto-var-init=zero causes ice

2021-09-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 --- Comment #6 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #5) > But then we still cannot do the GIMPLE this way. It's a case where > it is problematic to mark something as address-taken when some > gimplification

[Bug c++/102293] [10/11/12 Regression] ICE when compiling Boost.Xpressive (in value_dependent_expression_p, at cp/pt.c:26730)

2021-09-13 Thread andysem at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102293 --- Comment #6 from andysem at mail dot ru --- Ok, thanks for confirming.

[Bug c++/102293] [10/11/12 Regression] ICE when compiling Boost.Xpressive (in value_dependent_expression_p, at cp/pt.c:26730)

2021-09-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102293 --- Comment #5 from Martin Liška --- Yes, please. It was fixed with the commit that belongs to the PR. Moreover, there's one more boost ICE report that was also marked as duplicate of the mentioned PR.

[Bug c++/102293] [10/11/12 Regression] ICE when compiling Boost.Xpressive (in value_dependent_expression_p, at cp/pt.c:26730)

2021-09-13 Thread andysem at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102293 --- Comment #4 from andysem at mail dot ru --- (In reply to Martin Liška from comment #3) > Dup. > > *** This bug has been marked as a duplicate of bug 100161 *** This bug isn't about a warning but about an ICE. Are you positive this is a

[Bug c++/102305] intrinsic __is_constructible is wrong for templated abstract classes

2021-09-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102305 --- Comment #2 from Jonathan Wakely --- Thanks, Jakub! Although this is a component=c++ bug, it also results in a libstdc++ regression, because we've been giving the wrong answer since starting to use the intrinsic (e.g.

[Bug rtl-optimization/102306] Volatile pointer dereferenced twice

2021-09-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 Richard Biener changed: What|Removed |Added Component|target |rtl-optimization --- Comment #2 from

[Bug target/102306] Volatile pointer dereferenced twice

2021-09-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 Richard Biener changed: What|Removed |Added Target||sparc-elf

[Bug c++/102281] -ftrivial-auto-var-init=zero causes ice

2021-09-13 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 --- Comment #5 from rguenther at suse dot de --- On Mon, 13 Sep 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102281 > > --- Comment #4 from Jakub Jelinek --- > (In reply to rguent...@suse.de from

  1   2   >