This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [fortran,patch] Properly match character kinds


On Sun, Sep 30, 2007 at 02:52:41PM +0100, FX Coudert wrote:
> 
> This patch fixes PR33529: we currently don't do proper matching of  
> character kinds, because we expect them to be litteral integer  
> constants and, though luck, that's certainly not guaranteed :)  So  
> this borrows bits of code from gfc_match_kind_spec() to do it  
> properly, calling gfc_match_init_expr() in turn. I copied some code  
> around instead of simply sharing it, because there are some important  
> differences between the matching of character kinds and integer/ 
> logical/real/complex kinds, so it looked better that way.
> 

OK.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]