This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fold casted const variables
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 16 Feb 2003 21:55:51 +0000 (GMT)
- Subject: 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