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

2019-11-12 Thread aleksei.voity...@bell-sw.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 Aleksei Voitylov changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug c++/92475] [8/9/10 Regression] incorrect code with optimization

2019-11-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92475 --- Comment #5 from Jonathan Wakely --- You're right, sorry for not checking 9 and 10 properly. I also see it working again after r263875.

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

2019-11-12 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug c++/92475] [8/9/10 Regression] incorrect code with optimization

2019-11-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92475 --- Comment #7 from Jakub Jelinek --- Reduced C testcase: __attribute__((noipa)) void quux (unsigned long x) { static int cnt; unsigned long v = cnt++ ? 6 : 0; if (x != v) __builtin_abort (); } __attribute__((noipa)) void foo (const

[Bug target/92473] test pr92324-2.c fails on arm and aarch64

2019-11-12 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92473 --- Comment #1 from Christophe Lyon --- Created attachment 47217 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47217=edit Execution trace for aarch64

[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-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 --- Comment #7 from Jakub Jelinek --- I don't see any conversion function to be called: fsub (struct array15_integer(kind=4) & restrict dat) { { integer(kind=4) * __tmp_INTEGER_4_rank_0; { signed char D.3928;

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

2019-11-12 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2019-11-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92466 Rainer Orth changed: What|Removed |Added Target|powerpc64*-linux-gnu|powerpc64*-linux-gnu, |

[Bug c++/92477] New: [[nodiscard]] method in a decltype expression causes "warning: ignoring return value of"

2019-11-12 Thread src at andyf dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92477 Bug ID: 92477 Summary: [[nodiscard]] method in a decltype expression causes "warning: ignoring return value of" Product: gcc Version: 9.2.0 Status: UNCONFIRMED

[Bug tree-optimization/92283] [10 Regression] 454.calculix miscomparison since r276645 with -O2 -march=znver2

2019-11-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92283 --- Comment #20 from Richard Biener --- Created attachment 47216 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47216=edit asm diff -O2 -mfma -mtune=znver2 -fdbg-cnt=ivopts_loop:66:67 -fno-schedule-insns -mno-stv -fno-tree-slsr assembler

[Bug ipa/92471] [ICE] lto1 segmentation fault: ipa-profile.c ipa_get_cs_argument_count (args=0x0)

2019-11-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92471 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Status|NEW

[Bug ipa/92476] [10 regression] SEGV in cgraph_edge_brings_value_p

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

[Bug c/92472] enhancement: 5 * constify some parameters

2019-11-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 --- Comment #1 from Richard Biener --- Can you post the patch (and separate out the libstdc++ parts)?

[Bug target/92473] test pr92324-2.c fails on arm and aarch64

2019-11-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92473 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug c++/92441] [10 regression] ICE: in strip_typedefs, at cp/tree.c:1681

2019-11-12 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92441 --- Comment #2 from Hannes Hauswedell --- (In reply to Martin Liška from comment #1) > Can you please provide full command line of the GCC? g++10 -std=c++17 -fconcepts dna4_test.ii This triggers the ICE as mentioned in the original report. For

[Bug c/92472] New: enhancement: 5 * constify some parameters

2019-11-12 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 Bug ID: 92472 Summary: enhancement: 5 * constify some parameters Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/92473] New: test pr92324-2.c fails on arm and aarch64

2019-11-12 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92473 Bug ID: 92473 Summary: test pr92324-2.c fails on arm and aarch64 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/92473] test pr92324-2.c fails on arm and aarch64

2019-11-12 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92473 --- Comment #2 from Christophe Lyon --- Created attachment 47218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47218=edit Execution trace for arm

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

2019-11-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92461 --- Comment #1 from Richard Biener --- Author: rguenth Date: Tue Nov 12 12:08:07 2019 New Revision: 278093 URL: https://gcc.gnu.org/viewcvs?rev=278093=gcc=rev Log: 2019-11-12 Richard Biener PR tree-optimization/92461 *

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

2019-11-12 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92469 --- Comment #4 from John X --- Sorry, I submitted the same comment twice due to the bad network environment. I don't know how to delete the duplicate one. Any one could help me?

[Bug c++/92475] [8/9/10 Regression] incorrect code with optimization

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

[Bug c++/92475] [8/9/10 Regression] incorrect code with optimization

2019-11-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92475 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/90200] [graphite] ICE: Segmentation fault (in apply_schedule_on_deps)

