[Bug rtl-optimization/105175] New: [12 Regression] Pointless warning about missed vector optimization

2022-04-06 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105175 Bug ID: 105175 Summary: [12 Regression] Pointless warning about missed vector optimization Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/105160] [12 regression] ipa modref marks functions with asm volatile as const or pure

2022-04-06 Thread peterz at infradead dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105160 peterz at infradead dot org changed: What|Removed |Added CC||peterz at infradead dot org

[Bug plugins/105171] gcc/toplev.c: `local_tick` can overflow and become -1

2022-04-06 Thread pageexec at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105171 --- Comment #6 from PaX Team --- (In reply to Andrew Pinski from comment #5) > > So that I can decide whether I am allowed to do things totally randomly > > or if I must follow some sort of seeded determinism. > > That is almost always the wron

[Bug ipa/105160] [12 regression] ipa modref marks functions with asm volatile as const or pure

2022-04-06 Thread peterz at infradead dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105160 --- Comment #7 from peterz at infradead dot org --- (In reply to peterz from comment #6) > Happy accident; I've been wanting to allow doing something like: > > static __always_inline __pure bool arch_static_branch(struct static_key * > const key

[Bug tree-optimization/105163] [9/10/11/12 Regression] ICE: SSA corruption since r0-122928

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

[Bug plugins/105171] gcc/toplev.c: `local_tick` can overflow and become -1

2022-04-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105171 --- Comment #7 from Andrew Pinski --- I think there might be a way to check if the option -frandom-seed was passed and that might be a better option for your usage anyways. You should check the options handling code.

[Bug c++/100134] [modules] ICE when using a vector in a module

2022-04-06 Thread sandipan.mohanty at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100134 --- Comment #3 from Sandipan Mohanty --- Created attachment 52759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52759&action=edit Preprocessed source generated by gcc Preprocessed source generated by gcc

[Bug plugins/105171] gcc/toplev.c: `local_tick` can overflow and become -1

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

[Bug c++/105164] new warning in clang, missing in gcc: -Wbitwise-instead-of-logical

2022-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105164 Richard Biener changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug c++/100134] [modules] ICE when using a vector in a module

2022-04-06 Thread sandipan.mohanty at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100134 --- Comment #4 from Sandipan Mohanty --- Comment on attachment 52759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52759 Preprocessed source generated by gcc This bug remains unhandled as of 6 April 2022, making it difficult to use modul

[Bug tree-optimization/105165] ICE in gimple_redirect_edge_and_branch, at tree-cfg.cc:6136

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

[Bug ipa/105166] [12 Regression] ICE in ao_ref_init_from_ptr_and_range, at tree-ssa-alias.cc:863 since r12-5244

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

[Bug fortran/105168] [9/10/11/12 Regression] ICE in gfc_maybe_dereference_var, at fortran/trans-expr.cc:2870

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

[Bug tree-optimization/103761] [12 Regression] ICE in exact_div, at poly-int.h:2239 since r12-5612-g10833849b55401a52f2334eb032a70beb688e9fc

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103761 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:d037d9ad323ec9eef3e50c6e2cbc1e31191daa5d commit r12-8016-gd037d9ad323ec9eef3e50c6e2cbc1e31191daa5d Author: Richard Sandiford Da

[Bug tree-optimization/103761] [12 Regression] ICE in exact_div, at poly-int.h:2239 since r12-5612-g10833849b55401a52f2334eb032a70beb688e9fc

2022-04-06 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103761 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|

[Bug plugins/105171] gcc/toplev.c: `local_tick` can overflow and become -1

2022-04-06 Thread pageexec at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105171 --- Comment #9 from PaX Team --- (In reply to Andrew Pinski from comment #7) > I think there might be a way to check if the option -frandom-seed was passed > and that might be a better option for your usage anyways. You should check > the option

[Bug c++/105169] Compiling C++ code with -fpatchable-function-entry=16,14 results in references to discarded sections

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

[Bug tree-optimization/105173] [10/11/12 Regression] ICE: during GIMPLE pass: reassoc: verify_ssa failed (definition in block 2 follows the use) at -Ofast with decimals

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

