[Bug c++/11078] [ABI] decltype(T()) doesn't work

2007-10-03 Thread jason at gcc dot gnu dot org


--- Comment #28 from jason at gcc dot gnu dot org  2007-10-03 23:54 ---
Changing the testcase to use decltype instead of typeof produces this error
with current sources:

wa.C:2: sorry, unimplemented: zero-operand casts cannot be mangled due to a
defect in the C++ ABI

Now that we have decltype, I think we don't need to worry about mangling
typeof.  I'm just going to add a sorry to suggest that people use decltype
instead.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||doug dot gregor at gmail dot
   ||com
   Keywords|ice-on-valid-code   |rejects-valid
Summary|[ABI] ICE in write_type with|[ABI] decltype(T()) doesn't
   |typeof and templates|work


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11078

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug target/26560] [4.1 regression] mips: unable to find a register to spill in class 'FP_REGS'

2007-10-23 Thread jason at gcc dot gnu dot org


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to work|3.4.6 4.2.0 |3.4.6 4.2.0 4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26560

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/24791] ICE on invalid instantiation of template's static member

2007-10-26 Thread jason at gcc dot gnu dot org


--- Comment #12 from jason at gcc dot gnu dot org  2007-10-26 19:54 ---
Subject: Bug 24791

Author: jason
Date: Fri Oct 26 19:54:10 2007
New Revision: 129660

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129660
Log:
PR c++/24791
* pt.c (get_template_info): New fn.
(template_class_depth): Use it.
(push_template_decl_real): Check that the template args of the
definition match the args of the previous declaration.

Added:
trunk/gcc/testsuite/g++.dg/template/error33.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/g++.old-deja/g++.pt/crash11.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24791

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug debug/35065] [4.3 Regression] infinite loop while compiling VLC media player in vt_find_locations

2008-02-11 Thread jason at gcc dot gnu dot org


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

  BugsThisDependsOn||31412


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35065

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu 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 |
 Status|NEW |ASSIGNED
   Last reconfirmed|2008-02-12 23:13:53 |2008-02-19 20:17:21
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


--- Comment #18 from jason at gcc dot gnu dot org  2008-02-19 21:21 ---
The problem comes when we deal with templates from non-template code.  In this
case, we are substituting some parameters but not all into a function template
declaration, so we end up building up new typename types with dependent scopes.

Changing make_typename_type to call uses_template_parms fixes the testcase, but
it seems that other similar issues may be hiding, and it may be better to bump
processing_template_decl at a higher level, perhaps
resolve_overloaded_unification.  But that may also leave other similar problems
elsewhere.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


