From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25479 invoked by alias); 17 Feb 2008 16:34:01 -0000 Received: (qmail 25358 invoked by uid 48); 17 Feb 2008 16:33:19 -0000 Date: Sun, 17 Feb 2008 16:34:00 -0000 Message-ID: <20080217163319.25357.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/35198] [4.1/4.2/4.3 Regression] missed evaluation of VM array type when used as a cast In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ebotcazou at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg01906.txt.bz2 ------- Comment #3 from ebotcazou at gcc dot gnu dot org 2008-02-17 16:33 ------- > At least marking the whole conversion as having no side-effects doesn't tell > the truth really, likewise if SAVE_EXPRs have no side-effects, as that > wouldn't guarantee it is evaluated at least once. SAVE_EXPRs can have side-effects like every other expression, and save_expr automatically sets the flag. -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35198