public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44048] New: dbxout.c:1870: error: NULLPTR_TYPE undeclared
@ 2010-05-09 12:40 michael dot a dot richmond at nasa dot gov
2010-05-10 12:58 ` [Bug c/44048] " michael dot a dot richmond at nasa dot gov
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: michael dot a dot richmond at nasa dot gov @ 2010-05-09 12:40 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1988 bytes --]
When I attempt to compile the May 8 snapshot on any platform I get the
following messages:
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I.
-I/home/mrichmon/gcc-4.6-20100508/gcc -I/home/mrichmon/gcc-4.6-20100508/gcc/.
-I/home/mrichmon/gcc-4.6-20100508/gcc/../include
-I/home/mrichmon/gcc-4.6-20100508/gcc/../libcpp/include
-I/home/mrichmon/mpc-0.8.1/src
-I/home/mrichmon/gcc-4.6-20100508/gcc/../libdecnumber
-I/home/mrichmon/gcc-4.6-20100508/gcc/../libdecnumber/dpd -I../libdecnumber
/home/mrichmon/gcc-4.6-20100508/gcc/dbxout.c -o dbxout.o
/home/mrichmon/gcc-4.6-20100508/gcc/dbxout.c: In function âdbxout_typeâ:
/home/mrichmon/gcc-4.6-20100508/gcc/dbxout.c:1870: error: âNULLPTR_TYPEâ
undeclared (first use in this function)
/home/mrichmon/gcc-4.6-20100508/gcc/dbxout.c:1870: error: (Each undeclared
identifier is reported only once
/home/mrichmon/gcc-4.6-20100508/gcc/dbxout.c:1870: error: for each function it
appears in.)
make[3]: *** [dbxout.o] Error 1
make[3]: Leaving directory `/home/mrichmon/gcc-4.6-20100508/g95/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/mrichmon/gcc-4.6-20100508/g95'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/mrichmon/gcc-4.6-20100508/g95'
make: *** [all] Error 2
Error running make
--
Summary: dbxout.c:1870: error: NULLPTR_TYPE undeclared
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: michael dot a dot richmond at nasa dot gov
GCC build triplet: all
GCC host triplet: all
GCC target triplet: all
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44048
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/44048] dbxout.c:1870: error: NULLPTR_TYPE undeclared
2010-05-09 12:40 [Bug c/44048] New: dbxout.c:1870: error: NULLPTR_TYPE undeclared michael dot a dot richmond at nasa dot gov
@ 2010-05-10 12:58 ` michael dot a dot richmond at nasa dot gov
2010-05-10 22:11 ` [Bug bootstrap/44048] [4.6 Regression] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: michael dot a dot richmond at nasa dot gov @ 2010-05-10 12:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from michael dot a dot richmond at nasa dot gov 2010-05-10 12:58 -------
In http://gfortran.org/download/ there is a binary built from this snapshot.
Was the source code patched?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44048
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/44048] [4.6 Regression] dbxout.c:1870: error: NULLPTR_TYPE undeclared
2010-05-09 12:40 [Bug c/44048] New: dbxout.c:1870: error: NULLPTR_TYPE undeclared michael dot a dot richmond at nasa dot gov
2010-05-10 12:58 ` [Bug c/44048] " michael dot a dot richmond at nasa dot gov
@ 2010-05-10 22:11 ` pinskia at gcc dot gnu dot org
2010-05-12 17:30 ` [Bug bootstrap/44048] [4.6 Regression] building without C++ enabled fails jason at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-05-10 22:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2010-05-10 22:11 -------
NULLPTR_TYPE is only defined in cp/cp-tree.def which means if you configure
without C++, this fails to compile. Yes this is a big bug.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
Severity|normal |blocker
Status|UNCONFIRMED |NEW
Component|c |bootstrap
Ever Confirmed|0 |1
Keywords| |build
Last reconfirmed|0000-00-00 00:00:00 |2010-05-10 22:11:21
date| |
Summary|dbxout.c:1870: error: |[4.6 Regression]
|NULLPTR_TYPE undeclared |dbxout.c:1870: error:
| |NULLPTR_TYPE undeclared
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44048
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/44048] [4.6 Regression] building without C++ enabled fails
2010-05-09 12:40 [Bug c/44048] New: dbxout.c:1870: error: NULLPTR_TYPE undeclared michael dot a dot richmond at nasa dot gov
2010-05-10 12:58 ` [Bug c/44048] " michael dot a dot richmond at nasa dot gov
2010-05-10 22:11 ` [Bug bootstrap/44048] [4.6 Regression] " pinskia at gcc dot gnu dot org
@ 2010-05-12 17:30 ` jason at gcc dot gnu dot org
2010-05-12 17:30 ` jason at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-12 17:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jason at gcc dot gnu dot org 2010-05-12 17:29 -------
*** Bug 44099 has been marked as a duplicate of this bug. ***
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44048
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/44048] [4.6 Regression] building without C++ enabled fails
2010-05-09 12:40 [Bug c/44048] New: dbxout.c:1870: error: NULLPTR_TYPE undeclared michael dot a dot richmond at nasa dot gov
` (2 preceding siblings ...)
2010-05-12 17:30 ` [Bug bootstrap/44048] [4.6 Regression] building without C++ enabled fails jason at gcc dot gnu dot org
@ 2010-05-12 17:30 ` jason at gcc dot gnu dot org
2010-05-13 5:05 ` jason at gcc dot gnu dot org
2010-05-13 5:17 ` jason at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-12 17:30 UTC (permalink / raw)
To: gcc-bugs
--
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|2010-05-10 22:11:21 |2010-05-12 17:30:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44048
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/44048] [4.6 Regression] building without C++ enabled fails
2010-05-09 12:40 [Bug c/44048] New: dbxout.c:1870: error: NULLPTR_TYPE undeclared michael dot a dot richmond at nasa dot gov
` (3 preceding siblings ...)
2010-05-12 17:30 ` jason at gcc dot gnu dot org
@ 2010-05-13 5:05 ` jason at gcc dot gnu dot org
2010-05-13 5:17 ` jason at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-13 5:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jason at gcc dot gnu dot org 2010-05-13 05:05 -------
Subject: Bug 44048
Author: jason
Date: Thu May 13 05:04:46 2010
New Revision: 159350
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159350
Log:
PR bootstrap/44048
PR target/44099
gcc/cp:
* cp-tree.def (NULLPTR_TYPE): Remove.
* cp-tree.h (NULLPTR_TYPE_P): New.
(SCALAR_TYPE_P): Use it.
(nullptr_type_node): New.
(cp_tree_index): Add CPTI_NULLPTR_TYPE.
* decl.c (cxx_init_decl_processing): Call record_builtin_type on
nullptr_type_node.
* cvt.c (ocp_convert): Use NULLPTR_TYPE_P instead of NULLPTR_TYPE.
* cxx-pretty-print.c (pp_cxx_constant): Likewise.
* error.c (dump_type, dump_type_prefix, dump_type_suffix): Likewise.
* mangle.c (write_type): Likewise.
* name-lookup.c (arg_assoc_type): Likewise.
* typeck.c (build_reinterpret_cast_1): Likewise.
* rtti.c (typeinfo_in_lib_p): Likewise.
(emit_support_tinfos): Remove local nullptr_type_node.
gcc:
* dbxout.c (dbxout_type): Remove NULLPTR_TYPE handling.
* sdbout.c (plain_type_1): Likewise.
* dwarf2out.c (is_base_type): Likewise.
(gen_type_die_with_usage): Likewise. Generate
DW_TAG_unspecified_type for any LANG_TYPE.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/cp-tree.def
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/cvt.c
trunk/gcc/cp/cxx-pretty-print.c
trunk/gcc/cp/decl.c
trunk/gcc/cp/error.c
trunk/gcc/cp/mangle.c
trunk/gcc/cp/name-lookup.c
trunk/gcc/cp/rtti.c
trunk/gcc/cp/typeck.c
trunk/gcc/dbxout.c
trunk/gcc/dwarf2out.c
trunk/gcc/sdbout.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44048
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/44048] [4.6 Regression] building without C++ enabled fails
2010-05-09 12:40 [Bug c/44048] New: dbxout.c:1870: error: NULLPTR_TYPE undeclared michael dot a dot richmond at nasa dot gov
` (4 preceding siblings ...)
2010-05-13 5:05 ` jason at gcc dot gnu dot org
@ 2010-05-13 5:17 ` jason at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-13 5:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jason at gcc dot gnu dot org 2010-05-13 05:17 -------
Should be fixed now.
--
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=44048
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-05-13 5:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-09 12:40 [Bug c/44048] New: dbxout.c:1870: error: NULLPTR_TYPE undeclared michael dot a dot richmond at nasa dot gov
2010-05-10 12:58 ` [Bug c/44048] " michael dot a dot richmond at nasa dot gov
2010-05-10 22:11 ` [Bug bootstrap/44048] [4.6 Regression] " pinskia at gcc dot gnu dot org
2010-05-12 17:30 ` [Bug bootstrap/44048] [4.6 Regression] building without C++ enabled fails jason at gcc dot gnu dot org
2010-05-12 17:30 ` jason at gcc dot gnu dot org
2010-05-13 5:05 ` jason at gcc dot gnu dot org
2010-05-13 5:17 ` jason 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).