From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11248 invoked by alias); 6 Feb 2006 17:45:46 -0000 Received: (qmail 11219 invoked by uid 48); 6 Feb 2006 17:45:40 -0000 Date: Mon, 06 Feb 2006 17:45:00 -0000 Message-ID: <20060206174540.11218.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/26134] fold *(float*)(&complex_float_var) into REALPART_EXPR In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia 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-02/txt/msg00534.txt.bz2 List-Id: ------- Comment #2 from pinskia at gcc dot gnu dot org 2006-02-06 17:45 ------- This actually does not help the benchmark right away because we have: static inline float quantum_real(float _Complex a) { float *p = (float *) &a; return p[0]; } static inline float quantum_imag(float _Complex a) { float *p = (float *) &a; return p[1]; } in the benchmark (this is GPL sofware by the way): http://www.enyo.de/libquantum/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26134