From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13097 invoked by alias); 30 Jan 2011 21:07:19 -0000 Received: (qmail 13089 invoked by uid 22791); 30 Jan 2011 21:07:19 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_CP X-Spam-Check-By: sourceware.org Received: from mail-iy0-f175.google.com (HELO mail-iy0-f175.google.com) (209.85.210.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 30 Jan 2011 21:07:14 +0000 Received: by iyj18 with SMTP id 18so4573594iyj.20 for ; Sun, 30 Jan 2011 13:07:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.220.69 with SMTP id hx5mr6860844icb.336.1296421632977; Sun, 30 Jan 2011 13:07:12 -0800 (PST) Received: by 10.42.230.66 with HTTP; Sun, 30 Jan 2011 13:07:12 -0800 (PST) In-Reply-To: <189DEF72-E802-4454-81A2-08D7C1D1BF24@yale.edu> References: <189DEF72-E802-4454-81A2-08D7C1D1BF24@yale.edu> Date: Sun, 30 Jan 2011 21:28:00 -0000 Message-ID: Subject: Re: GCC Internals: built-in functions? From: Jonathan Wakely To: Amittai Aviram Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg00474.txt.bz2 On 30 January 2011 21:02, Amittai Aviram wrote: > > I tried it with strncpy and with __builtin_strncpy, with exactly the same results, i.e., the assembly code still calls strncpy with three arguments. Did you enable optimization?