Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 15596 invoked from network); 3 May 2007 00:07:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 May 2007 00:07:36 -0000 Received: (qmail 59116 invoked by uid 500); 3 May 2007 00:07:42 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 59104 invoked by uid 500); 3 May 2007 00:07:42 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 59092 invoked by uid 99); 3 May 2007 00:07:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 17:07:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 17:07:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B109714066 for ; Wed, 2 May 2007 17:07:15 -0700 (PDT) Message-ID: <5581451.1178150835287.JavaMail.jira@brutus> Date: Wed, 2 May 2007 17:07:15 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-400) [Intel C++ 9.1/Linux] SIGSEGV calling a vararg function In-Reply-To: <19000289.1178150715288.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493252 ] Martin Sebor commented on STDCXX-400: ------------------------------------- This seems to be causing all tests to fail when compiled with this compiler. > [Intel C++ 9.1/Linux] SIGSEGV calling a vararg function > ------------------------------------------------------- > > Key: STDCXX-400 > URL: https://issues.apache.org/jira/browse/STDCXX-400 > Project: C++ Standard Library > Issue Type: Bug > Components: External > Environment: Intel C++ 9.1/Linux/EM64T > Reporter: Martin Sebor > Priority: Blocker > > From https://premier.intel.com/premier/IssueDetail.aspx?IssueID=431562: > The program below runs fine when compiled with gcc but fails with SIGSEGV when compiled with Intel C++ 9.1. The same program runs successfully to completion when compiled with Intel C++ 9.0 (l_cc_c_9.0.031). > $ cat t.cpp && g++ --version && g++ t.cpp && ./a.out && icpc -V t.cpp && ./a.out > #include > #include > void foo (const char *fmt, ...) { > va_list va; > va_start (va, fmt); > vfprintf (stdout, fmt, va); > va_end (va); > } > int main () { foo ("%s\n", "Hello, World!"); } > g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3) > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > Hello, World! > Intel(R) C++ Compiler for Intel(R) EM64T-based applications, Version 9.1 Build 20070320 Package ID: l_cc_c_9.1.049 > Copyright (C) 1985-2007 Intel Corporation. All rights reserved. > Edison Design Group C/C++ Front End, version 3.6 (Mar 22 2007 02:18:08) > Copyright 1988-2005 Edison Design Group, Inc. > GNU ld version 2.15.92.0.2 20040927 > Segmentation fault -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.