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: fold casted const variables


On Sun, 16 Feb 2003, Jan Hubicka wrote:

> Sun Feb 16 17:34:30 CET 2003  Jan Hubicka  <jh@suse.cz>
> 
> 	* c-typeck.c (build_c_cast):  Fold constant variables into
> 	initial values.
> 
> 	* gcc.dg/c90-const-expr-3.c (DZERO): New static variable
> 	(foo): Add few extra tests
> 	* gcc.dg/c99-const-expr-3.c: Likewise.
> 	* gcc.c-torture/execute/20030216-1.c: New.

OK.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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