2019-11-12 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90200 --- Comment #1 from Arseny Solokha --- I cannot reproduce ti w/ gfortran-10.0.0-alpha20191110 snapshot and isl 0.22.

[Bug ipa/92476] New: [10 regression] SEGV in cgraph_edge_brings_value_p

2019-11-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92476 Bug ID: 92476 Summary: [10 regression] SEGV in cgraph_edge_brings_value_p Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/92476] [10 regression] SEGV in cgraph_edge_brings_value_p

2019-11-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92476 Rainer Orth changed: What|Removed |Added Target Milestone|--- |10.0

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

2019-11-12 Thread aleksei.voity...@bell-sw.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 --- Comment #9 from Aleksei Voitylov --- (In reply to Alexander Monakov from comment #8) > The full preprocessed source is provided and it clearly says > > typedef unsigned char uint8_t; > > in line 10, so it is in fact a character type. >

[Bug ipa/92471] [ICE] lto1 segmentation fault: ipa-profile.c ipa_get_cs_argument_count (args=0x0)

2019-11-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92471 Martin Liška changed: What|Removed |Added Keywords||needs-bisection

[Bug ipa/92471] [ICE] lto1 segmentation fault: ipa-profile.c ipa_get_cs_argument_count (args=0x0)

2019-11-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92471 --- Comment #2 from Martin Liška --- I can reproduce that for -O2 -flto=16 -march=znver2 with PGO.

[Bug sanitizer/92474] New: Sanitizer breaks tail-recursion optimization

2019-11-12 Thread Hi-Angel at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92474 Bug ID: 92474 Summary: Sanitizer breaks tail-recursion optimization Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/92471] [ICE] lto1 segmentation fault: ipa-profile.c ipa_get_cs_argument_count (args=0x0)

2019-11-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92471 --- Comment #4 from Martin Liška --- It also affected bootstrap-lto-lean with PGO: [12135s] ../../gcc/ada/libgnat/s-except.ads:61:4: note: code may be misoptimized unless '-fno-strict-aliasing' is used [12136s] during IPA pass: cp [12136s]

[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-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c++/92475] incorrect code with optimization

2019-11-12 Thread gunther.vo...@ssw-trading.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92475 --- Comment #2 from Gunther Vogel --- Created attachment 47221 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47221=edit assembly - no "AAA" in here

[Bug c++/92475] incorrect code with optimization

2019-11-12 Thread gunther.vo...@ssw-trading.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92475 --- Comment #1 from Gunther Vogel --- Created attachment 47220 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47220=edit output of gcc -v -save-temps -W -Wall -O2 -S bug.cc

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

2019-11-12 Thread aleksei.voity...@bell-sw.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 --- Comment #5 from Aleksei Voitylov --- (In reply to Richard Biener from comment #3) > Indeed -fno-strict-aliasing might be a workaround (apart from the atomicity > issue). Also using a character type for the access (uint8_t is _not_ a >

[Bug ipa/92471] [ICE] lto1 segmentation fault: ipa-profile.c ipa_get_cs_argument_count (args=0x0)

2019-11-12 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92471 --- Comment #5 from Jan Hubicka --- Author: hubicka Date: Tue Nov 12 19:31:04 2019 New Revision: 278100 URL: https://gcc.gnu.org/viewcvs?rev=278100=gcc=rev Log: PR ipa/92471 * ipa-profile.c (check_argument_count): Break out from

[Bug ipa/92471] [ICE] lto1 segmentation fault: ipa-profile.c ipa_get_cs_argument_count (args=0x0)

2019-11-12 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92471 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/92484] New: In tree build of ISL 0.22 fails: requires C++11

2019-11-12 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92484 Bug ID: 92484 Summary: In tree build of ISL 0.22 fails: requires C++11 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

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

2019-11-12 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81651 --- Comment #5 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Tue Nov 12 21:14:19 2019 New Revision: 278105 URL: https://gcc.gnu.org/viewcvs?rev=278105=gcc=rev Log: 2019-11-12 Harald Anlauf PR fortran/81651 *

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

2019-11-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92449 --- Comment #7 from Segher Boessenkool --- Author: segher Date: Tue Nov 12 21:05:24 2019 New Revision: 278104 URL: https://gcc.gnu.org/viewcvs?rev=278104=gcc=rev Log: testsuite: Add testcases for PR92449 PR target/92449 *

[Bug c++/92485] g++ ICE unexpected expression '' of kind asm_expr

