[Bug tree-optimization/92347] [10 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1537

2019-11-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92347] [10 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1537

2019-11-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347 --- Comment #8 from Richard Biener --- Author: rguenth Date: Tue Nov 12 07:54:01 2019 New Revision: 278079 URL: https://gcc.gnu.org/viewcvs?rev=278079=gcc=rev Log: 2019-11-11 Andre Vieira PR tree-optimization/92347 *

[Bug rtl-optimization/92430] [9/10 Regression] Compile-time hog w/ -Os -fno-if-conversion -fno-tree-dce -fno-tree-loop-optimize -fno-tree-vrp

2019-11-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92430 --- Comment #4 from rguenther at suse dot de --- On Mon, 11 Nov 2019, iii at linux dot ibm.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92430 > > --- Comment #3 from Ilya Leoshkevich --- > Findings so far: when we forward an edge

[Bug middle-end/89230] Bogus uninited usage warning

2019-11-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89230 --- Comment #8 from Eric Gallager --- (In reply to Eric Gallager from comment #7) > (In reply to Andrew Pinski from comment #3) > > (In reply to lavr from comment #2) > > > Okay, but "d" points to a clearly separate storage on stack within a

[Bug target/92469] [9/10 Regression] ICE: output_operand: invalid use of register 'frame'

2019-11-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92469 --- Comment #1 from Andrew Pinski --- so this is only a regression as what was register 19 was removed and what was register 20 is now register 19. If we change "19" to "20" it still ICEs for older versions of GCC: apinski@xeond:~$ gcc t9.c

[Bug c/92469] New: [9/10 Regression] ICE: output_operand: invalid use of register 'frame'

2019-11-11 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92469 Bug ID: 92469 Summary: [9/10 Regression] ICE: output_operand: invalid use of register 'frame' Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/90004] [graphite] ICE: Segmentation fault (in scop_get_dependences(scop*))

2019-11-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90004 --- Comment #3 from Arseny Solokha --- I cannot reproduce the first ICE w/ the current gcc trunk snapshot and isl 0.22 anymore. The second one still fails for me: #0 0x77ec7fe4 in isl_basic_map_underlying_set () from

[Bug debug/92468] gcc generates wrong debug information at -O2 and -O3

2019-11-11 Thread qrzhang at gatech dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92468 Qirun Zhang changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment #1

[Bug debug/92468] New: gcc generates wrong debug information at -O2 and -O3

2019-11-11 Thread qrzhang at gatech dot edu
10.0.0 2019 (experimental) [trunk revision 278048] (GCC) #expected output $ gcc-trunk -g abc.c $ gdb-trunk -x cmds -batch a.out Breakpoint 1 at 0x40054c: file abc.c, line 20. Breakpoint 1, main () at abc.c:20 20 if (g) printf("index = %d%d%d\n"

[Bug target/92462] [arm32] -ftree-pre makes a variable to be wrongly hoisted out

2019-11-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 --- Comment #2 from Andrew Pinski --- (In reply to Wilco from comment #1) > Even if you fix the aliasing bugs, it won't emulate a byte-oriented cmpxchg > correctly, there are bugs in the logic too. More than that, it will never be atomic. You

[Bug target/92462] [arm32] -ftree-pre makes a variable to be wrongly hoisted out

2019-11-11 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #1 from

[Bug c++/92467] gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues

2019-11-11 Thread st at quanttec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92467 --- Comment #3 from Stephan Tolksdorf --- Calling release on tmp should set the internal pointer member to null so that the destructor won't call the deleter on the (void*)1 ptr.

[Bug c++/92467] gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues

2019-11-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92467 --- Comment #2 from Andrew Pinski --- So the question becomes what is the semantics of the extension. I think GCC here is doing one that would be similar to what C++ would normally do with respect of the tmp variable. So not extending the life

[Bug fortran/81651] Enhancement request: have f951 print out fully qualified module file name

2019-11-11 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81651 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/92467] gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues

2019-11-11 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92467 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Conditionals.html#Conditionals If I understand the extension correctly, we have: ({ auto = get1(); (tmp ? tmp: get2()).release(); }) This means the tmp

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

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 92433, which changed state. Bug 92433 Summary: [10 regression] r276645 breaks bootstrap on powerpc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92433 What|Removed |Added

