* [Bug fortran/13465] [gfortran] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
@ 2003-12-22 13:51 ` toon at moene dot indiv dot nluug dot nl
2003-12-28 3:08 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: toon at moene dot indiv dot nluug dot nl @ 2003-12-22 13:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From toon at moene dot indiv dot nluug dot nl 2003-12-22 12:29 -------
Duh, fix "spelling" error in summary.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-12-22 12:29:11
date| |
Summary|[gfortran] Data statement |[gfortran] Data statement
|for large errors compiles |for large arrays compiles
|verrrry slllowwwly and shows|verrrry slllowwwly and shows
|quadratic behaviour. |quadratic behaviour.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13465] [gfortran] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
2003-12-22 13:51 ` [Bug fortran/13465] [gfortran] Data statement for large arrays " toon at moene dot indiv dot nluug dot nl
@ 2003-12-28 3:08 ` pinskia at gcc dot gnu dot org
2004-03-28 7:45 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-28 3:08 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |compile-time-hog
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13465] [gfortran] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
2003-12-22 13:51 ` [Bug fortran/13465] [gfortran] Data statement for large arrays " toon at moene dot indiv dot nluug dot nl
2003-12-28 3:08 ` pinskia at gcc dot gnu dot org
@ 2004-03-28 7:45 ` pinskia at gcc dot gnu dot org
2004-05-26 23:04 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-28 7:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-28 07:45 -------
Still a problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-12-22 12:29:11 |2004-03-28 07:45:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13465] [gfortran] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
` (2 preceding siblings ...)
2004-03-28 7:45 ` pinskia at gcc dot gnu dot org
@ 2004-05-26 23:04 ` pinskia at gcc dot gnu dot org
2004-06-04 13:02 ` tobi at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-26 23:04 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.5.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13465] [gfortran] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
` (3 preceding siblings ...)
2004-05-26 23:04 ` pinskia at gcc dot gnu dot org
@ 2004-06-04 13:02 ` tobi at gcc dot gnu dot org
2004-06-04 13:33 ` tobi at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-04 13:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-04 13:02 -------
The quadratic complexity comes from linearly traversing the list of data
initializers and then calling gfc_assign_data_value which in turn calls
gfc_insert_constructor. gfc_insert_constructor searches linearly through the
array until it finds the right place to insert the constructor. Hence we have
quadratic complexity.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13465] [gfortran] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
` (4 preceding siblings ...)
2004-06-04 13:02 ` tobi at gcc dot gnu dot org
@ 2004-06-04 13:33 ` tobi at gcc dot gnu dot org
2004-08-19 14:14 ` [Bug fortran/13465] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-04 13:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-04 13:33 -------
I meant find_con_by_offset, not gfc_insert_constructor.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13465] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
` (5 preceding siblings ...)
2004-06-04 13:33 ` tobi at gcc dot gnu dot org
@ 2004-08-19 14:14 ` pinskia at gcc dot gnu dot org
2004-08-23 21:53 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-19 14:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-19 14:13 -------
*** Bug 17097 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13465] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
` (6 preceding siblings ...)
2004-08-19 14:14 ` [Bug fortran/13465] " pinskia at gcc dot gnu dot org
@ 2004-08-23 21:53 ` cvs-commit at gcc dot gnu dot org
2004-08-23 22:05 ` rth at gcc dot gnu dot org
2004-08-23 22:07 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-23 21:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-23 21:53 -------
Subject: Bug 13465
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2004-08-23 21:53:15
Modified files:
gcc/fortran : ChangeLog data.c gfortran.h match.c resolve.c
Log message:
PR 13465
* data.c (find_con_by_offset): Search ordered list; handle
elements with repeat counts.
(gfc_assign_data_value_range): New.
* gfortran.h (struct gfc_data_value): Make repeat unsigned.
(gfc_assign_data_value_range): Declare.
* match.c (top_val_list): Extract repeat count into a temporary.
* resolve.c (values): Make left unsigned.
(next_data_value): Don't decrement left.
(check_data_variable): Use gfc_assign_data_value_range.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.161&r2=1.162
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/data.c.diff?cvsroot=gcc&r1=1.6&r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.h.diff?cvsroot=gcc&r1=1.25&r2=1.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/match.c.diff?cvsroot=gcc&r1=1.20&r2=1.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&r1=1.12&r2=1.13
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13465] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
` (7 preceding siblings ...)
2004-08-23 21:53 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-23 22:05 ` rth at gcc dot gnu dot org
2004-08-23 22:07 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-08-23 22:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-08-23 22:05 -------
Fixed, sortof. See caveats in http://gcc.gnu.org/ml/fortran/2004-08/msg00131.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/13465] Data statement for large arrays compiles verrrry slllowwwly and shows quadratic behaviour.
2003-12-22 13:03 [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour toon at moene dot indiv dot nluug dot nl
` (8 preceding siblings ...)
2004-08-23 22:05 ` rth at gcc dot gnu dot org
@ 2004-08-23 22:07 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-23 22:07 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
^ permalink raw reply [flat|nested] 11+ messages in thread