From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4013 invoked by alias); 10 Jan 2008 15:40:43 -0000 Received: (qmail 3815 invoked by uid 48); 10 Jan 2008 15:40:00 -0000 Date: Thu, 10 Jan 2008 16:47:00 -0000 Message-ID: <20080110154000.3814.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu 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-01/txt/msg00934.txt.bz2 ------- Comment #3 from manu at gcc dot gnu dot org 2008-01-10 15:40 ------- Actually, that is for Wuninitialized. For a missed optimisation: #include char foo() { char str[] = "Hola"; char c; printf("%s", str); c = str[0]; return c; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31094