public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg
@ 2008-04-14 15:24 dick dot hendrickson at gmail dot com
2008-04-14 16:22 ` [Bug fortran/35932] [4.3/4.4 Regression] ICE: " burnus at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: dick dot hendrickson at gmail dot com @ 2008-04-14 15:24 UTC (permalink / raw)
To: gcc-bugs
The following program generates an ICE.
program FA0005
! fails on Windows XP
! gcc version 4.4.0 20080312 (experimental) [trunk revision 133139]
CHARACTER(1) CDA1(10)
INTEGER IDA(10)
CDA1 = CHAR ( IDA, KIND("A" )) !fails
CDA1 = CHAR ( IDA ) !works
END
C:\gfortran>gfortran fa0005.f
fa0005.f: In function 'fa0005':
fa0005.f:1: internal compiler error: in gfc_trans_assignment_1, at
fortran/trans
-expr.c:4330
--
Summary: internal compiler error: CHAR with array arg and also a
KIND arg
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dick dot hendrickson at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35932
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/35932] [4.3/4.4 Regression] ICE: CHAR with array arg and also a KIND arg
2008-04-14 15:24 [Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg dick dot hendrickson at gmail dot com
@ 2008-04-14 16:22 ` burnus at gcc dot gnu dot org
2008-04-14 19:21 ` tkoenig at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-04-14 16:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from burnus at gcc dot gnu dot org 2008-04-14 16:21 -------
Confirm. The following assert seemingly fails:
gcc_assert (lse.ss == gfc_ss_terminator
&& rse.ss == gfc_ss_terminator);
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Known to fail| |4.3.0 4.4.0
Known to work| |4.2.2 4.1.3
Summary|internal compiler error: |[4.3/4.4 Regression] ICE:
|CHAR with array arg and also|CHAR with array arg and also
|a KIND arg |a KIND arg
Target Milestone|--- |4.3.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35932
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/35932] [4.3/4.4 Regression] ICE: CHAR with array arg and also a KIND arg
2008-04-14 15:24 [Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg dick dot hendrickson at gmail dot com
2008-04-14 16:22 ` [Bug fortran/35932] [4.3/4.4 Regression] ICE: " burnus at gcc dot gnu dot org
@ 2008-04-14 19:21 ` tkoenig at gcc dot gnu dot org
2008-04-15 9:27 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2008-04-14 19:21 UTC (permalink / raw)
To: gcc-bugs
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-04-14 19:20:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35932
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/35932] [4.3/4.4 Regression] ICE: CHAR with array arg and also a KIND arg
2008-04-14 15:24 [Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg dick dot hendrickson at gmail dot com
2008-04-14 16:22 ` [Bug fortran/35932] [4.3/4.4 Regression] ICE: " burnus at gcc dot gnu dot org
2008-04-14 19:21 ` tkoenig at gcc dot gnu dot org
@ 2008-04-15 9:27 ` jakub at gcc dot gnu dot org
2008-04-16 20:54 ` pault at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-04-15 9:27 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35932
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/35932] [4.3/4.4 Regression] ICE: CHAR with array arg and also a KIND arg
2008-04-14 15:24 [Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg dick dot hendrickson at gmail dot com
` (2 preceding siblings ...)
2008-04-15 9:27 ` jakub at gcc dot gnu dot org
@ 2008-04-16 20:54 ` pault at gcc dot gnu dot org
2008-04-16 21:04 ` pault at gcc dot gnu dot org
2008-04-16 21:08 ` pault at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-04-16 20:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pault at gcc dot gnu dot org 2008-04-16 20:53 -------
Subject: Bug 35932
Author: pault
Date: Wed Apr 16 20:53:07 2008
New Revision: 134364
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134364
Log:
2008-04-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/35932
* trans-intrinsic.c (gfc_conv_intrinsic_char): Even though KIND
is not used, the argument must be converted.
2008-04-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/35932
* gfortran.dg/intrinsic_char_1.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/intrinsic_char_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-intrinsic.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35932
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/35932] [4.3/4.4 Regression] ICE: CHAR with array arg and also a KIND arg
2008-04-14 15:24 [Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg dick dot hendrickson at gmail dot com
` (3 preceding siblings ...)
2008-04-16 20:54 ` pault at gcc dot gnu dot org
@ 2008-04-16 21:04 ` pault at gcc dot gnu dot org
2008-04-16 21:08 ` pault at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-04-16 21:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pault at gcc dot gnu dot org 2008-04-16 21:02 -------
Subject: Bug 35932
Author: pault
Date: Wed Apr 16 21:02:10 2008
New Revision: 134366
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134366
Log:
2008-04-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/35932
* trans-intrinsic.c (gfc_conv_intrinsic_char): Even though KIND
is not used, the argument must be converted.
2008-04-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/35932
* gfortran.dg/intrinsic_char_1.f90: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/intrinsic_char_1.f90
Modified:
branches/gcc-4_3-branch/gcc/fortran/ChangeLog
branches/gcc-4_3-branch/gcc/fortran/trans-intrinsic.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35932
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/35932] [4.3/4.4 Regression] ICE: CHAR with array arg and also a KIND arg
2008-04-14 15:24 [Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg dick dot hendrickson at gmail dot com
` (4 preceding siblings ...)
2008-04-16 21:04 ` pault at gcc dot gnu dot org
@ 2008-04-16 21:08 ` pault at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-04-16 21:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pault at gcc dot gnu dot org 2008-04-16 21:07 -------
Fixed on 4.4 and 4.3
Thanks for the report
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35932
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-16 21:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-14 15:24 [Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg dick dot hendrickson at gmail dot com
2008-04-14 16:22 ` [Bug fortran/35932] [4.3/4.4 Regression] ICE: " burnus at gcc dot gnu dot org
2008-04-14 19:21 ` tkoenig at gcc dot gnu dot org
2008-04-15 9:27 ` jakub at gcc dot gnu dot org
2008-04-16 20:54 ` pault at gcc dot gnu dot org
2008-04-16 21:04 ` pault at gcc dot gnu dot org
2008-04-16 21:08 ` pault at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).