From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4362 invoked by alias); 14 Nov 2008 23:31:01 -0000 Received: (qmail 28775 invoked by uid 48); 14 Nov 2008 23:29:41 -0000 Date: Fri, 14 Nov 2008 23:31:00 -0000 Message-ID: <20081114232941.28773.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/33193] slopiness in __real/__imag 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-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg01136.txt.bz2 ------- Comment #3 from pinskia at gcc dot gnu dot org 2008-11-14 23:29 ------- Here is a small example: struct a {float x, y; }; struct a f(struct a b) { return __real b; } int f1(int *b) { return __imag b - __real b; } (In reply to comment #1) > Further, http://gcc.gnu.org/onlinedocs/gcc/Complex.html#Complex does not > document what arguments are accepted to __real and __imag at all. It should be the same as the functions creal and cimag functions support. Thanks, Andrew Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33193