[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

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

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #13 from Richard Biener --- Author: rguenth Date: Fri Nov 8 13:15:40 2019 New Revision: 277972 URL: https://gcc.gnu.org/viewcvs?rev=277972=gcc=rev Log: 2019-11-08 Richard Biener PR ipa/92409 * tree-inline.c

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #12 from rguenther at suse dot de --- On Fri, 8 Nov 2019, jamborm at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 > > --- Comment #11 from Martin Jambor --- > (In reply to Richard Biener from comment

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #11 from Martin Jambor --- (In reply to Richard Biener from comment #8) > @@ -3634,6 +3636,10 @@ declare_return_variable (copy_body_data > && !DECL_GIMPLE_REG_P (result) > && DECL_P (var)) >

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #10 from Richard Biener --- (In reply to Martin Jambor from comment #9) > Created attachment 47199 [details] > Fixed fix > > Uh, the conversion must be on the RHS, not the LHS. I'm testing this patch, > it should be the right one

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 Martin Jambor changed: What|Removed |Added Attachment #47195|0 |1 is obsolete|

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #8 from Richard Biener --- I think the fix is more like the following to make declare_return_variable notice the mismatch. That alone might not be enough but the fix should be there. I assume that we use a return slot only for

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 Richard Biener changed: What|Removed |Added Assignee|jamborm at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #7 from Martin Jambor --- Ah sorry, looking at my bash history, yesterday I somehow lost the -m32 on my command line :-( Will try again.

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-08 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #6 from

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #5 from Martin Liška --- > > I have to leave the office now but I am testing the attached fix on an > x86_64 - I have lost connection to the i686 I was using (gcc45). I would recommend here to use your machine and set up a KVM

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #4 from Jakub Jelinek --- Sadly, neither of those regressions is fixed on i686-linux. Still the same /home/jakub/src/gcc/gcc/testsuite/gcc.dg/cast-function-1.c:49:1: error: non-trivial conversion in 'ssa_name' struct str_t int {} =

[Bug ipa/92409] [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c

2019-11-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409 --- Comment #3 from Martin Jambor --- Created attachment 47195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47195=edit Hopefully the fix I have to leave the office now but I am testing the attached fix on an x86_64 - I have lost