[Bug ipa/113996] [11/12/13/14 regression] ICE with LTO at -O2 on Ada code

2024-03-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Eric Botcazou changed: What|Removed |Added Assignee|ebotcazou at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug ipa/113996] [11/12/13/14 Regression] ICE with LTO at -O2 and above with some Ada code

2024-03-08 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ipa/113996] [11/12/13/14 Regression] ICE with LTO at -O2 and above with some Ada code

2024-03-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug ipa/113996] [11/12/13/14 Regression] ICE with LTO at -O2 and above with some Ada code

2024-03-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org

[Bug c++/98422] C++ 20 module ICE with lto

2024-03-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98422 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug ipa/113996] [11/12/13/14 Regression] ICE with LTO at -O2 and above with some Ada code

2024-02-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org Last

[Bug ipa/113996] [11/12/13/14 Regression] ICE with LTO at -O2 and above with some Ada code

2024-02-20 Thread jcmoyer32 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 --- Comment #2 from J.C. Moyer --- (In reply to Richard Biener from comment #1) > You could also try whether -fwhole-program instead of -flto reproduces the > issue. -fwhole-program also works.

[Bug ipa/113996] [11/12/13/14 Regression] ICE with LTO at -O2 and above with some Ada code

2024-02-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Richard Biener changed: What|Removed |Added Keywords||lto --- Comment #1 from Richard

[Bug ipa/113996] [11/12/13/14 Regression] ICE with LTO at -O2 and above with some Ada code

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||8.1.0 Summary|ICE with LTO and full |[11/12/13/14 Regression] |optimizations |ICE with LTO at -O2 and ||above with some Ada code Component|ada

[Bug ada/113996] New: ICE with LTO and full optimizations

2024-02-19 Thread jcmoyer32 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Bug ID: 113996 Summary: ICE with LTO and full optimizations Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

Re: [Patch] OpenMP: Avoid ICE with LTO and 'omp allocate (was: [Patch] Fortran: Support OpenMP's 'allocate' directive for stack vars)

2023-10-18 Thread Jakub Jelinek
tung; Geschäftsführer: Thomas > Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht > München, HRB 106955 > OpenMP: Avoid ICE with LTO and 'omp allocate' > > gcc/ChangeLog: > > * gimplify.cc (gimplify_bind_expr): Remove "omp allocate" attribute

[Patch] OpenMP: Avoid ICE with LTO and 'omp allocate (was: [Patch] Fortran: Support OpenMP's 'allocate' directive for stack vars)

2023-10-18 Thread Tobias Burnus
Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 OpenMP: Avoid ICE with LTO and 'omp allocate' gcc/ChangeLog: * gimplify.cc

[Bug c/106702] [11 Regression] ICE with LTO: internal compiler error: tree code ‘c_maybe_const_expr’ is not supported in LTO streams

2023-05-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106702 Jakub Jelinek changed: What|Removed |Added Target Milestone|11.4|11.5 --- Comment #3 from Jakub Jelinek

[RFC PATCH] ipa-visibility: Fix ICE in lto-partition caused by incorrect comdat group solving in ipa-visibility

2023-03-27 Thread Xionghu Luo via Gcc-patches
I have a case ICE in lto-partion.c:158 not easy to reduce, this ICE appears some time ago from link: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586290.html. I tried the proposed patch but it doesn't work for me. Then I did some hack and finally got a successful lto link to compare

[Bug c/106702] [11 Regression] ICE with LTO: internal compiler error: tree code ‘c_maybe_const_expr’ is not supported in LTO streams

2022-08-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106702 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c/106702] [11 Regression] ICE with LTO: internal compiler error: tree code ‘c_maybe_const_expr’ is not supported in LTO streams

2022-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106702 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/106702] [11 Regression] ICE with LTO: internal compiler error: tree code ‘c_maybe_const_expr’ is not supported in LTO streams

2022-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|--- |11.4 Known to work||12.1.0 Summary|ICE with LTO: internal |[11 Regression] ICE with |compiler error: tree code |LTO: internal compiler |‘c_maybe_const_expr’ is not |error: tree code

[Bug lto/106702] New: ICE with LTO: internal compiler error: tree code ‘c_maybe_const_expr’ is not supported in LTO streams

