From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12584 invoked by alias); 15 Sep 2005 04:52:47 -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 11925 invoked by uid 48); 15 Sep 2005 04:52:37 -0000 Date: Thu, 15 Sep 2005 04:52:00 -0000 Message-ID: <20050915045237.11924.qmail@sourceware.org> From: "ebotcazou at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030509203601.10719.sb@biallas.net> References: <20030509203601.10719.sb@biallas.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/10719] invalid code generated (x86, "int $5") with __builtin_va_arg(va, char); X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg01800.txt.bz2 List-Id: ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-09-15 04:52 ------- > Yes well I don't think you should have to go out of your way to ask the > compiler to not generate invalid code. Not generating invalid code should be > the default behavior. Again the compiler violates the ISO C standard if it stops. I agree that this is counter-intuitive, but you have an unconditional warning. Simply ban -w. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10719