[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-21 Thread jb at gcc dot gnu.org
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

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-16 Thread jakub at gcc dot gnu.org
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

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-14 Thread jakub at gcc dot gnu.org
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...

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-14 Thread rguenther at suse dot de
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

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-14 Thread jakub at gcc dot gnu.org
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;

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-13 Thread rguenth at gcc dot gnu.org
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

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code