[Bug bootstrap/92433] [10 regression] r276645 breaks bootstrap on powerpc

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92433 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/91975] worse code for small array copy using pointer arithmetic than array indexing

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91975 Bug 91975 depends on bug 92433, which changed state. Bug 92433 Summary: [10 regression] r276645 breaks bootstrap on powerpc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92433 What|Removed |Added

[Bug c++/92467] New: gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues

2019-11-11 Thread st at quanttec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92467 Bug ID: 92467 Summary: gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/92447] [10 Regression] ICE in poplevel, at cp/decl.c:585

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92447 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92447] [10 Regression] ICE in poplevel, at cp/decl.c:585

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92447 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Nov 11 21:31:29 2019 New Revision: 278068 URL: https://gcc.gnu.org/viewcvs?rev=278068=gcc=rev Log: PR c++/92447 * decl.c (finish_function): Move ctype initialization

[Bug testsuite/92466] New: new test case gfortran.dg/ISO_Fortran_binding_15.f90 in r278025 fails

2019-11-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92466 Bug ID: 92466 Summary: new test case gfortran.dg/ISO_Fortran_binding_15.f90 in r278025 fails Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug other/92465] New: [10 regression] r278034 breaks gcc.dg/pr47763.c

2019-11-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92465 Bug ID: 92465 Summary: [10 regression] r278034 breaks gcc.dg/pr47763.c Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/92463] Cleanups due to minimum MPFR version bump to 3.1.0

2019-11-11 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92463 Bug 92463 depends on bug 91828, which changed state. Bug 91828 Summary: gcc/fortran/check.c requires mpfr_set_z_2exp from MPFR 3.0.0, unavailable in mpfr-2.4.2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91828 What|Removed

[Bug fortran/91828] gcc/fortran/check.c requires mpfr_set_z_2exp from MPFR 3.0.0, unavailable in mpfr-2.4.2

2019-11-11 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91828 Janne Blomqvist changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92438] [7/8/9/10 Regression] Function declaration parsed incorrectly with `-std=c++1z`

2019-11-11 Thread sagebar at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92438 --- Comment #2 from sagebar at web dot de --- The c++ standard may not cover it, however in the interest of compatibility with other compilers, g++ for cygwin actually defines the following predefined macros (among others): g++ -dM -E -x c++ - <

[Bug bootstrap/92433] [10 regression] r276645 breaks bootstrap on powerpc

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92433 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Mon Nov 11 20:05:49 2019 New Revision: 278066 URL: https://gcc.gnu.org/viewcvs?rev=278066=gcc=rev Log: PR bootstrap/92433 * config/rs6000/rs6000-c.c

[Bug tree-optimization/92420] [7/8/9/10 Regression] Vectorization miscompilation with negative strides since r238039

2019-11-11 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92420 --- Comment #2 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Mon Nov 11 19:43:52 2019 New Revision: 278064 URL: https://gcc.gnu.org/viewcvs?rev=278064=gcc=rev Log: Fix SLP downward group access classification (PR92420) This PR

[Bug target/92449] [10 Regression] ICE in extract_insn, at recog.c:2311

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92449 --- Comment #5 from Jakub Jelinek --- Created attachment 47214 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47214=edit gcc10-pr92449.patch Untested patch not to emit UNORDERED_EXPR if !HONOR_NANS from complex lowering.

[Bug testsuite/92464] New: [10 regression] r 278033 breaks gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c

2019-11-11 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92464 Bug ID: 92464 Summary: [10 regression] r 278033 breaks gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug fortran/92463] New: Cleanups due to minimum MPFR version bump to 3.1.0

2019-11-11 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92463 Bug ID: 92463 Summary: Cleanups due to minimum MPFR version bump to 3.1.0 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/92234] [10 Regression] ICE verify_gimple failed (profiled lto) on s390x-linux-gnu

2019-11-11 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92234 Matthias Klose changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/92235] [10 Regression] ICE in host_detect_local_cpu, segfault (profiled lto) on powerpc64le-linux-gnu

2019-11-11 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92235 --- Comment #3 from Matthias Klose --- same with 20191109

