public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Matthias Klose <doko@net.local> To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org Subject: c++/9067: vectors of vectors break with -ftrapv Date: Fri, 27 Dec 2002 08:26:00 -0000 [thread overview] Message-ID: <E18RxF1-0005PY-00@tango.net.local> (raw) >Number: 9067 >Category: c++ >Synopsis: vectors of vectors break with -ftrapv >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Dec 27 08:26:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Ian Turner <vectro@pipeline.com> >Release: 3.2.1 (Debian) (Debian unstable) >Organization: The Debian Project >Environment: System: Debian GNU/Linux (unstable) Architecture: i686 host: i386-linux configured with: /mnt/data/gcc-3.1/gcc-3.1-3.1ds2/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=$\(prefix\)/share/man --infodir=$\(prefix\)/share/info --with-gxx-include-dir=$\(prefix\)/include/g++-v3-3.1 --enable-shared --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --enable-clocale=gnu --enable-threads=posix --enable-java-gc=boehm --enable-objc-gc i386-linux >Description: [ Reported to the Debian BTS as report #169862. Please CC 169862@bugs.debian.org on replies. Log of report can be found at http://bugs.debian.org/169862 ] rechecked with 3.2 branch 20021220 and 3.3 branch 20021227 Not sure if this is a problem with the CPU, the kernel, the compiler, or the library. But this seems the most likely candidate. Consider the sample program below. When compiled as g++ foo.cc -ftrapv -o foo and run, the resultant binary immediately aborts. #include <vector> using namespace std; typedef vector<int> foo_t; int main() { vector<foo_t> V(10, foo_t()); return 0; } >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-12-27 16:26 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-27 8:26 Matthias Klose [this message] 2002-12-27 8:49 paolo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=E18RxF1-0005PY-00@tango.net.local \ --to=doko@net.local \ --cc=169862@bugs.debian.org \ --cc=debian-gcc@lists.debian.org \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).