public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61167] New: ::std::map::operator[]() throws arithmetic exception
@ 2014-05-13  8:39 hrehfeld@uni-koblenz.de
  2014-05-13  9:19 ` [Bug c++/61167] " redi at gcc dot gnu.org
  2014-05-13  9:28 ` hrehfeld@uni-koblenz.de
  0 siblings, 2 replies; 3+ messages in thread
From: hrehfeld@uni-koblenz.de @ 2014-05-13  8:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61167

            Bug ID: 61167
           Summary: ::std::map::operator[]() throws arithmetic exception
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hrehfeld@uni-koblenz.de

See the following bug-report:
https://github.com/Andersbakken/rtags/issues/174#issuecomment-42923032

This is the code:
https://github.com/Andersbakken/rtags/blob/master/src/Project.cpp#L503

Version: 4.9.0 20140507 (prerelease) (yesterday's archlinux gcc)

Sorry that this is not a minimal example or a better bug report. I have almost
zero knowlege about the code, but this seems like it should never happen. (I
thought it would be better  to report /something/, feel free to ignore. I will
tell the others to add to the report if possible. )


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

* [Bug c++/61167] ::std::map::operator[]() throws arithmetic exception
  2014-05-13  8:39 [Bug c++/61167] New: ::std::map::operator[]() throws arithmetic exception hrehfeld@uni-koblenz.de
@ 2014-05-13  9:19 ` redi at gcc dot gnu.org
  2014-05-13  9:28 ` hrehfeld@uni-koblenz.de
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2014-05-13  9:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61167

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You're talking about std::unordered_map not std::map, and it doesn't "throw"
anything, but this has already been reported.

*** This bug has been marked as a duplicate of bug 61143 ***


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

* [Bug c++/61167] ::std::map::operator[]() throws arithmetic exception
  2014-05-13  8:39 [Bug c++/61167] New: ::std::map::operator[]() throws arithmetic exception hrehfeld@uni-koblenz.de
  2014-05-13  9:19 ` [Bug c++/61167] " redi at gcc dot gnu.org
@ 2014-05-13  9:28 ` hrehfeld@uni-koblenz.de
  1 sibling, 0 replies; 3+ messages in thread
From: hrehfeld@uni-koblenz.de @ 2014-05-13  9:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61167

--- Comment #2 from hrehfeld@uni-koblenz.de ---
Thanks! :-)


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

end of thread, other threads:[~2014-05-13  9:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13  8:39 [Bug c++/61167] New: ::std::map::operator[]() throws arithmetic exception hrehfeld@uni-koblenz.de
2014-05-13  9:19 ` [Bug c++/61167] " redi at gcc dot gnu.org
2014-05-13  9:28 ` hrehfeld@uni-koblenz.de

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).