--- Comment #20 from jason at gcc dot gnu dot org  2008-02-19 21:45 ---
Incidentally, the error that 3.3 gave for the testcase in comment #8 seems to
be correct: after we substitute the explicit args into the two function
templates, we are left with one which still has an unbound argument, which I
believe makes it an undeduced context under [temp.deduct.type] paragraph 5
("the set of functions provided as an argument contains one or more function
templates").  The EDG compiler seems to disagree, so this should probably
become a core language issue.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


--- Comment #19 from jason at gcc dot gnu dot org  2008-02-19 21:39 ---
(In reply to comment #18)
> it may be better to bump processing_template_decl at a higher level, perhaps
> resolve_overloaded_unification.

This seems to be the approach taken in the partial ordering code, so it seems
like the right answer.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

OtherBugsDependingO||35255
  nThis||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


--- Comment #21 from jason at gcc dot gnu dot org  2008-02-19 22:13 ---
On second thought, the testcase seems to be well-formed; we should do partial
ordering and  determine that the second template is more specialized than the
first.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


--- Comment #22 from jason at gcc dot gnu dot org  2008-02-19 22:53 ---
Subject: Bug 34950

Author: jason
Date: Tue Feb 19 22:53:07 2008
New Revision: 132455

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132455
Log:
PR c++/34950
* pt.c (resolve_overloaded_unification): Set processing_template_decl
while we look for possible bindings.

Added:
trunk/gcc/testsuite/g++.dg/template/explicit-args1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


--- Comment #23 from jason at gcc dot gnu dot org  2008-02-19 22:54 ---
Subject: Bug 34950

Author: jason
Date: Tue Feb 19 22:53:25 2008
New Revision: 132456

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132456
Log:
PR c++/34950
* pt.c (resolve_overloaded_unification): Set processing_template_decl
while we look for possible bindings.

Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/pt.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


--- Comment #24 from jason at gcc dot gnu dot org  2008-02-20 04:48 ---
Fixed in all open branches.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


--- Comment #26 from jason at gcc dot gnu dot org  2008-02-20 04:48 ---
Subject: Bug 34950

Author: jason
Date: Wed Feb 20 04:47:47 2008
New Revision: 132470

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132470
Log:
PR c++/34950
* pt.c (resolve_overloaded_unification): Set processing_template_decl
while we look for possible bindings.

Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/pt.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/34950] [4.2/4.3/4.4 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jason at gcc dot gnu dot org


--- Comment #25 from jason at gcc dot gnu dot org  2008-02-20 04:48 ---
Subject: Bug 34950

Author: jason
Date: Wed Feb 20 04:47:28 2008
New Revision: 132469

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132469
Log:
PR c++/34950
* pt.c (resolve_overloaded_unification): Set processing_template_decl
while we look for possible bindings.

PR c++/34774
* pt.c (value_dependent_expression_p): Look into DECL_INITIAL
of enumerators, too.

Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/pt.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug testsuite/33263] [4.3/4.4 regression] libjava testsuite failures on alpha-linux

2009-01-15 Thread jason at gcc dot gnu dot org


-- 
Bug 33263 depends on bug 31488, which changed state.

Bug 31488 Summary: [4.3/4.4 Regression] va_list considered non-POD
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31488

   What|Old Value   |New Value

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33263

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/13549] [4.2/4.3/4.4 regression] Problem compiling Boost.Python test

2009-03-03 Thread jason at gcc dot gnu dot org


--- Comment #16 from jason at gcc dot gnu dot org  2009-03-03 20:02 ---
I don't see a core issue about this question, but it seems pretty clear to me
that since g is dependent, and [temp.arg.explicit]/8 says that we should do
arg-dependent lookup for template-ids (which we don't seem to do currently; we
get that example wrong), then we should do late lookup for g as well.

We ought to accept this test.  Unsuspending, re-marking as regression.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|        |jason at gcc dot gnu dot org
 Status|SUSPENDED   |NEW
   Last reconfirmed|2005-12-18 20:25:55 |2009-03-03 20:02:52
   date||
Summary|Problem compiling   |[4.2/4.3/4.4 regression]
   |Boost.Python test   |Problem compiling
   ||Boost.Python test


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13549

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression] error: non-template 'pair' used as template

2009-03-03 Thread jason at gcc dot gnu dot org


--- Comment #11 from jason at gcc dot gnu dot org  2009-03-03 21:10 ---
I don't see any open issues about DR 224 since it went into the WP. 
Unsuspending, P3.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jason at gcc dot gnu dot org
 Status|SUSPENDED   |NEW
   Priority|P4  |P3
   Last reconfirmed|2008-01-08 16:16:42 |2009-03-03 21:10:30
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes

2009-03-03 Thread jason at gcc dot gnu dot org


--- Comment #15 from jason at gcc dot gnu dot org  2009-03-03 21:14 ---
I don't see any justification for suspending DR 224 PRs when there isn't an
open core issue about the alleged problems.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|SUSPENDED   |NEW
   Priority|P4  |P3
   Last reconfirmed|2008-01-08 16:17:08 |2009-03-03 21:14:04
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes

2009-03-03 Thread jason at gcc dot gnu dot org


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jason at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug tree-optimization/30132] [4.2 Regression] ICE in find_lattice_value, at tree-complex.c:133

2009-03-03 Thread jason at gcc dot gnu dot org


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|jason at gcc dot gnu dot org|


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30132

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes

2009-03-04 Thread jason at gcc dot gnu 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 |
 Status|NEW |ASSIGNED
   Last reconfirmed|2009-03-04 12:05:56 |2009-03-04 14:48:18
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression] error: non-template 'pair' used as template