2022-08-21 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106702 Bug ID: 106702 Summary: ICE with LTO: internal compiler error: tree code ‘c_maybe_const_expr’ is not supported in LTO streams Product: gcc Version: 11.3.0 Status

[Bug ipa/105600] [10/11/12 Regression] ICE with LTO when building Mumble

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

[Bug ipa/105600] [10/11/12 Regression] ICE with LTO when building Mumble

2022-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #19 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Liska : https://gcc.gnu.org/g:3f1637f8b17ded9e08841abc1182dcde0e35e660 commit r11-10089-g3f1637f8b17ded9e08841abc1182dcde0e35e660 Author: Martin Liska

[Bug ipa/105600] [10/11/12 Regression] ICE with LTO when building Mumble

2022-06-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #18 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Liska : https://gcc.gnu.org/g:c600ff8dc5a870d952c9c63fe4fa4535b9f0a488 commit r12-8509-gc600ff8dc5a870d952c9c63fe4fa4535b9f0a488 Author: Martin Liska

[Bug ipa/105600] [10/11/12 Regression] ICE with LTO when building Mumble

2022-06-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
| Summary|[10/11/12/13 Regression]|[10/11/12 Regression] ICE |ICE with LTO when building |with LTO when building |Mumble |Mumble --- Comment #17 from Martin Liška --- Fixed on master so far.

[Bug ipa/105600] [10/11/12/13 Regression] ICE with LTO when building Mumble

2022-06-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #16 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:31ce821a790caec8a2849dd67a9847e78a33d14c commit r13-1213-g31ce821a790caec8a2849dd67a9847e78a33d14c Author: Martin Liska Date:

[Bug ipa/105600] [10/11/12/13 Regression] ICE with LTO when building Mumble

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #15 from Richard

[Bug ipa/105600] [9/10/11/12/13 Regression] ICE with LTO when building Mumble

2022-05-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #14 from Martin Liška --- (In reply to Alex Coplan from comment #13) > FWIW, we started ICEing somewhere between > r9-856-g7ce4ce10cd0a6f332dd473bd4726f1a1adefda0e and > r9-870-ge062dc808950801a089ee6acd969393da2f39406, the build

[Bug ipa/105600] [9/10/11/12/13 Regression] ICE with LTO when building Mumble

2022-05-20 Thread acoplan at gcc dot gnu.org via Gcc-bugs
] |ICE with LTO when building |ICE with LTO when building |Mumble since|Mumble |r12-5696-g53caa4723d8de73f | --- Comment #13 from Alex Coplan --- FWIW, we started ICEing somewhere between r9-856-g7ce4ce10cd0a6f332dd473bd4726f1a1adefda0e

[Bug ipa/105600] [9/10/11/12/13 Regression] ICE with LTO when building Mumble since r12-5696-g53caa4723d8de73f

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

[Bug ipa/105600] [12/13 Regression] ICE with LTO when building Mumble since r12-5696-g53caa4723d8de73f

2022-05-19 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 Alex Coplan changed: What|Removed |Added Attachment #52988|0 |1 is obsolete|

[Bug ipa/105600] [12/13 Regression] ICE with LTO when building Mumble since r12-5696-g53caa4723d8de73f

2022-05-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #11 from Martin Liška --- > Please tell me if I am needed to try and squeeze more out, although I'm > likely to need instructions given aforementioned. No, I've just sent a patch to mailing list that's going to fix it.

[Bug ipa/105600] [12/13 Regression] ICE with LTO when building Mumble since r12-5696-g53caa4723d8de73f

2022-05-18 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #10 from Sam James --- Thanks Andrew. I spent a while trying to minimise it using that but I've got a bit stuck. I'm used to reducing normal ICEs but link-time/LTO ones seem to be harder to me. I was going to upload the full lot

[Bug ipa/105600] [12/13 Regression] ICE with LTO when building Mumble since r12-5696-g53caa4723d8de73f

2022-05-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #9 from Martin Liška --- So what happens in WPA: 1) we read IPA ICF summary and the variable has definition: (gdb) p vnode->debug() _ZN8nlohmann6detail12static_constINS0_10to_json_fnEE5valueE/10 (value) @0x77fb3200 Type:

