[Bug fortran/92277] New: ICE with assumed rank

2019-10-30 Thread jrfsousa at gmail dot com
: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47129 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47129=edit Code triggering ICE Hi all! Internal compiler error with assumed rank arguments. GNU Fortran (GCC) 10.

[Bug fortran/92284] New: Subroutine with bind(c) attribute causing varied problems

2019-10-30 Thread jrfsousa at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47130 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47130=edit Code demonstrating problems. Hi all! Code attac

[Bug fortran/92284] Subroutine with bind(c) attribute causing varied problems

2019-10-30 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92284 José Rui Faustino de Sousa changed: What|Removed |Added Attachment #47130|0 |1 is obsolete|

[Bug fortran/92284] Subroutine with bind(c) attribute causing varied problems

2019-10-30 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92284 José Rui Faustino de Sousa changed: What|Removed |Added Attachment #47134|0 |1 is obsolete|

[Bug fortran/92284] Subroutine with bind(c) attribute causing varied problems

2019-10-30 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92284 --- Comment #4 from José Rui Faustino de Sousa --- Sorry I blooped while trying to simplify the sample code... :-( The new code should ICE 10.0.0, but not 9.1.0, using either the C procedure or the Fortran bind(c) one. Using just the "arr_set"

[Bug fortran/92482] BIND(C) with array-descriptor mishandled for type character

2019-11-13 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92482 --- Comment #2 from José Rui Faustino de Sousa --- IMHO the point here is if interoperable procedures (bind(c)) are required to have arguments of interoperable type. My reading of 18.3.6 is that it is not required, most relevant for character

[Bug fortran/92482] New: Possibly wrong error diagnostic

2019-11-12 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47225 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47225=edit Code demonstrating problems. What seems to me a spurious error is flagged by gfortran 10.

[Bug fortran/92621] Segmentation fault with assumed rank allocatable intent(out) with bind(c)

2019-11-21 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #1 from José Rui Faustino de Sousa --- Created attachment 47327 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47327=edit C code

[Bug fortran/92621] New: Segmentation fault with assumed rank allocatable intent(out) with bind(c)

2019-11-21 Thread jrfsousa at gmail dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47326 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47326=edit Code demonstrating problems. Hi

[Bug fortran/92142] New: CFI_setpointer corrupts descriptor

2019-10-17 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47060 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47060=edit Code demonstrating problems. Hi all! CFI_setpointer does not check if it is sett

[Bug fortran/93957] New: ICE (regression) passing assumed rank arrays with bind(c)

2020-02-27 Thread jrfsousa at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47921 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47921=edit Code triggering ICE Hi all! ICE regression proba

[Bug fortran/94048] New: ICE and other problems using rank intrinsic to set array size

2020-03-05 Thread jrfsousa at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47978=edit Code demonstrating problems. Hi all! ICE us

[Bug fortran/94022] New: Array slices of assumed-size arrays

2020-03-03 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47963 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47963=edit Code demonstrating problems. Hi all! When passing array slices of assumed-size arr

[Bug fortran/94020] New: Size, shape, possibly other intrinsics non standard conforming

2020-03-03 Thread jrfsousa at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47960 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47960=edit Code demonstrating problems. Hi all! The s

[Bug fortran/93963] New: Select rank mishandling allocatable and pointer arguments with bind(c)

2020-02-28 Thread jrfsousa at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47925 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47925=edit Code demonstrating problems. Hi

[Bug fortran/92621] Segmentation fault with assumed rank allocatable intent(out) with bind(c)

2020-02-21 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #3 from José Rui Faustino de Sousa --- Created attachment 47882 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47882=edit New test case

[Bug fortran/92621] Segmentation fault with assumed rank allocatable intent(out) with bind(c)

2020-02-21 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #2 from José Rui Faustino de Sousa --- Looked a bit further into this and found additional problems both under: gfortran version 10.0.1 20200219 (experimental) (GCC) and gfortran version 9.2.1 20200219 (GCC) With the new test

[Bug driver/93874] New: ICE due to command line options

2020-02-21 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Hi all! $ touch ./empty.c $ gcc -fdisable-tree-dse3 -fdump-passes ./empty.c The file just haves to exist and have a known file format. The -fdisable-tree value does not have to be dse3

[Bug fortran/94110] New: Erroneous code compiling

2020-03-09 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48000 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48000=edit Code demonstrating problems. Hi all! I am pretty sure this code is erroneous both because you