2009-03-04 Thread jason at gcc dot gnu 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 |
 Status|NEW |ASSIGNED
   Last reconfirmed|2009-03-03 21:10:30 |2009-03-04 16:54:14
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes

2009-03-04 Thread jason at gcc dot gnu dot org


--- Comment #17 from jason at gcc dot gnu dot org  2009-03-04 18:42 ---
Subject: Bug 29607

Author: jason
Date: Wed Mar  4 18:42:17 2009
New Revision: 144618

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144618
Log:
PR c++/9634
PR c++/29469
PR c++/29607
* decl.c (make_typename_type): Do look inside currently open classes.
* parser.c (cp_parser_lookup_name): Likewise.
(cp_parser_template_name): Likewise.
* pt.c (dependent_scope_p): New function.
* cp-tree.h: Declare it.
* class.c (currently_open_class): Return fast if T isn't a class.

Added:
trunk/gcc/testsuite/g++.dg/template/dependent-name5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/parser.c
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression] error: non-template 'pair' used as template

2009-03-04 Thread jason at gcc dot gnu dot org


--- Comment #12 from jason at gcc dot gnu dot org  2009-03-04 18:42 ---
Subject: Bug 29469

Author: jason
Date: Wed Mar  4 18:42:17 2009
New Revision: 144618

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144618
Log:
PR c++/9634
PR c++/29469
PR c++/29607
* decl.c (make_typename_type): Do look inside currently open classes.
* parser.c (cp_parser_lookup_name): Likewise.
(cp_parser_template_name): Likewise.
* pt.c (dependent_scope_p): New function.
* cp-tree.h: Declare it.
* class.c (currently_open_class): Return fast if T isn't a class.

Added:
trunk/gcc/testsuite/g++.dg/template/dependent-name5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/parser.c
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression] error: non-template 'pair' used as template

2009-03-04 Thread jason at gcc dot gnu dot org


--- Comment #13 from jason at gcc dot gnu dot org  2009-03-04 19:38 ---
Subject: Bug 29469

Author: jason
Date: Wed Mar  4 19:37:43 2009
New Revision: 144621

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144621
Log:
PR c++/9634
PR c++/29469
PR c++/29607
Implement DR 224.
* decl.c (make_typename_type): Do look inside currently open classes.
* parser.c (cp_parser_lookup_name): Likewise.
(cp_parser_template_name): Likewise.
* pt.c (dependent_scope_p): New function.
* cp-tree.h: Declare it.
* class.c (currently_open_class): Return fast if T isn't a class.

Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/dependent-name5.C
  - copied unchanged from r144618,
trunk/gcc/testsuite/g++.dg/template/dependent-name5.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/class.c
branches/gcc-4_3-branch/gcc/cp/cp-tree.h
branches/gcc-4_3-branch/gcc/cp/decl.c
branches/gcc-4_3-branch/gcc/cp/parser.c
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes

2009-03-04 Thread jason at gcc dot gnu dot org


--- Comment #18 from jason at gcc dot gnu dot org  2009-03-04 19:38 ---
Subject: Bug 29607

Author: jason
Date: Wed Mar  4 19:37:43 2009
New Revision: 144621

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144621
Log:
PR c++/9634
PR c++/29469
PR c++/29607
Implement DR 224.
* decl.c (make_typename_type): Do look inside currently open classes.
* parser.c (cp_parser_lookup_name): Likewise.
(cp_parser_template_name): Likewise.
* pt.c (dependent_scope_p): New function.
* cp-tree.h: Declare it.
* class.c (currently_open_class): Return fast if T isn't a class.

Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/dependent-name5.C
  - copied unchanged from r144618,
trunk/gcc/testsuite/g++.dg/template/dependent-name5.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/class.c
branches/gcc-4_3-branch/gcc/cp/cp-tree.h
branches/gcc-4_3-branch/gcc/cp/decl.c
branches/gcc-4_3-branch/gcc/cp/parser.c
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes

2009-03-04 Thread jason at gcc dot gnu dot org