[Bug c++/92458] Constraints do not work with precompiled headers

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92458 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/92462] New: [arm32] -ftree-pre makes a variable to be wrongly hoisted out

2019-11-11 Thread aleksei.voity...@bell-sw.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 Bug ID: 92462 Summary: [arm32] -ftree-pre makes a variable to be wrongly hoisted out Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/92347] [10 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1537

2019-11-11 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347 --- Comment #7 from avieira at gcc dot gnu.org --- Thank you!

[Bug tree-optimization/92460] [10 Regression] ICE: verify_ssa failed (error: definition in block 13 does not dominate use in block 22)

2019-11-11 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92460 avieira at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/92461] New: [10 Regression] ICE: verify_ssa failed (error: excess use operand for statement)

2019-11-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92461 Bug ID: 92461 Summary: [10 Regression] ICE: verify_ssa failed (error: excess use operand for statement) Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug tree-optimization/92347] [10 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1537

2019-11-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347 --- Comment #6 from Arseny Solokha --- (In reply to avieira from comment #5) > I think it would be useful to split testcases 2 and 3 into two new PR's as > they are unrelated issues to 1. PR92460 and PR92461, then.

[Bug tree-optimization/92460] New: [10 Regression] ICE: verify_ssa failed (error: definition in block 13 does not dominate use in block 22)

2019-11-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92460 Bug ID: 92460 Summary: [10 Regression] ICE: verify_ssa failed (error: definition in block 13 does not dominate use in block 22) Product: gcc Version: 10.0

[Bug target/92449] [10 Regression] ICE in extract_insn, at recog.c:2311

2019-11-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92449 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org

[Bug tree-optimization/92347] [10 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1537

2019-11-11 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347 --- Comment #5 from avieira at gcc dot gnu.org --- Not quite sure the third case has anything to do with epilogue vectorization though... It still manifests itself with it turned off. Seems to be a lack of "folding" again. I think it would be

[Bug rtl-optimization/92430] [9/10 Regression] Compile-time hog w/ -Os -fno-if-conversion -fno-tree-dce -fno-tree-loop-optimize -fno-tree-vrp

2019-11-11 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92430 --- Comment #3 from Ilya Leoshkevich --- Findings so far: when we forward an edge like this: #0 redirect_edge_succ (e=0x76d73cc0, new_succ=0x76c2aa90) at ../.././gcc/cfg.c:368 #1 0x00a776ff in redirect_edge_succ_nodup

[Bug target/91710] [9/10 Regression] unexpected ABI change note

2019-11-11 Thread jbeulich at suse dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91710 --- Comment #4 from jbeulich at suse dot com --- (In reply to Andrew Pinski from comment #3) > @@ -4908,7 +4908,8 @@ aarch64_function_arg_boundary (machine_mode mode, > const_tree type) >bool abi_break; >unsigned int alignment =

[Bug libgomp/92305] [10 regression] libgomp.fortran/use_device_addr-1.f90 fails starting with r277606

2019-11-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 Tobias Burnus changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #7 from Tobias Burnus

[Bug tree-optimization/92452] [10 Regression] ICE in vrp_prop::check_array_ref at tree-vrp.c:4153

2019-11-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92452 --- Comment #2 from Martin Sebor --- See also bug 92333, comment #4.

[Bug fortran/92457] [10 Regression] FAIL: gfortran.dg/ISO_Fortran_binding_16.f90

2019-11-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92457 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/92452] [10 Regression] ICE in vrp_prop::check_array_ref at tree-vrp.c:4153

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92452 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/92449] [10 Regression] ICE in extract_insn, at recog.c:2311

2019-11-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92449 --- Comment #3 from Segher Boessenkool --- The first testcase has (at expand time) if (_13 unord _14) which doesn't mean anything with -ffast-math (-Ofast): unordered does not *exist*. The second testcase is similar, but we generate that

[Bug tree-optimization/90930] Excessive memory consumption

2019-11-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90930 --- Comment #19 from Richard Biener --- Author: rguenth Date: Mon Nov 11 16:07:54 2019 New Revision: 278059 URL: https://gcc.gnu.org/viewcvs?rev=278059=gcc=rev Log: 2019-11-11 Richard Biener Backport from mainline 2019-06-25

