This is the mail archive of the gcc@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: fold-const declarations way longer than 80 chars


Steven Bosscher <s.bosscher@student.tudelft.nl> writes:

> Op do 10-07-2003, om 04:25 schreef Steven Bosscher:
>> Andreas,
>> 
>> While working on fold-const, I noticed that there are lots of function
>> declarations in fold-const.c that are longer than 80 columns, e.g.:
>> 
>> static tree
>> split_tree (tree in, enum tree_code code, tree *conp, tree *litp, tree *minus_litp, int negate_p)
>
>
> And looking further, patches like this one from Law:
>
> Revision 1.273, Thu Jul 3 05:42:57 2003 UTC (6 days, 19 hours ago) by law
> 	* expr.c (do_store_flag): Remove special case folding for
> 	single bit tests.  Instead call back into the commonized folder
> 	routine.
> 	* fold-const.c (fold_single_bit_test): New function, mostly
> 	extracted from do_store_flag, with an additional case extracted
> 	from fold.
> 	(fold): Call fold_single_bit_test appropriately.
> 	* tree.h (fold_single_bit_test): Prototype.
>
> introduce new K&R prototypes :-(

Oh, that explains why in my second round I found some functions in
random files that were not converted - it wasn't oversight on my side
but somebody else doing it;-)

But these should be fixed already in current CVS,

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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