-- 
Bug 29607 depends on bug 29469, which changed state.

Bug 29469 Summary: [DR 224] [4.2/4.3/4.4 Regression]  error: non-template 
'pair' used as template
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

   What|Old Value   |New Value

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression] error: non-template 'pair' used as template

2009-03-04 Thread jason at gcc dot gnu dot org


--- Comment #14 from jason at gcc dot gnu dot org  2009-03-04 19:40 ---
Fixed for 4.3 and 4.4, not applying to 4.2.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|4.2.5   |4.3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes

2009-03-04 Thread jason at gcc dot gnu dot org


--- Comment #19 from jason at gcc dot gnu dot org  2009-03-04 19:41 ---
Fixed for 4.3 and 4.4, not applying to 4.2.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|4.2.5   |4.3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes

2009-03-04 Thread jason at gcc dot gnu dot org


-- 
Bug 29607 depends on bug 9634, which changed state.

Bug 9634 Summary: [DR224] Injected class name as qualifier should not make the 
name dependent
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9634

   What|Old Value   |New Value

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression] error: non-template 'pair' used as template

2009-03-04 Thread jason at gcc dot gnu dot org


-- 
Bug 29469 depends on bug 9634, which changed state.

Bug 9634 Summary: [DR224] Injected class name as qualifier should not make the 
name dependent
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9634

   What|Old Value   |New Value

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/13549] [4.2/4.3/4.4 regression] Problem compiling Boost.Python test

2009-03-04 Thread jason at gcc dot gnu dot org


--- Comment #17 from jason at gcc dot gnu dot org  2009-03-05 00:44 ---
That is, even though g(j) does not have any dependent arguments, the call is
dependent, so it should get arg-dependent lookup, which should find g(h)
because it's in the associated namespace of j.


-- 

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 |
 Status|NEW |ASSIGNED
   Last reconfirmed|2009-03-03 20:02:52 |2009-03-05 00:44:57
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13549

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/13549] [4.2/4.3/4.4 regression] Problem compiling Boost.Python test

2009-03-04 Thread jason at gcc dot gnu dot org


--- Comment #18 from jason at gcc dot gnu dot org  2009-03-05 02:49 ---
Subject: Bug 13549

Author: jason
Date: Thu Mar  5 02:49:13 2009
New Revision: 144636

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144636
Log:
PR c++/13549
* semantics.c (perform_koenig_lookup): Handle TEMPLATE_ID_EXPR.
* parser.c (cp_parser_postfix_expression): Call it for
TEMPLATE_ID_EXPR.
* tree.c (is_overloaded_fn): Look through TEMPLATE_ID_EXPR.
(get_first_fn): Likewise.

Added:
trunk/gcc/testsuite/g++.dg/template/koenig7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/cp/semantics.c
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13549

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/13549] [4.2/4.3/4.4 regression] Problem compiling Boost.Python test

2009-03-04 Thread jason at gcc dot gnu dot org


--- Comment #19 from jason at gcc dot gnu dot org  2009-03-05 02:51 ---
Fixed for 4.4.  I'm not comfortable applying this to older release branches.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|4.2.5   |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13549

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes

2009-04-03 Thread jason at gcc dot gnu dot org


--- Comment #20 from jason at gcc dot gnu dot org  2009-04-03 17:32 ---
Subject: Bug 29607

Author: jason
Date: Fri Apr  3 17:31:38 2009
New Revision: 145510

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145510
Log:
Revert:
PR c++/9634
PR c++/29469
PR c++/29607
Implement DR 224.
* decl.c (make_typename_type): Do look inside currently open classes.
* parser.c (cp_parser_lookup_name): Likewise.
(cp_parser_template_name): Likewise.
* pt.c (dependent_scope_p): New function.
* cp-tree.h: Declare it.
* class.c (currently_open_class): Return fast if T isn't a class.

Removed:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/dependent-name5.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/class.c
branches/gcc-4_3-branch/gcc/cp/cp-tree.h
branches/gcc-4_3-branch/gcc/cp/decl.c
branches/gcc-4_3-branch/gcc/cp/parser.c
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression] error: non-template 'pair' used as template

