--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #1 from jason at gcc dot gnu dot org 2009-01-06 19:47 ---
This was ill-formed under the proposal that was initially adopted, but was made
well-formed in the March 2008 working paper when the following wording was
struck from the end of 14.3:
A template-argument pack
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-07 00:06 ---
This was part of the incorporation of N2555
(http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf) into the
WP.
--
jason at gcc dot gnu dot org changed:
What|Removed
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-07 20:43 ---
Subject: Bug 35784
Author: jason
Date: Wed Jan 7 20:43:01 2009
New Revision: 143166
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143166
Log:
PR c++/35297
PR c++/35477
PR c
--- Comment #5 from jason at gcc dot gnu dot org 2009-01-07 20:43 ---
Subject: Bug 38276
Author: jason
Date: Wed Jan 7 20:43:01 2009
New Revision: 143166
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143166
Log:
PR c++/35297
PR c++/35477
PR c
--- Comment #1 from jason at gcc dot gnu dot org 2009-01-07 20:43 ---
Subject: Bug 35477
Author: jason
Date: Wed Jan 7 20:43:01 2009
New Revision: 143166
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143166
Log:
PR c++/35297
PR c++/35477
PR c
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-07 20:43 ---
Subject: Bug 35297
Author: jason
Date: Wed Jan 7 20:43:01 2009
New Revision: 143166
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143166
Log:
PR c++/35297
PR c++/35477
PR c
--- Comment #7 from jason at gcc dot gnu dot org 2009-01-07 20:43 ---
Subject: Bug 36846
Author: jason
Date: Wed Jan 7 20:43:01 2009
New Revision: 143166
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143166
Log:
PR c++/35297
PR c++/35477
PR c
--- Comment #3 from jason at gcc dot gnu dot org 2009-01-07 20:56 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-07 20:56 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #3 from jason at gcc dot gnu dot org 2009-01-07 20:56 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #6 from jason at gcc dot gnu dot org 2009-01-07 20:57 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #11 from jason at gcc dot gnu dot org 2009-01-07 20:59 ---
Created an attachment (id=17051)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17051&action=view)
Fix in pod_type_p
Uros is testing this patch for me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31488
--- Comment #1 from jason at gcc dot gnu dot org 2009-01-11 20:31 ---
IMO it would be inappropriate to give this warning for a late-specified return
type. The warning is only there to catch old code which expects "const int
foo()" to declare a const function returning int, r
--- Comment #13 from jason at gcc dot gnu dot org 2009-01-12 21:07 ---
Subject: Bug 31488
Author: jason
Date: Mon Jan 12 21:07:46 2009
New Revision: 143308
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143308
Log:
PR c++/31488
* tree.c (pod_type_p):
--- Comment #6 from jason at gcc dot gnu dot org 2009-01-13 01:23 ---
Subject: Bug 35109
Author: jason
Date: Tue Jan 13 01:23:34 2009
New Revision: 143320
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143320
Log:
PR c++/35109
* name-lookup.c (lookup_n
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-13 17:49 ---
Closing.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-14 16:37 ---
11.2:
If a class is declared to be a base class for another class using
the protected access specifier, the public and protected
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-01-15 18:14 ---
Subject: Bug 36334
Author: jason
Date: Thu Jan 15 18:14:32 2009
New Revision: 143404
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143404
Log:
PR c++/36334
PR c++/37646
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-15 18:14 ---
Subject: Bug 37646
Author: jason
Date: Thu Jan 15 18:14:32 2009
New Revision: 143404
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143404
Log:
PR c++/36334
PR c++/37646
--- Comment #3 from jason at gcc dot gnu dot org 2009-01-15 22:34 ---
Subject: Bug 37646
Author: jason
Date: Thu Jan 15 22:34:20 2009
New Revision: 143413
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143413
Log:
PR c++/36334
PR c++/37646
--- Comment #5 from jason at gcc dot gnu dot org 2009-01-15 22:34 ---
Subject: Bug 36334
Author: jason
Date: Thu Jan 15 22:34:20 2009
New Revision: 143413
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143413
Log:
PR c++/36334
PR c++/37646
--- Comment #14 from jason at gcc dot gnu dot org 2009-01-15 22:34 ---
Subject: Bug 31488
Author: jason
Date: Thu Jan 15 22:34:20 2009
New Revision: 143413
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143413
Log:
PR c++/36334
PR c++/37646
--- Comment #15 from jason at gcc dot gnu dot org 2009-01-15 22:54 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #6 from jason at gcc dot gnu dot org 2009-01-15 22:56 ---
Fixed for 4.3 and 4.4. Not fixing for 4.2.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from jason at gcc dot gnu dot org 2009-01-15 22:57 ---
Fixed for 4.3 and 4.4, not fixing for 4.2.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #5 from jason at gcc dot gnu dot org 2009-01-15 23:07 ---
7.3.1.2: If a friend declaration in a non-local class first declares a class or
function the friend class or function is a member of the innermost enclosing
namespace. The name of the friend is not found by
--- Comment #6 from jason at gcc dot gnu dot org 2009-01-15 23:12 ---
3.4.2 begins "When an unqualified name is used as the postfix-expression in a
function call" The call func(x) does not get argument-dependent
lookup because func is not an unqualified name, it'
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #1 from jason at gcc dot gnu dot org 2009-01-16 03:50 ---
11.4: A name nominated by a friend declaration shall be accessible in the scope
of the class containing the friend declaration.
Confirmed.
--
jason at gcc dot gnu dot org changed:
What|Removed
--- Comment #7 from jason at gcc dot gnu dot org 2009-01-16 04:54 ---
Actually, this is still an accepts-invalid bug when weird is uncommented.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #7 from jason at gcc dot gnu dot org 2009-01-16 04:55 ---
4.2 and 4.3 handle this fine, I don't know why it was marked as a 4.2/4.3
regression.
--
jason at gcc dot gnu dot org changed:
What|Removed |
--- Comment #8 from jason at gcc dot gnu dot org 2009-01-16 05:04 ---
Subject: Bug 38850
Author: jason
Date: Fri Jan 16 05:04:26 2009
New Revision: 143422
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143422
Log:
PR c++/38850
* pt.c (tsubst_copy_a
--- Comment #9 from jason at gcc dot gnu dot org 2009-01-16 06:08 ---
Subject: Bug 38850
Author: jason
Date: Fri Jan 16 06:08:09 2009
New Revision: 143423
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143423
Log:
PR c++/38850
* pt.c (tsubst_copy_a
--- Comment #10 from jason at gcc dot gnu dot org 2009-01-16 06:08 ---
Subject: Bug 38850
Author: jason
Date: Fri Jan 16 06:08:20 2009
New Revision: 143424
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143424
Log:
PR c++/38850
* pt.c (tsubst_copy_a
--- Comment #11 from jason at gcc dot gnu dot org 2009-01-16 06:08 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #5 from jason at gcc dot gnu dot org 2009-01-16 06:17 ---
Ah yes, I see. The bug is not with the visibility of the copy ctor, but with
the conversion from B to P in order to call it.
--
jason at gcc dot gnu dot org changed:
What|Removed
--- Comment #6 from jason at gcc dot gnu dot org 2009-01-16 06:41 ---
This bug was introduced by the fix for PR 10990.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38579
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-01-16 18:35 ---
Subject: Bug 38579
Author: jason
Date: Fri Jan 16 18:35:28 2009
New Revision: 143439
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143439
Log:
PR c++/38579
* search.c (protected_acce
--- Comment #8 from jason at gcc dot gnu dot org 2009-01-16 18:55 ---
Fixed for 4.4, not applying to older branches.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-16 18:58 ---
*** This bug has been marked as a duplicate of 38579 ***
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #9 from jason at gcc dot gnu dot org 2009-01-16 18:58 ---
*** Bug 35640 has been marked as a duplicate of this bug. ***
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from jason at gcc dot gnu dot org 2009-01-16 19:39 ---
Testcase? I don't have SPEC handy.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877
--- Comment #7 from jason at gcc dot gnu dot org 2009-01-16 20:03 ---
3.2.3 also fails the first testcase. This seems to have been broken by
2001-03-01 Nathan Sidwell
* decl2.c (do_nonmember_using_decl): Don't complain if we find
same function. Do complain
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-01-16 22:36 ---
Subject: Bug 29470
Author: jason
Date: Fri Jan 16 22:36:11 2009
New Revision: 143445
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143445
Log:
PR c++/29470
* pt.c (tsubst_decl) [US
--- Comment #4 from jason at gcc dot gnu dot org 2009-01-16 22:36 ---
Subject: Bug 38877
Author: jason
Date: Fri Jan 16 22:36:32 2009
New Revision: 143446
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143446
Log:
PR c++/38877
* tree.c (lvalue_p_1): A
--- Comment #5 from jason at gcc dot gnu dot org 2009-01-16 22:40 ---
Subject: Bug 38877
Author: jason
Date: Fri Jan 16 22:40:25 2009
New Revision: 143448
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143448
Log:
PR c++/38877
* tree.c (lvalue_p_1): A
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-16 22:45 ---
We demangle it as int X::f()
The suggestion seems reasonable to me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3
--- Comment #5 from jason at gcc dot gnu dot org 2009-01-16 22:46 ---
Fixed for 4.4, not fixing accepts-invalid on other branches.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from jason at gcc dot gnu dot org 2009-01-16 22:48 ---
Fixed for 4.4. Will fix in 4.3 soon.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from jason at gcc dot gnu dot org 2009-01-16 22:50 ---
Yep, I've been making a bunch of mangling changes recently. Should be all done
now though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3
--- Comment #9 from jason at gcc dot gnu dot org 2009-01-16 23:17 ---
Subject: Bug 38877
Author: jason
Date: Fri Jan 16 23:17:35 2009
New Revision: 143449
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143449
Log:
PR c++/38877
* tree.c (lvalue_p_1): A
--- Comment #10 from jason at gcc dot gnu dot org 2009-01-16 23:18 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|nathan at gcc dot gnu dot |jason at gcc dot gnu dot org
|org
--- Comment #22 from jason at gcc dot gnu dot org 2009-01-19 22:50 ---
Subject: Bug 23287
Author: jason
Date: Mon Jan 19 22:50:43 2009
New Revision: 143502
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143502
Log:
PR c++/23287
*
--- Comment #23 from jason at gcc dot gnu dot org 2009-01-19 23:05 ---
Fixed for 4.4.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Known to work
--- Comment #24 from jason at gcc dot gnu dot org 2009-01-26 18:24 ---
Subject: Bug 23287
Author: jason
Date: Mon Jan 26 18:24:45 2009
New Revision: 143682
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143682
Log:
PR c++/23287
*
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #9 from jason at gcc dot gnu dot org 2009-01-26 22:31 ---
I approved that patch back in March, but it turned out not to be the right fix:
see
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01675.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35022
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #3 from jason at gcc dot gnu dot org 2009-05-17 18:01 ---
Subject: Bug 40139
Author: jason
Date: Sun May 17 18:01:33 2009
New Revision: 147638
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147638
Log:
PR c++/40139
* pt.c (tsubst_qual
--- Comment #4 from jason at gcc dot gnu dot org 2009-05-17 20:34 ---
Subject: Bug 40139
Author: jason
Date: Sun May 17 20:34:30 2009
New Revision: 147643
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147643
Log:
PR c++/40139
* semantics.c (finish_id_ex
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-05-25 23:01 ---
Subject: Bug 38064
Author: jason
Date: Mon May 25 23:01:02 2009
New Revision: 147854
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147854
Log:
PR c++/38064
* typeck.c (cp_build_b
--- Comment #8 from jason at gcc dot gnu dot org 2009-05-25 23:07 ---
Subject: Bug 38064
Author: jason
Date: Mon May 25 23:07:05 2009
New Revision: 147855
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147855
Log:
PR c++/38064
* typeck.c (cp_build_b
--- Comment #9 from jason at gcc dot gnu dot org 2009-05-25 23:12 ---
Fixed for 4.4.1.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #1 from jason at gcc dot gnu dot org 2009-06-02 17:03 ---
Subject: Bug 40311
Author: jason
Date: Tue Jun 2 17:02:38 2009
New Revision: 148089
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148089
Log:
PR c++/40308
PR c++/40311
*
--- Comment #1 from jason at gcc dot gnu dot org 2009-06-02 17:03 ---
Subject: Bug 40308
Author: jason
Date: Tue Jun 2 17:02:38 2009
New Revision: 148089
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148089
Log:
PR c++/40308
PR c++/40311
*
--- Comment #1 from jason at gcc dot gnu dot org 2009-06-02 17:03 ---
Subject: Bug 40307
Author: jason
Date: Tue Jun 2 17:02:27 2009
New Revision: 148088
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148088
Log:
PR c++/40306
PR c++/40307
--- Comment #1 from jason at gcc dot gnu dot org 2009-06-02 17:03 ---
Subject: Bug 40306
Author: jason
Date: Tue Jun 2 17:02:27 2009
New Revision: 148088
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148088
Log:
PR c++/40306
PR c++/40307
--- Comment #2 from jason at gcc dot gnu dot org 2009-06-02 20:13 ---
Fixed for 4.4.1 and 4.5.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from jason at gcc dot gnu dot org 2009-06-02 20:13 ---
Fixed for 4.4.1 and 4.5.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from jason at gcc dot gnu dot org 2009-06-02 20:14 ---
Fixed for 4.4.1 and 4.5.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from jason at gcc dot gnu dot org 2009-06-02 20:14 ---
Fixed for 4.4.1 and 4.5.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-03 18:12 ---
Subject: Bug 40308
Author: jason
Date: Wed Jun 3 18:11:53 2009
New Revision: 148141
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148141
Log:
PR c++/40308
PR c++/40311
*
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-03 18:12 ---
Subject: Bug 40307
Author: jason
Date: Wed Jun 3 18:11:53 2009
New Revision: 148141
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148141
Log:
PR c++/40308
PR c++/40311
*
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-03 18:12 ---
Subject: Bug 40311
Author: jason
Date: Wed Jun 3 18:11:53 2009
New Revision: 148141
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148141
Log:
PR c++/40308
PR c++/40311
*
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-03 18:12 ---
Subject: Bug 40306
Author: jason
Date: Wed Jun 3 18:11:53 2009
New Revision: 148141
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148141
Log:
PR c++/40308
PR c++/40311
*
--- Comment #4 from jason at gcc dot gnu dot org 2009-06-08 16:19 ---
I think it should be fixed in 4.3/4.4 since the bug wasn't present in 4.3.3 and
the fix is trivial.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40373
--- Comment #2 from jason at gcc dot gnu dot org 2009-06-09 18:19 ---
Subject: Bug 40381
Author: jason
Date: Tue Jun 9 18:18:45 2009
New Revision: 148319
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148319
Log:
PR c++/40381
* decl2.c (mark_used): Retu
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-09 18:20 ---
Subject: Bug 40381
Author: jason
Date: Tue Jun 9 18:20:29 2009
New Revision: 148320
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148320
Log:
PR c++/40381
* decl2.c (mark_used): Retu
--- Comment #4 from jason at gcc dot gnu dot org 2009-06-09 18:21 ---
Fixed for 4.4.1 and 4.5.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #8 from jason at gcc dot gnu dot org 2009-06-10 19:37 ---
As Jakub says, it's not a problem to take the address of a local variable as
long as that address is only used during the variable's lifetime; the
destructor for the temporary removes all references to its a
--- Comment #9 from jason at gcc dot gnu dot org 2009-06-10 19:40 ---
Actually, I'm not sure I'm the right person to work on this bug, as we might
want this analysis to happen more in the optimizer. That is, we see that
"this" escapes in one of the H constructo
--- Comment #11 from jason at gcc dot gnu dot org 2009-06-10 20:12 ---
I don't think it's possible to reproduce this in C because C doesn't have
constructors, so it's obvious when the address is taken. Here's what's
happening:
baz uses new to allocate an
--- Comment #12 from jason at gcc dot gnu dot org 2009-06-10 20:58 ---
Incidentally, the testcase can be simplified by removing the body of the copy
constructor, i.e. reducing it to just the declaration
H (const H &h);
since it isn't actually called.
--
http://gc
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #2 from jason at gcc dot gnu dot org 2009-06-24 16:26 ---
Subject: Bug 40342
Author: jason
Date: Wed Jun 24 16:25:52 2009
New Revision: 148910
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148910
Log:
PR c++/40342
* decl.c (decls_match
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-24 17:02 ---
Subject: Bug 40342
Author: jason
Date: Wed Jun 24 17:02:03 2009
New Revision: 148911
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148911
Log:
PR c++/40342
* decl.c (decls_match
--- Comment #4 from jason at gcc dot gnu dot org 2009-06-24 17:04 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
201 - 300 of 2098 matches
Mail list logo