Assignee: unassigned at gcc dot gnu.org
Reporter: danlnagle at me dot com
Target Milestone: ---
Created attachment 36094
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36094&action=edit
source causing ICE
This was discovered when testing leading-edge features from coarrays.
Pro
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605
--- Comment #11 from Dan Nagle 2011-12-19 15:51:40
UTC ---
Hi,
I can confirm that changing the label of the select type to
integer_or_logical_or_error
removes the ICE.
I did so at lines 9325 and 13536 in the original source.
The new label is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605
--- Comment #5 from Dan Nagle 2011-12-18 13:13:48 UTC
---
Citations from 10-007r1.pdf
[185:17-18] says the polymorphic symbol_ptr takes the type of the type guard
within the type guard.
[171:7-8] says the associating entity loses the pointer at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605
--- Comment #1 from Dan Nagle 2011-12-17 22:45:42 UTC
---
Compiles with fort 12.1, nagfor has a different problem.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605
Bug #: 51605
Summary: internal compiler error gfc_trans_block_construct, at
fortran/trans-stmt.c:984
Classification: Unclassified
Product: gcc
Version: unknown
Status