[Bug fortran/94090] New: ICE on mismatched interface

2020-03-08 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47996 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47996=edit Code demonstrating problems. Hi all! ICE on mismatched interface, -pedantic finds the error. in b

[Bug fortran/94048] ICE and other problems using rank intrinsic to set array size

2020-04-14 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94048 --- Comment #2 from José Rui Faustino de Sousa --- Please ignore the last attachment I mixed up the bug report...

[Bug fortran/94022] Array slices of assumed-size arrays

2020-04-14 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94022 --- Comment #3 from José Rui Faustino de Sousa --- Created attachment 48274 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48274=edit The cleaned-up version with pointer and bind(c) tests

[Bug fortran/94048] ICE and other problems using rank intrinsic to set array size

2020-04-14 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94048 --- Comment #1 from José Rui Faustino de Sousa --- Created attachment 48273 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48273=edit The cleaned-up version with pointer and bind(c) tests

[Bug fortran/94022] Array slices of assumed-size arrays

2020-04-14 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94022 --- Comment #2 from José Rui Faustino de Sousa --- Hi Thomas! The fix to this problem seems to be simple: diff --git a/gcc/fortran/trans-expr.c b/gcc/fortran/trans-expr.c index fdca9cc..9ad885b 100644 --- a/gcc/fortran/trans-expr.c +++

[Bug fortran/94192] New: ICE on wrong code

2020-03-16 Thread jrfsousa at gmail dot com
: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48041 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48041=edit Code demonstrating problems. Hi all! ICE both in: GNU Fortran (GCC) 9.2.1 20200307 and GNU Fortran (

[Bug fortran/94327] Bind(c) argument attributes are incorrectly set

2020-03-25 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94327 --- Comment #1 from José Rui Faustino de Sousa --- Created attachment 48113 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48113=edit C code demonstrating problems.

[Bug fortran/94331] New: Bind(C) corrupts array descriptors

2020-03-25 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48119 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48119=edit Fortran code demonstrating problems. Hi all! Call to bind(c) procedure corrupts ar

[Bug fortran/94289] Assumed-rank array bounds resuscitate on the second call

2020-03-25 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94289 --- Comment #1 from José Rui Faustino de Sousa --- Hi all! My first comment is not very clear so to elaborate a bit. For assumed-rank arrays no temporary array descriptor with the correct bounds is created like it is for assumed-shape arrays.

[Bug fortran/94327] New: Bind(c) argument attributes are incorrectly set

2020-03-25 Thread jrfsousa at gmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48112 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48112=edit Fortran code demonstrating problems. Hi all! Argument attributes should ma

[Bug fortran/94331] Bind(C) corrupts array descriptors

2020-03-25 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94331 --- Comment #1 from José Rui Faustino de Sousa --- Created attachment 48120 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48120=edit C code demonstrating problems.

[Bug fortran/94110] Erroneous code compiling

2020-04-14 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94110 --- Comment #2 from José Rui Faustino de Sousa --- Hi Thomas! IIRC assumed-size arrays are implemented has packaged descriptor less arrays. In order to point to them or to pass them to a procedure expecting an assumed or deferred-shape array

[Bug fortran/95071] New: ICE on select type block with assumed-rank selector

2020-05-11 Thread jrfsousa at gmail dot com
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48513 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48513=edit Fortran code demonstrating problems. Hi all! ICE on wrong code with 10 and

[Bug fortran/95196] New: Assumed-rank incorrect array bounds inside select rank

2020-05-18 Thread jrfsousa at gmail dot com
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48557=edit Fortran code demonstrating problems. Hi all! Assumed-rank array

[Bug fortran/95138] New: ICE on transfer to unlimited polymorphic

2020-05-14 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48536 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48536=edit Fortran code demonstrating problems. Hi all! ICE on 10 and 11, 9 compiles p

[Bug fortran/94289] New: Assumed-rank array bounds resuscitate on the second call

2020-03-23 Thread jrfsousa at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48096 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48096=edit Code demonstrating problems. Hi all! Assumed-r

[Bug fortran/94104] New: Request for diagnostic improvement

2020-03-09 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 47999 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47999=edit Code demonstrating problems. Hi all! Minor nitpick, the attached program raises an er

[Bug fortran/91726] [8/9 Regression] ICE in gfc_conv_array_ref, at fortran/trans-array.c:3612

2020-05-06 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91726 José Rui Faustino de Sousa changed: What|Removed |Added CC||jrfsousa at gmail dot com

[Bug fortran/88247] [8/9/10/11 Regression] ICE in get_array_ctor_var_strlen, at fortran/trans-array.c:2068

2020-05-08 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88247 José Rui Faustino de Sousa changed: What|Removed |Added CC||jrfsousa at gmail dot com

[Bug fortran/95214] New: ICE on assumed-rank character array with select rank

2020-05-19 Thread jrfsousa at gmail dot com
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48568 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48568=edit Fortran code demonstrating problems. Hi All! ICE with 10 and 11 on assu

[Bug fortran/94110] Passing an assumed-size to an assumed-shape argument should be rejected

2020-09-01 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94110 José Rui Faustino de Sousa changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/95352] ICE on select rank with assumed-size selector and lbound intrinsic

2020-09-01 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95352 José Rui Faustino de Sousa changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/96728] Fatal Error: Reading module inquiry functions on assumed-rank

2020-09-01 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96728 José Rui Faustino de Sousa changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/96726] ICE with user defined specification function on assumed-rank array

2020-09-01 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96726 José Rui Faustino de Sousa changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/96727] ICE with character length specified using specification function on assumed-rank array

2020-09-01 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96727 José Rui Faustino de Sousa changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/96870] New: Class name on error message

2020-08-31 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 49161 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49161=edit Fortran code demonstrating problems. Hi all! Having error messages with the internal class n

[Bug fortran/96870] Class name on error message

2020-08-31 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96870 --- Comment #1 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2020-August/054955.html

[Bug fortran/95352] ICE on select rank with assumed-size selector and lbound intrinsic

2020-08-21 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95352 José Rui Faustino de Sousa changed: What|Removed |Added Keywords||patch --- Comment #6 from

[Bug fortran/96724] New: Bogus warnings with the repeat intrinsic and the flag -Wconversion-extra

2020-08-20 Thread jrfsousa at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 49088 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49088=edit Fortran code demonstrating probl

[Bug fortran/96727] New: ICE with character length specified using specification function on assumed-rank array

2020-08-20 Thread jrfsousa at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 49090 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49090=edit Fortran c

[Bug fortran/96728] New: Fatal Error: Reading module inquiry functions on assumed-rank

2020-08-20 Thread jrfsousa at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 49091 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49091=edit Fortran code demonstrating problems. Hi

[Bug fortran/96726] New: ICE with user defined specification function on assumed-rank array

2020-08-20 Thread jrfsousa at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 49089 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49089=edit Fortran code demonstrating problems. Hi

[Bug fortran/95352] ICE on select rank with assumed-size selector and lbound intrinsic

2020-08-20 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95352 --- Comment #4 from José Rui Faustino de Sousa --- I have tested the patch posted by Steve Kargl and it seems to do the trick. Can I do anything to get this going? Best regards, José Rui

[Bug fortran/96728] Fatal Error: Reading module inquiry functions on assumed-rank

2020-08-27 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96728 --- Comment #4 from José Rui Faustino de Sousa --- Hi Paul, Sorry for the confusion. I did not knew I could (should) have assigned it to myself. Sorry for the wasted time. Thank you very much. Best regards, José Rui

[Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument

2020-05-26 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85868 José Rui Faustino de Sousa changed: What|Removed |Added CC||jrfsousa at gmail dot com

[Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument

2020-05-26 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85868 --- Comment #9 from José Rui Faustino de Sousa --- Hi All, Still present in: GNU Fortran (GCC) 9.3.1 20200525 GNU Fortran (GCC) 10.1.1 20200525 GNU Fortran (GCC) 11.0.0 20200525 (experimental) Thank you very much. Best regards, José Rui

[Bug fortran/95352] ICE on select rank with assumed-size selector and lbound intrinsic

2020-05-26 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95352 --- Comment #1 from José Rui Faustino de Sousa --- On further investigation the ICE is not generated by the extra parenthesis, but by the use of the lbound intrinsic.

[Bug fortran/95352] New: ICE on extra parenthesis

2020-05-26 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 48611 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48611=edit Fortran code demonstrating problems. Hi All! An extra parenthesis generates an ICE with: GNU Fort

[Bug fortran/95331] New: Unlimited polymorphic arrays have wrong bounds

2020-05-26 Thread jrfsousa at gmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Hi All! Unlimited polymorphic (class(*)) arrays have wrong bounds. Tested with: GNU Fortran (GCC) 9.3.1 20200518 GNU Fortran (GCC) 10.1.1 20200518 GNU Fortran (GCC

[Bug fortran/95331] Unlimited polymorphic arrays have wrong bounds

2020-05-26 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95331 --- Comment #1 from José Rui Faustino de Sousa --- Created attachment 48604 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48604=edit Fortran code demonstrating problems. Somehow the testcase was left behind...

[Bug fortran/96418] Test coarray_alloc_comp_4.f08 ICEs

2020-08-02 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96418 --- Comment #1 from José Rui Faustino de Sousa --- And coarray_alloc_comp_3.f08 too. Best regards, José Rui

[Bug fortran/96418] New: Test coarray_alloc_comp_4.f08 ICEs

2020-08-02 Thread jrfsousa at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Hi all! Test coarray_alloc_comp_4.f08 ICEs if using -fcoarray=single instead of -fcoarray=lib. Thank you very much. Best regards, José Rui

[Bug fortran/82375] PDT components in PDT declarations fail to compile

2020-08-02 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82375 José Rui Faustino de Sousa changed: What|Removed |Added CC||jrfsousa at gmail dot com

[Bug fortran/92621] Problems with memory handling with allocatable intent(out) arrays with bind(c)

2021-04-26 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #8 from José Rui Faustino de Sousa --- Patch (version 2) posted: https://gcc.gnu.org/pipermail/fortran/2021-April/055991.html

[Bug fortran/100245] New: ICE on automatic reallocation

2021-04-24 Thread jrfsousa at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50667 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50667=edit Fortran code showing problem Hi All! Automatic reallocation ICEs when assigning class to deri

[Bug fortran/92621] Problems with memory handling with allocatable intent(out) arrays with bind(c)

2021-04-28 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #12 from José Rui Faustino de Sousa --- (In reply to Dominique d'Humieres from comment #11) > Did you try to click on 'take' in > > Assignee: > Not yet assigned to anyone (edit) (take) > I do not have the "edit" or "take"

[Bug fortran/92621] Problems with memory handling with allocatable intent(out) arrays with bind(c)

2021-04-28 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #10 from José Rui Faustino de Sousa --- (In reply to Dominique d'Humieres from comment #9) > > Patch (version 2) posted: > > > > https://gcc.gnu.org/pipermail/fortran/2021-April/055991.html > > Please assign the PR to yourself when

[Bug fortran/100245] ICE on automatic reallocation

2021-04-25 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-April/055982.html

[Bug fortran/82376] Duplicate function call using -fcheck=pointer

2021-04-22 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82376 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-April/055973.html

[Bug fortran/91726] [8/9 Regression] ICE in gfc_conv_array_ref, at fortran/trans-array.c:3612

2021-04-01 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91726 --- Comment #9 from José Rui Faustino de Sousa --- Hi Paul! This seems to fix the ICE generated by using -ftrapv -fcheck=bounds Fixes "nelems" type and adds an optional assert to make sure it stays fixed. Best regards, José Rui diff --git

[Bug fortran/100040] New: Wrong code with intent out assumed-rank allocatable

2021-04-11 Thread jrfsousa at gmail dot com via Gcc-bugs
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50562 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50562=edit Fortran code showing problem Hi All! With intent out assumed-r

[Bug fortran/100094] New: Undefined pointers have incorrect rank when using optimization

2021-04-15 Thread jrfsousa at gmail dot com via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50599 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50599=edit Fortran code showing problem Hi All! R

[Bug fortran/100103] New: Automatic reallocation fails inside select rank

2021-04-15 Thread jrfsousa at gmail dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50606 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50606=edit Fortran code showing problem Hi All! Automatic reallocation on intrin

[Bug fortran/100097] New: Unlimited polymorphic pointers and allocatables have incorrect rank

2021-04-15 Thread jrfsousa at gmail dot com via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50600 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50600=edit Fortran code showing problem Hi

[Bug fortran/100098] New: Polymorphic pointers and allocatables have incorrect rank

2021-04-15 Thread jrfsousa at gmail dot com via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50601 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50601=edit Fortran code showing problem Hi All! R

[Bug fortran/100027] New: ICE on storage_size with polymorphic argument

2021-04-10 Thread jrfsousa at gmail dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50554 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50554=edit Fortran code showing problem Hi All! ICE on storage_size with poin

[Bug fortran/100018] ICE on missing polymorphic argument

2021-04-10 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100018 --- Comment #1 from José Rui Faustino de Sousa --- Path posted: https://gcc.gnu.org/pipermail/fortran/2021-April/055916.html

[Bug fortran/84006] [8/9/10/11 Regression] ICE in storage_size() with CLASS entity

2021-04-10 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006 José Rui Faustino de Sousa changed: What|Removed |Added CC||jrfsousa at gmail dot com

[Bug fortran/100027] ICE on storage_size with polymorphic argument

2021-04-10 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100027 --- Comment #1 from José Rui Faustino de Sousa --- Patch posted https://gcc.gnu.org/pipermail/fortran/2021-April/055922.html

[Bug fortran/100024] New: ICE on subroutine missing explicit interface

2021-04-10 Thread jrfsousa at gmail dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50551 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50551=edit Fortran code showing problem Hi All! ICE on assumed-rank subroutine c

[Bug fortran/100025] New: ICE on subroutine missing explicit interface

2021-04-10 Thread jrfsousa at gmail dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50552 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50552=edit Fortran code showing problem Hi All! ICE on assumed-rank subroutine c

[Bug fortran/100024] ICE on subroutine missing explicit interface

2021-04-10 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100024 --- Comment #1 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-April/055921.html

[Bug fortran/100025] ICE on subroutine missing explicit interface

2021-04-10 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100025 --- Comment #1 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-April/055921.html

[Bug fortran/100018] New: ICE on missing polymorphic argument

2021-04-10 Thread jrfsousa at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Hi All! ICE with simple subroutine missing a dummy argument. subroutine foo(that) implicit none class(*), target, intent(in) :: this class(*), pointer, intent(out

[Bug fortran/100136] [11/12 Regression] ICE, regression, using flag -fcheck=pointer

2021-04-21 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100136 --- Comment #3 from José Rui Faustino de Sousa --- Only handles the ICE... Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-April/055949.html

[Bug fortran/100118] New: ICE on sizeof with derived type components

2021-04-16 Thread jrfsousa at gmail dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50616 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50616=edit Fortran code showing problem ICE on using sizeof with derived type components. s

[Bug fortran/100132] New: Optimization breaks pointer association

2021-04-17 Thread jrfsousa at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50622 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50622=edit Fortran code showing problem Hi All! Pointer association is lost when compil

[Bug fortran/100132] Optimization breaks pointer association

2021-04-17 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100132 --- Comment #1 from José Rui Faustino de Sousa --- Patch posted https://gcc.gnu.org/pipermail/fortran/2021-April/055946.html

[Bug fortran/100120] New: associated intrinsic failure

2021-04-16 Thread jrfsousa at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50617 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50617=edit Fortran code showing problem Associated intrinsic returns wrong results with polymorphic point

[Bug fortran/100040] Wrong code with intent out assumed-rank allocatable

2021-04-16 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100040 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted. https://gcc.gnu.org/pipermail/fortran/2021-April/055924.html

[Bug fortran/100120] associated intrinsic failure

2021-04-16 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100120 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted. https://gcc.gnu.org/pipermail/fortran/2021-April/055942.html

[Bug fortran/100094] Undefined pointers have incorrect rank when using optimization

2021-04-16 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100094 --- Comment #3 from José Rui Faustino de Sousa --- (In reply to kargl from comment #1) > Isn't the code invalid Fortran because it references an undefined pointer? > If yes, the compiler is allows to do whatever it wants with the code. AFAIK

[Bug fortran/100097] Unlimited polymorphic pointers and allocatables have incorrect rank

2021-04-16 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100097 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted. https://gcc.gnu.org/pipermail/fortran/2021-April/055933.html

[Bug fortran/100098] Polymorphic pointers and allocatables have incorrect rank

2021-04-16 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted. https://gcc.gnu.org/pipermail/fortran/2021-April/055933.html

[Bug fortran/100029] ICE on subroutine call with allocatable polymorphic assumed-rank argument

2021-04-16 Thread jrfsousa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100029 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted. https://gcc.gnu.org/pipermail/fortran/2021-April/055924.html

[Bug fortran/100136] New: ICE, regression, using flag -fcheck=pointer

2021-04-18 Thread jrfsousa at gmail dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50623 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50623=edit Fortran code showing problem Hi All! ICE using flag -fcheck=pointer. Seen on:

[Bug fortran/100029] New: ICE on subroutine call with allocatable polymorphic assumed-rank argument

2021-04-11 Thread jrfsousa at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jrfsousa at gmail dot com Target Milestone: --- Created attachment 50556 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50556=edit Fortran code showing problem