public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)
       [not found] <bug-23675-6934@http.gcc.gnu.org/bugzilla/>
@ 2005-12-30 22:44 ` eedelman at gcc dot gnu dot org
  2006-01-04 20:41 ` eedelman at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2005-12-30 22:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from eedelman at gcc dot gnu dot org  2005-12-30 22:44 -------
The testcase compiles without error messages in 4.2.0 20051230 (I haven't tried
with 4.1 or 4.0 yet).  However, if I try to use IntToChar2 from another program
unit, I get another error, so there's still a bug somewhere.  E.g. for the
program

----------------
program test

    use cutils

    implicit none
    character(25) :: str

    str = IntToChar2(3)

end program test
--------------------

I get

erik:/home/gcc/head/test$ gfortran 23675.f90 
23675.f90: In function 'MAIN__':
23675.f90:22: internal compiler error: in gfc_get_symbol_decl, at
fortran/trans-decl.c:819

Possible workaround at the moment:  Declare maxStringLength to be a PARAMETER


-- 

eedelman at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eedelman at gcc dot gnu dot
                   |                            |org
         AssignedTo|unassigned at gcc dot gnu   |eedelman at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)
       [not found] <bug-23675-6934@http.gcc.gnu.org/bugzilla/>
  2005-12-30 22:44 ` [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation) eedelman at gcc dot gnu dot org
@ 2006-01-04 20:41 ` eedelman at gcc dot gnu dot org
  2006-01-05  0:22 ` eedelman at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2006-01-04 20:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from eedelman at gcc dot gnu dot org  2006-01-04 20:41 -------
Patch here: http://gcc.gnu.org/ml/gcc-patches/2006-01/msg00079.html


-- 


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)
       [not found] <bug-23675-6934@http.gcc.gnu.org/bugzilla/>
  2005-12-30 22:44 ` [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation) eedelman at gcc dot gnu dot org
  2006-01-04 20:41 ` eedelman at gcc dot gnu dot org
@ 2006-01-05  0:22 ` eedelman at gcc dot gnu dot org
  2006-01-05 21:10 ` eedelman at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2006-01-05  0:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from eedelman at gcc dot gnu dot org  2006-01-05 00:22 -------
Subject: Bug 23675

Author: eedelman
Date: Thu Jan  5 00:22:39 2006
New Revision: 109368

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109368
Log:
2006-01-05  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/23675
        * expr.c (gfc_expr_set_symbols_referenced): New function.
        * gfortran.h: Add a function prototype for it.
        * resolve.c (resolve_function): Use it for
        use associated character functions lengths.
        * expr.c, gfortran.h, resolve.c: Updated copyright years.


testsuite/
2006-01-05  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/23675
        gfortran.dg/char_result_11.f90: New.



Added:
    trunk/gcc/testsuite/gfortran.dg/char_result_11.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)
       [not found] <bug-23675-6934@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-01-05  0:22 ` eedelman at gcc dot gnu dot org
@ 2006-01-05 21:10 ` eedelman at gcc dot gnu dot org
  2006-01-05 21:17 ` eedelman at gcc dot gnu dot org
  2006-01-28 21:21 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2006-01-05 21:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from eedelman at gcc dot gnu dot org  2006-01-05 21:10 -------
Subject: Bug 23675

Author: eedelman
Date: Thu Jan  5 21:10:05 2006
New Revision: 109389

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109389
Log:
fortran/
2006-01-05  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/23675
        * expr.c (gfc_expr_set_symbols_referenced): New function.
        * gfortran.h: Add a function prototype for it.
        * resolve.c (resolve_function): Use it for use associated character 
        functions lengths.
        * expr.c, gfortran.h, resolve.c: Updated copyright years.

testsuite/
2006-01-05  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/23675
        gfortran.dg/char_result_11.f90: New.



Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90
      - copied unchanged from r109368,
trunk/gcc/testsuite/gfortran.dg/char_result_11.f90
Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/expr.c
    branches/gcc-4_1-branch/gcc/fortran/gfortran.h
    branches/gcc-4_1-branch/gcc/fortran/resolve.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)
       [not found] <bug-23675-6934@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-01-05 21:10 ` eedelman at gcc dot gnu dot org
@ 2006-01-05 21:17 ` eedelman at gcc dot gnu dot org
  2006-01-28 21:21 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2006-01-05 21:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from eedelman at gcc dot gnu dot org  2006-01-05 21:17 -------
Fixed on 4.1 and mainline,


-- 

eedelman at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)
       [not found] <bug-23675-6934@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2006-01-05 21:17 ` eedelman at gcc dot gnu dot org
@ 2006-01-28 21:21 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-28 21:21 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation)
  2005-09-01  9:45 [Bug fortran/23675] New: " thomas dot lavergne at jrc dot it
@ 2005-09-04 20:45 ` fxcoudert at gcc dot gnu dot org
  0 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-04 20:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-04 20:45 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-04 20:45:40
               date|                            |


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-01-28 21:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23675-6934@http.gcc.gnu.org/bugzilla/>
2005-12-30 22:44 ` [Bug fortran/23675] ICE in gfc_finish_var_decl (string manipulation) eedelman at gcc dot gnu dot org
2006-01-04 20:41 ` eedelman at gcc dot gnu dot org
2006-01-05  0:22 ` eedelman at gcc dot gnu dot org
2006-01-05 21:10 ` eedelman at gcc dot gnu dot org
2006-01-05 21:17 ` eedelman at gcc dot gnu dot org
2006-01-28 21:21 ` pinskia at gcc dot gnu dot org
2005-09-01  9:45 [Bug fortran/23675] New: " thomas dot lavergne at jrc dot it
2005-09-04 20:45 ` [Bug fortran/23675] " fxcoudert 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).