[Bug c/105150] [9/10/11/12 Regression] ICE with -Ofast: verify_gimple failed

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105150 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:71770a0ea920641c53912f725f5abd4413b38fd5 commit r12-8017-g71770a0ea920641c53912f725f5abd4413b38fd5 Author: Jakub Jelinek Date: W

[Bug tree-optimization/31178] VRP can infer a range for b in a >> b and a << b

2022-04-06 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178 --- Comment #17 from Vincent Lefèvre --- (In reply to Richard Biener from comment #16) > Note for shifts the precision of the shift operand does not have to match > that of the shifted operand. In your case you have vector << scalar, so you > de

[Bug plugins/105171] gcc/toplev.c: `local_tick` can overflow and become -1

2022-04-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105171 --- Comment #10 from Andrew Pinski --- What is interesting here is any change will always going to be gcc 13+. So requiring gcc 4.6+ is not a bad thing. Gcc 12 does not even compile with gcc 4.7 or before now with the requirement of c++11. Gcc 4

[Bug tree-optimization/105175] [12 Regression] Pointless warning about missed vector optimization

2022-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105175 Richard Biener changed: What|Removed |Added Component|rtl-optimization|tree-optimization Last reconfirmed|

[Bug tree-optimization/31178] VRP can infer a range for b in a >> b and a << b

2022-04-06 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178 --- Comment #18 from rguenther at suse dot de --- On Wed, 6 Apr 2022, vincent-gcc at vinc17 dot net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178 > > --- Comment #17 from Vincent Lefèvre --- > (In reply to Richard Biener from com

[Bug plugins/105171] gcc/toplev.c: `local_tick` can overflow and become -1

2022-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105171 Jakub Jelinek changed: What|Removed |Added CC|jakub at redhat dot com| --- Comment #11 from Jakub Jeli

[Bug tree-optimization/105175] [12 Regression] Pointless warning about missed vector optimization

2022-04-06 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105175 --- Comment #2 from Andreas Krebbel --- I would expect the vectorizer to only generate vector modes which would fit into word mode if no hardware vector support is available. E.g. for: struct { unsigned a, b, c, d; } s; foo() { s.a &= 42;

[Bug tree-optimization/105163] [9/10/11/12 Regression] ICE: SSA corruption since r0-122928

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105163 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:44fe49401725055a740ce47e80561b6932b8cd01 commit r12-8018-g44fe49401725055a740ce47e80561b6932b8cd01 Author: Richard Biener Date:

[Bug plugins/105171] gcc/toplev.c: `local_tick` can overflow and become -1

2022-04-06 Thread pageexec at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105171 --- Comment #12 from PaX Team --- (In reply to Jakub Jelinek from comment #11) > I think kernel requires gcc >= 5.1 anyway. there's more than one kernel version in active use and under development/support, even by upstream, not to mention compan

[Bug target/105157] [12 Regression] compile-time regressions with generic tuning

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

[Bug plugins/105171] gcc/toplev.c: `local_tick` can overflow and become -1

2022-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105171 --- Comment #13 from Jakub Jelinek --- As has been said, we can't retroactively change released compilers from the last 2 decades. And going forward, I think walking the save_decoded_options is just fine and reliable, other plugins use that too

[Bug tree-optimization/31178] VRP can infer a range for b in a >> b and a << b

2022-04-06 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178 --- Comment #19 from Vincent Lefèvre --- (In reply to rguent...@suse.de from comment #18) > Sure, if that's what the precision is used for. The message from Andrew > sounded like 'I want the precision for the shift operand but let me > just use

[Bug c++/103329] [11/12 Regression] Code divergence in debug info with -fdump-tree-original since r11-291-g0f50f6daa140186a

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

[Bug tree-optimization/105175] [12 Regression] Pointless warning about missed vector optimization

2022-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105175 --- Comment #3 from Richard Biener --- So vectorizable_operation correctly says target_support_p == false and then goes on with target_support_p = (optab_handler (optab, vec_mode) != CODE_FOR_nothing); } b

[Bug plugins/105171] gcc/toplev.c: `local_tick` can overflow and become -1

2022-04-06 Thread pageexec at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105171 --- Comment #14 from PaX Team --- (In reply to Jakub Jelinek from comment #13) > As has been said, we can't retroactively change released compilers from the > last 2 decades. And going forward, I think walking the save_decoded_options > is just

[Bug fortran/105152] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.cc:5647 since r9-5372-gbbf18dc5d248a79a

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

[Bug c++/105164] new warning in clang, missing in gcc: -Wbitwise-instead-of-logical

2022-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105164 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Assi

[Bug fortran/105168] [9/10/11/12 Regression] ICE in gfc_maybe_dereference_var, at fortran/trans-expr.cc:2870 since r9-3522-gd0477233215e37de

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

[Bug tree-optimization/105175] [12 Regression] Pointless warning about missed vector optimization

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

[Bug tree-optimization/105173] [10/11/12 Regression] ICE: during GIMPLE pass: reassoc: verify_ssa failed (definition in block 2 follows the use) at -Ofast with decimals since r7-950-g8a85cee26eabf5cf

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

[Bug c++/105169] Compiling C++ code with -fpatchable-function-entry=16,14 results in references to discarded sections

2022-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105169 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/24021] VRP does not work with floating points

2022-04-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org

[Bug c++/105169] Compiling C++ code with -fpatchable-function-entry=16,14 results in references to discarded sections

2022-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105169 --- Comment #3 from Martin Liška --- And the following works: g++ 2.ii 1.ii -fpatchable-function-entry=1 -O2

[Bug tree-optimization/105173] [10/11/12 Regression] ICE: during GIMPLE pass: reassoc: verify_ssa failed (definition in block 2 follows the use) at -Ofast with decimals since r7-950-g8a85cee26eabf5cf

2022-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105173 --- Comment #3 from Richard Biener --- [local count: 1073741824]: i.0_1 = i; _2 = (_Decimal32) i.0_1; _12 = (_Decimal64) _2; _13 = (_Decimal64) d_8(D); _3 = _12 * _13; _4 = (_Decimal64) c_9(D); _5 = -_4; _6 = _3 * _5; d_10 =

[Bug tree-optimization/24021] VRP does not work with floating points

2022-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #21 from Jakub Jelinek --- (In reply to Aldy Hernandez from comment #20) > (In reply to Andrew Macleod from comment #19) > > We can use the original testcase as the litmus test for basic support if we > > compile it with > > > > -O2

[Bug c++/105169] Compiling C++ code with -fpatchable-function-entry=16,14 results in references to discarded sections

2022-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105169 --- Comment #4 from Richard Biener --- (In reply to Martin Liška from comment #2) > Confirmed, a bit reduced test-case: > > $ cat 1.ii > struct WinsockInterfaceClass { > virtual int Get_Protocol() { return 0; } > } PacketTransport; > > $ cat

[Bug tree-optimization/24021] VRP does not work with floating points

2022-04-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #22 from Aldy Hernandez --- > This doesn't take flag_rounding_math or not always exactly precise floating > point computations into account. > It is also missing real_convert after real_arithmetics that performs at least > some of th

[Bug target/99977] arm: ICE with __sync_bool_compare_and_swap and -mcpu=cortex-m23

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99977 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:f037a81fcd1ac5d5adddfb204e1c07bdd2bffbbe commit r9-10006-gf037a81fcd1ac5d5adddfb204e1c07bdd2bffbbe Author: Alex Coplan Date:

[Bug target/99977] arm: ICE with __sync_bool_compare_and_swap and -mcpu=cortex-m23

2022-04-06 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99977 Alex Coplan changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/105166] [12 Regression] ICE in ao_ref_init_from_ptr_and_range, at tree-ssa-alias.cc:863 since r12-5244

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105166 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4be08315124281f4e9359bc7e5279a99bdbdd053 commit r12-8019-g4be08315124281f4e9359bc7e5279a99bdbdd053 Author: Richard Biener Date:

[Bug ipa/105166] [12 Regression] ICE in ao_ref_init_from_ptr_and_range, at tree-ssa-alias.cc:863 since r12-5244

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

[Bug tree-optimization/24021] VRP does not work with floating points

2022-04-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #23 from Aldy Hernandez --- (In reply to Aldy Hernandez from comment #22) > > This doesn't take flag_rounding_math or not always exactly precise floating > > point computations into account. > > It is also missing real_convert after r

