------- Comment #3 from sje at cup dot hp dot com 2010-04-14 21:56 ------- Created an attachment (id=20380) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20380&action=view) Shorter version of pr41928.f90
Here is a cutdown version of the failing test. Note that in this version coset is a function call instead of an array. If I make coset an array like in the original pr41928.f90, the test passes. Also if I make ax and ay integers the test passes. Since ax and ay are used as do loop variables if you don't compile with -w (like the test case does) then you get messages like these with this test case and with the original one. Warning: Deleted feature: Loop variable at (1) must be integer Warning: Deleted feature: End expression in DO loop at (1) must be integer If you modify the test (original or my cutdown version) to fix these warnings the failure goes away. I am not sure if a ICE in a testcase that uses deleted features is a bug or not but since I think the problem is that the fortran front-end is sending bad gimple to the middle end I am going to change this from a middle-end bug to a fortran bug. I have no idea why I only see this on hppa[12]*-hp-hpux11* and not on any other platforms. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42169