This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52473] CSHIFT slow - inline it?
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Mar 2018 14:01:14 +0000
- Subject: [Bug fortran/52473] CSHIFT slow - inline it?
- Auto-submitted: auto-generated
- References: <bug-52473-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52473
--- Comment #17 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Large-scale cshift is OK now.
The original test case, or inlining something like
b = cshift(a,-1) - 2*a + cshift(a,1)
to efficiently calculate a second derivative on a circular array would be
quite nice.