From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23216 invoked by alias); 28 Jul 2010 19:48:28 -0000 Received: (qmail 22994 invoked by uid 48); 28 Jul 2010 19:48:04 -0000 Date: Wed, 28 Jul 2010 19:48:00 -0000 Message-ID: <20100728194804.22993.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/45115] pure functions returning structs are not optimized. 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: 2010-07/txt/msg03138.txt.bz2 ------- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-28 19:48 ------- Confirmed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Component|c |tree-optimization Ever Confirmed|0 |1 GCC host triplet|x86_64-linux-gnu | Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2010-07-28 19:48:03 date| | Summary|attribute((pure)) does not |pure functions returning |work when returning structs |structs are not optimized. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45115