[Bug c++/28409] [4.2 Regression] extern "C" and anonymous namespace

2006-07-20 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2006-07-20 16:20 --- fixed -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/28514] [4.2 Regression] libstdc++ vs. anonymous namespaces

2006-07-31 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2006-07-31 08:16 --- The testcase gives the same errors for me when compiled as normal C++ as in PCH mode. The problem seems to be that you're removing the Rope_constants namespace name and creating a name lookup collision betwee

[Bug c++/28514] [4.2 Regression] libstdc++ vs. anonymous namespaces

2006-07-31 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2006-07-31 08:20 --- In general, I think using the anonymous namespace in headers is not what you want. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28514

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

2006-07-31 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2006-07-31 09:38 --- Created an attachment (id=11978) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11978&action=view) libstdc++ patch to allow catching forced unwind separately Trying to move this issue forward: here'

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

2006-07-31 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2006-07-31 09:40 --- Created an attachment (id=11979) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11979&action=view) NPTL patch to allow discarding cancellation exception And here's a completely untested patc

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

2006-07-31 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2006-08-01 02:13 --- Created an attachment (id=11985) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11985&action=view) libstdc++ patch to prevent ... from catching forced unwird Finally, this patch stops ... from catching

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

2006-07-31 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2006-08-01 02:33 --- Created an attachment (id=11986) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11986&action=view) revision to forced-lib.patch that also adds __foreign_exception -- jason at gcc dot gnu dot org

[Bug other/28145] C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)

2006-08-01 Thread jason at gcc dot gnu dot org
--- Comment #13 from jason at gcc dot gnu dot org 2006-08-01 21:08 --- Created an attachment (id=11988) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11988&action=view) NPTL patch for sticky cancellation Revised, tested patch with testcase. So, there are 3 patches here

[Bug c++/28559] [4.2 regression] ICE with friend and __attribute__

2006-08-10 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

[Bug c++/28559] [4.2 regression] ICE with friend and __attribute__

2006-08-14 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2006-08-14 21:25 --- Subject: Bug 28559 Author: jason Date: Mon Aug 14 21:25:03 2006 New Revision: 116137 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116137 Log: PR c++/28559 *

[Bug c++/28385] [4.0/4.1/4.2 regression] templated function call goes awry

2006-08-16 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

[Bug c++/28385] [4.0/4.1/4.2 regression] templated function call goes awry

