* [Bug fortran/18109] [gfortran] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
@ 2004-10-22 13:32 ` martin at mpa-garching dot mpg dot de
2004-10-22 13:42 ` [Bug fortran/18109] " pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: martin at mpa-garching dot mpg dot de @ 2004-10-22 13:32 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin at mpa-garching dot
| |mpg dot de
Keywords| |ice-on-valid-code
Known to fail| |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/18109] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
2004-10-22 13:32 ` [Bug fortran/18109] " martin at mpa-garching dot mpg dot de
@ 2004-10-22 13:42 ` pinskia at gcc dot gnu dot org
2004-10-22 13:45 ` martin at mpa-garching dot mpg dot de
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-22 13:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-22 13:42 -------
Confirmed, I thought I saw something like this before.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-10-22 13:42:47
date| |
Summary|[gfortran] ICE with explicit|ICE with explicit array of
|array of strings |strings
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/18109] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
2004-10-22 13:32 ` [Bug fortran/18109] " martin at mpa-garching dot mpg dot de
2004-10-22 13:42 ` [Bug fortran/18109] " pinskia at gcc dot gnu dot org
@ 2004-10-22 13:45 ` martin at mpa-garching dot mpg dot de
2005-02-15 6:15 ` cvs-commit at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: martin at mpa-garching dot mpg dot de @ 2004-10-22 13:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From martin at mpa-garching dot mpg dot de 2004-10-22 13:45 -------
Maybe you are thinking of
http://gcc.gnu.org/ml/fortran/2004-10/msg00172.html
But that wasn't a segfault.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/18109] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
` (2 preceding siblings ...)
2004-10-22 13:45 ` martin at mpa-garching dot mpg dot de
@ 2005-02-15 6:15 ` cvs-commit at gcc dot gnu dot org
2005-02-17 13:05 ` dalej at apple dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-15 6:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-14 23:24 -------
Subject: Bug 18109
CVSROOT: /cvs/gcc
Module name: gcc
Branch: apple-gcc_os_35-branch
Changes by: dalej@gcc.gnu.org 2005-02-14 23:24:52
Modified files:
gcc : ChangeLog.apple-ppc
gcc/config/i386: i386.md
Log message:
2005-02-14 Dale Johannesen <dalej@apple.com>
Radar 4003603
PR 18109
(Same as 3838108/3876378 in 4.0.)
* config/i386/i386.md (movqi_1): Don't use 4-byte load when unsafe.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-gcc_os_35-branch&r1=1.1.2.190.2.16&r2=1.1.2.190.2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&only_with_tag=apple-gcc_os_35-branch&r1=1.374.2.42.2.5&r2=1.374.2.42.2.5.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/18109] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
` (3 preceding siblings ...)
2005-02-15 6:15 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-17 13:05 ` dalej at apple dot com
2005-02-17 13:15 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dalej at apple dot com @ 2005-02-17 13:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dalej at apple dot com 2005-02-17 01:45 -------
Please ignore comment #3, I had the bug number wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/18109] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
` (4 preceding siblings ...)
2005-02-17 13:05 ` dalej at apple dot com
@ 2005-02-17 13:15 ` cvs-commit at gcc dot gnu dot org
2005-05-31 17:20 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-17 13:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-17 01:56 -------
Subject: Bug 18109
CVSROOT: /cvs/gcc
Module name: gcc
Branch: apple-ppc-branch
Changes by: dalej@gcc.gnu.org 2005-02-17 01:56:12
Modified files:
gcc : ChangeLog.apple-ppc cse.c simplify-rtx.c
recog.c basic-block.h
gcc/config/i386: i386.md
Log message:
2005-02-16 Dale Johannesen <dalej@apple.com>
Radar 4006687
PR 17767 et al (fix from mainline)
* cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt
any simplifications of vector mode comparison operators.
* simplify-rtx.c (simplify_relational_operation): Fix variable name.
2005-02-15 Dale Johannesen <dalej@apple.com>
Radar 3991611
Radar 3990578
PRs 19084 and 19348 (fix from mainline)
* recog.c (peephole2_optimize): Do global life update if some peephole
decides it doesn't need at least one of its inputs and that change
influences liveness at the start of the basic block.
* basic-block.h (EXECUTE_IF_AND_COMPL_IN_REG_SET): Needs 2 REGSET
arguments instead of 1.
2005-02-15 Dale Johannesen <dalej@apple.com>
Radar 3876378
Radar 3838108
PR 18109 (fix from mainline)
* config/i386/i386.md (movhi_1): Remove previous attempt at a fix.
(movqi_1): Ditto. Don't use 4-byte load when unsafe.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.2.308&r2=1.1.2.309
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.229.2.32.2.13&r2=1.229.2.32.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.107.2.31.2.11&r2=1.107.2.31.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/recog.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.159.2.24.2.8&r2=1.159.2.24.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/basic-block.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.153.2.48.2.10&r2=1.153.2.48.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.374.2.42.2.7&r2=1.374.2.42.2.8
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/18109] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
` (5 preceding siblings ...)
2005-02-17 13:15 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-31 17:20 ` cvs-commit at gcc dot gnu dot org
2005-06-05 9:02 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-31 17:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-31 17:19 -------
Subject: Bug 18109
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pault@gcc.gnu.org 2005-05-31 17:19:12
Modified files:
gcc/fortran : ChangeLog trans-array.c trans-expr.c
Log message:
2005-05-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/18109
PR fortran/18283
PR fortran/19107
* fortran/trans-array.c (gfc_conv_expr_descriptor): Obtain the
string length from the expression typespec character length value
and set temp_ss->stringlength and backend_decl. Obtain the
tree expression from gfc_conv_expr rather than gfc_conv_expr_val.
Dereference the expression to obtain the character.
* fortran/trans-expr.c (gfc_conv_component_ref): Remove the
dereference of scalar character pointer structure components.
* fortran/trans-expr.c (gfc_trans_subarray_assign): Obtain the
string length for the structure component from the component
expression.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.444&r2=1.445
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.c.diff?cvsroot=gcc&r1=1.46&r2=1.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gcc&r1=1.47&r2=1.48
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/18109] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
` (6 preceding siblings ...)
2005-05-31 17:20 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-05 9:02 ` cvs-commit at gcc dot gnu dot org
2005-06-05 22:39 ` pault at gcc dot gnu dot org
2005-06-05 22:42 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-05 9:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-05 08:59 -------
Subject: Bug 18109
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: pault@gcc.gnu.org 2005-06-05 08:59:18
Modified files:
gcc/fortran : ChangeLog trans-array.c trans-expr.c
Log message:
005-05-31 Paul Thomas <pault@gcc.gnu.org>
PR fortran/18109
PR fortran/18283
PR fortran/19107
PR fortran/16939
PR fortran/17192
PR fortran/17193
PR fortran/17202
PR fortran/18689
PR fortran/18890
* fortran/trans-array.c (gfc_conv_expr_descriptor): Obtain the
string length from the expression typespec character length value
and set temp_ss->stringlength and backend_decl. Obtain the
tree expression from gfc_conv_expr rather than gfc_conv_expr_val.
Dereference the expression to obtain the character.
* fortran/trans-array.c (gfc_conv_resolve_dependencies): Add string
length to temp_ss for character pointer array assignments.
* fortran/trans-expr.c (gfc_conv_component_ref): Remove the
dereference of scalar character pointer structure components.
* fortran/trans-expr.c (gfc_trans_subarray_assign): Obtain the
string length for the structure component from the component
expression.
* fortran/trans-expr.c (gfc_conv_variable): Correct errors in
dereferencing of characters and character pointers.
* fortran/trans-expr.c (gfc_conv_function_call): Provide string
length as return argument for various kinds of handling of return.
Return a char[]* temporary for character pointer functions and
dereference the temporary upon return.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.66&r2=1.335.2.67
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.39.2.3&r2=1.39.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.38.2.4&r2=1.38.2.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/18109] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
` (7 preceding siblings ...)
2005-06-05 9:02 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-05 22:39 ` pault at gcc dot gnu dot org
2005-06-05 22:42 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pault at gcc dot gnu dot org @ 2005-06-05 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pault at gcc dot gnu dot org 2005-06-05 22:39 -------
Fixed in 4.0 and 4.1
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/18109] ICE with explicit array of strings
2004-10-22 13:31 [Bug fortran/18109] New: [gfortran] ICE with explicit array of strings martin at mpa-garching dot mpg dot de
` (8 preceding siblings ...)
2005-06-05 22:39 ` pault at gcc dot gnu dot org
@ 2005-06-05 22:42 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05 22:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18109
^ permalink raw reply [flat|nested] 11+ messages in thread