[Bug c++/43330] trivial types are not being statically initialized

2010-03-11 Thread eric dot niebler at gmail dot com
--- Comment #3 from eric dot niebler at gmail dot com 2010-03-11 11:56 --- Oops, it's not an aggregate. Disregard. -- eric dot niebler at gmail dot com changed: What|Removed |

[Bug c++/43330] trivial types are not being statically initialized

2010-03-11 Thread eric dot niebler at gmail dot com
--- Comment #2 from eric dot niebler at gmail dot com 2010-03-11 11:53 --- You're right. Let me amend my example. struct S { S() = default; S(S const &) = default; S(int i) : i(i) {} int i; }; S const s {1}; S would seem to satisfy the requireme

[Bug c++/43330] New: trivial types are not being statically initialized

2010-03-11 Thread eric dot niebler at gmail dot com
n: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com GCC build triplet: gcc-4.5-20100304 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43330

[Bug c++/41141] New: Support for C++0x standard layout and trivial types is broken

2009-08-21 Thread eric dot niebler at gmail dot com
: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41141

[Bug middle-end/39509] bad optimization(?) pure virtual function call with -O2

2009-04-20 Thread eric dot niebler at gmail dot com
--- Comment #4 from eric dot niebler at gmail dot com 2009-04-21 01:10 --- I'm sorry to say that I no longer have access to the Linux machine on which I gcc-4.3 installed. I have only my windows laptop now, and I can't for the life of me get gcc-4.3 working under cygwin. I ca

[Bug c++/39509] bad optimization(?) pure virtual function call with -O2

2009-03-19 Thread eric dot niebler at gmail dot com
--- Comment #2 from eric dot niebler at gmail dot com 2009-03-20 04:04 --- Additional information: adding "__attribute__((noinline))" to the constructor for xpression_adaptor (line 82452) makes the problem go away. Definitely looks like an optimization problem to me.

[Bug c++/39509] bad optimization(?) pure virtual function call with -O2

2009-03-19 Thread eric dot niebler at gmail dot com
--- Comment #1 from eric dot niebler at gmail dot com 2009-03-20 03:03 --- Created an attachment (id=17501) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17501&action=view) tarred, gzipped preprocessed c++ source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39509

[Bug c++/39509] New: bad optimization(?) pure virtual function call with -O2

2009-03-19 Thread eric dot niebler at gmail dot com
nction call with -O2 Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugz

[Bug c++/38433] Incorrect handling of line termination character with trailing spaces

2008-12-06 Thread eric dot niebler at gmail dot com
--- Comment #3 from eric dot niebler at gmail dot com 2008-12-07 00:46 --- If you are referring to 2.1/1 ... "Physical source file characters are mapped, in an implementation-defined manner, to the basic source character set (introducing new-line characters for end-of-line indic

[Bug c++/38433] Incorrect handling of line termination character with trailing spaces

2008-12-06 Thread eric dot niebler at gmail dot com
--- Comment #1 from eric dot niebler at gmail dot com 2008-12-06 23:59 --- Created an attachment (id=16843) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16843&action=view) Compile with: g++ -Wall test.cpp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38433

[Bug c++/38433] New: Incorrect handling of line termination character with trailing spaces

2008-12-06 Thread eric dot niebler at gmail dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com GCC build triplet: Configured with: ../gcc-4.3.0/configure --enable- languages=c,c++ GCC target triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38433

[Bug c++/38242] New: Overeager ADL searches associated namespaces of base class's template arguments

2008-11-23 Thread eric dot niebler at gmail dot com
Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com GCC build triplet: g++ 4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38242

[Bug c++/34700] New: rvalue erroneously binding to non-const lvalue reference

2008-01-06 Thread eric dot niebler at gmail dot com
3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34700

[Bug c++/34314] New: ICE on invalid code (with variadic templates): tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in template_class_depth

2007-12-02 Thread eric dot niebler at gmail dot com
ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34314

[Bug c++/34032] -std=c++0x causes undeclared symbols errors on cygwin

