Article View: gnu.g++.bug
Article #1052__builtin_args_info not built in
From: John Salmon
Date: Mon, 12 Oct 1992 02:34
Date: Mon, 12 Oct 1992 02:34
35 lines
1831 bytes
1831 bytes
>>Date: Fri, 2 Oct 1992 10:25:28 -0700
>>From: Mike Warren <msw@sampson.ccsf.caltech.edu>
>>To: johns@haggis.ccsf.caltech.edu
>>In-Reply-To: John Salmon's message of Fri, 2 Oct 1992 10:20:04 -0700 <199210021720.AA23787@haggis.ccsf.caltech.edu>
>>Subject: cp-decl bug report
>>
>>
>>gcc-delta -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include `if [ -f ../../gcc/gcc ] ; then echo -I./../../gcc/include ; else echo ; fi` -c CursesW.cc
>>CursesW.cc: In method `int CursesWindow::scanw (const char *, ...)':
>>CursesW.cc:49: warning: implicit declaration of function `__builtin_args_info'
>>
>>The end result is that nothing will link to the unresoved symbol
>>__builtin_args_info
>>
>>Mike
I believe this patch repairs the bug (in generic gcc-2.2.2 sources):
*** cp-decl.c Fri Oct 2 10:18:07 1992
--- cp-decl.c.orig Wed Jun 10 21:14:00 1992
***************
*** 4045,4056 ****
builtin_function ("__builtin_next_arg",
build_function_type (ptr_type_node, endlink),
BUILT_IN_NEXT_ARG, 0);
- builtin_function ("__builtin_args_info",
- build_function_type (integer_type_node,
- tree_cons (NULL_TREE,
- integer_type_node,
- endlink)),
- BUILT_IN_ARGS_INFO, 0);
/* Currently under experimentation. */
builtin_function ("__builtin_memcpy", memcpy_ftype,
--- 4045,4050 ----
Technical Details
Message-ID:
<199210121634.AA14789@haggis.ccsf.caltech.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!haggis.ccsf.caltech.edu!johnsShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!haggis.ccsf.caltech.edu!johns From: johns@haggis.ccsf.caltech.edu (John Salmon) Subject: __builtin_args_info not built in Message-ID: <199210121634.AA14789@haggis.ccsf.caltech.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 12 Oct 1992 02:34:04 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 38