From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23348 invoked by alias); 9 May 2003 20:46:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 23323 invoked by uid 71); 9 May 2003 20:46:00 -0000 Date: Fri, 09 May 2003 20:46:00 -0000 Message-ID: <20030509204600.23322.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Andrew Pinski Subject: Re: c/10719: invalid code generated (x86, "int $5") with __builtin_va_arg(va, char); Reply-To: Andrew Pinski X-SW-Source: 2003-05/txt/msg00832.txt.bz2 List-Id: The following reply was made to PR c/10719; it has been noted by GNATS. From: Andrew Pinski To: sb@biallas.net Cc: Andrew Pinski , gcc-gnats@gcc.gnu.org Subject: Re: c/10719: invalid code generated (x86, "int $5") with __builtin_va_arg(va, char); Date: Fri, 9 May 2003 16:43:05 -0400 va_arg(va, char) is not valid code so it could produce anything, gcc use `int $5' on x86 to make sure you know it is not valid. So you said it is not valid, it gives you a warning also so that is the correct behavior aka not a bug. Can someone close this PR. Thanks, Andrew Pinski