[Bug debug/105176] New: -fdce causes a non-dead variable to show as optimized out when debugging only at -Os/Oz

2022-04-06 Thread assaiante at diag dot uniroma1.it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105176 Bug ID: 105176 Summary: -fdce causes a non-dead variable to show as optimized out when debugging only at -Os/Oz Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/105165] ICE in gimple_redirect_edge_and_branch, at tree-cfg.cc:6136

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

[Bug c/105177] New: GCC should warn if pragma redefine_extname fails due to missing declaration

2022-04-06 Thread timschumi at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105177 Bug ID: 105177 Summary: GCC should warn if pragma redefine_extname fails due to missing declaration Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/24021] VRP does not work with floating points

2022-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24021 --- Comment #24 from Jakub Jelinek --- It would, but it would also give up quite often. For VRP we can do better, because we don't have just the options exactly correct answer or give up, we can have ranges. So, say for flag_rounding_math, we can

[Bug target/105157] [12 Regression] compile-time regressions with generic tuning since r12-7756-g27d8748df59fe6

2022-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105157 Martin Liška changed: What|Removed |Added Summary|[12 Regression] |[12 Regression] |compi

[Bug target/105157] [12 Regression] compile-time regressions with generic tuning since r12-7756-g27d8748df59fe6

2022-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105157 --- Comment #4 from Martin Liška --- Created attachment 52760 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52760&action=edit Test-case

[Bug target/105157] [12 Regression] compile-time regressions with generic tuning since r12-7756-g27d8748df59fe6

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

[Bug tree-optimization/105165] ICE in gimple_redirect_edge_and_branch, at tree-cfg.cc:6136

2022-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105165 --- Comment #4 from Jakub Jelinek --- Outputs from asm goto has been strongly demanded feature from mainly linux kernel folks. Allowing all but complex outputs from asm goto would be just weird. I think if we can't punt on the cplx lowering for

[Bug target/105157] [12 Regression] compile-time regressions with generic tuning since r12-7756-g27d8748df59fe6

2022-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105157 --- Comment #6 from Richard Biener --- More to the point the cited rev. doesn't look like it should change anything for -mtune=generic. Maybe the "generic" config is always the last one on aarch64 and now "demeter"? At least there doesn't seem

[Bug tree-optimization/105173] [10/11/12 Regression] ICE: during GIMPLE pass: reassoc: verify_ssa failed (definition in block 2 follows the use) at -Ofast with decimals since r7-950-g8a85cee26eabf5cf

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105173 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e1a5e7562d53a8d2256f754714b06595bea72196 commit r12-8020-ge1a5e7562d53a8d2256f754714b06595bea72196 Author: Richard Biener Date:

[Bug tree-optimization/105173] [10/11 Regression] ICE: during GIMPLE pass: reassoc: verify_ssa failed (definition in block 2 follows the use) at -Ofast with decimals since r7-950-g8a85cee26eabf5cf