[Bug ipa/105600] [12/13 Regression] ICE with LTO when building Mumble since r12-5696-g53caa4723d8de73f

2022-05-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 Martin Liška changed: What|Removed |Added Summary|ICE with LTO when building |[12/13 Regression] ICE

[Bug ipa/105600] ICE with LTO when building Mumble from git on arm64

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

[Bug ipa/105600] ICE with LTO when building Mumble from git on arm64

2022-05-18 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #6 from Alex Coplan --- Note the original bug also triggers on GCC 11 but the attached reduced testcase doesn't, I'm attempting to reduce a testcase that crashes all versions.

[Bug ipa/105600] ICE with LTO when building Mumble from git on arm64

2022-05-18 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 Alex Coplan changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug ipa/105600] ICE with LTO when building Mumble from git on arm64

2022-05-18 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #4 from Alex Coplan --- Created attachment 52988 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52988=edit reduced testcase I managed to reproduce the environment and reduce a testcase (see the attached tarball): $ cat

[Bug ipa/105600] ICE with LTO when building Mumble from git on arm64

2022-05-17 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #3 from Alex Coplan --- Alternatively a Dockerfile to build the Gentoo environment needed to reproduce the issue might help.

[Bug ipa/105600] ICE with LTO when building Mumble from git on arm64

2022-05-17 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 Alex Coplan changed: What|Removed |Added CC||acoplan at gcc dot gnu.org --- Comment

[Bug lto/105600] ICE with LTO when building Mumble from git on arm64

2022-05-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #1 from Andrew Pinski --- >One issue is it seems like I can't find a way to keep all the temporary files >required. -save-temps is the best option there. Also see

[Bug lto/105600] New: ICE with LTO when building Mumble from git on arm64

2022-05-13 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 Bug ID: 105600 Summary: ICE with LTO when building Mumble from git on arm64 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/81847] ICE with LTO enabled

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug lto/81847] ICE with LTO enabled

2021-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 Andrew Pinski changed: What|Removed |Added Known to fail||7.5.0 --- Comment #7 from Andrew Pinski

Re: [PATCH] lto-dump : Fix an ICE when lto-dump try to call 'get_size()' on thunk symbols.

2021-05-24 Thread Martin Liška
On 5/21/21 12:25 PM, 王留帅 via Gcc-patches wrote: |Hi, ​ We, ByteDance, have seen an ICE on trunk which can be reproduced with the following symbol testcase. The problem is caused by referencing a null pointer when applying 'n_basic_blocks_for_fn' on a thunk symbol. For the thunk symbol,

[PATCH] lto-dump : Fix an ICE when lto-dump try to call 'get_size()' on thunk symbols.

2021-05-21 Thread 王留帅 via Gcc-patches
Hi, ​ We, ByteDance, have seen an ICE on trunk which can be reproduced with the following symbol testcase. The problem is caused by referencing a null pointer when applying 'n_basic_blocks_for_fn' on a thunk symbol. For the thunk symbol, 'DECL_STRUCT_FUNCTION (cnode->decl)' will return an empty

[Bug c++/98422] C++ 20 module ICE with lto

2020-12-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98422 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/98422] New: C++ 20 module ICE with lto

2020-12-22 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98422 Bug ID: 98422 Summary: C++ 20 module ICE with lto Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee

[Bug lto/97298] [11 regression] ICE at lto-streamer-out.c:554 after r11-3303

2020-11-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97298 Martin Sebor changed: What|Removed |Added CC||vladimir.kokovic at gmail dot com ---

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

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

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:22175d0dc6a89ddd630f19d0f32a2d1ddb046807 commit r11-4787-g22175d0dc6a89ddd630f19d0f32a2d1ddb046807 Author: Richard Biener Date:

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7307d8e10727aea8069c0e47e64a7a9b8588a22e commit r11-4776-g7307d8e10727aea8069c0e47e64a7a9b8588a22e Author: Richard Biener Date:

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #8 from Richard Biener --- OK, so we'd indeed need to handle PHIs in vect_recog_bool_pattern which might turn out a bit complicated. I'm not a fan of pattern detection for SLP vectorization anyway so I'll see what to do here.

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #7 from Richard Biener --- OK, so for the stores in the loop we end up with a bool pattern for the store we don't support (eh): t.i:24:14: note: Starting SLP discovery for t.i:24:14: note: VIEW_CONVERT_EXPR(arr[0]) = patt_88;

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 --- Comment #6 from Richard Biener --- I guess we're missing what usually is done by bool patterns here, namely adding a conversion from the mask vector type produced by the comparison to the value vector type. A simple workaround would be to

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #5 from Richard

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

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

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

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

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 Richard Biener changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #2 from Richard

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

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

