This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: IPA branch
- From: Canqun Yang <canqun at nudt dot edu dot cn>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Michael Matz <matz at suse dot de>, Steven Bosscher <stevenb at suse dot de>,Paul Brook <paul at codesourcery dot com>, fortran at gcc dot gnu dot org,gcc at gcc dot gnu dot org
- Date: Sat, 6 Aug 2005 09:24:01 +0800 (HKT)
- Subject: Re: IPA branch
- References: <20050720143531.A56FA53C536@ds20.nudt.edu.cn> <200507201622.54155.paul@codesourcery.com> <200507201757.55680.stevenb@suse.de> <Pine.LNX.4.58.0507221604210.6900@wotan.suse.de>
- Reply-to: Canqun Yang <canqun at nudt dot edu dot cn>
Hi,
Patch from Michael Matz (http://gcc.gnu.org/ml/fortran/2005-07/msg00331.html) may partly fixes
the multiple decls problems.
I've tested and tuned this patch. It works, small functions can be inlined after DECL_INLINE
flags (build_function_decl in trans-decl.c) have been set for them. The only regression is
FORTRAN 95 testcase function_modulo_1.f90, it produces a wong result.
Canqun Yang
Creative Compiler Research Group.
National University of Defense Technology, China.