http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58859
--- Comment #4 from meng at g dot clemson.edu ---
ok, I think I missed 15.4/4 and 12.4/3, which means the dtor in my example
should allow no exceptions, i.e., noexcept(true). Thanks again.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58859
--- Comment #3 from meng at g dot clemson.edu ---
(In reply to Marc Glisse from comment #2)
> Try adding noexcept(false) on the destructor?
that works. Thanks.
but this causes another question.
c++11 15.4/12 states
"A function with no e
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58859
--- Comment #1 from meng at g dot clemson.edu ---
made a typo just now.
"and g++-4.8.0 with c++11 flag, "
should read
"and g++-4.8.0 without c++11 flag, "
i.e., the problem only happens when c++11 is enabled with g++-4.8.0.
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: meng at g dot clemson.edu
the following program does not execute (2) for g++-4.8.[01] -std=c++11 and I
think this is a bug. I tested the program on g++-4.[67].[01] with or without
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56772
--- Comment #2 from meng at g dot clemson.edu 2013-03-29 00:45:23 UTC ---
(In reply to comment #1)
> I see a sorry message thus the issue seems known.
I agree. What confused me was that the feature is not unimplemented, it worked
w
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56772
Bug #: 56772
Summary: placement new operator does not work inside function
template.
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONF
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55386
Bug #: 55386
Summary: operator void called for class objects converted to
void type.
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONF
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55385
Bug #: 55385
Summary: g++ failed to call final overrider of a virtual
function.
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54264
--- Comment #1 from meng at g dot clemson.edu 2012-08-14 21:44:31 UTC ---
here is my command line:
~/gcc/4.7.0/bin/c++ -std=c++11 -Wall -O3 t1.cc
and its output:
t1.cc: In substitution of ‘template decltype (i(h())) f(T) [with T
= int]’:
t1.cc:8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54264
Bug #: 54264
Summary: internal compiler error on sample program from the C++
standard
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53157
Bug #: 53157
Summary: within lambda, error: lvalue required as unary ‘&’
operand
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52953
--- Comment #1 from meng at g dot clemson.edu 2012-04-12 21:53:36 UTC ---
another example showing violation of c++11 3.3.3/4
BEGIN ---
int main ()
{
if (int a = 1)
{
void a (); // 1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52953
Bug #: 52953
Summary: g++-4.7.0 fails to detect function parameter name
redeclarations.
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52743
Bug #: 52743
Summary: g++-4.7.0 seg faults on overload functions.
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priori
14 matches
Mail list logo