[Bug tree-optimization/97706] [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-03 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 Alex Coplan changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/97706] New: [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0)

2020-11-03 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706 Bug ID: 97706 Summary: [11 Regression] ICE with LTO at -O3: verify_gimple failed (incompatible types in 'PHI' argument 0) Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug lto/97298] [11 regression] ICE at lto-streamer-out.c:554 after r11-3303

2020-10-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97298 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug lto/97298] New: [11 regression] ICE at lto-streamer-out.c:554 after r11-3303

2020-10-05 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97298 Bug ID: 97298 Summary: [11 regression] ICE at lto-streamer-out.c:554 after r11-3303 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug lto/94822] [10 Regression] ICE in lto with option -Warray-bounds and -fno-use-linker-plugin since r10-4300-g49fb45c81f4ac068

2020-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94822 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/94822] [10 Regression] ICE in lto with option -Warray-bounds and -fno-use-linker-plugin since r10-4300-g49fb45c81f4ac068

2020-04-29 Thread cvs-commit at gcc dot gnu.org
: Wed Apr 29 12:21:23 2020 +0200 lto/94822 - fix ICE in component_ref_size This ICE appears because gcc will stream it to the function_body section when processing the variable with the initial value of the constructor type, and the error_mark_node to the decls section. When

[Bug lto/94822] [10 Regression] ICE in lto with option -Warray-bounds and -fno-use-linker-plugin since r10-4300-g49fb45c81f4ac068

2020-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94822 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug lto/94822] [10 Regression] ICE in lto with option -Warray-bounds and -fno-use-linker-plugin since r10-4300-g49fb45c81f4ac068

2020-04-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94822 Martin Liška changed: What|Removed |Added Known to fail||10.0 Summary|ICE in lto

[Bug lto/94822] New: ICE in lto with option -Warray-bounds and -fno-use-linker-plugin

2020-04-28 Thread lizekun1 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94822 Bug ID: 94822 Summary: ICE in lto with option -Warray-bounds and -fno-use-linker-plugin Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/92259] ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name

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

[Bug gcov-profile/92259] ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name

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

[Bug lto/92259] ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name

2019-10-28 Thread jan at jki dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92259 --- Comment #1 from Jan --- Created attachment 47121 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47121=edit gcov file

[Bug lto/92259] New: ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name

2019-10-28 Thread jan at jki dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92259 Bug ID: 92259 Summary: ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391

