public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
@ 2004-06-13 9:23 ` pinskia at gcc dot gnu dot org
2004-06-22 14:45 ` tobi at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-13 9:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-13 09:23 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2004-06-13 09:23:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
2004-06-13 9:23 ` [Bug fortran/15959] ICE and assertion failure in trans-decl.c pinskia at gcc dot gnu dot org
@ 2004-06-22 14:45 ` tobi at gcc dot gnu dot org
2004-06-22 14:48 ` tobi at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-22 14:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-22 14:45 -------
The problem is that the character length of mname is not set. The compiler then
chooses an interesting route, leading to the ICE. This should be fixed in resolve.c.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
2004-06-13 9:23 ` [Bug fortran/15959] ICE and assertion failure in trans-decl.c pinskia at gcc dot gnu dot org
2004-06-22 14:45 ` tobi at gcc dot gnu dot org
@ 2004-06-22 14:48 ` tobi at gcc dot gnu dot org
2004-09-21 13:21 ` [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-22 14:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-22 14:48 -------
*** Bug 15956 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
` (2 preceding siblings ...)
2004-06-22 14:48 ` tobi at gcc dot gnu dot org
@ 2004-09-21 13:21 ` pinskia at gcc dot gnu dot org
2005-03-01 20:18 ` tobi at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-21 13:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-21 13:21 -------
*** Bug 17579 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at hep dot tu-
| |darmstadt dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
` (3 preceding siblings ...)
2004-09-21 13:21 ` [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization pinskia at gcc dot gnu dot org
@ 2005-03-01 20:18 ` tobi at gcc dot gnu dot org
2005-03-01 20:32 ` tobi at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 10+ 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 -------
*** Bug 19576 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |coudert at clipper dot ens
| |dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
` (4 preceding siblings ...)
2005-03-01 20:18 ` tobi at gcc dot gnu dot org
@ 2005-03-01 20:32 ` tobi at gcc dot gnu dot org
2005-04-05 8:55 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-03-01 20:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2005-03-01 20:31 -------
Reduced testcase:
character(*), parameter :: y(1:1) = (/'0'/)
print *,y
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
` (5 preceding siblings ...)
2005-03-01 20:32 ` tobi at gcc dot gnu dot org
@ 2005-04-05 8:55 ` cvs-commit at gcc dot gnu dot org
2005-04-05 9:04 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-05 8:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-05 08:55 -------
Subject: Bug 15959
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: fengwang@gcc.gnu.org 2005-04-05 08:54:50
Modified files:
gcc/fortran : array.c decl.c match.h
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gfortran.dg: pr15959.f90 string_pad_trunc.f90
Log message:
2005-04-05 Feng Wang <fengwang@nudt.edu.cn>
PR fortran/15959
PR fortran/20713
* array.c (resolve_character_array_constructor): New function. Set
constant character array's character length.
(gfc_resolve_array_constructor): Use it.
* decl.c (add_init_expr_to_sym): Set symbol and initializer character
length.
(gfc_set_constant_character_len): New function. Set constant character
expression according the given length.
* match.h (gfc_set_constant_character_len): Add prototype.
2005-04-05 Feng Wang <fengwang@nudt.edu.cn>
* gfortran.dg/pr15959.f90: New test.
* gfortran.dg/string_pad_trunc.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/array.c.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gcc&r1=1.33&r2=1.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/match.h.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5282&r2=1.5283
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr15959.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/string_pad_trunc.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
` (6 preceding siblings ...)
2005-04-05 8:55 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-05 9:04 ` cvs-commit at gcc dot gnu dot org
2005-04-05 13:26 ` pinskia at gcc dot gnu dot org
2005-04-06 9:55 ` reichelt at gcc dot gnu dot org
9 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-05 9:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-05 09:04 -------
Subject: Bug 15959
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: fengwang@gcc.gnu.org 2005-04-05 09:03:51
Modified files:
gcc/fortran : array.c decl.c match.h
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gfortran.dg: pr15959.f90 string_pad_trunc.f90
Log message:
2005-04-05 Feng Wang <fengwang@nudt.edu.cn>
PR fortran/15959
PR fortran/20713
* array.c (resolve_character_array_constructor): New function. Set
constant character array's character length.
(gfc_resolve_array_constructor): Use it.
* decl.c (add_init_expr_to_sym): Set symbol and initializer character
length.
(gfc_set_constant_character_len): New function. Set constant character
expression according the given length.
* match.h (gfc_set_constant_character_len): Add prototype.
2005-04-05 Feng Wang <fengwang@nudt.edu.cn>
* gfortran.dg/pr15959.f90: New test.
* gfortran.dg/string_pad_trunc.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/array.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.13&r2=1.13.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.31&r2=1.31.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/match.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.10&r2=1.10.36.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.100&r2=1.5084.2.101
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr15959.f90.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/string_pad_trunc.f90.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
` (7 preceding siblings ...)
2005-04-05 9:04 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-05 13:26 ` pinskia at gcc dot gnu dot org
2005-04-06 9:55 ` reichelt at gcc dot gnu dot org
9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-05 13:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-05 13:25 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
` (8 preceding siblings ...)
2005-04-05 13:26 ` pinskia at gcc dot gnu dot org
@ 2005-04-06 9:55 ` reichelt at gcc dot gnu dot org
9 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-04-06 9:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-06 09:55 -------
*** Bug 20279 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15959
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-04-06 9:55 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20040612130024.15959.Mart.Rentmeester@nn-online.org>
2004-06-13 9:23 ` [Bug fortran/15959] ICE and assertion failure in trans-decl.c pinskia at gcc dot gnu dot org
2004-06-22 14:45 ` tobi at gcc dot gnu dot org
2004-06-22 14:48 ` tobi at gcc dot gnu dot org
2004-09-21 13:21 ` [Bug fortran/15959] ICE and assertion failure in trans-decl.c with character initialization pinskia at gcc dot gnu dot org
2005-03-01 20:18 ` tobi at gcc dot gnu dot org
2005-03-01 20:32 ` tobi at gcc dot gnu dot org
2005-04-05 8:55 ` cvs-commit at gcc dot gnu dot org
2005-04-05 9:04 ` cvs-commit at gcc dot gnu dot org
2005-04-05 13:26 ` pinskia at gcc dot gnu dot org
2005-04-06 9:55 ` reichelt 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).