[Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type

2016-05-03 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59711 Alexander Cherepanov changed: What|Removed |Added CC||ch3root at openwall dot com --- C

[Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type

2014-01-07 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59711 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type

2014-01-07 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59711 Eric Botcazou changed: What|Removed |Added Attachment #31765|0 |1 is obsolete|

[Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type

2014-01-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59711 --- Comment #4 from Richard Biener --- int f(int n) { struct S { int a[n]; }; struct S g(void) { struct S s; s.a[0] = 0; return s; } return g ().a[0]; } I believe this isn't fixable with the GIMPLE IL as-is - without

[Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type

2014-01-08 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59711 --- Comment #5 from Eric Botcazou --- > I believe this isn't fixable with the GIMPLE IL as-is - without lowering > to the fact that g () returns by storing to a return slot. Not sure why > 3.4 ICEd (2.95.2 also ICEs btw ...). Because historicall

[Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type

2014-01-08 Thread fweimer at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59711 --- Comment #6 from Florian Weimer --- Created attachment 31772 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31772&action=edit pr59711.adb Here's the same thing in Ada (where it actually works—it's actually fairly idiomatic code, I believe

[Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type

2014-01-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59711 --- Comment #7 from Richard Biener --- *R.4 = pr59711.f (); [return slot optimization] ah, so we don't require a WITH_SIZE_EXPR on a RSO call. Obviously. So it should be fixable either by the gimplifier or by the frontends (as Ada does it

[Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59711 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0 See Also|