2019-11-12 Thread adobriyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92485 --- Comment #1 from Alexey Dobriyan --- g++ 8.3.0 doesn't crash g++ 9.1.0 crashes

[Bug tree-optimization/92486] New: Wrong optimization: padding in structs is not copied even with memcpy

2019-11-12 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92486 Bug ID: 92486 Summary: Wrong optimization: padding in structs is not copied even with memcpy Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

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

2019-11-12 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92454 Martin Jambor changed: What|Removed |Added Assignee|hubicka at gcc dot gnu.org |jamborm at gcc dot gnu.org ---

[Bug c++/92485] g++ ICE unexpected expression '' of kind asm_expr

2019-11-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92485 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/92485] g++ ICE unexpected expression '' of kind asm_expr

2019-11-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92485 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug fortran/92470] CFI_address wrongly assumes that lower bounds are at zero – invalid for pointers + allocatables

2019-11-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92470 --- Comment #3 from Tobias Burnus --- Author: burnus Date: Tue Nov 12 19:33:10 2019 New Revision: 278101 URL: https://gcc.gnu.org/viewcvs?rev=278101=gcc=rev Log: PR fortran/92470 Fixes for CFI_address libgfortran/ PR

[Bug lto/48200] Implement function attribute for symbol versioning (.symver)

2019-11-12 Thread kloczko.tomasz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 --- Comment #36 from Tomasz Kłoczko --- Thanks for update. Please let me know when you will have working version of your patch. I have ready to use gcc build in which after about two hours (my gcc compile time) I would be able to to try to help

[Bug c++/92485] New: g++ ICE unexpected expression '' of kind asm_expr

2019-11-12 Thread adobriyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92485 Bug ID: 92485 Summary: g++ ICE unexpected expression '' of kind asm_expr Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority:

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

2019-11-12 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 Status|NEW |RESOLVED

[Bug c++/92485] g++ ICE unexpected expression '' of kind asm_expr

2019-11-12 Thread adobriyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92485 --- Comment #4 from Alexey Dobriyan --- I'm not familiar with project's backporting policies. FWIW, this bug break Linux scheduler compilation with g++, which is a big deal for me! :^) CC kernel/sched/idle.o In file included from

[Bug fortran/92189] Fortran-written bind(C) function with allocatable argument does not update C descriptor on exit

2019-11-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92189 --- Comment #2 from Tobias Burnus --- Created attachment 47227 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47227=edit Minor cleanup patch for trans-decl.c's convert_CFI_desc I think there many issues: (A) For

[Bug c/92472] enhancement: 5 * constify some parameters

2019-11-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 Eric Gallager changed: What|Removed |Added Keywords||internal-improvement

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

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

[Bug c/92487] New: case label error when label is made from character of C string

2019-11-12 Thread SztfG at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92487 Bug ID: 92487 Summary: case label error when label is made from character of C string Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/92485] g++ ICE unexpected expression '' of kind asm_expr

2019-11-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92485 Marek Polacek changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[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-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 --- Comment #6 from Tobias Burnus --- Some side remarks: (In reply to Jakub Jelinek from comment #5) > The type used on the C side is: This type is described in the Fortran standard; for Fortran 2018, it is described in "18.5.3 The CFI_cdesc_t

[Bug c++/92475] New: incorrect code with optimization

2019-11-12 Thread gunther.vo...@ssw-trading.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92475 Bug ID: 92475 Summary: incorrect code with optimization Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/92475] [8/9/10 Regression] incorrect code with optimization

2019-11-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92475 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

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

2019-11-12 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 Wilco changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #7 from Wilco --- (In reply

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

2019-11-12 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92469 --- Comment #2 from John X --- Yes, you are right. If we change "19" to "20", it still ICEs for older versions of GCC. $ cat test2.c void foo ( void ) { register int x asm ( "20" ) ; int y = x; } $ gcc-snapshot8 --version gcc

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

2019-11-12 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92469 --- Comment #3 from John X --- Yes, you are right. If we change "19" to "20", it still ICEs for older versions of GCC. $ cat test2.c void foo ( void ) { register int x asm ( "20" ) ; int y = x; } $ gcc-snapshot8 --version gcc

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

2019-11-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92460 --- Comment #2 from Richard Biener --- Author: rguenth Date: Tue Nov 12 12:12:18 2019 New Revision: 278094 URL: https://gcc.gnu.org/viewcvs?rev=278094=gcc=rev Log: 2019-11-12 Richard Biener PR tree-optimization/92460 *

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

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

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

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

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

2019-11-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 --- Comment #11 from Tobias Burnus --- Optimized dump is: void * c_bptr; void * c_aptr; real(kind=8) * bptr; real(kind=8) bb; real(kind=8) * aptr; real(kind=8) aa; real(kind=8) aa.1_1; real(kind=8) bb.2_2; : aa.1_1 = aa;

[Bug c++/92480] Parameters in consteval functions should be constant expressions.

2019-11-12 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92480 Hannes Hauswedell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2019-11-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 --- Comment #12 from Tobias Burnus --- Created attachment 47223 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47223=edit -fdump-rtl-expand for test case in comment 9, compiled on powerpc64le-unknown-linux-gnu using -O0 (it doesn't fail

[Bug c++/92481] New: g++ 9.2.0 SegFault

2019-11-12 Thread simon.moll at emea dot nec.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92481 Bug ID: 92481 Summary: g++ 9.2.0 SegFault Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug tree-optimization/92412] excessive errno aliasing assumption defeats optimization

2019-11-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92412 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92412] excessive errno aliasing assumption defeats optimization

2019-11-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92412 Martin Sebor changed: What|Removed |Added Target Milestone|--- |10.0 --- Comment #5 from Martin Sebor

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

2019-11-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 --- Comment #10 from Tobias Burnus --- The callee is: > and the hidden argument (_c_aptr) is: constant 1> which both look fine.

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

2019-11-12 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462 --- Comment #10 from Alexander Monakov --- > atomic_cmpxchg_func tries to cast 'dest' from uint8_t* to int* I made a typo here, I meant uint32_t rather than uint8_t, and there's no aliasing violation here as signedness difference is explicitly

[Bug c/83688] Please check if buffers may overlap when copying strings using sprintf

2019-11-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 --- Comment #9 from Martin Sebor --- Author: msebor Date: Tue Nov 12 17:18:37 2019 New Revision: 278098 URL: https://gcc.gnu.org/viewcvs?rev=278098=gcc=rev Log: PR middle-end/83688 - check if buffers may overlap when copying strings using

[Bug tree-optimization/35503] Warning about restricted pointers?

2019-11-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35503 --- Comment #13 from Martin Sebor --- Author: msebor Date: Tue Nov 12 17:18:37 2019 New Revision: 278098 URL: https://gcc.gnu.org/viewcvs?rev=278098=gcc=rev Log: PR middle-end/83688 - check if buffers may overlap when copying strings using

[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-12 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123 --- Comment #8 from paul.richard.thomas at gmail dot com --- Hi Jakub, Thanks for spotting that. For whatever reason, * trans-decl.c (gfc_get_symbol_decl): Assumed shape and assumed rank dummies of bind C procs require deferred initialization.

[Bug testsuite/92398] [10 regression] error in update of gcc.target/powerpc/pr72804.c in r277872

2019-11-12 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92398 --- Comment #5 from seurer at gcc dot gnu.org --- The assembler mismatches on power 7 and power 9 date way, way back at least into early 2019. The short span where the test case failed to work at all threw me off. Sorry about that!

[Bug lto/48200] Implement function attribute for symbol versioning (.symver)

2019-11-12 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 --- Comment #35 from Jan Hubicka --- > Any progress on that issue? > Just hit that issue trying to build NetworkManager > > https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/278 I am working on a patch for symver attribute,

[Bug fortran/92482] New: Possibly wrong error diagnostic

2019-11-12 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92482 Bug ID: 92482 Summary: Possibly wrong error diagnostic Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/84774] [meta-bug] bogus/missing -Wrestrict

2019-11-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774 Bug 84774 depends on bug 83688, which changed state. Bug 83688 Summary: Please check if buffers may overlap when copying strings using sprintf https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 What|Removed

[Bug middle-end/83688] Please check if buffers may overlap when copying strings using sprintf

2019-11-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Component|c

[Bug c/92479] missing warnings for unreachable codes with -Wunreachable-code

2019-11-12 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92479 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

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

2019-11-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 Tobias Burnus changed: What|Removed |Added CC||dje at gcc dot gnu.org,

[Bug jit/92483] New: [10 Regression] many jit test failures due to ABRT, SEGV

