public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44473]  New: iterators already defined for std::vector when using std::decimal
@ 2010-06-09  3:15 rmlong at gmail dot com
  2010-06-09  3:16 ` [Bug c++/44473] " rmlong at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 21+ messages in thread
From: rmlong at gmail dot com @ 2010-06-09  3:15 UTC (permalink / raw)
  To: gcc-bugs

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 <decimal/decimal>
#include <vector>

int main()
{
    std::vector<std::decimal::decimal32> 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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2011-11-14 16:22 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-44473-4@http.gcc.gnu.org/bugzilla/>
2011-09-28 22:42 ` [Bug c++/44473] iterators already defined for std::vector when using std::decimal paolo.carlini at oracle dot com
2011-09-28 23:14 ` janis at gcc dot gnu.org
2011-09-28 23:15 ` paolo.carlini at oracle dot com
2011-09-30  9:57 ` paolo.carlini at oracle dot com
2011-09-30 18:27 ` janis at gcc dot gnu.org
2011-09-30 20:25 ` paolo.carlini at oracle dot com
2011-10-11 17:00 ` bergner at gcc dot gnu.org
2011-10-11 17:03 ` bergner at gcc dot gnu.org
2011-10-11 17:18 ` bergner at gcc dot gnu.org
2011-10-11 17:25 ` bergner at gcc dot gnu.org
2011-11-14 16:32 ` paolo.carlini at oracle dot com
2010-06-09  3:15 [Bug c++/44473] New: " rmlong at gmail dot com
2010-06-09  3:16 ` [Bug c++/44473] " rmlong at gmail dot com
2010-06-09  3:17 ` rmlong at gmail dot com
2010-06-09  8:28 ` paolo dot carlini at oracle dot com
2010-06-09 10:22 ` redi at gcc dot gnu dot org
2010-06-09 20:14 ` joseph at codesourcery dot com
2010-06-09 21:48 ` paolo dot carlini at oracle dot com
2010-06-09 22:02 ` paolo dot carlini at oracle dot com
2010-06-10 21:58 ` janis at gcc dot gnu dot org
2010-06-10 23:23 ` paolo dot carlini at oracle dot com
2010-08-29 17:32 ` paolo dot carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).