This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: inline fortran module functions
- From: Bud Davis <bdavis9659 at sbcglobal dot net>
- To: Sa Liu <SALIU at de dot ibm dot com>, Fortran List <fortran at gcc dot gnu dot org>
- Date: Tue, 24 Jun 2008 13:03:33 -0700 (PDT)
- Subject: Re: inline fortran module functions
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=w1be8WG0gynyEiQS4SO4I8OyU5XhWFsNHa7yhmd/oqHS8S+8+8sJi3+KKWXsxgA3MHyjjtMg21ZzE+FsZnKZOnleehvFWYeUuCiwC3XtkDVgCKG6AQQzuPUwPYynWv2imcQQeDDvyCDwHZgaXo9mGfTfU79r9BJ+HL/eMs41SCM=;
--- Sa Liu <SALIU@de.ibm.com> wrote:
> I have defined a tiny function A in module B. In user program I used
> module B and called function A.
> Then I always get a branch to funciton __B_MOD_A.
> Is that possible to get the module function inlined in user program?
>
> Thanks!
> Sa
>
read this bug report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29648
it should explain they how's and the why not's...
--bud