2019-11-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92483 Bug ID: 92483 Summary: [10 Regression] many jit test failures due to ABRT, SEGV Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/92412] excessive errno aliasing assumption defeats optimization

2019-11-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92412 --- Comment #4 from Martin Sebor --- Author: msebor Date: Tue Nov 12 18:49:31 2019 New Revision: 278099 URL: https://gcc.gnu.org/viewcvs?rev=278099=gcc=rev Log: PR tree-optimization/92412 - excessive errno aliasing assumption defeats

[Bug fortran/92065] [7/8/9/10 Regression] internal compiler error: in expand_expr_real_1

2019-11-12 Thread rolf.h.myhre at ntnu dot no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92065 Rolf changed: What|Removed |Added CC||rolf.h.myhre at ntnu dot no --- Comment #2 from

[Bug testsuite/92464] [10 regression] r278033 breaks gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c

2019-11-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92464 --- Comment #2 from Segher Boessenkool --- What is the testcase testing? Whether we can properly vectorize this code, right? And for p7 we now do it correctly, but thought it was too expensive before?

[Bug target/92473] test pr92324-2.c fails on arm and aarch64

2019-11-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92473 --- Comment #4 from Richard Biener --- Created attachment 47222 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47222=edit patch Testing the following (on x86_64), inspected aarch64 code to be correct.

[Bug sanitizer/92474] Sanitizer breaks tail-recursion optimization

2019-11-12 Thread Hi-Angel at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92474 --- Comment #2 from Konstantin Kharlamov --- (In reply to Jakub Jelinek from comment #1) > Note, starting with r273603, the trunk doesn't tail call optimize this > either even without -fsanitize=, unless -fno-tree-sra. Is there a report for

[Bug c/92479] missing warnings for unreachable codes with -Wunreachable-code

2019-11-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92479 --- Comment #1 from Andrew Pinski --- The code for Wunreachable-code was removed a long time ago (around 5-10 years ago).

[Bug c++/92480] New: Parameters in consteval functions should be constant expressions.

2019-11-12 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92480 Bug ID: 92480 Summary: Parameters in consteval functions should be constant expressions. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/92474] Sanitizer breaks tail-recursion optimization

2019-11-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92474 --- Comment #1 from Jakub Jelinek --- Note, starting with r273603, the trunk doesn't tail call optimize this either even without -fsanitize=, unless -fno-tree-sra.

[Bug testsuite/92398] [10 regression] error in update of gcc.target/powerpc/pr72804.c in r277872

2019-11-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92398 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug c++/89070] Attribute [[nodiscard]] should be ignored in unevaluated contexts

2019-11-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89070 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c/92479] New: missing warnings for unreachable codes with -Wunreachable-code

2019-11-12 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92479 Bug ID: 92479 Summary: missing warnings for unreachable codes with -Wunreachable-code Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

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

2019-11-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 --- Comment #9 from Tobias Burnus --- (In reply to Tobias Burnus from comment #8) In gdb [GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1], which is really not the newest, I get: (gdb) pt c_aptr type = and stepping in, gives (all variables

[Bug c/92472] enhancement: 5 * constify some parameters

2019-11-12 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92472 --- Comment #2 from David Binderman --- Sadly no. I am happy for anyone else to pick up my suggested patches and post them. There were about 35 style messages of type "constParameter" produced for gcc trunk. I'll have a look at which other

[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-12 Thread iii at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92430 --- Comment #5 from iii at gcc dot gnu.org --- Author: iii Date: Tue Nov 12 14:24:35 2019 New Revision: 278095 URL: https://gcc.gnu.org/viewcvs?rev=278095=gcc=rev Log: Free dominance info at the beginning of pass_jump_after_combine

[Bug c/92478] New: [8 Regression] ICE: Segmentation fault

2019-11-12 Thread anbu1024.me at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92478 Bug ID: 92478 Summary: [8 Regression] ICE: Segmentation fault Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/88952] The asm operator modifiers for rs6000 should be documented like they are for x86

2019-11-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88952 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug c++/89070] Attribute [[nodiscard]] should be ignored in unevaluated contexts

2019-11-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89070 Jonathan Wakely changed: What|Removed |Added CC||src at andyf dot de --- Comment #2

[Bug lto/48200] Implement function attribute for symbol versioning (.symver)

2019-11-12 Thread kloczko.tomasz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 Tomasz Kłoczko changed: What|Removed |Added CC||kloczko.tomasz at gmail dot com ---

  1   2   >