2019-03-19 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89335 Bug 89335 depends on bug 87089, which changed state. Bug 87089 Summary: [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

[Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391

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

[Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391

2019-03-19 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89335 --- Comment #4 from Jan Hubicka --- Author: hubicka Date: Tue Mar 19 14:53:43 2019 New Revision: 269799 URL: https://gcc.gnu.org/viewcvs?rev=269799=gcc=rev Log: PR lto/87809 PR lto/89335 * tree.c

[Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391

2019-02-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89335 --- Comment #3 from Martin Liška --- Is Jason working on that? Can you please link a gcc-patches mailing list discussion (if there's any).

[Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391

2019-02-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89335 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391

2019-02-14 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89335 Jan Hubicka changed: What|Removed |Added Depends on||87089 --- Comment #2 from Jan Hubicka

[Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391

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

[Bug lto/89335] New: [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391

2019-02-13 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89335 Bug ID: 89335 Summary: [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391 Product: gcc

[Bug lto/83376] ICE in LTO streamer

2017-12-11 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83376 Andi Kleen changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug lto/83376] New: ICE in LTO streamer

2017-12-11 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83376 Bug ID: 83376 Summary: ICE in LTO streamer Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee

[Bug lto/81847] ICE with LTO enabled

2017-08-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 --- Comment #6 from Martin Liška --- Created attachment 42004 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42004=edit A bit smaller test-case Smaller test-cast which needs to add --param lto-min-partition=1. Problem is following, we

[Bug lto/81847] ICE with LTO enabled

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

[Bug lto/81847] ICE with LTO enabled

2017-08-18 Thread v at vsamko dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 --- Comment #4 from Valentine --- Created attachment 42002 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42002=edit code to reproduce ICE I reduced (thanks to suggestions above and CReduce) this to the attached example. g++ -w -flto -O3

[Bug lto/81847] ICE with LTO enabled

2017-08-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 --- Comment #3 from Andrew Pinski --- (In reply to Valentine from comment #2) > (In reply to Andrew Pinski from comment #1) > > Try -flto-partition=one which might allow this to be reduced further. > > Thanks, just tried -flto-partition=one,

[Bug lto/81847] ICE with LTO enabled

2017-08-15 Thread v at vsamko dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 --- Comment #2 from Valentine --- (In reply to Andrew Pinski from comment #1) > Try -flto-partition=one which might allow this to be reduced further. Thanks, just tried -flto-partition=one, still the same ICE. Other -flto-partition options

[Bug lto/81847] ICE with LTO enabled

2017-08-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 --- Comment #1 from Andrew Pinski --- Try -flto-partition=one which might allow this to be reduced further.

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with gold linker

2017-03-05 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #15 from PeteVine --- Sorry wrong number :) I meant --enable-fix-cortex-a53-843419

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with gold linker

2017-03-05 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 PeteVine changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

C++ PATCH for c++/79176 (ICE with LTO and lambda)

2017-01-26 Thread Jason Merrill
vague_linkage_p has been assuming that anything with !TREE_PUBLIC is internal, and so does not have vague linkage. That isn't true for decloned constructors: the decloned variant which is called by the complete and base variants is !TREE_PUBLIC because it's local to the comdat group, but it still

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with gold linker

2016-12-17 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #13 from PeteVine --- Also, could these (sample) warnings actually matter when using ld.gold? NB, lra-constraints.c features in the previously provided backtrace: ../../libdecnumber/decNumber.c:3582:0: note: code may be misoptimized

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with gold linker

2016-12-17 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 PeteVine changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment #12

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with gold linker

2016-10-29 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 PeteVine changed: What|Removed |Added Summary|ICE during LTO bootstrap on |ICE during LTO bootstrap

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with extra options

2016-10-26 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #10 from PeteVine --- Hold on, I'm investigating the effect of binutils downgrade (2.27 -> 2.26) and switching to ld.bfd. Strange that it all works fine during normal bootstrap, regardless of the codegen options.

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with extra options

2016-10-26 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #9 from PeteVine --- Ha! It's not about the extra options, thank you! ;) Completely vanilla environment and gcc 5.4 produce this after a while: ../build-lto-noflags/./gcc/xgcc -B../build-lto-noflags/./gcc/

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with extra options

2016-10-26 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #8 from PeteVine --- FWIW, here's the corresponding backtrace: #0 0x00afa00c in df_get_live_out () at ../../gcc/df.h:1159 #1 update_ebb_live_info (tail=, head=0x137b838 ) at ../../gcc/lra-constraints.c:5612 #2

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with extra options

2016-10-26 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #7 from PeteVine --- Restarted the whole thing from scratch using gcc 5.4 and it segfaulted again. ../../../libgcc/libgcc2.c: In function ‘__powitf2’: ../../../libgcc/libgcc2.c:1851:1: internal compiler error: Segmentation fault }

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with extra options

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #6 from Andrew Pinski --- > -O3 -mtune=cortex-a53 -fomit-frame-pointer -fipa-pta -march=armv8-a+crc > -ftree-vectorize Can you show the exact command line which you used to configure GCC? And the output of env? A normal bootstrap

[Bug target/78105] ICE during LTO bootstrap on AARCH64

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 Andrew Pinski changed: What|Removed |Added Keywords||build, wrong-code --- Comment #5 from

[Bug target/78105] ICE during LTO bootstrap on AARCH64

2016-10-25 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #4 from PeteVine --- That helped, running gdb --args manually wasn't working obviously: Program received signal SIGSEGV, Segmentation fault. _Unwind_GetGR (index=29, context=0x7fae00) at ../../../libgcc/unwind-dw2.c:240 240

  1   2   3   >