[Bug fortran/91471] f951: internal compiler error: gfc_variable_attr(): Bad array reference

2019-08-17 Thread SameeranJayant.Joshi at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91471 --- Comment #2 from Sameeran Joshi --- (In reply to kargl from comment #1) > I have a patch that prevents the ICE. Remove ICE-on-valid-code > tag as the code is invalid. It fails when a value is assigned to the allocated space: program

[Bug fortran/91471] New: f951: internal compiler error: gfc_variable_attr(): Bad array reference

2019-08-16 Thread SameeranJayant.Joshi at amd dot com
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: SameeranJayant.Joshi at amd dot com Target Milestone: --- I can again reproduce the bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68283) on trunk(checked on godbolt