Loren J. Rittle
beda34712f
configure.in (ld_vers): Portability [sed].
...
* configure.in (ld_vers): Portability [sed].
* configure: Regenerate with autoconf213.
From-SVN: r68515
2003-06-26 04:57:15 +00:00
GCC Administrator
28ba16e320
Daily bump.
...
From-SVN: r68510
2003-06-26 00:16:07 +00:00
Mark Mitchell
e80706c4a4
re PR c++/10990 (Cannot convert with dynamic_cast<> to a private base class from within a member function)
...
PR c++/10990
* search.c (lookup_base_r): Rely on accessible_p, rather than
trying to emulate that logic here.
PR c++/10990
* g++.dg/rtti/dyncast1.C: New test.
* g++.dg/abi/mangle4.C: Correct base-specifier access.
* g++.dg/lookup/scoped1.C: Remove XFAIL.
* g++.old-deja/g++.martin/pmf1.C: Correct base-specifier access.
From-SVN: r68507
2003-06-26 00:07:52 +00:00
Mark Mitchell
3fe18f1d47
re PR c++/10931 (valid conversion static_cast<const unsigned int&>(lvalue-of-type-int) is rejected)
...
PR c++/10931
* g++.dg/expr/static_cast1.C: New test.
PR c++/10931
* call.c (convert_like): Pass issue_conversion_warnings.
(convert_like_with_context): Likewise.
(convert_like_real): Add issue_conversion_warnings parameter.
(perform_direct_initialization_if_possible): New function.
* cp-tree.h (perform_direct_initialization_if_possible): Declare it.
* typeck.c (check_for_casting_away_constness): New function.
(build_static_cast): Rewrite.
From-SVN: r68506
2003-06-26 00:07:09 +00:00
H.J. Lu
22c7c85ebc
extend.texi: Document new builtin functions for Intel Prescott New Intrunctions.
...
2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
* doc/extend.texi: Document new builtin functions for Intel
Prescott New Intrunctions.
* doc/invoke.texi: Document new command-line options, -mpni and
-mno-pni, for Intel Prescott New Intrunctions.
* config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.
* config/i386/i386.c (override_options): Turn on MASK_SSE2
for -mpni. Turn on MASK_SSE for -msse2.
(bdesc_2arg): Add PNI builtins with 2 args.
(bdesc_1arg): Add PNI builtins with 1 arg.
(ix86_init_mmx_sse_builtins): Handle PNI builtins.
(ix86_expand_builtin): Likewise.
* config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
MASK_TLS_DIRECT_SEG_REFS): Renumbered.
(TARGET_PNI): New.
(TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add
-mpni and -mno-pni.
(TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
(ix86_builtins): Add PNI builtins.
(config/i386/i386.md): Add PNI patterns.
* config/i386/pmmintrin.h: New file.
From-SVN: r68502
2003-06-25 15:28:27 -07:00
Kazu Hirata
7f8b3eb0cc
h8300.md (call): Fix the insn lengths.
...
* config/h8300/h8300.md (call): Fix the insn lengths.
(call_value): Likewise.
From-SVN: r68501
2003-06-25 22:16:31 +00:00
Jan Hubicka
4d7d0451bc
c-common.c (handle_used_attribute): Use mark_referenced.
...
* c-common.c (handle_used_attribute): Use mark_referenced.
* varasm.c (mark_referenced): Break out from ...
(assemble_name): ... here.
* tree.h (mark_referenced): Declare.
From-SVN: r68500
2003-06-25 22:14:26 +00:00
Wolfgang Bangerth
6322fdd83b
gccbug.in: Add PCH to list of categories.
...
2003-06-25 Wolfgang Bangerth <bangerth@dealii.org>
* gccbug.in: Add PCH to list of categories.
From-SVN: r68497
2003-06-25 15:08:26 -06:00
Martin Schaffner
48c4721eac
cppfiles.c: Clarify comments.
...
* cppfiles.c: Clarify comments.
* cpphash.h: Likewise.
* cpplib.h: Likewise.
* cppmacro.c: Likewise.
* mkdeps.h: Likewise.
From-SVN: r68496
2003-06-25 21:01:10 +00:00
Neil Booth
f18754d640
c-opts.c (complain_wrong_lang, [...]): Remove.
...
* c-opts.c (complain_wrong_lang, write_langs): Remove.
(c_common_handle_option): Complaints about wrong language are
handled in opts.c now.
* opts.c (complain_wrong_lang, write_langs, handle_options): New.
(find_opt): Fix thinko.
(handle_option): Update prototype. Complain about switches for
a different front end.
* opts.h (lang_names, handle_options): New.
(handle_option): Remove.
* opts.sh: Write out language names array.
* toplev.c (parse_options_and_default_flags): Use handle_options.
From-SVN: r68495
2003-06-25 20:43:11 +00:00
H.J. Lu
37f2200463
i386.c (MASK_SSE1): Removed.
...
2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (MASK_SSE1): Removed.
(MASK_SSE164): Removed.
(MASK_SSE264): Removed.
(bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
with MASK_SSE2 | MASK_64BIT.
(bdesc_1arg): Likewise.
(ix86_init_mmx_sse_builtins): Likewise.
* config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
(TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
-msse2.
From-SVN: r68492
2003-06-25 13:23:14 -07:00
Kaveh R. Ghazi
85f015e120
hwint.h (HOST_WIDE_INT_PRINT, [...]): New macros.
...
* hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
(HOST_WIDE_INT_PRINT_DEC_SPACE,
HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
HOST_WIDEST_INT_PRINT_DEC_SPACE,
HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
(HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.
* final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
* ra-debug.c (dump_static_insn_cost): Likewise.
From-SVN: r68489
2003-06-25 19:33:08 +00:00
Nick Clifton
2784775405
arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
...
* config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead of
ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
Replace occurances of '???' with 'XXX' incase they are mistaken for trigraphs.
(THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address does not have a
register for the first operand.
From-SVN: r68487
2003-06-25 18:49:51 +00:00
Nathan C. Myers
29d9ed9799
streambuf.tcc (sbumpc, [...]): Move inline, from here...
...
2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
* include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
sputc): Move inline, from here...
* include/std/std_streambuf.h: ... to here.
* include/std/std_streambuf.h (snextc, sbumpc, sgetc,
sputbackc, sungetc, sputc): Use __builtin_expect.
From-SVN: r68486
2003-06-25 18:27:53 +00:00
Dhananjay Deshpande
b1dcf523e9
sh.c (sh_register_move_cost): Add case for moving between MAC_REGS.
...
2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* config/sh/sh.c (sh_register_move_cost):
Add case for moving between MAC_REGS.
From-SVN: r68484
2003-06-25 18:33:35 +01:00
Zack Weinberg
2896d05649
re PR c/10178 (ICE in tree_low_cst)
...
PR 10178
* langhooks.h (struct lang_hooks): Add no_body_blocks bool.
* langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false.
* c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS
to true.
* stmt.c (is_body_block): If lang_hooks.no_body_blocks, always
return 0.
From-SVN: r68483
2003-06-25 17:29:14 +00:00
Kaveh R. Ghazi
8f7193b854
Makefile.in (bt-load.o): Depend on $(TM_P_H).
...
* Makefile.in (bt-load.o): Depend on $(TM_P_H).
* bt-load.c: Include "tm_p.h".
From-SVN: r68482
2003-06-25 15:53:07 +00:00
Michael Koch
534e254b61
2003-06-25 Michael Koch <konqueror@gmx.de>
...
* Makefile.am
(awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
* Makefile.in: Regenerated.
From-SVN: r68477
2003-06-25 12:41:56 +00:00
Michael Koch
55060f0e77
ActionMapUIResource.java, [...]: New versions from classpath.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/ActionMapUIResource.java,
javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/ButtonUI.java,
javax/swing/plaf/ColorChooserUI.java,
javax/swing/plaf/ColorUIResource.java,
javax/swing/plaf/ComboBoxUI.java,
javax/swing/plaf/ComponentInputMapUIResource.java,
javax/swing/plaf/ComponentUI.java,
javax/swing/plaf/DesktopIconUI.java,
javax/swing/plaf/DesktopPaneUI.java,
javax/swing/plaf/DimensionUIResource.java,
javax/swing/plaf/FileChooserUI.java,
javax/swing/plaf/FontUIResource.java,
javax/swing/plaf/IconUIResource.java,
javax/swing/plaf/InputMapUIResource.java,
javax/swing/plaf/InsetsUIResource.java,
javax/swing/plaf/InternalFrameUI.java,
javax/swing/plaf/LabelUI.java,
javax/swing/plaf/ListUI.java,
javax/swing/plaf/MenuBarUI.java,
javax/swing/plaf/MenuItemUI.java,
javax/swing/plaf/OptionPaneUI.java,
javax/swing/plaf/PanelUI.java,
javax/swing/plaf/ProgressBarUI.java,
javax/swing/plaf/RootPaneUI.java,
javax/swing/plaf/ScrollBarUI.java,
javax/swing/plaf/ScrollPaneUI.java,
javax/swing/plaf/SeparatorUI.java,
javax/swing/plaf/SliderUI.java,
javax/swing/plaf/TableHeaderUI.java,
javax/swing/plaf/TableUI.java,
javax/swing/plaf/ToolBarUI.java,
javax/swing/plaf/ToolTipUI.java,
javax/swing/plaf/ViewportUI.java:
New versions from classpath.
* javax/swing/plaf/SpinnerUI.java:
New file from classpath
From-SVN: r68476
2003-06-25 12:39:15 +00:00
Kazu Hirata
f5139cc523
h8300.c (compute_mov_length): Adjust for the new optimization.
...
* config/h8300/h8300.c (compute_mov_length): Adjust for the
new optimization.
* config/h8300/h8300.md (*movsi_h8300): Optimize the load of
an SImode constant whose upper and lower are the same.
From-SVN: r68475
2003-06-25 11:54:44 +00:00
Michael Koch
7099616c53
ColorModel.java: New version from classpath.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* java/awt/image/ColorModel.java:
New version from classpath.
From-SVN: r68474
2003-06-25 11:23:33 +00:00
Gerald Pfeifer
b348a598a8
gcc_release: Factor the updating of links and READMEs on the FTP server and sending mail for...
...
* gcc_release: Factor the updating of links and READMEs on the
FTP server and sending mail for snapshots into a...
(announce_snapshot): ...new function.
Add informative output for both.
From-SVN: r68473
2003-06-25 09:36:19 +00:00
Jan Hubicka
380e198464
varasm.c (assemble_name): Mark needed variables even when global info is ready.
...
* varasm.c (assemble_name): Mark needed variables even when
global info is ready.
From-SVN: r68472
2003-06-25 09:32:44 +00:00
Jerry Quinn
3f8b659dbd
re PR other/11280 (Manual incorrect WRT -freorder-blocks)
...
PR other/11280
* gcc/doc/invoke.texi (Optimization Options): Remove -Os from
-freorder-functions description.
From-SVN: r68470
2003-06-25 08:24:52 +00:00
Michael Koch
d0e029d8ae
PlainDatagramSocketImpl.java: Partly merged with classpath, this mainly adds documentation.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* java/net/PlainDatagramSocketImpl.java:
Partly merged with classpath, this mainly adds documentation.
From-SVN: r68468
2003-06-25 07:00:34 +00:00
Michael Koch
3cc9a95d27
2003-06-25 Michael Koch <konqueror@gmx.de>
...
* java/io/ObjectInputStream.java
(readClassDescriptor): New method.
(readObject): Moved functionality to readClassDescriptor().
* java/io/ObjectOutputStream.java
(writeClassDescriptor): New method.
(writeObject): Moved functionality to writeClassDescriptor().
From-SVN: r68465
2003-06-25 06:31:59 +00:00
Josef Zlomek
55a5d1f714
Test from http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02557.html
...
From-SVN: r68462
2003-06-25 06:30:46 +00:00
Josef Zlomek
a53efda29d
* dwarf2out.c (gen_field_die): Return if type of decl is error mark.
...
From-SVN: r68459
2003-06-25 06:10:27 +00:00
Neil Booth
0bd95603bb
opts.c (common_handle_option): Add missing break;s.
...
* opts.c (common_handle_option): Add missing break;s.
f:
* top.c (ffe_handle_option): Add missing break;.
From-SVN: r68457
2003-06-25 05:52:14 +00:00
Michael Koch
a7c0a4422b
BasicListUI.java, [...]: Added missing methods.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicListUI.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java:
Added missing methods.
From-SVN: r68456
2003-06-25 04:34:20 +00:00
Michael Koch
b990116248
AncestorEvent.java [...]: Compile fixes.
...
2003-06-25 Michael Koch <konqueror@gmx.de>
* javax/swing/event/AncestorEvent.java
javax/swing/event/HyperlinkEvent.java
javax/swing/event/InternalFrameEvent.java
javax/swing/event/ListDataEvent.java
javax/swing/event/TableModelEvent.java:
Compile fixes.
From-SVN: r68455
2003-06-25 04:16:18 +00:00
Kazu Hirata
7948a9eac2
h8300-protos.h: Add a prototype for compute_mov_length.
...
* config/h8300/h8300-protos.h: Add a prototype for
compute_mov_length.
* config/h8300/h8300.c (compute_mov_length): New.
* config/h8300/h8300.md (*movqi_h8300): Use it.
(*movqi_h8300hs): Likewise.
(movstrictqi): Likewise.
(*movhi_h8300): Likewise.
(*movhi_h8300hs): Likewise.
(movstricthi): Likewise.
(*movsi_h8300): Likewise.
(*movsf_h8300): Likewise.
(*movsi_h8300hs): Likewise.
(*movsf_h8300hs): Likewise.
From-SVN: r68454
2003-06-25 03:47:31 +00:00
Kazu Hirata
e5b0e711e8
jump.c (next_nondeleted_insn): Remove.
...
* jump.c (next_nondeleted_insn): Remove.
* rtl.h: Remove the prototype for next_nondeleted_insn.
From-SVN: r68453
2003-06-25 03:45:13 +00:00
Roger Sayle
b9ba01a11f
re PR rtl-optimization/11311 (ICE with pow and large exponent)
...
PR optimization/11311
* builtins.c (powi_cost): Fix typo. The number of multiplications
required is the number to reduce the argument, result, plus the
cost of calculating the residual, val [not n, the original value].
* gcc.c-torture/compile/20030624-1.c: New test case.
From-SVN: r68452
2003-06-25 03:09:06 +00:00
Roger Sayle
465129420d
* config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
...
From-SVN: r68449
2003-06-25 00:38:01 +00:00
GCC Administrator
4c670eae77
Daily bump.
...
From-SVN: r68447
2003-06-25 00:16:11 +00:00
Richard Henderson
bfa0c51930
real.h (ieee_extended_intel_96_round_53_format): New.
...
* real.h (ieee_extended_intel_96_round_53_format): New.
* real.c (ieee_extended_intel_96_round_53_format): New.
* config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it
for XFmode and TFmode.
From-SVN: r68445
2003-06-25 00:11:33 +00:00
Phil Edwards
c1a6244090
mainpage.html: Use a useful title.
...
2003-06-24 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/mainpage.html: Use a useful title.
From-SVN: r68441
2003-06-24 20:56:40 +00:00
Benjamin Kosnik
cdc1242ae6
documentation.html: Remove assignment info.
...
2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/documentation.html: Remove assignment info.
* docs/html/17_intro/contribute.html: Edits.
* docs/html/17_intro/libstdc++-assign.tx: Remove.
* docs/html/test.html: Update.
* README: Update.
From-SVN: r68440
2003-06-24 20:33:29 +00:00
Michael Koch
cb64c638f0
URL.java: Renamed "handler" to "ph" in the whole file to match classpaths version.
...
2003-06-24 Michael Koch <konqueror@gmx.de>
* java/net/URL.java:
Renamed "handler" to "ph" in the whole file to match classpaths
version.
* java/net/URLStreamHandler.java:
(equals): Renamed "handler" to "ph".
From-SVN: r68439
2003-06-24 20:22:48 +00:00
Michael Koch
bbe53f03c8
AncestorEvent.java, [...]: New versions from classpath.
...
2003-06-24 Michael Koch <konqueror@gmx.de>
* javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/TableModelEvent.java,
javax/swing/event/TreeWillExpandListener.java,
javax/swing/plaf/ComponentUI.java,
javax/swing/plaf/DesktopIconUI.java,
javax/swing/plaf/DesktopPaneUI.java,
javax/swing/plaf/DimensionUIResource.java,
javax/swing/plaf/FileChooserUI.java,
javax/swing/plaf/FontUIResource.java,
javax/swing/plaf/IconUIResource.java,
javax/swing/plaf/InputMapUIResource.java,
javax/swing/plaf/InsetsUIResource.java,
javax/swing/plaf/InternalFrameUI.java,
javax/swing/plaf/LabelUI.java,
javax/swing/plaf/ListUI.java,
javax/swing/plaf/MenuBarUI.java,
javax/swing/plaf/MenuItemUI.java,
javax/swing/plaf/OptionPaneUI.java,
javax/swing/plaf/PanelUI.java,
javax/swing/plaf/ProgressBarUI.java,
javax/swing/plaf/doc-files/ComponentUI-1.dia,
javax/swing/plaf/doc-files/ComponentUI-1.png:
New versions from classpath.
From-SVN: r68438
2003-06-24 20:17:27 +00:00
Scott Snyder
7aff2f289b
re PR fortran/11299 (f771 ICE on line directive)
...
2003-06-24 Scott Snyder <snyder@fnal.gov>
PR fortran/11299
* com.c (ffe_init): Call push_srcloc() to ensure that
input_file_stack is initialized.
From-SVN: r68437
2003-06-24 19:54:24 +00:00
Benjamin Kosnik
1b6f0a561f
testsuite_performance.h: Tweak mallinfo.
...
2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
Ulrich Drepper <drepper@redhat.com>
* testsuite/testsuite_performance.h: Tweak mallinfo.
Co-Authored-By: Ulrich Drepper <drepper@redhat.com>
From-SVN: r68436
2003-06-24 19:38:36 +00:00
Kazu Hirata
61f33c67c2
h8300.md (4 anonymous patterns): Give internal names.
...
* config/h8300/h8300.md (4 anonymous patterns): Give internal
names.
(movsi_h8300): Change the name to *movsi_h8300.
(movsi_h8300hs): Change the name to *movsi_h8300hs.
(movsf_h8300): Change the name to *movsf_h8300.
(movsf_h8300hs): Change the name to *movsf_h8300hs.
From-SVN: r68435
2003-06-24 18:28:11 +00:00
Jakub Jelinek
946137a0d6
builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in src twice.
...
* builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
src twice.
* gcc.c-torture/execute/string-opt-17.c: New test.
From-SVN: r68431
2003-06-24 19:29:09 +02:00
J"orn Rennecke
6d1cb95f3f
Back out these patches:
...
2003-06-02 J"orn Rennecke <joern.rennecke@superh.com>
* sh.h (OLD_ARG_MODE): New macro.
(FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
(FUNCTION_ARG_1): Break out of:
(FUNCTION_ARG). Use OLD_ARG_MODE.
2003-06-06 J"orn Rennecke <joern.rennecke@superh.com>
* sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
of the generated register.
* sh.h (FUNCTION_ARG_SCmode_WART): Define.
(FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and
an even number of floating point regs are in use, use the same
sequence of argument passing registers for SCmode as would be
used for two SFmode values.
* sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined,
swap real / imaginary parts in incoming SCmode values passed
in registers.
From-SVN: r68430
2003-06-24 18:22:05 +01:00
Janis Johnson
d28dd0f9d1
reg_search: Replace existing uses of DATE with MADE_DATE and use DATE for the date command.
...
* reg_search: Replace existing uses of DATE with MADE_DATE and
use DATE for the date command.
* reg_periodic: Ditto.
From-SVN: r68429
2003-06-24 17:18:39 +00:00
Falk Hueffner
e7891c4bbb
re PR target/11260 ([alpha] 'output_operand: floating constant misused' with sqrt(0.0) and -mcpu=ev6)
...
PR target/11260
* config/alpha/alpha.md (sqrtdf2): Fix operand substitution.
From-SVN: r68427
2003-06-24 09:54:25 -07:00
Jan Hubicka
e69529cd53
Makefile.in (cgraph.o): Depend on output.h, not depend on tree-inline.h
...
* Makefile.in (cgraph.o): Depend on output.h, not depend on
tree-inline.h
* cgraph.c: Do not include tree-inline.h; include output.h
(known_fns): Rename to ...
(known_decls): ... this one; update all uses.
(cgraph_varpool_hash): New static variable.
(cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global
variables.
(cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node,
cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node,
cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
New functions.
* cgraph.h (cgraph_varpool_node): New structure.
(cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare.
(cgraph_varpool_node, cgraph_varpool_node_for_identifier,
cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node,
cgraph_varpool_asemble_pending_decls): Declare.
* cgraphunit.c (record_call_1): Notice variable references.
(cgraph_finalize_compilation_unit): Assemble pending variables.
* toplev.c (wrapup_global_declarations): Use varpool.
(compile_file): Assemble pending declarations.
(rest_of_decl_compilation): Use varpool in unit-at-a-time mode.
* varasm.c (assemble_name): Notice varpool references.
From-SVN: r68426
2003-06-24 16:50:29 +00:00
Nathan Sidwell
6df5158a36
call.c (enforce_access): Assert we get a binfo.
...
* call.c (enforce_access): Assert we get a binfo.
(build_op_delete_call): Pass a binfo to
perform_or_defer_access_check.
* class.c (alter_access): Likewise.
* decl.c (make_typename_type): Likewise.
(make_unbound_class_template): Likewise.
* lex.c (do_identifier): Likewise.
* method.c (hack_identifier): Likewise.
* parser.c (cp_parser_lookup_name): Likewise.
* search.c (lookup_member): Likewise. Move IDENTIFIER_CLASS_VALUE
test.
* semantics.c (finish_non_static_data_member): Likewise.
(perform_or_defer_access_check): Expect a binfo.
* typeck.c (comptypes): Expect types.
* mangle.c (find_substitution): Don't pass a non-type to same_type_p
* friend.c (make_friend_class): Likewise.
* pt.c (check_default_tmpl_args): Likewise.
(lookup_template_class): Likewise.
From-SVN: r68424
2003-06-24 15:40:06 +00:00