public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "toon at moene dot indiv dot nluug dot nl" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/13465] New: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour. Date: Mon, 22 Dec 2003 13:03:00 -0000 [thread overview] Message-ID: <20031222120317.13465.toon@moene.indiv.nluug.nl> (raw) This three line Fortran program (free format): DIMENSION A(100000) DATA A /100000*0.0 / END takes 48 minutes to compile on my 0.5 GHz G4 Powerbook. If I reduce the extent of the array by 1/10th, it takes 30 seconds. 1. This is far too slow. 2. There's quadratic behaviour in the algorithm. I think the integer computations to calculate offsets don't have to be done using GMP routines, but can be expressed using variables of the ssizetype_t type, just as in g77. The quadratic effect is probably caused by the use of the expression stack. I hope someone can suggest a better datastructure for this work. -- Summary: [gfortran] Data statement for large errors compiles verrrry slllowwwly and shows quadratic behaviour. Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot indiv dot nluug dot nl CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13465
next reply other threads:[~2003-12-22 12:03 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-12-22 13:03 toon at moene dot indiv dot nluug dot nl [this message] 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 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 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20031222120317.13465.toon@moene.indiv.nluug.nl \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).