From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31539 invoked by alias); 26 Jan 2008 22:57:26 -0000 Received: (qmail 31342 invoked by uid 48); 26 Jan 2008 22:56:40 -0000 Date: Sat, 26 Jan 2008 22:59:00 -0000 Message-ID: <20080126225640.31341.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/34773] [4.3 regression] miscompilation of vfprintf_r In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hp 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-01/txt/msg03283.txt.bz2 ------- Comment #3 from hp at gcc dot gnu dot org 2008-01-26 22:56 ------- I just checked with the gcc-4.2-20080123.tar.bz2 and the bug doesn't manifest there with the vf.c testcase, so I'm marking this as a regression. I also no longer think it's fwprop's error (at least not alone); the into_cfglayout pass (really: try_optimize_cfg(CLEANUP_CFGLAYOUT)) suboptimally changes an unconditional jump into a fallthrough to a basic block that already has a fallthrough. Perhaps that's meant to be cleaned up, but it isn't. (Neither the generic nor the cfglayout-specific verify_flow_info code tests that a basic block has at most one predecessor edge.) -- hp at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|fwprop1 bug causing |[4.3 regression] |miscompilation of vfprintf_r|miscompilation of vfprintf_r http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34773