public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included
@ 2004-03-04 16:01 bangerth at dealii dot org
2004-03-04 16:02 ` [Bug c++/14432] " bangerth at dealii dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-03-04 16:01 UTC (permalink / raw)
To: gcc-bugs
[Extracted from 14430] Consider this:
--------------
struct Y {};
Y y1;
--------------
There are no header files included, yet we get from mainline and 3.4:
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -c x.cc
x.cc:2: error: declaration of `Y y1'
<internal>:0: error: conflicts with previous declaration `double y1(double)'
This is due to the fact that there is a built-in for the Bessel function y1.
However, it should certainly not be visible if no header files are included.
That's the bug, and it is a regression against 3.3.x.
W.
--
Summary: [3.4/3.5 regression] Built-ins lead to conflict even if
no header file included
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bangerth at dealii dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14432
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14432] [3.4/3.5 regression] Built-ins lead to conflict even if no header file included
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
@ 2004-03-04 16:02 ` bangerth at dealii dot org
2004-03-04 16:10 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-03-04 16:02 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.4.0 3.5.0
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14432
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14432] [3.4/3.5 regression] Built-ins lead to conflict even if no header file included
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
2004-03-04 16:02 ` [Bug c++/14432] " bangerth at dealii dot org
@ 2004-03-04 16:10 ` pinskia at gcc dot gnu dot org
2004-03-04 18:34 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-04 16:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-04 16:10 -------
Confirmed, in fact it is an extended builtin. And also the C front-end just warns about this instead of
erroring out.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to work| |3.3.1
Last reconfirmed|0000-00-00 00:00:00 |2004-03-04 16:10:33
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14432
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14432] [3.4/3.5 regression] Built-ins lead to conflict even if no header file included
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
2004-03-04 16:02 ` [Bug c++/14432] " bangerth at dealii dot org
2004-03-04 16:10 ` pinskia at gcc dot gnu dot org
@ 2004-03-04 18:34 ` pinskia at gcc dot gnu dot org
2004-03-09 7:14 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-04 18:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-04 18:34 -------
Here is another example:
struct Y {};
Y floor;
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-03-04 16:10:33 |2004-03-04 18:34:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14432
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14432] [3.4/3.5 regression] Built-ins lead to conflict even if no header file included
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
` (2 preceding siblings ...)
2004-03-04 18:34 ` pinskia at gcc dot gnu dot org
@ 2004-03-09 7:14 ` mmitchel at gcc dot gnu dot org
2004-03-09 8:24 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-03-09 7:14 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14432
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14432] [3.4/3.5 regression] Built-ins lead to conflict even if no header file included
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
` (3 preceding siblings ...)
2004-03-09 7:14 ` mmitchel at gcc dot gnu dot org
@ 2004-03-09 8:24 ` cvs-commit at gcc dot gnu dot org
2004-03-09 8:26 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-03-09 8:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-03-09 08:24 -------
Subject: Bug 14432
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2004-03-09 08:24:41
Modified files:
gcc/cp : ChangeLog name-lookup.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/parse: builtin2.C
Log message:
PR c++/14432
* g++.dg/parse/builtin2.C: New test.
PR c++/14432
* name-lookup.c (supplement_binding): Ignore functions that are
marked DECL_ANTICIPATED.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.73&r2=1.3892.2.74
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.34.2.6&r2=1.34.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.132&r2=1.3389.2.133
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/builtin2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14432
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14432] [3.4/3.5 regression] Built-ins lead to conflict even if no header file included
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
` (4 preceding siblings ...)
2004-03-09 8:24 ` cvs-commit at gcc dot gnu dot org
@ 2004-03-09 8:26 ` cvs-commit at gcc dot gnu dot org
2004-03-09 8:28 ` mmitchel at gcc dot gnu dot org
2005-06-10 13:11 ` [Bug c++/14432] [3.4/4.0 " pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-03-09 8:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-03-09 08:26 -------
Subject: Bug 14432
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-03-09 08:26:14
Modified files:
gcc/cp : ChangeLog name-lookup.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/parse: builtin2.C
Log message:
PR c++/14432
* name-lookup.c (supplement_binding): Ignore functions that are
marked DECL_ANTICIPATED.
PR c++/14432
* g++.dg/parse/builtin2.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3988&r2=1.3989
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&r1=1.44&r2=1.45
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3584&r2=1.3585
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/builtin2.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14432
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14432] [3.4/3.5 regression] Built-ins lead to conflict even if no header file included
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
` (5 preceding siblings ...)
2004-03-09 8:26 ` cvs-commit at gcc dot gnu dot org
@ 2004-03-09 8:28 ` mmitchel at gcc dot gnu dot org
2005-06-10 13:11 ` [Bug c++/14432] [3.4/4.0 " pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-03-09 8:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-03-09 08:28 -------
Fixed in GCC 3.4 and GCC 3.5.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14432
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/14432] [3.4/4.0 regression] Built-ins lead to conflict even if no header file included
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
` (6 preceding siblings ...)
2004-03-09 8:28 ` mmitchel at gcc dot gnu dot org
@ 2005-06-10 13:11 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-10 13:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-10 13:11 -------
*** Bug 21993 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |igodard at pacbell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14432
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-06-10 13:11 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
2004-03-04 16:02 ` [Bug c++/14432] " bangerth at dealii dot org
2004-03-04 16:10 ` pinskia at gcc dot gnu dot org
2004-03-04 18:34 ` pinskia at gcc dot gnu dot org
2004-03-09 7:14 ` mmitchel at gcc dot gnu dot org
2004-03-09 8:24 ` cvs-commit at gcc dot gnu dot org
2004-03-09 8:26 ` cvs-commit at gcc dot gnu dot org
2004-03-09 8:28 ` mmitchel at gcc dot gnu dot org
2005-06-10 13:11 ` [Bug c++/14432] [3.4/4.0 " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).