From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28015 invoked by alias); 4 Oct 2006 16:50:55 -0000 Received: (qmail 27873 invoked by uid 48); 4 Oct 2006 16:50:41 -0000 Date: Wed, 04 Oct 2006 16:50:00 -0000 Message-ID: <20061004165041.27872.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/29347] i386 mode switching clobbers fp exception handling bits In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "amylaar at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg00322.txt.bz2 List-Id: ------- Comment #1 from amylaar at gcc dot gnu dot org 2006-10-04 16:50 ------- One way to handle this problem would be to consider every function call and asm as requiring another mode for the mode switching value entities; no code would be emittied to actually 'set' this mode, but the mode switching code would consider the mode switching value now to be in a different mode, and thus insert new code to calculate the mode switching value when it is needed again. (Instead, MODE_AFTER could be used, if someone wanted to make it work.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29347