[Bug fortran/21877] internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:165

2006-04-17 Thread pault at gcc dot gnu dot org


--- Comment #6 from pault at gcc dot gnu dot org  2006-04-17 15:35 ---
This one now gives:
Error: 's' at (1) must have constant character length in this context
on trunk and 4.1

Fixed - thanks, Philippe!

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=21877



[Bug fortran/21877] internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:165

2005-06-06 Thread fxcoudert at gcc dot gnu dot org

--- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-06 
10:20 ---
Philippe sent me his code. Proper reduction showed that his initial bug is PR
17911. I leave this PR open for the following bug:

$ cat a-stripped.f90 
  module foo
  character(len=l) :: s
  contains
  end module foo
$ gfortran a-stripped.f90 
a-stripped.f90:0: internal compiler error: in lhd_set_decl_assembler_name, at
langhooks.c:165

-- 
   What|Removed |Added

   Last reconfirmed|2005-06-02 11:41:45 |2005-06-06 10:20:28
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21877


[Bug fortran/21877] internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:165

2005-06-06 Thread fxcoudert at gcc dot gnu dot org

--- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-06 
10:21 ---
I messed up comment #4: the PR for the original bug is PR 19546.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21877


[Bug fortran/21877] internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:165

2005-06-02 Thread fxcoudert at gcc dot gnu dot org

--- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-02 
11:41 ---
Thanks for reporting! Here is a reduction of your bug (gfortran-20050602 on
i386-linux):

$ cat a-stripped.f90 
  module foo
  character(len=l) :: s
  contains
  end module foo
$ gfortran a-stripped.f90 
a-stripped.f90:0: internal compiler error: in lhd_set_decl_assembler_name, at
langhooks.c:165

The internal compiler error is a bug in gfortran. Meanwhile, I don't understand
how your code (file module_io) is supposed to work: bufferString is declared as
  CHARACTER ( LEN = Input_String_Length )::   bufferString
but Input_String_Length is not declared!

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Keywords||ice-on-invalid-code
   Last reconfirmed|-00-00 00:00:00 |2005-06-02 11:41:45
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21877


[Bug fortran/21877] internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:165

2005-06-02 Thread P dot Schaffnit at access dot rwth-aachen dot de

--- Additional Comments From P dot Schaffnit at access dot rwth-aachen dot 
de  2005-06-02 11:51 ---
Subject: Re:  internal compiler error:
 inlhd_set_decl_assembler_name, at langhooks.c:165


Hi!

Erm... I just removed as much as possible to avoid having too much code
(from 1173 to 230 lines), but I just tried to avoid syntax errors and
stuff like that, I didn't even attempt to still have something
meaningful... Input_String_Length should actually be imported from
(yet) another module: I didn't mean to leave it unitialised: would it
change something? (for the record I think it's set to 250).

The whole thing is definitly  a bit tortured, but this can happen when
some code has been growing a lot organically... 

Thanks!

Philippe

fxcoudert at gcc dot gnu dot org wrote:
 
 --- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-02 
 11:41 ---
 Thanks for reporting! Here is a reduction of your bug (gfortran-20050602 on
 i386-linux):
 
 $ cat a-stripped.f90
   module foo
   character(len=l) :: s
   contains
   end module foo
 $ gfortran a-stripped.f90
 a-stripped.f90:0: internal compiler error: in lhd_set_decl_assembler_name, at
 langhooks.c:165
 
 The internal compiler error is a bug in gfortran. Meanwhile, I don't 
 understand
 how your code (file module_io) is supposed to work: bufferString is declared 
 as
   CHARACTER ( LEN = Input_String_Length )::   bufferString
 but Input_String_Length is not declared!
 
 --
What|Removed |Added
 
  Status|UNCONFIRMED |NEW
  Ever Confirmed||1
Keywords||ice-on-invalid-code
Last reconfirmed|-00-00 00:00:00 |2005-06-02 11:41:45
date||
 
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21877
 
 --- You are receiving this mail because: ---
 You reported the bug, or are watching the reporter.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21877


[Bug fortran/21877] internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:165

2005-06-02 Thread fxcoudert at gcc dot gnu dot org

--- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-02 
13:21 ---
I think you are seeing two different errors: one with your full code, and one
with your reduced testcase. Perhaps the best thing would be for you to send me
(via private mail) your code so that I can reduce it to the spot the original 
bug.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21877