public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19576] New: [ICE] achar in initialization
@ 2005-01-22 12:15 coudert at clipper dot ens dot fr
2005-01-22 13:30 ` [Bug fortran/19576] " Thomas dot Koenig at online dot de
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: coudert at clipper dot ens dot fr @ 2005-01-22 12:15 UTC (permalink / raw)
To: gcc-bugs
The following code:
program achar_test
implicit none
integer i
character(*), parameter :: y(0:31) = (/(achar(i),i=64,95)/)
write(*,*) y
end program achar_test
causes ICE on i686-mingw and powerpc-apple-darwin:
$ gfortran achar_test.f90
achar_test.f90: In function 'MAIN__':
achar_test.f90:5: internal compiler error: in gfc_get_symbol_decl, at
fortran/trans-decl.c:827
--
Summary: [ICE] achar in initialization
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: coudert at clipper dot ens dot fr
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19576
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/19576] [ICE] achar in initialization
2005-01-22 12:15 [Bug fortran/19576] New: [ICE] achar in initialization coudert at clipper dot ens dot fr
@ 2005-01-22 13:30 ` Thomas dot Koenig at online dot de
2005-01-22 13:34 ` [Bug fortran/19576] " ebotcazou at gcc dot gnu dot org
2005-03-01 20:18 ` [Bug fortran/19576] character(*) initialization tobi at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: Thomas dot Koenig at online dot de @ 2005-01-22 13:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From Thomas dot Koenig at online dot de 2005-01-22 13:30 -------
Same thing on i686-pc-linux-gnu.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19576
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/19576] achar in initialization
2005-01-22 12:15 [Bug fortran/19576] New: [ICE] achar in initialization coudert at clipper dot ens dot fr
2005-01-22 13:30 ` [Bug fortran/19576] " Thomas dot Koenig at online dot de
@ 2005-01-22 13:34 ` ebotcazou at gcc dot gnu dot org
2005-03-01 20:18 ` [Bug fortran/19576] character(*) initialization tobi at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-22 13:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-01-22 13:32 -------
Please don't put ICE in the summary.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-01-22 13:32:02
date| |
Summary|[ICE] achar in |achar in initialization
|initialization |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19576
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/19576] character(*) initialization
2005-01-22 12:15 [Bug fortran/19576] New: [ICE] achar in initialization coudert at clipper dot ens dot fr
2005-01-22 13:30 ` [Bug fortran/19576] " Thomas dot Koenig at online dot de
2005-01-22 13:34 ` [Bug fortran/19576] " ebotcazou at gcc dot gnu dot org
@ 2005-03-01 20:18 ` tobi at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-03-01 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2005-03-01 20:17 -------
Reduced testcase:
program achar_test
implicit none
integer i
character(*), parameter :: y(0:1) = (/'0','1'/)
write(*,*) y
end program achar_test
This has nothing to do with ACHAR, and is the same issue as PR15959.
*** This bug has been marked as a duplicate of 15959 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
Summary|achar in initialization |character(*) initialization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19576
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-01 20:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-22 12:15 [Bug fortran/19576] New: [ICE] achar in initialization coudert at clipper dot ens dot fr
2005-01-22 13:30 ` [Bug fortran/19576] " Thomas dot Koenig at online dot de
2005-01-22 13:34 ` [Bug fortran/19576] " ebotcazou at gcc dot gnu dot org
2005-03-01 20:18 ` [Bug fortran/19576] character(*) initialization tobi 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).