From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11160 invoked by alias); 7 Feb 2004 19:00:27 -0000 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 Received: (qmail 11094 invoked by uid 48); 7 Feb 2004 19:00:25 -0000 Date: Sat, 07 Feb 2004 19:00:00 -0000 Message-ID: <20040207190025.11093.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040207105506.14062.csirac2@yahoo.com.au> References: <20040207105506.14062.csirac2@yahoo.com.au> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/14062] noreturn attribute generates warning "function does return", still creates epilogue code X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg00895.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-07 19:00 ------- Easy fix is to have: void run() __attribute__ ((noreturn)); in a header and run and init in two different source files and that will fix the problem you are seeing. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14062