[Bug middle-end/103262] [12 Regression] Random FAIL: gcc.c-torture/execute/20061220-1.c by r12-5244

2021-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103262 --- Comment #6 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:e69b7c5779863469479698f863ab25e0d9b4586e commit r12-5292-ge69b7c5779863469479698f863ab25e0d9b4586e Author: Jan Hubicka Date: Tue N

[Bug tree-optimization/103253] [12 Regression] ICE: Segmentation fault (in convert_mult_to_fma or in vect_recog_mask_conversion_pattern) since r12-5129-g8ed62c929c7c4462

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-11-16 Target Milestone|---

[Bug tree-optimization/103254] [12 Regression] Compile time hog in compare_values_warnv since r12-4790-g4b3a325f07acebf4

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103254 Martin Liška changed: What|Removed |Added Known to work||11.2.0 Ever confirmed|0

[Bug testsuite/103270] [12 regression] gcc.dg/vect/pr96698.c inner loop turned from hot to cold after r12-4526

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103270 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Last reco

[Bug middle-end/103262] [12 Regression] Random FAIL: gcc.c-torture/execute/20061220-1.c by r12-5244

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103262 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org St

[Bug tree-optimization/103255] [11/12 Regression] optimization breaks address of struct member since r11-4984-g47923622c663ffad

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