[Bug c++/92459] New: out of class method definition did not match (when declaration contains expression that uses in class defined enum)

2019-11-11 Thread nok.raven at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92459 Bug ID: 92459 Summary: out of class method definition did not match (when declaration contains expression that uses in class defined enum) Product: gcc Version:

[Bug lto/91935] Unneeded .debug_info entries in .symtab when using LTO

2019-11-11 Thread dimitar.yordanov at sap dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91935 --- Comment #2 from Dimitar Yordanov --- Probably already clear, but to write down what I read so far and did not write with the initial report: PR lto/83452. is actually not the regression, it is just a workaround to "Make discarded global

[Bug fortran/91828] gcc/fortran/check.c requires mpfr_set_z_2exp from MPFR 3.0.0, unavailable in mpfr-2.4.2

2019-11-11 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91828 --- Comment #6 from Janne Blomqvist --- Author: jb Date: Mon Nov 11 15:59:48 2019 New Revision: 278058 URL: https://gcc.gnu.org/viewcvs?rev=278058=gcc=rev Log: Bump minimum MPFR version to 3.1.0 Bump the minimum MPFR version to 3.1.0, released

[Bug ipa/92454] [10 Regression] ICE: Segmentation fault (in identify_dead_nodes)

2019-11-11 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92454 --- Comment #3 from Martin Jambor --- I think the patch is (In reply to Jan Hubicka from comment #2) > This is the usual problem of trying to process node with no summary > attached to it. The following fixes the ICE, but I am not sure if there

[Bug middle-end/92455] Unnecessary memory read in a loop

2019-11-11 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92455 --- Comment #4 from Antony Polukhin --- (In reply to Richard Biener from comment #3) > But maybe > you can provide benchmark data (including compile-time/memory-use figures)? OK. Is there any GCC specific tool or flag for that?

[Bug fortran/92142] CFI_setpointer corrupts descriptor

2019-11-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92142 --- Comment #3 from Tobias Burnus --- Author: burnus Date: Mon Nov 11 15:35:50 2019 New Revision: 278055 URL: https://gcc.gnu.org/viewcvs?rev=278055=gcc=rev Log: Fix commit for PR fortran/92142 - CFI_setpointer corrupts descriptor 2019-11-11

[Bug c++/92458] New: Constraints do not work with precompiled headers

2019-11-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92458 Bug ID: 92458 Summary: Constraints do not work with precompiled headers Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug target/92449] [10 Regression] ICE in extract_insn, at recog.c:2311

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92449 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/92347] [10 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1537

2019-11-11 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347 --- Comment #4 from avieira at gcc dot gnu.org --- The second case seems to be because vectorizable_simd_clone_call seems to be inserting values and phi-nodes on the epilogue's preheader edge which uses a value defined in the main loop's

[Bug c++/92447] [10 Regression] ICE in poplevel, at cp/decl.c:585

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92447 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug middle-end/92455] Unnecessary memory read in a loop

2019-11-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92455 --- Comment #3 from Richard Biener --- (In reply to Antony Polukhin from comment #2) > Can the -ftree-partial-pre flag be enabled by default for -O2? It used to be quite slow in its dataflow compute but that has improved. It's still quadratic

[Bug tree-optimization/92347] [10 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1537

2019-11-11 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347 --- Comment #3 from avieira at gcc dot gnu.org --- I had a look at the first testcase. I think the problem is I was setting the epilogue's safelen to the loop's safelen, after the loop->safelen had been cleared, as we do this after vectorization.

[Bug middle-end/92455] Unnecessary memory read in a loop

2019-11-11 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92455 --- Comment #2 from Antony Polukhin --- Can the -ftree-partial-pre flag be enabled by default for -O2?

[Bug bootstrap/92433] [10 regression] r276645 breaks bootstrap on powerpc

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92433 --- Comment #6 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #5) > if (y) > { > gcc_assert (n == 3); > std::swap (arg_type[1], arg_type[2]); > } > > > ? gcc_assert will work too unless the host

[Bug fortran/92457] [10 Regression] FAIL: gfortran.dg/ISO_Fortran_binding_16.f90

2019-11-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92457 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/92457] New: [10 Regression] FAIL: gfortran.dg/ISO_Fortran_binding_16.f90

2019-11-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92457 Bug ID: 92457 Summary: [10 Regression] FAIL: gfortran.dg/ISO_Fortran_binding_16.f90 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug other/92456] New: libiberty/make-relative-prefix.c: read buffer overflow in split_directories()

2019-11-11 Thread tim.ruehsen at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92456 Bug ID: 92456 Summary: libiberty/make-relative-prefix.c: read buffer overflow in split_directories() Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity:

[Bug middle-end/92455] Unnecessary memory read in a loop

2019-11-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92455 --- Comment #1 from Richard Biener --- You need partial-PRE to perform the desired transform. With -O3 or -O2 -ftree-partial-pre we do what you suggest (plus also cache *max->ptr in exchange for another IV): f1: .LFB0: .cfi_startproc

[Bug ipa/92454] [10 Regression] ICE: Segmentation fault (in identify_dead_nodes)

2019-11-11 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92454 --- Comment #2 from Jan Hubicka --- This is the usual problem of trying to process node with no summary attached to it. The following fixes the ICE, but I am not sure if there is a cleaner approach. Martin, i suppose the issue here is with

[Bug target/92190] [10 Regression] ICE in sp_valid_at, at config/i386/i386.c:6162 since r276648

2019-11-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92190 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|2019-10-23

[Bug ipa/92454] [10 Regression] ICE: Segmentation fault (in identify_dead_nodes)

2019-11-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92454 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug tree-optimization/92452] [10 Regression] ICE in vrp_prop::check_array_ref at tree-vrp.c:4153

2019-11-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92452 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug middle-end/92455] New: Unnecessary memory read in a loop

2019-11-11 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92455 Bug ID: 92455 Summary: Unnecessary memory read in a loop Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug tree-optimization/92429] [10 Regression] ICE in vect_transform_stmt, at tree-vect-stmts.c:10918

2019-11-11 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92429 --- Comment #2 from avieira at gcc dot gnu.org --- So I had a look at this, the ICE occurs because 'vectorizable_condition' does not know how to handle a constant cond_expr. The reason this cond_expr is constant in the epilogue is because

[Bug target/92190] [10 Regression] ICE in sp_valid_at, at config/i386/i386.c:6162 since r276648

2019-11-11 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92190 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug target/91851] [m68k] Convert the backend to MODE_CC so it can be kept in future releases

2019-11-11 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91851 --- Comment #3 from John Paul Adrian Glaubitz --- Forgot to mention: The task is considered completed when the necessary changes have been merged upstream so that m68k will be part of GCC-11 and newer releases.

[Bug debug/92442] Compiling Boost.Spirit.X3 code uses exuberant amount of RAM with -gpubnames

2019-11-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92442 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug bootstrap/92433] [10 regression] r276645 breaks bootstrap on powerpc

2019-11-11 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92433 --- Comment #5 from Segher Boessenkool --- if (y) { gcc_assert (n == 3); std::swap (arg_type[1], arg_type[2]); } ?

[Bug rtl-optimization/92430] [9/10 Regression] Compile-time hog w/ -Os -fno-if-conversion -fno-tree-dce -fno-tree-loop-optimize -fno-tree-vrp

2019-11-11 Thread iii at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92430 Ilya Leoshkevich changed: What|Removed |Added CC||iii at linux dot ibm.com,

[Bug debug/92442] Compiling Boost.Spirit.X3 code uses exuberant amount of RAM with -gpubnames

2019-11-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92442 Richard Biener changed: What|Removed |Added Summary|Compiling Boost.Spirit.X3 |Compiling Boost.Spirit.X3

[Bug c++/92446] [10, C++20] template argument deduction fails for custom non-type parameters

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92446 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/92438] [7/8/9/10 Regression] Function declaration parsed incorrectly with `-std=c++1z`

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92438 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug libgomp/92305] [10 regression] libgomp.fortran/use_device_addr-1.f90 fails starting with r277606

2019-11-11 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 Thomas Schwinge changed: What|Removed |Added Keywords||openmp Status|UNCONFIRMED

