public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/23634] tempary array of character ICE with non constant size
[not found] <bug-23634-11265@http.gcc.gnu.org/bugzilla/>
@ 2006-01-02 3:11 ` pinskia at gcc dot gnu dot org
2006-01-02 3:12 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-02 3:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-02 03:11 -------
Another testcase:
subroutine option_stopwatch_s(n)
integer :: n
character(len=1) :: default_clock
call option_stopwatch_a((/default_clock/))
end subroutine option_stopwatch_s
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|internal compiler error: in |tempary array of character
|gfc_conv_expr_descriptor |ICE with non constant size
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23634
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/23634] tempary array of character ICE with non constant size
[not found] <bug-23634-11265@http.gcc.gnu.org/bugzilla/>
2006-01-02 3:11 ` [Bug fortran/23634] tempary array of character ICE with non constant size pinskia at gcc dot gnu dot org
@ 2006-01-02 3:12 ` pinskia at gcc dot gnu dot org
2006-02-01 1:43 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-02 3:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-01-02 03:12 -------
(In reply to comment #3)
> Another testcase:
Ignore that one.
The correct one is:
subroutine option_stopwatch_s(n)
integer :: n
character(len=n) :: default_clock
call option_stopwatch_a((/default_clock/))
end subroutine option_stopwatch_s
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23634
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/23634] tempary array of character ICE with non constant size
[not found] <bug-23634-11265@http.gcc.gnu.org/bugzilla/>
2006-01-02 3:11 ` [Bug fortran/23634] tempary array of character ICE with non constant size pinskia at gcc dot gnu dot org
2006-01-02 3:12 ` pinskia at gcc dot gnu dot org
@ 2006-02-01 1:43 ` pinskia at gcc dot gnu dot org
2006-02-01 1:48 ` hjl at lucon dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-01 1:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-02-01 01:43 -------
*** Bug 26057 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl at lucon dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23634
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/23634] tempary array of character ICE with non constant size
[not found] <bug-23634-11265@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-02-01 1:43 ` pinskia at gcc dot gnu dot org
@ 2006-02-01 1:48 ` hjl at lucon dot org
2006-04-05 4:47 ` [Bug fortran/23634] temporary " hjl at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: hjl at lucon dot org @ 2006-02-01 1:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from hjl at lucon dot org 2006-02-01 01:48 -------
I saw
Starting program: /export/build/gnu/gcc-fortran/build-x86_64-linux/gcc/f951
foo.f90 -quiet -dumpbase foo.f90 -mtune=generic -auxbase foo -version -o foo.s
GNU F95 version 4.2.0 20060131 (experimental) [trunk revision 110440 clean]
(x86_64-unknown-linux-gnu)
compiled by GNU C version 4.2.0 20060131 (experimental) [trunk revision
110440 clean].
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Breakpoint 1, gfc_conv_expr_descriptor (se=0x7fbffff110, expr=0xb69130,
ss=0xb692f0)
at /net/gnu-13/export/gnu/src/gcc/gcc/gcc/fortran/trans-array.c:3918
3918 loop.temp_ss->string_length = gfc_conv_mpz_to_tree
(gdb) p *expr->ts.cl
$14 = {length = 0x0, next = 0x0, backend_decl = 0x2a983f3640, resolved = 1}
(gdb)
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2006-01-27 20:41:30 |2006-02-01 01:48:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23634
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/23634] temporary array of character ICE with non constant size
[not found] <bug-23634-11265@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-02-01 1:48 ` hjl at lucon dot org
@ 2006-04-05 4:47 ` hjl at gcc dot gnu dot org
2006-04-12 20:58 ` hjl at gcc dot gnu dot org
2006-04-17 15:32 ` pault at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu dot org @ 2006-04-05 4:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from hjl at gcc dot gnu dot org 2006-04-05 04:47 -------
Subject: Bug 23634
Author: hjl
Date: Wed Apr 5 04:47:51 2006
New Revision: 112695
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112695
Log:
gcc/fortran/
2006-04-04 H.J. Lu <hongjiu.lu@intel.com>
PR fortran/25619
* trans-array.c (gfc_conv_expr_descriptor): Only dereference
character pointer when copying temporary.
PR fortran/23634
* trans-array.c (gfc_conv_expr_descriptor): Properly copy
temporary character with non constant size.
gcc/testsuite/
2006-04-04 Paul Thomas <pault@gcc.gnu.org>
PR fortran/23634
PR fortran/25619
* gfortran.dg/actual_array_constructor_1.f90: New testcase.
Added:
trunk/gcc/testsuite/gfortran.dg/actual_array_constructor_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23634
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/23634] temporary array of character ICE with non constant size
[not found] <bug-23634-11265@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2006-04-05 4:47 ` [Bug fortran/23634] temporary " hjl at gcc dot gnu dot org
@ 2006-04-12 20:58 ` hjl at gcc dot gnu dot org
2006-04-17 15:32 ` pault at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu dot org @ 2006-04-12 20:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from hjl at gcc dot gnu dot org 2006-04-12 20:58 -------
Subject: Bug 23634
Author: hjl
Date: Wed Apr 12 20:58:04 2006
New Revision: 112899
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112899
Log:
gcc/fortran/
2006-04-12 H.J. Lu <hongjiu.lu@intel.com>
PR fortran/25619
Backport from mainline
2006-04-04 H.J. Lu <hongjiu.lu@intel.com>
* trans-array.c (gfc_conv_expr_descriptor): Only dereference
character pointer when copying temporary.
PR fortran/23634
Backport from mainline
2006-04-04 H.J. Lu <hongjiu.lu@intel.com>
* trans-array.c (gfc_conv_expr_descriptor): Properly copy
temporary character with non constant size.
gcc/testsuite/
2006-04-12 H.J. Lu <hongjiu.lu@intel.com>
PR fortran/23634
PR fortran/25619
Backport from mainline
2006-04-04 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/actual_array_constructor_1.f90: New testcase.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/actual_array_constructor_1.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/trans-array.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23634
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/23634] temporary array of character ICE with non constant size
[not found] <bug-23634-11265@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2006-04-12 20:58 ` hjl at gcc dot gnu dot org
@ 2006-04-17 15:32 ` pault at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: pault at gcc dot gnu dot org @ 2006-04-17 15:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pault at gcc dot gnu dot org 2006-04-17 15:32 -------
HJ has fixed this one.
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=23634
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-04-17 15:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-23634-11265@http.gcc.gnu.org/bugzilla/>
2006-01-02 3:11 ` [Bug fortran/23634] tempary array of character ICE with non constant size pinskia at gcc dot gnu dot org
2006-01-02 3:12 ` pinskia at gcc dot gnu dot org
2006-02-01 1:43 ` pinskia at gcc dot gnu dot org
2006-02-01 1:48 ` hjl at lucon dot org
2006-04-05 4:47 ` [Bug fortran/23634] temporary " hjl at gcc dot gnu dot org
2006-04-12 20:58 ` hjl at gcc dot gnu dot org
2006-04-17 15:32 ` pault 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).