[Bug fortran/58157] New: ICE on character function with len given by a PURE function

2013-08-14 Thread dcesari69 at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcesari69 at gmail dot com Created attachment 30655 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30655&action=edit Fortran source for reproducing ICE Hello, the attached sim

[Bug fortran/78021] New: Wrong result with optimization, character constant

2016-10-18 Thread dcesari69 at gmail dot com
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcesari69 at gmail dot com Target Milestone: --- The following simple code: PROGRAM test_o_char PRINT*,mylen('c')+mylen('c ') CONTAINS FUNCTION mylen(c) CHARACTER(len=*),INTENT(in) :: c IN

[Bug fortran/78021] [5/6/7 Regression] Wrong result with optimization on character constant

2016-10-26 Thread dcesari69 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78021 --- Comment #8 from Davide Cesari --- Thanks for the quick fix!

[Bug fortran/58157] ICE on character function with len given by a PURE function

2016-07-13 Thread dcesari69 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58157 --- Comment #3 from Davide Cesari --- Update: I tested with the latest version available on a fresh Fedora24, gcc version 6.1.1 20160621, and the bug is still the same: internal compiler error: Segmentation fault Davide

[Bug fortran/111521] New: Polymorphic variable loses information about the actual type assigned when passed as function result

2023-09-21 Thread dcesari69 at gmail dot com via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcesari69 at gmail dot com Target Milestone: --- Created attachment 55961 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55961&

[Bug fortran/111521] Polymorphic variable loses information about the actual type assigned when passed as function result

2023-09-21 Thread dcesari69 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111521 --- Comment #1 from Davide Cesari --- An update: By replacing the line list_getcurr => this%curr%getval() with CLASS(*),POINTER :: l_p l_p => this%curr%getval() list_getcurr => l_p i.e. assigning the upper function result to a temporary loc

[Bug fortran/114781] New: Error in ALLOCATE with MOLD=

2024-04-19 Thread dcesari69 at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcesari69 at gmail dot com Target Milestone: --- Created attachment 57990 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57990&action=edit Failing program Allocation af an unlimited polymorphic array with MOLD=