2009-04-03 Thread jason at gcc dot gnu dot org


--- Comment #15 from jason at gcc dot gnu dot org  2009-04-03 17:32 ---
Subject: Bug 29469

Author: jason
Date: Fri Apr  3 17:31:38 2009
New Revision: 145510

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145510
Log:
Revert:
PR c++/9634
PR c++/29469
PR c++/29607
Implement DR 224.
* decl.c (make_typename_type): Do look inside currently open classes.
* parser.c (cp_parser_lookup_name): Likewise.
(cp_parser_template_name): Likewise.
* pt.c (dependent_scope_p): New function.
* cp-tree.h: Declare it.
* class.c (currently_open_class): Return fast if T isn't a class.

Removed:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/dependent-name5.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/class.c
branches/gcc-4_3-branch/gcc/cp/cp-tree.h
branches/gcc-4_3-branch/gcc/cp/decl.c
branches/gcc-4_3-branch/gcc/cp/parser.c
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/5458] address of overloaded template function as argument for template

2009-11-24 Thread jason at gcc dot gnu dot org


--- Comment #14 from jason at gcc dot gnu dot org  2009-11-25 02:55 ---
I'm not sure the standard actually says that this is well-formed, though it
seems reasonable to me.

13.4/2: If the name is a function template, template argument deduction is done
(14.9.2.2), and if the argument deduction succeeds, the resulting template
argument list is used to generate a single function template specialization,
which is added to the set of overloaded functions considered.

14.9.2.2: The function template’s function type and the specified type are used
as the types of P and A, and the deduction is done as described in 14.9.2.5.

It's not entirely clear that there is a "specified type" for this kind of
two-way deduction.  EDG also rejects this.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|                |jason at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5458

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/42701] [4.5 Regression] ICE on error recovery

2010-01-14 Thread jason at gcc dot gnu dot org


--- Comment #9 from jason at gcc dot gnu dot org  2010-01-14 22:32 ---
Subject: Bug 42701

Author: jason
Date: Thu Jan 14 22:32:24 2010
New Revision: 155916

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155916
Log:
PR c++/42701
* call.c (build_new_method_call): Don't free the vec here.

Added:
trunk/gcc/testsuite/g++.dg/overload/error3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42701

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/42701] [4.5 Regression] ICE on error recovery

2010-01-14 Thread jason at gcc dot gnu dot org


--- Comment #10 from jason at gcc dot gnu dot org  2010-01-14 22:34 ---
Fixed.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42701

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/42701] [4.5 Regression] ICE on error recovery

2010-01-14 Thread jason at gcc dot gnu dot org


--- Comment #11 from jason at gcc dot gnu dot org  2010-01-15 06:18 ---
*** Bug 42569 has been marked as a duplicate of this bug. ***


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dirtyepic at gentoo dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42701

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/42569] [4.5 Regression] ICE in cp_parser_parenthesized_expression_list at cp/parser.c

2010-01-14 Thread jason at gcc dot gnu dot org


--- Comment #5 from jason at gcc dot gnu dot org  2010-01-15 06:18 ---


*** This bug has been marked as a duplicate of 42701 ***


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42569

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/5458] address of overloaded template function as argument for template

2010-01-21 Thread jason at gcc dot gnu dot org


--- Comment #17 from jason at gcc dot gnu dot org  2010-01-21 19:09 ---
We describe a template as overloading itself since it represents any number of
actual functions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5458

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-07-05 Thread jason at gcc dot gnu dot org


--- Comment #5 from jason at gcc dot gnu dot org  2006-07-05 20:38 ---
This is intended behavior: a non-POD type which has been marked as packed can
be used as a packed field.  13983 and 17519 are bugs in that feature.

In this case, nonpod_pack::n is not packed, so it is safe to pack fields of
nonpod_pack type.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-07-05 Thread jason at gcc dot gnu dot org


-- 
Bug 26670 depends on bug 13983, which changed state.

Bug 13983 Summary: no warning on some non-POD struct with packed attribute
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13983

   What|Old Value   |New Value

 Status|NEW |RESOLVED
 Resolution||FIXED

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-07-05 Thread jason at gcc dot gnu dot org


-- 
Bug 26670 depends on bug 17519, which changed state.

Bug 17519 Summary: [4.0/4.1/4.2 Regression] Warning for array of packed non-POD 
in packed struct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17519

   What|Old Value   |New Value

 Status|NEW |RESOLVED
 Resolution||FIXED

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-07-05 Thread jason at gcc dot gnu dot org


--- Comment #6 from jason at gcc dot gnu dot org  2006-07-06 03:48 ---
Hmm, actually comment #2 does seem like a bug, both foos should compile
cleanly.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|INVALID |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-07-05 Thread jason at gcc dot gnu 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 |
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-07-06 03:52:12
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-08-28 Thread jason at gcc dot gnu dot org


--- Comment #7 from jason at gcc dot gnu dot org  2006-08-28 08:31 ---
Or perhaps we should ignore the __attribute__ ((packed)) on nonpod_pack, since
one of its fields isn't safe to pack.  Yes, that seems like the right way to
handle this testcase.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-08-29 Thread jason at gcc dot gnu dot org


--- Comment #8 from jason at gcc dot gnu dot org  2006-08-29 06:55 ---
Subject: Bug 26670

Author: jason
Date: Tue Aug 29 06:55:35 2006
New Revision: 116555

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116555
Log:
PR c++/26670
* class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
fields can't be packed.

Added:
trunk/gcc/testsuite/g++.dg/ext/packed11.C
Modified:
trunk/gcc/cp/class.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-08-29 Thread jason at gcc dot gnu dot org


--- Comment #9 from jason at gcc dot gnu dot org  2006-08-29 07:10 ---
Subject: Bug 26670

Author: jason
Date: Tue Aug 29 07:10:38 2006
New Revision: 116556

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116556
Log:
PR c++/26670
* class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
fields can't be packed.

Modified:
trunk/gcc/cp/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-08-30 Thread jason at gcc dot gnu dot org


--- Comment #12 from jason at gcc dot gnu dot org  2006-08-30 15:51 ---
Subject: Bug 26670

Author: jason
Date: Wed Aug 30 15:51:17 2006
New Revision: 116591

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116591
Log:
PR c++/26670
* class.c (check_field_decls): Don't unset TYPE_PACKED until all
the fields have been processed.

Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-08-30 Thread jason at gcc dot gnu dot org


--- Comment #14 from jason at gcc dot gnu dot org  2006-08-30 15:52 ---
fixed on 4.1 branch too.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26670] attribute((packed)) sometimes not ignored for non-PODs

2006-08-30 Thread jason at gcc dot gnu dot org


--- Comment #13 from jason at gcc dot gnu dot org  2006-08-30 15:52 ---
Subject: Bug 26670

Author: jason
Date: Wed Aug 30 15:52:12 2006
New Revision: 116592

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116592
Log:
PR c++/26670
* class.c (check_field_decls): Don't unset TYPE_PACKED until all
the fields have been processed.

PR c++/26670
* class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
fields can't be packed.

Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/class.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/21123] [4.0/4.1 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-07 Thread jason at gcc dot gnu 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 |
 Status|NEW |ASSIGNED
   Last reconfirmed|2005-04-29 13:12:21 |2005-11-07 18:10:08
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/21123] [4.0/4.1 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-07 Thread jason at gcc dot gnu dot org


--- Comment #24 from jason at gcc dot gnu dot org  2005-11-07 19:35 ---
This is a bug in the generic thunk support; it doesn't show up on x86 because
it uses asm thunks.  Continuing to investigate.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/21123] [4.0/4.1 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-08 Thread jason at gcc dot gnu dot org


--- Comment #25 from jason at gcc dot gnu dot org  2005-11-08 08:32 ---
Subject: Bug 21123

Author: jason
Date: Tue Nov  8 08:32:26 2005
New Revision: 106634

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106634
Log:
PR c++/21123
* cp/method.c (use_thunk): Use build_cplus_new instead of
force_target_expr.

* tree.h (CALL_FROM_THUNK_P): Add CALL_EXPR_CHECK.

Added:
trunk/gcc/testsuite/g++.dg/inherit/thunk4.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/method.c
trunk/gcc/tree.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/21123] [4.0 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-09 Thread jason at gcc dot gnu dot org


--- Comment #27 from jason at gcc dot gnu dot org  2005-11-09 16:58 ---
Subject: Bug 21123

Author: jason
Date: Wed Nov  9 16:58:52 2005
New Revision: 106698

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106698
Log:
PR c++/21123
* method.c (use_thunk): Use build_cplus_new instead of
force_target_expr.

Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/inherit/thunk4.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/method.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/21123] [4.0/4.1 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-23 Thread jason at gcc dot gnu dot org


--- Comment #32 from jason at gcc dot gnu dot org  2005-11-23 23:56 ---
My earlier patch fixed all the reduced testcases, but not the unreduced one. 
Here's a reduced testcase that still fails (adding a by-value parm to the
virtual function):