2022-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105173 Richard Biener changed: What|Removed |Added Known to fail|12.0| Summary|[10/11/12 Regressi

[Bug target/105157] [12 Regression] compile-time regressions with generic tuning since r12-7756-g27d8748df59fe6

2022-04-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105157 --- Comment #7 from Tamar Christina --- (In reply to Richard Biener from comment #6) > More to the point the cited rev. doesn't look like it should change anything > for -mtune=generic. Maybe the "generic" config is always the last one on > aar

[Bug tree-optimization/105165] ICE in gimple_redirect_edge_and_branch, at tree-cfg.cc:6136

2022-04-06 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105165 --- Comment #5 from rguenther at suse dot de --- On Wed, 6 Apr 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105165 > > --- Comment #4 from Jakub Jelinek --- > Outputs from asm goto has been strongly dem

[Bug target/105157] [12 Regression] compile-time regressions with generic tuning since r12-7756-g27d8748df59fe6

2022-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105157 --- Comment #8 from Richard Biener --- Most of the compile-time is spent in scheduling, so I think the scheduling model was somehow exchanged.

[Bug c++/105169] Compiling C++ code with -fpatchable-function-entry=16,14 results in references to discarded sections

2022-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105169 --- Comment #5 from Martin Liška --- It's there since the introduction of the option in r8-2176-g417ca0117a1a9a8a.

[Bug tree-optimization/105165] ICE in gimple_redirect_edge_and_branch, at tree-cfg.cc:6136

2022-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105165 --- Comment #6 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #5) > Anyway, nobody is going to run into this in practice. Maybe > instead of ICEing we can just sorry from complex lowering ... eh. For GCC 11/12 that sounds l

[Bug c++/105169] Compiling C++ code with -fpatchable-function-entry=16,14 results in references to discarded sections

2022-04-06 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105169 --- Comment #6 from rguenther at suse dot de --- On Wed, 6 Apr 2022, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105169 > > --- Comment #5 from Martin Liška --- > It's there since the introduction of the op

[Bug tree-optimization/105165] ICE in gimple_redirect_edge_and_branch, at tree-cfg.cc:6136

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

[Bug c++/105169] Compiling C++ code with -fpatchable-function-entry=16,14 results in references to discarded sections

2022-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105169 --- Comment #7 from Martin Liška --- Yes, looking at clang++, they utilize G (group) section flags: _ZN21WinsockInterfaceClass12Get_ProtocolEv: # @_ZN21WinsockInterfaceClass12Get_ProtocolEv .Lfunc_begin0: .cfi_startproc # %bb.0:

[Bug c++/105164] new warning in clang, missing in gcc: -Wbitwise-instead-of-logical

2022-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105164 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug gcov-profile/105063] [GCOV] Ability to map .gcda paths

2022-04-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/100370] [11/12 Regression] Incorrect -Wplacement-new with union

2022-04-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100370 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/105174] [Concepts] Example from temp.func.order-p6 selects wrong overload

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105174 Patrick Palka changed: What|Removed |Added Last reconfirmed||2022-04-06 Status|UNCONFIRM

[Bug c++/105178] New: g++ incorrectly reports invalid use of incomplete type

2022-04-06 Thread oss.abde.sassi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105178 Bug ID: 105178 Summary: g++ incorrectly reports invalid use of incomplete type Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug tree-optimization/31178] VRP can infer a range for b in a >> b and a << b

2022-04-06 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178 --- Comment #20 from Andrew Macleod --- That is correct. tree op1_type = TREE_TYPE (gimple_assign_rhs1 (s)); tree op2_type = TREE_TYPE (gimple_assign_rhs2 (s)); tree l = build_int_cst (op2_type, 0);

[Bug tree-optimization/31178] VRP can infer a range for b in a >> b and a << b

2022-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178 --- Comment #21 from Jakub Jelinek --- Yes, though I think we should fix the Fortran FE so that it only relies on [0, N) . If the shift count is constant, it can deal with it at compile time, if it is variable, can emit a COND_EXPR for the shift

[Bug tree-optimization/31178] VRP can infer a range for b in a >> b and a << b

2022-04-06 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178 --- Comment #22 from rguenther at suse dot de --- On Wed, 6 Apr 2022, amacleod at redhat dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178 > > --- Comment #20 from Andrew Macleod --- > That is correct. > > tree

[Bug libstdc++/105178] g++ incorrectly reports invalid use of incomplete type

2022-04-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105178 Richard Biener changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Richard

[Bug libstdc++/105178] [11 Regression] g++ incorrectly reports invalid use of incomplete type

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105178 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.3 Status|UNCONFIRMED

[Bug debug/105179] New: -fcprop-registers shrinks a DWARF location range making a variable optimized out at -Og

2022-04-06 Thread dc.delia at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105179 Bug ID: 105179 Summary: -fcprop-registers shrinks a DWARF location range making a variable optimized out at -Og Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/100608] [10/11/12 Regression] -Wshadow=compatible-local false positive: function local type declaration shadows variable of different type

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100608 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:fd0024e48e94008915a6b18112efbbd8abc81ed8 commit r12-8021-gfd0024e48e94008915a6b18112efbbd8abc81ed8 Author: Jason Merrill Date: T

[Bug c/105180] New: K&R style definition does not evaluate array size

