https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
--- Comment #8 from Janne Blomqvist ---
Author: jb
Date: Wed Dec 21 09:41:25 2016
New Revision: 243842
URL: https://gcc.gnu.org/viewcvs?rev=243842=gcc=rev
Log:
PR 78867 Function returning string ICE with -flto
The fix for PR 78757 was slightly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
--- Comment #6 from Jakub Jelinek ---
Author: jakub
Date: Fri Dec 16 19:41:13 2016
New Revision: 243761
URL: https://gcc.gnu.org/viewcvs?rev=243761=gcc=rev
Log:
PR fortran/78757
* trans-expr.c (gfc_conv_procedure_call): Emit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
--- Comment #5 from Jakub Jelinek ---
Created attachment 40338
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40338=edit
gcc7-pr78757.patch
The following untested patch fixes the ICE for me, but whether it is right,
dunno...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
--- Comment #4 from rguenther at suse dot de ---
On Wed, 14 Dec 2016, jakub at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
>
> --- Comment #3 from Jakub Jelinek ---
> So the bug is that nothing has gimplified
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
--- Comment #3 from Jakub Jelinek ---
So the bug is that nothing has gimplified the MAX_EXPR in:
character(kind=1)[1:MAX_EXPR <_1, 0>] * pstr.0;
struct FRAME.MAIN__ FRAME.3;
character(kind=1)[1:30] * s;
integer(kind=4) _1;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
Jakub Jelinek changed:
What|Removed |Added
Priority|P3 |P4
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
Richard Biener changed:
What|Removed |Added
Version|unknown |7.0
--- Comment #2 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757
Martin Liška changed:
What|Removed |Added
Keywords||ice-on-valid-code