Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 19576
Product:  
Component:  
Status: RESOLVED
Resolution: DUPLICATE of bug 15959
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 19576 depends on: Show dependency tree
Show dependency graph
Bug 19576 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: 2005-01-22 13:32 Opened: 2005-01-22 12:15
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

------- Comment #1 From Thomas Koenig 2005-01-22 13:30 -------
Same thing on i686-pc-linux-gnu.

------- Comment #2 From Eric Botcazou 2005-01-22 13:32 -------
Please don't put ICE in the summary.

------- Comment #3 From Tobias Schlüter 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 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug