public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/32233] New: warning in stl_vector.h:832
@ 2007-06-06 13:28 wouter dot vermaelen at scarlet dot be
2007-06-06 18:23 ` [Bug libstdc++/32233] " pcarlini at suse dot de
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: wouter dot vermaelen at scarlet dot be @ 2007-06-06 13:28 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 935 bytes --]
This program:
#include <vector>
int main() {
std::vector<int> v(10);
}
Triggers the following warning in recent SVN versions:
/home/wouter/gcc/local/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/stl_vector.h:
In member function int std::vector<_Tp, _Alloc>::_M_fill_initialize(size_t,
const _Tp&) [with _Tp = int, _Alloc = std::allocator<int>]:
/home/wouter/gcc/local/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/stl_vector.h:832:
warning: control reaches end of non-void function
--
Summary: warning in stl_vector.h:832
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wouter dot vermaelen at scarlet dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32233
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/32233] warning in stl_vector.h:832
2007-06-06 13:28 [Bug libstdc++/32233] New: warning in stl_vector.h:832 wouter dot vermaelen at scarlet dot be
@ 2007-06-06 18:23 ` pcarlini at suse dot de
2007-06-06 18:44 ` paolo at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2007-06-06 18:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pcarlini at suse dot de 2007-06-06 18:23 -------
Mine, fixed momentarily.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-06-06 18:23:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32233
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/32233] warning in stl_vector.h:832
2007-06-06 13:28 [Bug libstdc++/32233] New: warning in stl_vector.h:832 wouter dot vermaelen at scarlet dot be
2007-06-06 18:23 ` [Bug libstdc++/32233] " pcarlini at suse dot de
@ 2007-06-06 18:44 ` paolo at gcc dot gnu dot org
2007-06-06 18:45 ` pcarlini at suse dot de
2007-06-06 21:13 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-06-06 18:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paolo at gcc dot gnu dot org 2007-06-06 18:44 -------
Subject: Bug 32233
Author: paolo
Date: Wed Jun 6 18:44:02 2007
New Revision: 125499
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125499
Log:
2007-06-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/32233
* include/bits/stl_vector.h (_M_fill_initialize): Fix return type.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_vector.h
trunk/libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/assign_neg.cc
trunk/libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/insert_neg.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32233
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/32233] warning in stl_vector.h:832
2007-06-06 13:28 [Bug libstdc++/32233] New: warning in stl_vector.h:832 wouter dot vermaelen at scarlet dot be
2007-06-06 18:23 ` [Bug libstdc++/32233] " pcarlini at suse dot de
2007-06-06 18:44 ` paolo at gcc dot gnu dot org
@ 2007-06-06 18:45 ` pcarlini at suse dot de
2007-06-06 21:13 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2007-06-06 18:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pcarlini at suse dot de 2007-06-06 18:45 -------
Fixed.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32233
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/32233] warning in stl_vector.h:832
2007-06-06 13:28 [Bug libstdc++/32233] New: warning in stl_vector.h:832 wouter dot vermaelen at scarlet dot be
` (2 preceding siblings ...)
2007-06-06 18:45 ` pcarlini at suse dot de
@ 2007-06-06 21:13 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-06 21:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-06 21:13 -------
*** Bug 32208 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mec at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32233
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-06-06 21:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-06 13:28 [Bug libstdc++/32233] New: warning in stl_vector.h:832 wouter dot vermaelen at scarlet dot be
2007-06-06 18:23 ` [Bug libstdc++/32233] " pcarlini at suse dot de
2007-06-06 18:44 ` paolo at gcc dot gnu dot org
2007-06-06 18:45 ` pcarlini at suse dot de
2007-06-06 21:13 ` pinskia at gcc dot gnu dot org
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).