This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66380] ICE for intrinsic reshape with insufficient number of array elements
- From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Jun 2015 17:31:33 +0000
- Subject: [Bug fortran/66380] ICE for intrinsic reshape with insufficient number of array elements
- Auto-submitted: auto-generated
- References: <bug-66380-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66380
--- Comment #2 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
The problem is that an assertion is triggered for
a PAD size that is less than or equal to zero.
The assertion should be an error condition. The
patch that I attached does this.