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: [gfortran] Fix excess errors with missing implicit types


Steven Bosscher wrote:
> On Saturday 12 February 2005 16:17, Tobias SchlÃter wrote:
> 
>>	* gfortran.h (symbol_attribute): New 'untyped' field, fix comment
>>	formatting.
> 
> 
> Can you make it a no_warning field?  It may be useful for other purposes
> also.

Please note that this patch prevents an error from being issued several times,
not a warning.  I also don't think that there are circumstances where
overloading this would be a good idea, as the kinds of errors that can arise
with symbols are quite diverse, and I can't see how it should make sense to
make them one thing.  If someone finds any sensible way of reusing this bit,
they would of course be free to rename it to something else.

(I was also briefly pondering combining implicit_type and untyped into a 2-bit
bitfield, which can encode the possibilities 1. no type, 2. implitly typed, 3.
explicitly typed, but it didn't seem to have any real advantage)

- Tobi


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