From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8805 invoked by alias); 9 Jun 2010 03:15:13 -0000 Received: (qmail 8288 invoked by uid 48); 9 Jun 2010 03:14:56 -0000 Date: Wed, 09 Jun 2010 03:15:00 -0000 Subject: [Bug c++/44473] New: iterators already defined for std::vector when using std::decimal X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rmlong at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg00946.txt.bz2 If checking empty then attempting to push back the following errors are reported: main.s: Assembler messages: main.s:2236: Error: symbol `_ZNK9__gnu_cxx17__normal_iteratorIPDfSt6vectorIDfSaIDfEEE4baseEv' is already defined main.s:2542: Error: symbol `_ZN9__gnu_cxx17__normal_iteratorIPDfSt6vectorIDfSaIDfEEEC2ERKS1_' is already defined Preprocessed file: http://dl.dropbox.com/u/2280/main.ii Example code: #include #include int main() { std::vector vec; if (vec.empty()) { vec.push_back(std::decimal::decimal32(0)); } return 0; } -- Summary: iterators already defined for std::vector when using std::decimal Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rmlong at gmail dot com GCC build triplet: --with-gmp=/devsandbox/cxp/ext/compiler/gmp/ --with- mpc=/devsand GCC host triplet: RHEL5.5 GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44473