public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/58765] New: c_default_pointer_mode need to be in c-family for vms-c.c
@ 2013-10-17  8:29 jay.krell at cornell dot edu
  2021-08-26  5:26 ` [Bug bootstrap/58765] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: jay.krell at cornell dot edu @ 2013-10-17  8:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58765
           Summary: c_default_pointer_mode need to be in c-family for
                    vms-c.c
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jay.krell at cornell dot edu

/src/gcc-4.8.2/configure -target=alpha-dec-vms

g++   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute   -DHAVE_CONFIG_H  -o cc1plus \
      cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o
cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o
cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o
cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o
cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o
cp/cp-gimplify.o attribs.o incpath.o c-family/c-common.o
c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o
c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o
c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o
c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o
tree-mudflap.o vms-c.o default-c.o cc1plus-checksum.o libbackend.a main.o 
libcommon-target.a libcommon.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a
./../intl/libintl.a -liconv  ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  
-L/obj/gcc.1/./gmp/.libs -L/obj/gcc.1/./mpfr/.libs -L/obj/gcc.1/./mpc/src/.libs
-lmpc -lmpfr -lgmp   -lz
Undefined symbols:
  "_c_default_pointer_mode", referenced from:
      _c_default_pointer_mode$non_lazy_ptr in vms-c.o
ld: symbol(s) not found


jbook2:gcc.1 jay$ grep c_default_pointer_mode /src/gcc-4.8.2/gcc/*
/src/gcc-4.8.2/gcc/ChangeLog-2012:    * c-tree.h (c_default_pointer_mode): New
variable.
/src/gcc-4.8.2/gcc/ChangeLog-2012:    * c-decl.c (c_default_pointer_mode): New
variable.
jbook2:gcc.1 jay$ grep c_default_pointer_mode /src/gcc-4.8.2/gcc/*/*
/src/gcc-4.8.2/gcc/c/c-decl.c:enum machine_mode c_default_pointer_mode =
VOIDmode;
/src/gcc-4.8.2/gcc/c/c-decl.c:  if (as != ADDR_SPACE_GENERIC ||
c_default_pointer_mode == VOIDmode)
/src/gcc-4.8.2/gcc/c/c-decl.c:    pointer_mode = c_default_pointer_mode;
/src/gcc-4.8.2/gcc/c/c-tree.h:extern enum machine_mode c_default_pointer_mode;


fix is to move c_default_pointer_mode from c to c-family
I put it in c-common.c


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/58765] c_default_pointer_mode need to be in c-family for vms-c.c
  2013-10-17  8:29 [Bug bootstrap/58765] New: c_default_pointer_mode need to be in c-family for vms-c.c jay.krell at cornell dot edu
@ 2021-08-26  5:26 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-26  5:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58765

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 55143 which was fixed for GCC 5.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-26  5:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-17  8:29 [Bug bootstrap/58765] New: c_default_pointer_mode need to be in c-family for vms-c.c jay.krell at cornell dot edu
2021-08-26  5:26 ` [Bug bootstrap/58765] " pinskia at gcc dot gnu.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).