This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40472] Simplification of spread intrinsic takes a long time
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2010 12:14:53 -0000
- Subject: [Bug fortran/40472] Simplification of spread intrinsic takes a long time
- References: <bug-40472-17820@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from dominiq at lps dot ens dot fr 2010-05-01 12:14 -------
> Undoing the changes of comments #7, #12 and #16, I now (with splay-tree
> constructors get):
> ...
> Dominique, could you apply this patch and check whether you still get an ICE?
Without undoing the changes but with the patch in comment #23, the ICE with the
test in comment #21 is gone. Timing without the patch for the test in comment
#0:
[macbook] f90/bug% time gfcp pr40472.f90
0.035u 0.042s 0:00.99 7.0% 0+0k 29+4io 0pf+0w
after the patch:
[macbook] f90/bug% time gfc pr40472.f90
2.247u 0.319s 0:02.60 98.0% 0+0k 0+8io 0pf+0w
[macbook] f90/bug% time gfc pr40472_1.f90
3.371u 0.318s 0:03.75 98.1% 0+0k 0+12io 0pf+0w
[macbook] f90/bug% a.out
259200 720.00000
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40472