2006-08-16 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2006-08-17 00:51 --- Subject: Bug 28385 Author: jason Date: Thu Aug 17 00:51:37 2006 New Revision: 116203 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116203 Log: PR c++/28385 * pt.c (tsubst) [TEMPLATE_T

[Bug c++/28385] [4.0/4.1 regression] templated function call goes awry

2006-08-18 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2006-08-18 16:27 --- Subject: Bug 28385 Author: jason Date: Fri Aug 18 16:27:03 2006 New Revision: 116243 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116243 Log: PR c++/28385 * pt.c (tsubst) [TEMPLATE_T

[Bug c++/28385] [4.0/4.1 regression] templated function call goes awry

2006-08-18 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2006-08-18 16:28 --- Subject: Bug 28385 Author: jason Date: Fri Aug 18 16:28:15 2006 New Revision: 116244 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116244 Log: PR c++/28385 * pt.c (tsubst) [TEMPLATE_T

[Bug c++/27115] [4.0/4.1/4.2 Regression] ICE in cp_expr_size or miscompilation with statement expressions and constructors (and ?: )

2006-08-21 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2006-08-21 20:55 --- Subject: Bug 27115 Author: jason Date: Mon Aug 21 20:54:57 2006 New Revision: 116311 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116311 Log: PR c++/27115 * gimplify.c (voidify_wrap

[Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2006-08-22 16:38 --- That patch didn't fix it, but I do have a fix now; I'll check it in soon. -- jason at gcc dot gnu dot org changed: What|Removed

[Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2006-08-22 18:27 --- Subject: Bug 28659 Author: jason Date: Tue Aug 22 18:27:26 2006 New Revision: 116329 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116329 Log: PR c++/28659 * typeck.c (merge_ty

[Bug c++/27115] [4.0/4.1 Regression] ICE in cp_expr_size or miscompilation with statement expressions and constructors (and ?: )

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2006-08-22 18:41 --- This is too big a change to apply to 4.0 or 4.1, so WONTFIX there. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28420] [4.0/4.1/4.2 regression] ICE with "typeid" as template parameter

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2006-08-22 18:51 --- Subject: Bug 28420 Author: jason Date: Tue Aug 22 18:51:40 2006 New Revision: 116330 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116330 Log: PR c++/28420 *

[Bug c++/23211] [4.0/4.1/4.2 regression] using dec in nested class doesn't import name

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2006-08-22 19:17 --- The using-declaration is invalid because foo is not a base of bar. icc also rejects the testcase if you try to instantiate bar. -- jason at gcc dot gnu dot org changed: What|Removed

[Bug c++/14167] Unneeded C++ types are output in debug info due to use of static constants

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2006-08-22 19:34 --- [basic.def.odr] says that an object that appears in an integral constant expression is not thereby "used", and it seems reasonable to extend that to not setting TREE_USED. -- http://gcc.gnu.or

[Bug c++/27714] [4.0/4.1/4.2 regression] operator new as friend in template class rejected

2006-08-22 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

[Bug c++/28255] [4.1/4.2 regression] ICE with C99 compund literal (scalar), initializer and templates

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2006-08-22 20:22 --- It seems we've never really handled compound-literals properly within templates. This doesn't seem like a regression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28255

[Bug c++/28558] [4.0/4.1/4.2 regression] Trouble with new and __attribute__

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2006-08-22 20:41 --- This testcase reproduces the bug without new. The problem is that applying attributes to a type creates a new TYPE_MAIN_VARIANT, which is fundamentally nonsensical for class types. We really need to impose more

[Bug c++/28560] [4.0/4.1/4.2 regression] Trouble with __attribute__ in template parameter

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2006-08-22 20:42 --- *** This bug has been marked as a duplicate of 28558 *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28558] [4.0/4.1/4.2 regression] Trouble with new and __attribute__

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2006-08-22 20:42 --- *** Bug 28560 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28558

[Bug c++/28558] [4.0/4.1/4.2 regression] Trouble with new and __attribute__

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2006-08-22 20:43 --- Related to PR 28659. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28558

[Bug c++/23372] [4.0/4.1/4.2 Regression] Temporary aggregate copy not elided when passing parameters by value

2006-08-22 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

[Bug c++/24009] [4.0/4.1/4.2 regression] C++ fails to print #include stack

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2006-08-22 21:25 --- *** Bug 24037 has been marked as a duplicate of this bug. *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/24037] [4.0/4.1/4.2 regression] C++ front-end does not print #include stack for parsering errors

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2006-08-22 21:25 --- *** This bug has been marked as a duplicate of 24009 *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/22488] [4.1/4.2 Regression] push_fields_onto_fieldstack calculates offset incorrectly

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #47 from jason at gcc dot gnu dot org 2006-08-22 21:54 --- Accepting so I remember to implement my proposal sometime soon. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/23372] [4.0/4.1/4.2 Regression] Temporary aggregate copy not elided when passing parameters by value

2006-08-22 Thread jason at gcc dot gnu dot org
--- Comment #38 from jason at gcc dot gnu dot org 2006-08-23 04:27 --- Subject: Bug 23372 Author: jason Date: Wed Aug 23 04:27:43 2006 New Revision: 116342 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116342 Log: PR c++/23372 * call.c (build_over_call

[Bug c++/28687] [4.2 regression] dynamic_cast disallowed too rigorously with -fno-rtti

2006-08-23 Thread jason at gcc dot gnu dot org
--- Comment #18 from jason at gcc dot gnu dot org 2006-08-23 14:04 --- Subject: Bug 28687 Author: jason Date: Wed Aug 23 14:04:24 2006 New Revision: 116350 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116350 Log: PR c++/28687 * rtti.c (build_dyna

[Bug c++/23372] [4.0/4.1 Regression] Temporary aggregate copy not elided when passing parameters by value

2006-08-23 Thread jason at gcc dot gnu dot org
--- Comment #39 from jason at gcc dot gnu dot org 2006-08-23 14:22 --- Subject: Bug 23372 Author: jason Date: Wed Aug 23 14:22:41 2006 New Revision: 116351 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116351 Log: PR c++/23372 * call.c (build_over_call

[Bug c++/23372] [4.0/4.1 Regression] Temporary aggregate copy not elided when passing parameters by value

2006-08-23 Thread jason at gcc dot gnu dot org
--- Comment #40 from jason at gcc dot gnu dot org 2006-08-23 14:22 --- Subject: Bug 23372 Author: jason Date: Wed Aug 23 14:22:49 2006 New Revision: 116352 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116352 Log: PR c++/23372 * call.c (build_over_call

[Bug c++/23372] [4.0/4.1 Regression] Temporary aggregate copy not elided when passing parameters by value

2006-08-23 Thread jason at gcc dot gnu dot org
--- Comment #41 from jason at gcc dot gnu dot org 2006-08-23 14:33 --- fixed in 4.0 and 4.1 as well. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27714] [4.0/4.1/4.2 regression] operator new as friend in template class rejected

2006-08-24 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2006-08-24 15:54 --- Subject: Bug 27714 Author: jason Date: Thu Aug 24 15:54:39 2006 New Revision: 116379 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116379 Log: PR c++/27714 * pt.c (push_template_decl_

[Bug c++/27714] [4.0/4.1/4.2 regression] operator new as friend in template class rejected

2006-08-24 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2006-08-24 16:34 --- Subject: Bug 27714 Author: jason Date: Thu Aug 24 16:34:46 2006 New Revision: 116380 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116380 Log: PR c++/27714 * pt.c (push_template_decl_

[Bug c++/27714] [4.0/4.1/4.2 regression] operator new as friend in template class rejected

2006-08-24 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2006-08-24 16:35 --- Subject: Bug 27714 Author: jason Date: Thu Aug 24 16:35:03 2006 New Revision: 116381 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116381 Log: PR c++/27714 * pt.c (push_template_decl_

[Bug c++/27714] [4.0/4.1/4.2 regression] operator new as friend in template class rejected

2006-08-24 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2006-08-24 16:35 --- . -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/27012] visibility attribute should not be permitted on local variables

2006-08-27 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2006-08-27 17:44 --- All diagnostics about meaningless attributes are currently warnings. I'm not going to change this one to be different from the others. -- jason at gcc dot gnu dot org changed: What|Re

[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/bug

[Bug c++/27714] [4.0/4.1/4.2 regression] operator new as friend in template class rejected

2006-08-28 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2006-08-29 04:42 --- Subject: Bug 27714 Author: jason Date: Tue Aug 29 04:42:46 2006 New Revision: 116551 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116551 Log: PR c++/27714 * pt.c (push_template_decl_

[Bug c++/26577] [4.0/4.1/4.2 regression] ICE in cp_expr_size with volatile and non POD

2006-08-28 Thread jason at gcc dot gnu dot org
--- Comment #19 from jason at gcc dot gnu dot org 2006-08-29 06:55 --- Subject: Bug 26577 Author: jason Date: Tue Aug 29 06:55:03 2006 New Revision: 116554 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116554 Log: PR c++/26577 * cvt.c (convert_to_void

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

2006-08-28 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_fie

[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_fie

[Bug c++/26577] [4.0/4.1 regression] ICE in cp_expr_size with volatile and non POD

2006-08-29 Thread jason at gcc dot gnu dot org
--- Comment #20 from jason at gcc dot gnu dot org 2006-08-29 18:15 --- Subject: Bug 26577 Author: jason Date: Tue Aug 29 18:15:20 2006 New Revision: 116568 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116568 Log: PR c++/26577 * cvt.c (convert_to_void

[Bug c++/26577] [4.0/4.1 regression] ICE in cp_expr_size with volatile and non POD

2006-08-29 Thread jason at gcc dot gnu dot org
--- Comment #21 from jason at gcc dot gnu dot org 2006-08-30 02:59 --- Subject: Bug 26577 Author: jason Date: Wed Aug 30 02:59:14 2006 New Revision: 116576 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116576 Log: PR c++/26577 * cvt.c (convert_to_void

[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_fie

[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_fie

[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

[Bug c++/28899] [/4.2 regression] gimplification failed

2006-09-01 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

[Bug c++/28899] [4.2 regression] gimplification failed

2006-09-01 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2006-09-01 17:59 --- Subject: Bug 28899 Author: jason Date: Fri Sep 1 17:59:41 2006 New Revision: 116637 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116637 Log: PR c++/28899 * gi

[Bug c++/28899] [4.2 regression] gimplification failed

2006-09-01 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2006-09-01 18:00 --- fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/22597] [4.0 Regression] pure attribute produces incorrect results

2006-09-04 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2006-09-04 07:51 --- Fixed in 4.1. The patch is too dangerous to backport to 4.0. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28513] [4.0/4.1/4.2 Regression] QOI: Diagnostic missing since 3.3.x when naming rule is violated

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2006-09-05 23:14 --- I guess this warning was never implemented in the new parser. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28513

[Bug c++/19809] [4.0/4.1/4.2 Regression] Multiple definitions of friend functions in template classes

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2006-09-05 23:26 --- I'm not sure this is actually a bug. -- jason at gcc dot gnu dot org changed: What|Removed |

[Bug c++/19809] [4.0/4.1/4.2 Regression] Multiple definitions of friend functions in template classes

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2006-09-05 23:27 --- Actually, I am, didn't mean to add that comment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19809

[Bug c++/26102] [4.1/4.2 regression] "using Base::member" nonsense

2006-09-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

[Bug c++/26571] [4.0/4.1/4.2 regression] Bad diagnostic using type modifier with struct

2006-09-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

[Bug c++/26671] [4.0/4.1/4.2 Regression] Missing "warning: reference to local variable returned"

2006-09-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

[Bug c++/26696] [4.0/4.1/4.2 Regression] ICE with statement forming unused static member function reference

2006-09-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

[Bug c++/19809] [4.0/4.1/4.2 Regression] Multiple definitions of friend functions in template classes

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2006-09-06 01:15 --- Subject: Bug 19809 Author: jason Date: Wed Sep 6 01:15:09 2006 New Revision: 116709 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116709 Log: PR c++/26102 * name-

[Bug c++/26102] [4.1/4.2 regression] "using Base::member" nonsense

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2006-09-06 01:15 --- Subject: Bug 26102 Author: jason Date: Wed Sep 6 01:15:09 2006 New Revision: 116709 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116709 Log: PR c++/26102 * name-

[Bug c++/19809] [4.0/4.1/4.2 Regression] Multiple definitions of friend functions in template classes

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2006-09-06 01:15 --- Subject: Bug 19809 Author: jason Date: Wed Sep 6 01:15:39 2006 New Revision: 116710 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116710 Log: PR c++/26102 * name-

[Bug c++/26102] [4.1/4.2 regression] "using Base::member" nonsense

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2006-09-06 01:15 --- Subject: Bug 26102 Author: jason Date: Wed Sep 6 01:15:39 2006 New Revision: 116710 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116710 Log: PR c++/26102 * name-

[Bug c++/26671] [4.0/4.1/4.2 Regression] Missing "warning: reference to local variable returned"

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2006-09-06 05:25 --- Subject: Bug 26671 Author: jason Date: Wed Sep 6 05:25:29 2006 New Revision: 116714 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116714 Log: PR c++/26671 *

[Bug c++/26571] [4.0/4.1/4.2 regression] Bad diagnostic using type modifier with struct

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2006-09-06 05:28 --- Subject: Bug 26571 Author: jason Date: Wed Sep 6 05:28:08 2006 New Revision: 116715 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116715 Log: PR c++/26571 *

[Bug c++/27371] [4.1/4.2 Regression] Does not warn about unused function result (__attribute__((warn_unused_result)))

2006-09-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

[Bug c++/27371] [4.1/4.2 Regression] Does not warn about unused function result (__attribute__((warn_unused_result)))

2006-09-05 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2006-09-06 05:59 --- This worked in 4.0 by accident, because of the NRV implementation I had in that release which pushed aggregate return values into the argument list of a call. This had some problems, so I later changed it to use a

[Bug c++/26696] [4.0/4.1/4.2 Regression] ICE with statement forming unused static member function reference

2006-09-06 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2006-09-06 17:06 --- Subject: Bug 26696 Author: jason Date: Wed Sep 6 17:06:00 2006 New Revision: 116724 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116724 Log: PR c++/26696 * cvt.c (convert_to_void):

[Bug c++/27371] [4.1/4.2 Regression] Does not warn about unused function result (__attribute__((warn_unused_result)))

2006-09-06 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2006-09-06 18:47 --- This is also complicated by PR 16269; we don't manage the lifetime of temporaries, so we don't know whether an initialized temporary is used again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27371

[Bug c++/16269] g++ doesn't reuse stack space

2006-09-06 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2006-09-06 20:56 --- This isn't only a problem in C++. In this C testcase: struct A { int i[42]; }; struct A f(); int main() { f(); f(); f(); } we allocate 3 'struct A' temporaries. -- jason at gcc dot gnu

[Bug middle-end/25505] [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code

2006-09-06 Thread jason at gcc dot gnu dot org
--- Comment #21 from jason at gcc dot gnu dot org 2006-09-06 21:39 --- I expect that indeed, the test case Kenner mentioned as motivation for the call to mark_temp_addr_taken doesn't need it any more because of gimplification. Any temporary that needs to live longer than a s

[Bug c++/27371] [4.1/4.2 Regression] Does not warn about unused function result (__attribute__((warn_unused_result)))

2006-09-06 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2006-09-07 01:13 --- Subject: Bug 27371 Author: jason Date: Thu Sep 7 01:12:00 2006 New Revision: 116737 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116737 Log: PR c++/27371 * tree-

[Bug c++/26195] [4.0/4.1/4.2 regression] pragma interface no longer handles explicit names

2006-09-06 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2006-09-07 06:53 --- Subject: Bug 26195 Author: jason Date: Thu Sep 7 06:53:21 2006 New Revision: 116740 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116740 Log: PR c++/26195

[Bug c++/26195] [4.0/4.1 regression] pragma interface no longer handles explicit names

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #13 from jason at gcc dot gnu dot org 2006-09-07 07:08 --- The patch looked good to me, so I applied it. Sorry for the delay. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/26693] [4.0/4.1/4.2 regression] Access checks not performed for types in templates

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2006-09-07 07:18 --- If we resolve A::X to int while parsing the template definition, we need to check access then, too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26693

[Bug c++/28284] [4.2 regression] ICE with invalid static const variable

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2006-09-07 17:25 --- Subject: Bug 28284 Author: jason Date: Thu Sep 7 17:25:05 2006 New Revision: 116755 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116755 Log: PR c++/28284 * pt.c (fold_non_depend

[Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871

2006-09-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

[Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2006-09-07 19:09 --- Created an attachment (id=12205) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12205&action=view) Patch to clear DECL_VALUE_EXPR This patch fixes the testcase in comment #3 with a cross compiler.

[Bug target/13685] Building simple test application with -march=pentium3 -Os gives SIGSEGV (unaligned sse instruction)

2006-09-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

[Bug target/13685] Building simple test application with -march=pentium3 -Os gives SIGSEGV (unaligned sse instruction)

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #19 from jason at gcc dot gnu dot org 2006-09-07 20:24 --- You can work around this bug with -mpreferred-stack-boundary=4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13685

[Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2006-09-07 21:06 --- Subject: Bug 26957 Author: jason Date: Thu Sep 7 21:06:28 2006 New Revision: 116760 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116760 Log: PR c++/26957 * method.c (use_thunk

[Bug c++/26957] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:871

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2006-09-07 21:23 --- waiting for feedback. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/26696] [4.0/4.1 Regression] ICE with statement forming unused static member function reference

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2006-09-07 22:27 --- Subject: Bug 26696 Author: jason Date: Thu Sep 7 22:27:01 2006 New Revision: 116763 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116763 Log: PR c++/26195

[Bug c++/26671] [4.0/4.1 Regression] Missing "warning: reference to local variable returned"

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2006-09-07 22:27 --- Subject: Bug 26671 Author: jason Date: Thu Sep 7 22:27:01 2006 New Revision: 116763 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116763 Log: PR c++/26195

[Bug c++/26195] [4.0/4.1 regression] pragma interface no longer handles explicit names

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #14 from jason at gcc dot gnu dot org 2006-09-07 22:27 --- Subject: Bug 26195 Author: jason Date: Thu Sep 7 22:27:01 2006 New Revision: 116763 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116763 Log: PR c++/26195

[Bug c++/26571] [4.0/4.1 regression] Bad diagnostic using type modifier with struct

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2006-09-07 22:27 --- Subject: Bug 26571 Author: jason Date: Thu Sep 7 22:27:01 2006 New Revision: 116763 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116763 Log: PR c++/26195

[Bug c++/26102] [4.1 regression] "using Base::member" nonsense

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2006-09-07 22:27 --- Subject: Bug 26102 Author: jason Date: Thu Sep 7 22:27:01 2006 New Revision: 116763 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116763 Log: PR c++/26195

[Bug c++/19809] [4.0/4.1 Regression] Multiple definitions of friend functions in template classes

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2006-09-07 22:27 --- Subject: Bug 19809 Author: jason Date: Thu Sep 7 22:27:01 2006 New Revision: 116763 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116763 Log: PR c++/26195

[Bug c++/26571] [4.0/4.1 regression] Bad diagnostic using type modifier with struct

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2006-09-07 22:38 --- Subject: Bug 26571 Author: jason Date: Thu Sep 7 22:38:03 2006 New Revision: 116764 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116764 Log: PR c++/26195

[Bug c++/19809] [4.0/4.1 Regression] Multiple definitions of friend functions in template classes

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #13 from jason at gcc dot gnu dot org 2006-09-07 22:38 --- Subject: Bug 19809 Author: jason Date: Thu Sep 7 22:38:03 2006 New Revision: 116764 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116764 Log: PR c++/26195

[Bug c++/26195] [4.0/4.1 regression] pragma interface no longer handles explicit names

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2006-09-07 22:38 --- Subject: Bug 26195 Author: jason Date: Thu Sep 7 22:38:03 2006 New Revision: 116764 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116764 Log: PR c++/26195

[Bug c++/26671] [4.0/4.1 Regression] Missing "warning: reference to local variable returned"

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2006-09-07 22:38 --- Subject: Bug 26671 Author: jason Date: Thu Sep 7 22:38:03 2006 New Revision: 116764 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116764 Log: PR c++/26195

[Bug c++/26696] [4.0/4.1 Regression] ICE with statement forming unused static member function reference

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2006-09-07 22:38 --- Subject: Bug 26696 Author: jason Date: Thu Sep 7 22:38:03 2006 New Revision: 116764 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116764 Log: PR c++/26195

[Bug c++/27371] [4.1 Regression] Does not warn about unused function result (__attribute__((warn_unused_result)))

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2006-09-07 22:47 --- Subject: Bug 27371 Author: jason Date: Thu Sep 7 22:47:34 2006 New Revision: 116765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116765 Log: PR c++/27371 * cvt.c (convert_to_void)

[Bug c++/19809] [4.0/4.1 Regression] Multiple definitions of friend functions in template classes

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #14 from jason at gcc dot gnu dot org 2006-09-07 23:03 --- fixed -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/26102] [4.1 regression] "using Base::member" nonsense

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2006-09-07 23:03 --- fixed -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/26195] [4.0/4.1 regression] pragma interface no longer handles explicit names

2006-09-07 Thread jason at gcc dot gnu dot org
--- Comment #16 from jason at gcc dot gnu dot org 2006-09-07 23:04 --- fixed in 4.0, 4.1, 4.2 -- jason at gcc dot gnu dot org changed: What|Removed |Added

<    1   2   3   4   5   6   7   8   9   10   >