From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17102 invoked by alias); 12 Nov 2002 18:56:06 -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 17082 invoked by uid 71); 12 Nov 2002 18:56:04 -0000 Resent-Date: 12 Nov 2002 18:56:04 -0000 Resent-Message-ID: <20021112185604.17081.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, "Brian T. N. Gunney" Received: (qmail 12027 invoked from network); 12 Nov 2002 18:54:07 -0000 Received: from unknown (HELO tux75.llnl.gov) (134.9.13.85) by sources.redhat.com with SMTP; 12 Nov 2002 18:54:07 -0000 Received: (from gunney@localhost) by tux75.llnl.gov (8.11.6/8.11.6) id gACIs7N25567; Tue, 12 Nov 2002 10:54:07 -0800 Message-Id: <200211121854.gACIs7N25567@tux75.llnl.gov> Date: Tue, 19 Nov 2002 18:03:00 -0000 From: "Brian T. N. Gunney" To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: libstdc++/8550: undefined reference to fill and fill_n X-SW-Source: 2002-11/txt/msg00596.txt.bz2 List-Id: >Number: 8550 >Category: libstdc++ >Synopsis: undefined reference to fill and fill_n >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Nov 12 10:56:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: Brian T. N. Gunney >Release: 3.2 >Organization: Lawrence Livermore National Lab >Environment: System: Linux tux75.llnl.gov 2.4.9-31smp #1 SMP Tue Feb 26 06:55:00 EST 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-3.2/configure --prefix=/usr/apps/gcc/3.2 >Description: The fill and fill_n functions are missing when compiled with -fno-implicit-template, leading to an error at link time. This is similar to bug 8172, in which I reported a missing operator+ for strings. >How-To-Repeat: Program text: #include using namespace std; int main() { double x[10]; fill_n( x, 10, 1.0 ); fill( x, x+10, 2.0 ); return 0; } Compile command: g++ -fno-implicit-templates nofill.cc >Fix: >Release-Note: >Audit-Trail: >Unformatted: