[Bug fortran/36251] PUBLIC and PRIVATE abuse

2008-05-18 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2008-05-18 11:11 --- Fixed on the trunk (4.4.0). Thanks for the patch. -- burnus at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/36251] PUBLIC and PRIVATE abuse

2008-05-18 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2008-05-18 11:10 --- Subject: Bug 36251 Author: burnus Date: Sun May 18 11:10:11 2008 New Revision: 135495 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135495 Log: 2008-05-18 Steven G. Kargl <[EMAIL PROTECTED]> PR fo

[Bug fortran/36251] PUBLIC and PRIVATE abuse

2008-05-17 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2008-05-17 19:10 --- This diff fixes the BIND(C) ice, but I haven't found a suitable location to emit an error message. Index: resolve.c === --- resolve.c (revision 135453

[Bug fortran/36251] PUBLIC and PRIVATE abuse

2008-05-17 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2008-05-17 17:50 --- Patch submitted http://gcc.gnu.org/ml/gcc-patches/2008-05/msg01028.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36251

[Bug fortran/36251] PUBLIC and PRIVATE abuse

2008-05-16 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #3 from sgk at troutmask dot apl dot washington dot edu 2008-05-16 22:10 --- Subject: Re: PUBLIC and PRIVATE abuse On Fri, May 16, 2008 at 09:58:47PM -, burnus at gcc dot gnu dot org wrote: > > And using > > bind(C) :: a Nice catch. > gives even an ICE. For PUBLI

[Bug fortran/36251] PUBLIC and PRIVATE abuse

2008-05-16 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #2 from sgk at troutmask dot apl dot washington dot edu 2008-05-16 22:01 --- Subject: Re: PUBLIC and PRIVATE abuse I have a patch for this. It simply issues a warning because it appears to be benign. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36251

[Bug fortran/36251] PUBLIC and PRIVATE abuse

2008-05-16 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-05-16 21:58 --- And using bind(C) :: a gives even an ICE. For PUBLIC and PRIVATE, see the patch below. "save" and "value" are not needed they give already the error "Cannot change attributes of USE-associated symbol a". (My hope

[Bug fortran/36251] PUBLIC and PRIVATE abuse

2008-05-16 Thread kargl at gcc dot gnu dot org
-- kargl at gcc dot gnu dot org changed: What|Removed |Added CC||sgk at troutmask dot apl dot |