2007-11-08 Thread eric dot niebler at gmail dot com
--- Comment #2 from eric dot niebler at gmail dot com 2007-11-08 19:16 --- I didn't know about -std=gnu++0x. That seems to work. -std=c++0x doesn't. FWIW, the stock gcc that comes with cygwin is 3.4: $ g++ --version g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using

[Bug c++/34032] New: -std=c++0x causes undeclared symbols errors on cygwin

2007-11-08 Thread eric dot niebler at gmail dot com
ygwin Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com GCC host triplet: cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34032

[Bug c++/34022] New: Rvalue references and std::forward() broken with built-in types

2007-11-07 Thread eric dot niebler at gmail dot com
ed at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34022

[Bug c++/33965] New: internal compiler error: tree check: expected class 'type', have 'constant' (integer_cst) in cp_type_quals, at cp/typeck.c:6955 (vararg templates)

2007-10-31 Thread eric dot niebler at gmail dot com
integer_cst) in cp_type_quals, at cp/typeck.c:6955 (vararg templates) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org Re

[Bug c++/33964] New: internal compiler error: in dependent_type_p, at cp/pt.c:15319 (vararg templates)

2007-10-31 Thread eric dot niebler at gmail dot com
y: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33964

[Bug c++/33955] internal compiler error: in dependent_type_p, at cp/pt.c:15245 (vararg template problem)

2007-10-30 Thread eric dot niebler at gmail dot com
--- Comment #1 from eric dot niebler at gmail dot com 2007-10-31 05:56 --- Created an attachment (id=14446) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14446&action=view) preprocessed source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33955

[Bug c++/33955] New: internal compiler error: in dependent_type_p, at cp/pt.c:15245 (vararg template problem)

2007-10-30 Thread eric dot niebler at gmail dot com
cc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33955

[Bug c++/33943] New: ICE with partial specialization on vararg template template parameter

2007-10-29 Thread eric dot niebler at gmail dot com
normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33943

[Bug c++/33939] New: Rvalue references not deduced correctly in vararg function templates

2007-10-29 Thread eric dot niebler at gmail dot com
Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33939

[Bug c++/31730] nested typedef to template of same name rejected

2007-04-27 Thread eric dot niebler at gmail dot com
--- Comment #2 from eric dot niebler at gmail dot com 2007-04-27 21:24 --- Yep, thanks. According to Doug Gregor, this case is covered in the first para of [basic.scope.class]. My bad. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31730

[Bug c++/31730] New: nested typedef to template of same name rejected

2007-04-27 Thread eric dot niebler at gmail dot com
Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31730

[Bug c++/29701] mpl/aux_/preprocessed/gcc/template_arity.hpp, bogus overload ambiguity

2006-11-03 Thread eric dot niebler at gmail dot com
--- Comment #1 from eric dot niebler at gmail dot com 2006-11-03 20:01 --- Created an attachment (id=12543) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12543&action=view) preprocessed input file preprocessed C++ source code. -- http://gcc.gnu.org/bugzilla/show_bug

[Bug c++/29701] New: mpl/aux_/preprocessed/gcc/template_arity.hpp, bogus overload ambiguity

2006-11-03 Thread eric dot niebler at gmail dot com
Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com GCC target triplet: i686-pc-cygwin http://gcc.gnu.org

[Bug c++/29653] boost/mpl/aux_/has_tag.hpp:20: internal compiler error: Segmentation fault

2006-10-30 Thread eric dot niebler at gmail dot com
--- Comment #1 from eric dot niebler at gmail dot com 2006-10-30 15:42 --- Created an attachment (id=12513) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12513&action=view) preprocessed input file preprocessed input file, compressed because of file size restrictions --

[Bug c++/29653] New: boost/mpl/aux_/has_tag.hpp:20: internal compiler error: Segmentation fault

2006-10-30 Thread eric dot niebler at gmail dot com
gt; >, 2l> >, boost::proto::basic_expr, 1l> >, 2l>, boost::proto::basic_expr, 1l> >, boost::proto::ref, 1l> > >, 2l>, mpl_::void_, boost::spirit2::skipper_tag>' main.cpp:605: instantiated from 'bool boost::spirit2::parse(FwdIter, FwdIter, const Rule&