[Bug fortran/103258] [12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1114 since r12-4979-gee11be7f2d788e60

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103258 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #2 from Jan Hubicka --- jan@localhost:~> gcc t.c t.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2 | infinite (int p) | ^~~~ t.c:16:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 16 | tes

[Bug tree-optimization/103253] [12 Regression] ICE: Segmentation fault (in convert_mult_to_fma or in vect_recog_mask_conversion_pattern) since r12-5129-g8ed62c929c7c4462

2021-11-16 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 --- Comment #3 from Arseny Solokha --- (In reply to Martin Liška from comment #2) > Started with r12-5129-g8ed62c929c7c4462. On godbolt it ICEs even w/ 20211029 snapshot.

[Bug fortran/103259] [11/12 Regression] ICE in resolve_common_vars, at fortran/resolve.c:956 since r11-3866-g4d2a56a0f7135469

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103259 Martin Liška changed: What|Removed |Added CC||markeggleston at gcc dot gnu.org,

[Bug fortran/103260] ICE in gfc_simplify_reshape, at fortran/simplify.c:6857 since r6-4614-g57e596204fceef2e

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103260 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|ICE in

[Bug fortran/103261] ICE in gfc_check_reshape, at fortran/check.c:4742

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103261 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-11-16 CC|

[Bug fortran/103263] ICE in gfc_check_reshape, at fortran/check.c:4830

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103263 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Last reconfi

[Bug testsuite/103264] [12 regression] gcc.dg/tree-prof/merge_block.c fails after r12-5236

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

[Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #3 from Martin Liška --- Ah, ok, so no ICE, but wrong code.

[Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #4 from Martin Liška --- Still, I can't reproduce with the current master. Apparently, the code snippet from #c0 produces only 2 warnings: $ gcc pr103267.c -c -O2 && ./a.out pr103267.c:17:1: warning: return type defaults to ‘int’ [-

[Bug tree-optimization/103192] [12 Regression] ICE on libgomp target-in-reduction-2.{C,c}

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103192 --- Comment #17 from Jakub Jelinek --- iftmp.2373_1515 is defined earlier as: iftmp.2373_1515 = code_1387(D) != 181 ? ctx_1386 : outer_ctx_1389; so the transformation by dom3? from if (outer_ctx_1389 != 0B) to if (iftmp.2373_1515 != 0B) is

[Bug tree-optimization/103253] [12 Regression] ICE: Segmentation fault (in convert_mult_to_fma or in vect_recog_mask_conversion_pattern) since r12-5129-g8ed62c929c7c4462

2021-11-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 Tamar Christina changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

Re: [Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread Jan Hubicka via Gcc-bugs
Works for me even with the 3 warnings. hubicka@lomikamen:/aux/hubicka/trunk/build-lto2/gcc$ cat >tt.c __attribute__ ((noinline,const)) infinite (int p) { if (p) while (1); return p; } __attribute__ ((noinline)) static void test(int p, int *a) { int v = infinite (p); if (*a && v) __

[Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #5 from hubicka at kam dot mff.cuni.cz --- Works for me even with the 3 warnings. hubicka@lomikamen:/aux/hubicka/trunk/build-lto2/gcc$ cat >tt.c __attribute__ ((noinline,const)) infinite (int p) { if (p) while (1); return p;

[Bug ipa/103230] ipa-modref-tree.h:550:33: runtime error: load of value 255, which is not a valid value for type 'bool'

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103230 --- Comment #6 from Martin Liška --- Still reproduces with the current master: g:e69b7c5779863469479698f863ab25e0d9b4586e.

Re: [Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread Jan Hubicka via Gcc-bugs
Aha, but here is better example (reproduces same way). In the former one I forgot const attribute which makes it invalid. The testcase tests that ipa-sra is missing ECF_LOOPING_CONST_OR_PURE check static int __attribute__ ((noinline)) infinite (int p) { if (p) while (1); return p; } __attr

[Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #6 from hubicka at kam dot mff.cuni.cz --- Aha, but here is better example (reproduces same way). In the former one I forgot const attribute which makes it invalid. The testcase tests that ipa-sra is missing ECF_LOOPING_CONST_OR_PURE

[Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #7 from Martin Liška --- Now, I can reproduce it, the original code snippet was different: diff -u pr103267-o.c pr103267.c --- pr103267-o.c2021-11-16 09:47:41.463349286 +0100 +++ pr103267.c 2021-11-16 09:47:11.811550854 +01

[Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 Martin Liška changed: What|Removed |Added Status|WAITING |NEW

[Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #8 from Martin Liška --- (In reply to hubicka from comment #6) > Aha, but here is better example (reproduces same way). > In the former one I forgot const attribute which makes it invalid. > The testcase tests that ipa-sra is missing

Re: [Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread Jan Hubicka via Gcc-bugs
> @@ -1,4 +1,3 @@ > -static int > __attribute__ ((noinline,const)) > infinite (int p) > { Just for a record, it crahes with or without static int here for me :) I run across it because the code tracking must access in ipa-sra is IMO conceptually wrong. I noticed that because ipa-modref solves

[Bug ipa/103267] Wrong code with ipa-sra

2021-11-16 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103267 --- Comment #9 from hubicka at kam dot mff.cuni.cz --- > @@ -1,4 +1,3 @@ > -static int > __attribute__ ((noinline,const)) > infinite (int p) > { Just for a record, it crahes with or without static int here for me :) I run across it because th

[Bug target/103271] New: ICE in assign_stack_temp_for_type, at function.c:798

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 Bug ID: 103271 Summary: ICE in assign_stack_temp_for_type, at function.c:798 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug target/103271] ICE in assign_stack_temp_for_type, at function.c:798

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 Martin Liška changed: What|Removed |Added Target Milestone|--- |12.0 Ever confirmed|0

[Bug tree-optimization/103253] [12 Regression] ICE: Segmentation fault (in convert_mult_to_fma or in vect_recog_mask_conversion_pattern) since r12-5129-g8ed62c929c7c4462

2021-11-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 --- Comment #5 from Tamar Christina --- Looks like the RPO pass is causing match.pd to simply vect_iftmp.10_41 = vect__1.9_38 * vect_cst__40; vect_iftmp.10_42 = vect__1.9_39 * vect_cst__40; iftmp.0_8 = _1 * 2.0e+0; mask_patt_19.11_44 =

[Bug tree-optimization/102009] [12 Regression] ICE: in gimple_call_arg, at gimple.h:3272 by r12-2976

2021-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102009 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:eacdfaf7ca07367ede1a0c50aa997953958dabae commit r12-5294-geacdfaf7ca07367ede1a0c50aa997953958dabae Author: Jakub Jelinek Date: T

[Bug tree-optimization/103208] [12 Regression] ICE: SSA corruption (Existing SSA name for symbol marked for renaming),or ICE in make_decl_rtl, at varasm.c:1446 since r12-4733-g2084b5f42a4432da

2021-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103208 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:47de0b56ee455ec82ec7d61a20988f11b67aa4e9 commit r12-5295-g47de0b56ee455ec82ec7d61a20988f11b67aa4e9 Author: Jakub Jelinek Date: T

[Bug target/103248] ICE in operation_could_trap_helper_p, at tree-eh.c:2479

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

[Bug c++/103250] Valarray replacement type introduces ambiguity

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103250 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug sanitizer/103251] TSAN warnings print pid

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103251 Richard Biener changed: What|Removed |Added Version|unknown |12.0 --- Comment #1 from Richard Biene

[Bug target/103252] questionable codegen with kmovd

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

[Bug target/103248] ICE in operation_could_trap_helper_p, at tree-eh.c:2479

2021-11-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103248 --- Comment #9 from Martin Liška --- (In reply to Richard Biener from comment #8) > can you also attach fixed_point_compound.c please? Sorry, it's from LLVM, reduced test-case: $ cat fixed_point_compound.c _Accum sa; int c; void div_csa() { c

[Bug target/103248] ICE in operation_could_trap_helper_p, at tree-eh.c:2479

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

[Bug tree-optimization/103253] [12 Regression] ICE: Segmentation fault (in convert_mult_to_fma or in vect_recog_mask_conversion_pattern) since r12-5129-g8ed62c929c7c4462

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

[Bug tree-optimization/103255] [11/12 Regression] optimization breaks address of struct member since r11-4984-g47923622c663ffad

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

[Bug c++/103238] c++ Feature: array-copy experimental extensions implementing P1997

2021-11-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103238 --- Comment #3 from Jonathan Wakely --- There is no reason to think this would be a DR for C++.

[Bug tree-optimization/103257] [9/10/11/12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103257 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #7 from Richard Biener

[Bug fortran/103258] [12 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1114 since r12-4979-gee11be7f2d788e60

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

[Bug fortran/103259] [11/12 Regression] ICE in resolve_common_vars, at fortran/resolve.c:956 since r11-3866-g4d2a56a0f7135469

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103259 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.3

[Bug testsuite/103264] [12 regression] gcc.dg/tree-prof/merge_block.c fails after r12-5236

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

[Bug target/103271] ICE in assign_stack_temp_for_type, at function.c:798

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 Richard Biener changed: What|Removed |Added Target Milestone|12.0|---

[Bug tree-optimization/103253] [12 Regression] ICE: Segmentation fault (in convert_mult_to_fma or in vect_recog_mask_conversion_pattern) since r12-5129-g8ed62c929c7c4462

2021-11-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 --- Comment #7 from Tamar Christina --- > .COND_MUL might raise an exception and DCE removes unused LHS of calls. > Looks like FMA analysis doesn't like internal fns w/o a LHS? That makes sense, it looks like it needs the LHS to find the uses

[Bug sanitizer/103251] TSAN warnings print pid

2021-11-16 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103251 --- Comment #2 from Segher Boessenkool --- It makes results not reproducable. It is a bug in the test. It is good to have the pid in the testcase output somewhere of course, just not in the summary.

[Bug tree-optimization/103253] [12 Regression] ICE: Segmentation fault (in convert_mult_to_fma or in vect_recog_mask_conversion_pattern) since r12-5129-g8ed62c929c7c4462

2021-11-16 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 --- Comment #8 from rguenther at suse dot de --- On Tue, 16 Nov 2021, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 > > --- Comment #7 from Tamar Christina --- > > .COND_MUL might raise an exception

[Bug tree-optimization/103208] [12 Regression] ICE: SSA corruption (Existing SSA name for symbol marked for renaming),or ICE in make_decl_rtl, at varasm.c:1446 since r12-4733-g2084b5f42a4432da

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103208 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/103255] [11/12 Regression] optimization breaks address of struct member since r11-4984-g47923622c663ffad

2021-11-16 Thread nbd at nbd dot name via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103255 Felix Fietkau changed: What|Removed |Added CC||nbd at nbd dot name --- Comment #4 from

[Bug tree-optimization/103266] [12 regression] llvm-13 miscompilation: __builtin_assume_aligned causes over-aggressive dce

2021-11-16 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103266 --- Comment #5 from hubicka at kam dot mff.cuni.cz --- > I think 'X' means simply not dereferenced or escaping since this was all > PTA based. 'S' would still eventually allow escaping. But yes, PTA > simply takes '1' literally. So the patch b

[Bug ipa/101941] [12 Regression] Linux kernel build failure due to retaining fnsplit fragment with __attribute__((__error__))

2021-11-16 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 --- Comment #19 from hubicka at kam dot mff.cuni.cz --- > > * special case function splitting such that a BB that contains a function > > call which has either warning or error attribute on it; not to split out to > > a different function. > > S

[Bug target/103272] New: failure to use vld20/vld21 to vectorize for ARM MVE

2021-11-16 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103272 Bug ID: 103272 Summary: failure to use vld20/vld21 to vectorize for ARM MVE Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/103254] [12 Regression] Compile time hog in compare_values_warnv since r12-4790-g4b3a325f07acebf4

2021-11-16 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103254 Aldy Hernandez changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug tree-optimization/103253] [12 Regression] ICE: Segmentation fault (in convert_mult_to_fma or in vect_recog_mask_conversion_pattern) since r12-5129-g8ed62c929c7c4462

2021-11-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 --- Comment #9 from Tamar Christina --- > We might want to eventually special-case some of the internal fns > in internal_fn_flags? Or have a special ECF_FP_TRAP which > we'd rewrite in internal_fn_flags based on flag_trapping_math > (but we'd

[Bug tree-optimization/103266] [12 regression] llvm-13 miscompilation: __builtin_assume_aligned causes over-aggressive dce

2021-11-16 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103266 --- Comment #6 from rguenther at suse dot de --- On Tue, 16 Nov 2021, hubicka at kam dot mff.cuni.cz wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103266 > > --- Comment #5 from hubicka at kam dot mff.cuni.cz --- > > I think 'X' means

[Bug ipa/101941] [12 Regression] Linux kernel build failure due to retaining fnsplit fragment with __attribute__((__error__))

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 --- Comment #20 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #14) > (In reply to Jakub Jelinek from comment #13) > > Actually, lookng at the kernel, I don't see how this can happen. > Inlining is not always the issue here. Ah,

[Bug tree-optimization/103253] [12 Regression] ICE: Segmentation fault (in convert_mult_to_fma or in vect_recog_mask_conversion_pattern) since r12-5129-g8ed62c929c7c4462

2021-11-16 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 --- Comment #10 from rguenther at suse dot de --- On Tue, 16 Nov 2021, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103253 > > --- Comment #9 from Tamar Christina --- > > We might want to eventually specia

[Bug tree-optimization/102880] [12 Regression] Dead Code Elimination Regression at -O3

2021-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102880 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f98f373dd822b35c52356b753d528924e9f89678 commit r12-5300-gf98f373dd822b35c52356b753d528924e9f89678 Author: Richard Biener Date:

[Bug tree-optimization/102880] [12 Regression] Dead Code Elimination Regression at -O3

2021-11-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102880 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:045206450386bcd774db3bde0c696828402361c6 commit r12-5301-g045206450386bcd774db3bde0c696828402361c6 Author: Richard Biener Date:

[Bug tree-optimization/102880] [12 Regression] Dead Code Elimination Regression at -O3

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

[Bug ipa/101941] [12 Regression] Linux kernel build failure due to retaining fnsplit fragment with __attribute__((__error__))

2021-11-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 --- Comment #21 from Jan Hubicka --- Jakub: I see it is about error attributed call in the split out part of function. Then we really want to prevent the split. Keeping track of those should be possible in the recursive walk (where we keep track

[Bug middle-end/103248] ICE in operation_could_trap_helper_p, at tree-eh.c:2479

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103248 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug tree-optimization/102009] [12 Regression] ICE: in gimple_call_arg, at gimple.h:3272 by r12-2976

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102009 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libgomp/102838] [12 regression] Several tests SEGV in gomp_loop_ull_init

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102838 --- Comment #13 from Jakub Jelinek --- Created attachment 51807 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51807&action=edit gcc12-pr102838-2.patch Does this patch fix it? Sorry for the delay...

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

2021-11-16 Thread alx.manpages at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103233 --- Comment #8 from alx.manpages at gmail dot com --- Hi Andrew, On 11/16/21 00:52, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103233 > > --- Comment #7 from Andrew Pinski --- > (In reply to Alejandro Colo

[Bug bootstrap/102675] [12 regression] Bootstrap fails in libsanitizer: 'MD5_DIGEST_STRING_LENGTH' was not declared in this scope

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

[Bug tree-optimization/103169] [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2021-11-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 Tamar Christina changed: What|Removed |Added Status|NEW |ASSIGNED See Also|

[Bug target/103252] questionable codegen with kmovd

2021-11-16 Thread jason at zx2c4 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103252 --- Comment #7 from Jason A. Donenfeld --- The strange thing in this case is that the non-avx512 codegen _doesn't_ spill to memory. It just uses the gprs that are around. So it seems like that, somehow, the mere existence of the mask registers c

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

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

[Bug target/103252] questionable codegen with kmovd

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103252 --- Comment #8 from Jakub Jelinek --- Definitely not lazier. When the mask registers are available for use, RA considers them and when spilling to those is cheaper than to memory, it spills to them and not memory. Where cheaper is determined b

[Bug target/103252] questionable codegen with kmovd

2021-11-16 Thread jason at zx2c4 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103252 --- Comment #9 from Jason A. Donenfeld --- > When the mask registers are available for use, RA considers them and when > spilling to those is cheaper than to memory, it spills to them and not memory. Yes, this is the thing I don't get. When y

[Bug tree-optimization/103192] [12 Regression] ICE on libgomp target-in-reduction-2.{C,c}

2021-11-16 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103192 --- Comment #18 from Aldy Hernandez --- (In reply to Jakub Jelinek from comment #17) > iftmp.2373_1515 is defined earlier as: > iftmp.2373_1515 = code_1387(D) != 181 ? ctx_1386 : outer_ctx_1389; > so the transformation by dom3? from > if (ou

[Bug fortran/103115] [12 Regression] reallocation of character array fails when appending a constant size 4 array

2021-11-16 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115 Jürgen Reuter changed: What|Removed |Added CC||juergen.reuter at desy dot de --- Comme

[Bug c++/103273] New: [12 Regression] internal compiler error: in cp_parser_type_id_1, at cp/parser.c:24010

2021-11-16 Thread steinar+gcc at gunderson dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103273 Bug ID: 103273 Summary: [12 Regression] internal compiler error: in cp_parser_type_id_1, at cp/parser.c:24010 Product: gcc Version: 12.0 Status: UNCONFIRMED Se

[Bug c++/103273] [12 Regression] internal compiler error: in cp_parser_type_id_1, at cp/parser.c:24010

2021-11-16 Thread steinar+gcc at gunderson dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103273 Steinar H. Gunderson changed: What|Removed |Added Resolution|--- |INVALID Status|UNCON

[Bug c++/103273] [11/12 Regression] internal compiler error: in cp_parser_type_id_1, at cp/parser.c:24010

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103273 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.3 Status|RESOLVED

[Bug c++/103273] [11/12 Regression] internal compiler error: in cp_parser_type_id_1, at cp/parser.c:24010

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

[Bug middle-end/103248] [12 Regression] ICE in operation_could_trap_helper_p, at tree-eh.c:2479

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103248 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Summary|ICE in

[Bug c++/103273] [9/10/11/12 Regression] internal compiler error: in cp_parser_type_id_1, at cp/parser.c:24010

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103273 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] internal |[9/10/11/12 Regression]

[Bug target/102952] New code-gen options for retpolines and straight line speculation

2021-11-16 Thread peterz at infradead dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952 --- Comment #25 from peterz at infradead dot org --- (In reply to H.J. Lu from comment #24) > Should I submit the current patches? Yes, I'd say so. Once merged I'll send a kernel patch to use -mindirect-branch-cs-prefix for all RETPOLINE builds.

[Bug c++/33925] [10/11/12 Regression] gcc -Waddress lost some useful warnings

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

[Bug c++/69549] Named Address Spaces does not compile in C++

2021-11-16 Thread jwjagersma at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69549 --- Comment #8 from jwjagersma at gmail dot com --- Created attachment 51808 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51808&action=edit basic implementation Tentative patch. Produces working code but could use some (many) checks to d

[Bug middle-end/61577] [9/10/11/12 Regression] can't compile on hp-ux v3 ia64

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Summary|[4.9.0 Regression

[Bug tree-optimization/79224] [7 Regression] Large C-Ray slowdown

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79224 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0 Status|ASSIGNED

[Bug middle-end/83665] [8 regression] Big code size regression and some code quality improvement at Jan 2 2018

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83665 Bug 83665 depends on bug 79224, which changed state. Bug 79224 Summary: [7 Regression] Large C-Ray slowdown https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79224 What|Removed |Added

[Bug lto/90434] [regression from 8.x] Incorrect code generation for __builtin_strcmp with LTO and freestanding binary

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90434 Richard Biener changed: What|Removed |Added Status|WAITING |RESOLVED Version|unknown

[Bug middle-end/91433] Performance Regression when upgrading from 8.3.0 to 9.0

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91433 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug fortran/103115] [12 Regression] reallocation of character array fails when appending a constant size 4 array

2021-11-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115 --- Comment #4 from Thomas Koenig --- (In reply to Jürgen Reuter from comment #3) > Thomas, are you sure? I cannot see an ICE, neither with the master from > September 21 nor with the master from yesterday. I see the ICE with gcc version 12.0

[Bug fortran/99183] [9/10/11 Regression] Incompatible Runtime types

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99183 Richard Biener changed: What|Removed |Added Version|unknown |11.1.0 Target Milestone|---

[Bug middle-end/101917] [11 Regression] Spurious -Wstringop-overread with -flto when passing zero sized arrays

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

[Bug tree-optimization/102513] [10/11/12 Regression] Many false positive warnings with recursive function

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102513 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone

[Bug tree-optimization/103145] [11 Regression] bogus -Wstringop-overread with an array argument

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103145 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Priority|P3

[Bug tree-optimization/103195] [12 Regression] tfft2 text grows by 70% with -Ofast since r12-5113-gd70ef65692fced7a

2021-11-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103195 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone

[Bug target/103274] New: Remaining -freorder-blocks-and-partition/ glitch with Windows SEH

2021-11-16 Thread tomas.kalibera at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103274 Bug ID: 103274 Summary: Remaining -freorder-blocks-and-partition/ glitch with Windows SEH Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103192] [12 Regression] ICE on libgomp target-in-reduction-2.{C,c}

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103192 --- Comment #19 from Jakub Jelinek --- This looks like a lim2 bug to me. Before that we have: [local count: 44372324]: [/usr/src/gcc/gcc/gimplify.c:10068:24] if (code_1387(D) == 181) goto ; [51.12%] else goto ; [48.88%] [local

[Bug tree-optimization/103192] [12 Regression] ICE on libgomp target-in-reduction-2.{C,c}

2021-11-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103192 --- Comment #20 from Jakub Jelinek --- Created attachment 51810 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51810&action=edit gcc12-pr103192.patch Untested fix.

[Bug c/103275] New: don't generate kmov with IE model relocations

2021-11-16 Thread jason at zx2c4 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 Bug ID: 103275 Summary: don't generate kmov with IE model relocations Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

  1   2   3   >