[Bug lto/92279] [10 Regression] ICE in error: non-trivial conversion in 'constructor' since r276416

2019-11-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92279 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/92454] [10 Regression] ICE: Segmentation fault (in identify_dead_nodes)

2019-11-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92454 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/92454] New: [10 Regression] ICE: Segmentation fault (in identify_dead_nodes)

2019-11-11 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92454 Bug ID: 92454 Summary: [10 Regression] ICE: Segmentation fault (in identify_dead_nodes) Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug demangler/92453] New: write buffer overflow in cplus_demangle()

2019-11-11 Thread tim.ruehsen at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92453 Bug ID: 92453 Summary: write buffer overflow in cplus_demangle() Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/92142] CFI_setpointer corrupts descriptor

2019-11-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92142 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/92142] CFI_setpointer corrupts descriptor

2019-11-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92142 --- Comment #1 from Tobias Burnus --- Author: burnus Date: Mon Nov 11 10:18:14 2019 New Revision: 278048 URL: https://gcc.gnu.org/viewcvs?rev=278048=gcc=rev Log: PR fortran/92142 - CFI_setpointer corrupts descriptor 2019-11-11 José Rui

[Bug target/92448] Confusing using of TARGET_PREFER_AVX128

2019-11-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92448 --- Comment #2 from rguenther at suse dot de --- On November 11, 2019 10:20:10 AM GMT+01:00, crazylht at gmail dot com wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92448 > >--- Comment #1 from Hongtao.liu --- >Also with

[Bug fortran/92123] [F2018/array-descriptor] Scalar allocatable/pointer with array descriptor (via bind(C)): ICE with select rank or error scalar variable with POINTER or ALLOCATABLE in procedure wit

2019-11-11 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org ---

[Bug target/87833] [8/9/10 Regression] -fPIC isn't used to create offload shared library

2019-11-11 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87833 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/92279] [10 Regression] ICE in error: non-trivial conversion in 'constructor' since r276416

2019-11-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92279 --- Comment #5 from Martin Liška --- > > context > ... > > context > > > But whoever built the constructor with two differnt types did someting > wrong. > I've probably got it: $ $14 = void (gdb) p debug_tree(lhs_type->type_common.context)

[Bug lto/92279] [10 Regression] ICE in error: non-trivial conversion in 'constructor' since r276416

2019-11-11 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92279 --- Comment #4 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92279 > > --- Comment #3 from Martin Liška --- > Created attachment 47208 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47208=edit > Reproducer > > So

[Bug debug/92442] Compiling Boost.Spirit.X3 code uses exuberant amount of RAM with -gsplit-dwarf

2019-11-11 Thread vanboxem.ruben at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92442 --- Comment #2 from Ruben Van Boxem --- I hit the submit button too early, I was still removing commandline options. Indeed the -gsplit-dwarf option seems the culprit here. I added it to decrease library link times (seems like it did at least

[Bug target/92448] Confusing using of TARGET_PREFER_AVX128

2019-11-11 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92448 --- Comment #1 from Hongtao.liu --- Also with TARGET_AVX128_OPTIMAL plus -mprefer-vector-width=256, 256-bit vectorization may be not generated since TARGET_AVX128_OPTIMAL will change vec_cost. /*

[Bug bootstrap/92433] [10 regression] r276645 breaks bootstrap on powerpc

2019-11-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92433 --- Comment #4 from Jakub Jelinek --- Reduced testcase that results in the warning also on x86_64-linux with -O2 -Wall: struct S { void *p; struct S *q; }; void bar (int, ...); void foo (struct S *x, int n, int y) { void *arg_type[3]; for

[Bug lto/92279] [10 Regression] ICE in error: non-trivial conversion in 'constructor' since r276416

2019-11-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92279 --- Comment #3 from Martin Liška --- Created attachment 47208 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47208=edit Reproducer So using a revision before it disappeared I see: $ g++ -O2 -flto ice*.ii -c && gcc -O2 -flto *.i -c && g++

[Bug c/92428] Crash on conflicting types

2019-11-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92428 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug ipa/92421] [10 Regression] ICE in inline_small_functions, at ipa-inline.c:2001 since r277759

2019-11-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92421 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Known to work|

  1   2   >