This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/59229] [4.9.0 Regression] ICE in ix86_expand_set_or_movmem
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Nov 2013 11:29:27 +0000
- Subject: [Bug fortran/59229] [4.9.0 Regression] ICE in ix86_expand_set_or_movmem
- Auto-submitted: auto-generated
- References: <bug-59229-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59229
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Reduced test case:
SUBROUTINE PYGIVE(CHIN)
IMPLICIT INTEGER(I-N)
CHARACTER CHIN*(*),CHBIT*104,CHNAM*6
LNAM=1
150 LNAM=LNAM+1
IF(CHBIT(LNAM:LNAM).NE.'('.AND.CHBIT(LNAM:LNAM).NE.'='.AND.
&LNAM.LE.6) GOTO 150
CHNAM=CHBIT(1:LNAM-1)//' '
RETURN
END
-O2 is enough to trigger the ICE. Revision 203859 (2013-10-19) is OK, revision
204945(2013-11-18) gives the ICE.