2022-04-06 Thread gcc at emil dot codes via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105180 Bug ID: 105180 Summary: K&R style definition does not evaluate array size Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/104578] [12 Regression][CWG1315] accepts invalid partial template specialization, non-type template argument depends on a template parameter

2022-04-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104578 Jason Merrill changed: What|Removed |Added Summary|[12 Regression] accepts |[12 Regression][CWG1315]

[Bug c++/105143] c++20: ICE when trying to emit a [[nodiscard]] warning and non-type template arugument

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105143 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c/105150] [9/10/11/12 Regression] ICE with -Ofast: verify_gimple failed

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105150 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5df29fe79df659617793f955a1ea6c23a0617fe2 commit r12-8022-g5df29fe79df659617793f955a1ea6c23a0617fe2 Author: Jakub Jelinek Date: W

[Bug c++/104702] [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-04-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/105162] [AArch64] outline-atomics drops dmb ish barrier on __sync builtins

2022-04-06 Thread spop at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105162 --- Comment #4 from Sebastian Pop --- The attached patch degrades performance on cpus with LSE: the barrier is not needed when outline-atomics execute an LSE instruction. I was thinking to add the barrier to the armv8.0 generic path (no LSE) in

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

2022-04-06 Thread nicolas at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79724 --- Comment #10 from Nicolas Boulenguez --- Hello. I suggest that Homebrew adopt a solution tested for years by Debian: * install the executables as TARGET-gcc-VERSION * add symbolic links if necessary (gcc, gcc-VERSION, TARGET-gcc) * apply the

[Bug c/105181] New: [optimization] gcc generate worse code than clang base on neon

2022-04-06 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105181 Bug ID: 105181 Summary: [optimization] gcc generate worse code than clang base on neon Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/104702] [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:cc76c502a761ddaee215bcbd8fe4720e46d3b9dd commit r12-8024-gcc76c502a761ddaee215bcbd8fe4720e46d3b9dd Author: Jason Merrill Date: W

[Bug c++/104702] [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-04-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/105147] New test case gcc.dg/pr105140.c introduced in r12-7979-geaaf77dd85c333 has excess errors

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105147 --- Comment #4 from CVS Commits --- The master branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:c65d15d40738f3691ff1a39907a4b93e9fe5c5ae commit r12-8025-gc65d15d40738f3691ff1a39907a4b93e9fe5c5ae Author: Segher Boessenkool

[Bug target/105147] New test case gcc.dg/pr105140.c introduced in r12-7979-geaaf77dd85c333 has excess errors

2022-04-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105147 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug driver/105096] --target-help not an alias for --help=target

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105096 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:717b2d4191e80dc8aae3847675de73ed3f611fb7 commit r12-8026-g717b2d4191e80dc8aae3847675de73ed3f611fb7 Author: Martin Liska Date: Thu

[Bug driver/105096] --target-help not an alias for --help=target

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

[Bug target/105069] [12 regression] sh-elf internal compiler errors and test failures with -Os

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105069 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6283d5ad4779d3e5b7b2a93e76de03264a7c7cc6 commit r12-8027-g6283d5ad4779d3e5b7b2a93e76de03264a7c7cc6 Author: Jakub Jelinek Date: W

[Bug target/105069] [12 regression] sh-elf internal compiler errors and test failures with -Os

2022-04-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105069 --- Comment #9 from Jakub Jelinek --- Some of the ICEs are gone, but pr104327.c is still rejected.

[Bug c++/105143] c++20: ICE when trying to emit a [[nodiscard]] warning and non-type template arugument

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105143 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e58484a019c57b1085bbbcc1654f1944feddfe73 commit r12-8028-ge58484a019c57b1085bbbcc1654f1944feddfe73 Author: Patrick Palka Date: W

[Bug c++/105143] c++20: ICE when trying to emit a [[nodiscard]] warning and non-type template arugument

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105143 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.3 --- Comment #3 from Patrick Palka

[Bug c++/104668] [12 Regression] ICE in lookup_attribute_spec, at attribs.cc:425

2022-04-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104668 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9fd377a747375a82912bd81c67b275301489785c commit r12-8029-g9fd377a747375a82912bd81c67b275301489785c Author: Jakub Jelinek Date: W

  1   2   >