struct A
{
  A(const A &a);
  const A& operator=(const A& a);
};

struct B
{
  virtual A f(A);
};

struct C : virtual B
{
  virtual A f(A);
};

A C::f(A a)
{
  return a;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/21123] [4.0/4.1 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-30 Thread jason at gcc dot gnu dot org


--- Comment #33 from jason at gcc dot gnu dot org  2005-11-30 20:58 ---
Subject: Bug 21123

Author: jason
Date: Wed Nov 30 20:58:27 2005
New Revision: 107738

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107738
Log:
PR c++/21123
* cp-gimplify.c (cp_genericize_r): Don't dereference invisible
reference
parms in a thunk.

Added:
trunk/gcc/testsuite/g++.dg/inherit/thunk5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/21123] [4.0/4.1 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-30 Thread jason at gcc dot gnu dot org


--- Comment #34 from jason at gcc dot gnu dot org  2005-11-30 21:08 ---
Subject: Bug 21123

Author: jason
Date: Wed Nov 30 21:08:39 2005
New Revision: 107740

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107740
Log:
PR c++/21123
* cp-gimplify.c (cp_genericize_r): Don't dereference invisible
reference
parms in a thunk.

Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/inherit/thunk5.C
  - copied unchanged from r107738,
trunk/gcc/testsuite/g++.dg/inherit/thunk5.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/cp-gimplify.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/21123] [4.0/4.1 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

2005-11-30 Thread jason at gcc dot gnu dot org


--- Comment #35 from jason at gcc dot gnu dot org  2005-11-30 21:40 ---
Subject: Bug 21123

Author: jason
Date: Wed Nov 30 21:40:12 2005
New Revision: 107742

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107742
Log:
PR c++/21123
* cp-gimplify.c (cp_genericize_r): Don't dereference invisible
reference
parms in a thunk.

Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/inherit/thunk5.C
  - copied unchanged from r107738,
trunk/gcc/testsuite/g++.dg/inherit/thunk5.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/cp-gimplify.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug target/29825] [4.1 regression] ICE in extract_insn, at recog.c:2084

2006-11-14 Thread jason at gcc dot gnu dot org


--- Comment #16 from jason at gcc dot gnu dot org  2006-11-14 18:21 ---
(In reply to comment #15)
> patch

Please apply this patch to 4.2 and the trunk.  I've reverted my patch on the
4.1 branch, as it seems to be too risky there.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29825

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2007-08-20 Thread jason at gcc dot gnu dot org


--- Comment #24 from jason at gcc dot gnu dot org  2007-08-20 15:08 ---
Subject: Bug 7302

Author: jason
Date: Mon Aug 20 15:08:24 2007
New Revision: 127649

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127649
Log:
PR c++/7302
* cp/class.c (finish_struct_1): Warn when a class has virtual
functions and accessible non-virtual destructor.

* doc/invoke.texi (-Wnon-virtual-dtor): Update documentation.

* g++.dg/warn/Wnvdtor-2.C: New testcase.

Added:
trunk/gcc/testsuite/g++.dg/warn/Wnvdtor-2.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]