public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "thome at lix dot polytechnique dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/14173] New: cvs20040211: -fpack-struct crashes on hello_world.cpp Date: Tue, 17 Feb 2004 11:16:00 -0000 [thread overview] Message-ID: <20040217111611.14173.thome@lix.polytechnique.fr> (raw) g++ -fpack-struct hello.cpp ices within libstdc++ when compiling: #include <iostream> int main() { std::cout << "Hello, world\n"; return 0; } localhost : ~ $ g++ -c -fpack-struct hello.cpp In file included from /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/ios:49, from /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/ostream:45, from /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/iostream:45, from hello.cpp:1: /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/bits/ios_base.h: In member function `std::_Ios_Fmtflags std::ios_base::setf(std::_Ios_Fmtflags)': /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/bits/ios_base.h:535: error: cannot bind packed field `((std::ios_base*)this)->std::ios_base::_M_flags' to `std::_Ios_Fmtflags&' /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/bits/ios_base.h: In member function `std::_Ios_Fmtflags std::ios_base::setf(std::_Ios_Fmtflags, std::_Ios_Fmtflags)': /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/bits/ios_base.h:552: error: cannot bind packed field `((std::ios_base*)this)->std::ios_base::_M_flags' to `std::_Ios_Fmtflags&' /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/bits/ios_base.h:553: error: cannot bind packed field `((std::ios_base*)this)->std::ios_base::_M_flags' to `std::_Ios_Fmtflags&' /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/bits/ios_base.h: In member function `void std::ios_base::unsetf(std::_Ios_Fmtflags)': /localdisk/thome/Packages/gcc-3.4-20040211/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/bits/ios_base.h:564: error: cannot bind packed field `((std::ios_base*)this)->std::ios_base::_M_flags' to `std::_Ios_Fmtflags&' g++: Internal error: Segmentation fault (program cc1plus) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: cvs20040211: -fpack-struct crashes on hello_world.cpp Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: thome at lix dot polytechnique dot fr CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14173
next reply other threads:[~2004-02-17 11:16 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-02-17 11:16 thome at lix dot polytechnique dot fr [this message] 2004-02-17 16:08 ` [Bug libstdc++/14173] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org 2004-02-19 3:17 ` [Bug c++/14173] [3.4/3.5 Regression] " reichelt at gcc dot gnu dot org 2004-02-20 2:41 ` giovannibajo at libero dot it 2004-02-20 7:10 ` mmitchel at gcc dot gnu dot org 2004-02-20 8:57 ` cvs-commit at gcc dot gnu dot org 2004-02-20 9:03 ` cvs-commit at gcc dot gnu dot org 2004-02-20 9:04 ` mmitchel at gcc dot gnu dot org
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=20040217111611.14173.thome@lix.polytechnique.fr \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).