[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-30 Thread hjl at gcc dot gnu dot org
--- Comment #14 from hjl at gcc dot gnu dot org 2009-10-30 16:05 --- Subject: Bug 41020 Author: hjl Date: Fri Oct 30 16:04:41 2009 New Revision: 153759 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153759 Log: 2009-10-30 H.J. Lu hongjiu...@intel.com Backport from

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-29 Thread law at gcc dot gnu dot org
--- Comment #13 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41020 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-27 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2009-10-27 10:29 --- Subject: Bug 41020 Author: jakub Date: Tue Oct 27 10:28:48 2009 New Revision: 153587 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153587 Log: PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C:

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-26 Thread dodji at gcc dot gnu dot org
--- Comment #10 from dodji at gcc dot gnu dot org 2009-10-26 14:40 --- Subject: Bug 41020 Author: dodji Date: Mon Oct 26 14:40:16 2009 New Revision: 153552 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153552 Log: Fix PR c++/41020 gcc/cp/ChangeLog: PR c++/41020

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-26 Thread dodji at gcc dot gnu dot org
--- Comment #11 from dodji at gcc dot gnu dot org 2009-10-26 16:06 --- Fixed in 4.5.0 -- dodji at gcc dot gnu dot org changed: What|Removed |Added

Re: [Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-23 Thread Dodji Seketeli
Indeed. I am testing the patch below. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 5eb389f..7c01ee2 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -104,6 +104,7 @@ static void store_parm_decls (tree); static void initialize_local_var (tree, tree); static void expand_static_init (tree,

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-23 Thread dodji at redhat dot com
--- Comment #8 from dodji at gcc dot gnu dot org 2009-10-23 18:19 --- Subject: Re: [4.5 Regression] Can't declare an extern C friend of a builtin function Indeed. I am testing the patch below. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 5eb389f..7c01ee2 100644 ---

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-23 Thread dodji at gcc dot gnu dot org
-- dodji at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org |dot org

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-23 Thread dodji at redhat dot com
--- Comment #9 from dodji at gcc dot gnu dot org 2009-10-23 19:32 --- Subject: Re: New: Can't declare an extern C friend. Patch submitted to http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01486.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41020

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function

2009-10-04 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-10-04 19:13 --- This is related to builtins too because either using -fno-builtin or using fork1 allows this program to work. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend.

2009-08-23 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41020

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend.

2009-08-10 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||rejects-valid Summary|Can't declare an extern C |[4.5

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend.

2009-08-10 Thread davek at gcc dot gnu dot org
--- Comment #3 from davek at gcc dot gnu dot org 2009-08-10 16:17 --- (In reply to comment #2) Apart from the semi-colon after the extern C block the code is valid and this is a recent regression on trunk. I am fairly sure that a semi-colon after a block statement like that is

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend.

2009-08-10 Thread jwakely dot gcc at gmail dot com
--- Comment #4 from jwakely dot gcc at gmail dot com 2009-08-10 17:05 --- It's irrelevant to this bug and is just me being more pedantic than -pedantic, however ... even with -pedantic GCC has always accepted stray semi-colons at namespace scope, but it's not valid. At function scope

[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend.

2009-08-10 Thread davek at gcc dot gnu dot org
--- Comment #5 from davek at gcc dot gnu dot org 2009-08-10 17:16 --- (In reply to comment #4) It's irrelevant to this bug and is just me being more pedantic than -pedantic, however ... even with -pedantic GCC has always accepted stray semi-colons at namespace scope, but it's not