Aldy Hernandez [Mon, 10 Mar 2003 18:46:35 +0000 (18:46 +0000)]
spe.h: Define __ev64_*64__ to use single element vectors.
2003-03-10 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.h: Define __ev64_*64__ to use single element
vectors.
(__ev_convert_u64): Remove macro. Define as inline.
(__ev_convert_s64): Same.
From-SVN: r64104
Jan Hubicka [Mon, 10 Mar 2003 18:32:17 +0000 (19:32 +0100)]
* cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
From-SVN: r64103
Aldy Hernandez [Mon, 10 Mar 2003 18:03:17 +0000 (18:03 +0000)]
rs6000.h (DWARF_FRAME_REGISTERS): Define.
2003-03-10 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
(rs6000_stack_t): Add spe_64bit_regs_used.
* config/rs6000/rs6000.c (rs6000_stack_info): Calculate
spe_64bit_regs_used, and use it to determine the size of the
frame.
(spe_func_has_64bit_regs_p): New.
(spe_synthesize_frame_save): New.
(rs6000_frame_related): Handle SPE synthetic registers.
(rs6000_emit_prologue): Only save in 64-bits if the function used
any registers in 64-bit mode.
(rs6000_emit_epilogue): Same, but for restore.
From-SVN: r64102
Richard Earnshaw [Mon, 10 Mar 2003 17:53:19 +0000 (17:53 +0000)]
arm.h (enum floating_point_type): Delete.
* arm.h (enum floating_point_type): Delete. Replace with...
(enum fputype): ... new.
(FPUTYPE_DEFAULT): Renamed from FP_DEFAULT. Values reworked.
* linux-elf.h (FPUTYPE_DEFAULT): Likewise.
* arm.md (attr fpu): Reworked for new underlying enum values.
* arm.c (arm_fpu_arch): Now enum fputype.
(arm_fpu_tune): Renamed from arm_fpu. Now enum fputype.
(arm_override_options, arm_output_epilogue, arm_expand_prologue):
Update uses of arm_fpu_arch and arm_fpu_tune.
From-SVN: r64099
Tom Tromey [Mon, 10 Mar 2003 17:28:21 +0000 (17:28 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
(JC1FLAGS): Removed -Wno-deprecated.
From-SVN: r64097
Josef Zlomek [Mon, 10 Mar 2003 17:23:44 +0000 (18:23 +0100)]
cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
* cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
(try_crossjump_to_edge): Replace refereces to one jump table by
references to identical jump table.
* loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
(replace_label): Moved to rtlanal.c.
(struct rtx_pair): Moved to rtl.h.
* rtl.h (struct rtx_pair): Moved from loop.c.
(replace_label): New extern function.
(subrtx_p): New extern function.
(tablejump_p): New extern function.
* rtlanal.c (replace_label): Moved from loop.c.
(subrtx_p_1): New static function.
(subrtx_p): New function.
(tablejump_p): New function.
From-SVN: r64096
Tom Tromey [Mon, 10 Mar 2003 16:39:15 +0000 (16:39 +0000)]
* libjava.jacks/jacks.xfail: Updated to reflect reality.
From-SVN: r64093
Michael Koch [Mon, 10 Mar 2003 15:31:03 +0000 (15:31 +0000)]
2003-03-10 Michael Koch <konqueror@gmx.de>
* java/nio/ByteOrder.java
(nativeOrder): Working implementation, added documentation.
(toString): Added documentation.
From-SVN: r64085
Michael Koch [Mon, 10 Mar 2003 15:16:52 +0000 (15:16 +0000)]
Forgot to add them to the commit command line before
From-SVN: r64084
Michael Koch [Mon, 10 Mar 2003 14:48:09 +0000 (14:48 +0000)]
DatagramSocket.java, [...]: Fixed some documentation tags to make javadoc and friends happy.
2003-03-10 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java,
java/net/MulticastSocket.java,
java/net/Socket.java,
java/net/URL.java,
java/net/URLConnection.java:
Fixed some documentation tags to make javadoc and friends happy.
From-SVN: r64083
Michael Koch [Mon, 10 Mar 2003 14:33:47 +0000 (14:33 +0000)]
BeanContextServicesSupport.java, [...]: New files.
2003-03-10 Michael Koch <koqnueror@gmx.de>
* java/beans/beancontext/BeanContextServicesSupport.java,
java/beans/beancontext/BeanContextSupport.java: New files.
* Makefile.am
(awt_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r64080
Jan Hubicka [Mon, 10 Mar 2003 14:31:10 +0000 (15:31 +0100)]
cfgcleanup.c (merge_blocks): Return where to iterate next.
* cfgcleanup.c (merge_blocks): Return where to iterate next.
(try_optimize_cfg): Use return value of merge_blocks
From-SVN: r64079
Michael Koch [Mon, 10 Mar 2003 13:21:38 +0000 (13:21 +0000)]
2003-03-10 Michael Koch <konqueror@gmx.de>
* java/awt/FocusTraversalPolicy.java
(FocusTraversalPolicy): Documentation added.
(getComponentAfter): Documentation added.
(getComponentBefore): Documentation added.
(getFirstComponent): Documentation added.
(getLastComponent): Documentation added.
(getDefaultComponent): Documentation added.
(getInitialComponent): Documentation added.
* java/awt/ScrollPaneAdjustable.java
(sp): New member variable.
(orientation): New member variable.
(value): New member variable.
(minimum): New member variable.
(maximum): New member variable.
(visibleAmount): New member variable.
(unitIncrement): New member variable.
(blockIncrement): New member variable.
(adjustmentListener): New member variable.
(ScrollPaneAdjustable): Rewrote.
(addAdjustmentListener): New method.
(removeAdjustmentListener): New method.
(getAdjustmentListeners): New method.
(getBlockIncrement): New method.
(getMaximum): New method.
(getMinimum): New method.
(getOrientation): New method.
(getUnitIncrement): New method.
(getValue): New method.
(getVisibleAmount): New method.
(setBlockIncrement): New method.
(setUnitIncrement): New method.
(setMaximum): Implemented.
(setMinimum): Implemented.
(setValue): New method.
(setVisibleAmount): Implemented.
(paramString): New method.
* java/awt/Window.java
(show): Use setVisible(true) instead of super.show().
(hide): Use sevVisible(false) instead of super.hide().
(processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
(postEvent): Deprecated.
(applyResourceBundle): Deprecated.
(processWindowFocusEvent): New method.
(processWindowStateEvent): New method.
* java/awt/datatransfer/DataFlavor.java: Reindented.
* java/awt/font/TextHitInfo.java
(charIndex): New member variable.
(leadingEdge): New member variable.
(TextHitInfo): New constructor.
(getCharIndex): Implemented.
(isLeadingEdge): Implemented.
(getInsertionIndex): Implemented.
(hashCode): Access charIndex directly.
(equals): Reformated.
(leading): Implemented.
(trailing): Implemented.
(beforeOffset): Implemented.
(afterOffset): Implemented.
(getOtherHit): Implemented.
(getOffsetHit): Implemented.
(toString): Implemented.
* java/awt/image/BufferedImage.java
(BufferedImage): Implements WritableRenderedImage.
(observers): New member variable.
(addTileObserver): New method.
(removeTileObserver): New method.
From-SVN: r64078
Michael Matz [Mon, 10 Mar 2003 12:59:12 +0000 (12:59 +0000)]
cfg.c (unchecked_make_edge): New.
* cfg.c (unchecked_make_edge): New.
(cached_make_edge): Use it.
* basic-block.h (unchecked_make_edge): Declare.
* cfglayout.c (cfg_layout_duplicate_bb): Use it.
From-SVN: r64077
Steven Bosscher [Mon, 10 Mar 2003 12:48:08 +0000 (12:48 +0000)]
re PR rtl-optimization/7189 (gcc -O2 -Wall does not print ``control reaches end of non-void function'' warning)
2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl>
PR optimization/7189
* toplev.c (rest_of_compilation): Move
check_function_return_warnings up to just after
delete_unreachable_blocks.
From-SVN: r64076
Richard Earnshaw [Mon, 10 Mar 2003 12:40:19 +0000 (12:40 +0000)]
fpa.md: New file.
* fpa.md: New file. Move all patterns relating to FPA co-processor
to here...
* arm.md: ... from here.
(cirrus.md, fpa.md): Include at end of description.
(divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands.
(pic_load_addr_based): Remove register constraint from expander.
(seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered)
(sordered, sungt, sunle, sunge, sunlt): Likewise.
(eh_epilogue, tablejump): Likewise.
From-SVN: r64075
Mark Mitchell [Mon, 10 Mar 2003 07:26:34 +0000 (07:26 +0000)]
re PR c++/9373 (ICE with -fstrict-aliasing in set_mem_alias_set, at emit-rtl.c:1932)
PR c++/9373
* g++.dg/opt/ptrmem2.C: New test.
PR c++/9373
* cp-lang.c (cxx_get_alias_set): Use alias set zero for
pointers to member functions.
From-SVN: r64070
Paolo Carlini [Mon, 10 Mar 2003 06:55:00 +0000 (07:55 +0100)]
basic_file_stdio.cc: include <unistd.h>.
2003-03-09 Paolo Carlini <pcarlini@unitus.it>
* config/io/basic_file_stdio.cc: include <unistd.h>.
From-SVN: r64069
Mark Mitchell [Mon, 10 Mar 2003 06:22:28 +0000 (06:22 +0000)]
re PR c++/8534 (When compiling qt contradicting aliasing class created for bitfield constructor)
PR c++/8534
* decl.c (build_ptrmemfunc_type): Do not allow default arugments
in pointer-to-member-function types.
PR c++/8534
* g++.dg/opt/ptrmem1.C: New test.
From-SVN: r64066
Gabriel Dos Reis [Mon, 10 Mar 2003 05:44:46 +0000 (05:44 +0000)]
expr.c (cplus_expand_constant): Use C90 prototype style.
* expr.c (cplus_expand_constant): Use C90 prototype style.
(cxx_expand_expr): Likewise.
From-SVN: r64064
Ben Elliston [Mon, 10 Mar 2003 05:34:43 +0000 (05:34 +0000)]
MAINTAINERS: Update my mail address.
2003-03-10 Ben Elliston <bje@wasabisystems.com>
* MAINTAINERS: Update my mail address.
From-SVN: r64063
GCC Administrator [Mon, 10 Mar 2003 00:17:09 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64062
Tom Tromey [Sun, 9 Mar 2003 22:50:02 +0000 (22:50 +0000)]
re PR libgcj/9934 (Bugs in natFileDescriptorPosix.cc:available())
PR libgcj/9934:
* java/io/natFileDescriptorPosix.cc (available): Fixed arguments
to lseek. Return 0 if we can't compute the value.
From-SVN: r64053
Paolo Carlini [Sun, 9 Mar 2003 22:31:45 +0000 (23:31 +0100)]
re PR libstdc++/7744 (streambuf::in_avail() always returns 0 (zero) for cin input stream)
2003-03-09 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
PR libstdc++/7744
* config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
seekoff, seekpos): Add a boolean parameter __stdio.
* config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
fseek/ftell, respectively), otherwise read (write, lseek, lseek,
respectively).
* include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
_M_really_overflow, seekoff): Use the boolean parameter in the calls.
* include/std/std_fstream.h (sync): Likewise.
* src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
* src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert libstdc++/8399
commit involving isatty(0).
* acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
(GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
* configure.in: Remove call.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* testsuite/27_io/narrow_stream_objects.cc (test11): Add.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r64051
David Edelsohn [Sun, 9 Mar 2003 22:28:31 +0000 (22:28 +0000)]
rs6000.md (movsi_update1): Add TARGET_UPDATE final condition.
* config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final
condition.
From-SVN: r64050
Neil Booth [Sun, 9 Mar 2003 22:01:15 +0000 (22:01 +0000)]
frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
* config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
* config/ip2k/ip2k.h: Similarly.
* config/m32r/m32r.h: Similarly.
* config/m68hc11/m68hc11.h: Similarly.
* config/mn10200/mn10200.h: Similarly.
* config/mn10300/mn10300.h: Similarly.
* config/pdp11/pdp11.h: Similarly.
* config/v850/v850.h: Similarly.
* config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
* config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
* config/mips/iris3.h: Remove #if 0 block.
From-SVN: r64049
Roger Sayle [Sun, 9 Mar 2003 21:44:49 +0000 (21:44 +0000)]
gcc.c (do_spec_1): Revert 2003-02-24 patch.
* gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle
pending argument upon return from handle_braces here.
(do_spec_2): Instead handle it upon return from do_spec_1 here.
Co-Authored-By: Joern Rennecke <joern.rennecke@superh.com>
From-SVN: r64047
Paolo Carlini [Sun, 9 Mar 2003 21:35:09 +0000 (22:35 +0100)]
re PR libstdc++/9988 (filebuf::overflow writes EOF to file)
2003-03-09 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9988
* include/bits/fstream.tcc (overflow): don't write EOF to file.
* testsuite/27_io/filebuf_virtuals.cc (test15): Add.
From-SVN: r64045
Franz Sirl [Sun, 9 Mar 2003 20:41:31 +0000 (20:41 +0000)]
varasm.c (make_decl_one_only): Use declare_weak().
2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* varasm.c (make_decl_one_only): Use declare_weak().
From-SVN: r64044
John David Anglin [Sun, 9 Mar 2003 19:47:54 +0000 (19:47 +0000)]
re PR middle-end/9986 ([HP-UX] [3.4 regression] Incorrect transformation of fputs_unlocked to fputc_unlocked)
PR middle-end/9986
* c-common.c (c_common_nodes_and_builtins): Initialize target builtins
after the common builtins.
* pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
* pa.c (TARGET_INIT_BUILTINS): Define.
(pa_init_builtins): New function.
* pa.md (call, call_value, sibcall, sibcall_value): When sufficient
space has been allocated for the outgoing arguments, set the arg
pointer for a call emitted after virtuals have been instantiated
using the stack pointer offset, otherwise abort.
From-SVN: r64043
DJ Delorie [Sun, 9 Mar 2003 18:49:17 +0000 (13:49 -0500)]
* config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert.
From-SVN: r64041
Franz Sirl [Sun, 9 Mar 2003 17:08:17 +0000 (17:08 +0000)]
configure.in (gxx_include_dir): Fix typo.
2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* configure.in (gxx_include_dir): Fix typo.
* configure: Regenerated.
From-SVN: r64038
Richard Earnshaw [Sun, 9 Mar 2003 17:07:45 +0000 (17:07 +0000)]
* arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2)
(arm_fix_truncdfsi2): Add missing fix in floating point mode before
conversion to integer.
* cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise.
From-SVN: r64037
Eric Botcazou [Sun, 9 Mar 2003 15:40:00 +0000 (16:40 +0100)]
* gcc.dg/i386-loop-1.c: New test.
From-SVN: r64031
Roger Sayle [Sun, 9 Mar 2003 15:22:56 +0000 (15:22 +0000)]
builtins.def: Fix typo and improve grammar.
* builtins.def: Fix typo and improve grammar.
* loop-unroll.c (decide_peel_completely): Tidy log message.
From-SVN: r64030
Kriang Lerdsuwanakij [Sun, 9 Mar 2003 14:30:18 +0000 (14:30 +0000)]
re PR c++/9970 (previously declared inline friend can't access members)
PR c++/9970
* decl.c (duplicate_decls): Only copy DECL_THUNKS for virtual
functions.
* g++.dg/lookup/friend1.C: New test.
From-SVN: r64029
Kazu Hirata [Sun, 9 Mar 2003 13:22:59 +0000 (13:22 +0000)]
h8300.md (*tstsi_upper_bit): New.
* config/h8300/h8300.md (*tstsi_upper_bit): New.
(*iorsi3_e2f): Likewise.
From-SVN: r64026
Jerry Quinn [Sun, 9 Mar 2003 04:19:52 +0000 (04:19 +0000)]
re PR libstdc++/9561 (ostream inserters rethrow exception of wrong type)
2003-03-08 Jerry Quinn <jlquinn@optonline.net>
PR libstdc++/9561
* include/bits/basic_ios.h (_M_setstate): New.
* include/bits/ostream.tcc (operator<<): Use it.
* include/bits/istream.tcc (operator>>): Use it.
* include/std/std_ostream.h (operator<<): Make friends.
* include/std/std_istream.h (operator>>): Make friends.
* testsuite/27_io/ostream_exception.cc,
testsuite/27_io/istream_exception.cc: New tests.
From-SVN: r64021
Kazu Hirata [Sun, 9 Mar 2003 03:40:45 +0000 (03:40 +0000)]
h8300.c (h8300_and_costs): Return the number of assembly instructions needed.
* config/h8300/h8300.c (h8300_and_costs): Return the number of
assembly instructions needed.
(h8300_shift_costs): Likewise.
From-SVN: r64020
Hans-Peter Nilsson [Sun, 9 Mar 2003 01:46:26 +0000 (01:46 +0000)]
* config/cris/aout.h (ENDFILE_SPEC): Undef.
From-SVN: r64017
Phil Edwards [Sun, 9 Mar 2003 01:33:00 +0000 (01:33 +0000)]
test_summary: Add -h, print existing comments as help.
2003-03-08 Phil Edwards <pme@gcc.gnu.org>
* test_summary: Add -h, print existing comments as help.
From-SVN: r64016
Hans-Peter Nilsson [Sun, 9 Mar 2003 01:32:42 +0000 (01:32 +0000)]
optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC moves from here ...
* optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC
moves from here ...
* expr.c (emit_move_insn_1): ... to here.
From-SVN: r64015
Hans-Peter Nilsson [Sun, 9 Mar 2003 01:20:03 +0000 (01:20 +0000)]
aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
* config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
(TARGET_OS_CPP_BUILTINS): New macro.
* config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to...
(TARGET_OS_CPP_BUILTINS): New macro.
(CPP_PREDEFINES): Don't define. Move old definitions and...
(CPP_SPEC): ...move -D__CRIS_ABI_version=2 to...
(TARGET_CPU_CPP_BUILTINS): New macro.
* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant
definitions and the optional __PIC__, __pic__ and
__NO_UNDERSCORES__ definitions to...
(TARGET_OS_CPP_BUILTINS): New macro.
From-SVN: r64014
Geoffrey Keating [Sun, 9 Mar 2003 00:35:22 +0000 (00:35 +0000)]
* lang-specs.h (c++-header): Change .pch to .gch.
From-SVN: r64013
Hans-Peter Nilsson [Sun, 9 Mar 2003 00:31:00 +0000 (00:31 +0000)]
* flags.h (flag_leading_underscore): Declare.
From-SVN: r64012
GCC Administrator [Sun, 9 Mar 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64011
Hans-Peter Nilsson [Sat, 8 Mar 2003 23:46:46 +0000 (23:46 +0000)]
c-opts.c (c_common_post_options): On fopen failure, return false, not NULL.
* c-opts.c (c_common_post_options): On fopen failure, return
false, not NULL.
From-SVN: r64004
Hans-Peter Nilsson [Sat, 8 Mar 2003 22:59:10 +0000 (22:59 +0000)]
cris_abi_symbol.c: #include tconfig.h and tm.h, not config.h.
* config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
config.h.
* config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
* config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.
From-SVN: r64003
Neil Booth [Sat, 8 Mar 2003 22:26:25 +0000 (22:26 +0000)]
rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of CPP_PREDEFINES.
* config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
CPP_PREDEFINES.
* config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
CPP_PREDEFINES.
From-SVN: r64002
Neil Booth [Sat, 8 Mar 2003 21:12:26 +0000 (21:12 +0000)]
c-common.h (c_common_init, [...]): Update.
* c-common.h (c_common_init, c_common_post_options): Update.
* c-objc-common.c (c_objc_common_init): Update for new prototype.
* c-opts.c (saved_lineno): New.
(c_common_post_options, c_common_init): Update prototypes,
move call to cpp_read_main_file from latter to former.
* c-tree.h (c_ojbc_common_init): Update.
* langhooks-def.h (lhd_post_options): New.
(LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.c (lhd_post_options): New.
* langhooks.h (struct lang_hooks): Update post_options and init hooks.
* toplev.c (no_backend): New.
(process_options): Call post_options hook and set main_input_filename
and input_filename here.
(lang_dependent_init, do_compile): post_options hook moved to
process_options.
* objc/objc-act.c (objc_init): Update prototype.
* objc/objc-act.h (objc_init): Update prototype.
ada:
* misc.c (gnat_init): Update for new prototype.
cp:
* cp-tree.h (cxx_init): Update prototype.
* lex.c (cxx_init): Similarly.
f:
* com.c (ffe_init): Update prototype; move code to ffe_post_options.
(ffe_post_options): New.
java:
* lang.c (java_init): Update prototype, move code to java_post_options.
(java_post_options): Similarly.
treelang:
* tree1.c (in_fname): Fix type.
(treelang_init): Update prototype and use of in_fname.
* treelang.h (in_fname): Fix type.
* treetree.c (tree_code_if_start, tree_code_if_else,
tree_code_if_end, tree_code_create_function_prototype,
tree_code_create_function_initial, tree_code_create_funciton_wrapup,
tree_code_create_variable, tree_code_output_expression_statement)
: Fix prototypes and use of filenames.
* treetree.h: Similarly.
From-SVN: r64001
Roger Sayle [Sat, 8 Mar 2003 19:24:02 +0000 (19:24 +0000)]
emit-rtl.c (gen_lowpart): Don't attempt to load a part of a complex or vector type...
* emit-rtl.c (gen_lowpart): Don't attempt to load a part of
a complex or vector type, using a load in the original mode.
From-SVN: r64000
Mark Mitchell [Sat, 8 Mar 2003 18:47:42 +0000 (18:47 +0000)]
re PR c++/9823 (ICE in sort_mem_initializers)
PR c++/9823
* cp-tree.h (begin_mem_initializers): Remove.
* parser.c (cp_parser_mem_initializer_list): Inline it here.
Do not call finish_mem_initializers if not in a constructor.
(cp_parser_class_head): Fix typo in error message.
* semantics.c (begin_mem_initializers): Remove.
* testsuite/g++.dg/parser/constructor1.C: New test.
PR c++/9823
* g++.dg/parser/constructor1.C: New test.
From-SVN: r63999
Jan Hubicka [Sat, 8 Mar 2003 18:24:22 +0000 (19:24 +0100)]
Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
* Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
* gt-cgraph.h: New GC file.
* cgraph.c (known_fns): New static variable.
(cgraph_node): Add the decl into varray.
From-SVN: r63998
Hans-Peter Nilsson [Sat, 8 Mar 2003 17:29:31 +0000 (17:29 +0000)]
* config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
From-SVN: r63997
Richard Earnshaw [Sat, 8 Mar 2003 16:23:20 +0000 (16:23 +0000)]
* arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
(neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm)
(output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm)
(output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu.
All callers changed.
* arm.md, arm.h, arm-protos.h: Updated.
* arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS.
(CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated.
* arm.c (arm_regno_class, f_register_operand): Updated.
From-SVN: r63996
Hans-Peter Nilsson [Sat, 8 Mar 2003 16:10:30 +0000 (16:10 +0000)]
cris.h: Remove EGCS references.
* config/cris/cris.h: Remove EGCS references.
(CPP_SPEC): Remove "-$".
(INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL.
From-SVN: r63995
Neil Booth [Sat, 8 Mar 2003 15:32:45 +0000 (15:32 +0000)]
stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in preference to CPP_PREDEFINES.
* config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
preference to CPP_PREDEFINES.
From-SVN: r63994
Hans-Peter Nilsson [Sat, 8 Mar 2003 14:36:38 +0000 (14:36 +0000)]
* gcc.c-torture/execute/
20020720-1.x: Add xfail for cris-*-*.
From-SVN: r63993
Hans-Peter Nilsson [Sat, 8 Mar 2003 14:08:16 +0000 (14:08 +0000)]
* gcc.dg/old-style-asm-1.c: Tweak to match mmix-knuth-mmixware.
From-SVN: r63991
Neil Booth [Sat, 8 Mar 2003 13:34:31 +0000 (13:34 +0000)]
cppinit.c (cpp_finish_options): Set first_unused_line to -1.
* cppinit.c (cpp_finish_options): Set first_unused_line to -1.
testsuite:
* gcc.dg/cpp/Wunused.c: Update test.
From-SVN: r63985
Kazu Hirata [Sat, 8 Mar 2003 13:28:05 +0000 (13:28 +0000)]
* config/h8300/h8300.md (*extzv_16_8): New.
From-SVN: r63984
Jan Hubicka [Sat, 8 Mar 2003 13:26:37 +0000 (14:26 +0100)]
inline-3.c: New test.
* gcc.dg/inline-3.c: New test.
* c-decl.c: (finish_function): Update call of tree_inlinable_function_p.
* cgraph.h: (cgraph_local_info): Add can_inline_once
(cgraph_global_info): Add inline_once.
(cgraph_node): Add previous.
(cgraph_remove_node): New.
* cgraphunit.c (cgraph_mark_functions_to_inline_once): New static
function.
(cgraph_optimize): Call it.
(cgraph_finalize_function): Set inlinable flags.
(cgraph_finalize_compilation_unit): Actually remove the reclaimed nodes.
(cgraph_mark_functions_to_output): Use new inlining heuristics flags.
(cgraph_expand_function): Likewise.
* cgraph.c
(cgraph_node): Put nodes into doubly linked chain.
(cgraph_remove_node): New function.
* flags.h (flag_inline_functions_called_once): Declare.
* tree-inline.c: Include cgraph.h
(inlinable_functions_p): Add extra argument to bypass limits.
(expand_call_inline): Obey cgraph flag.
* tree-inline.h (tree_inlinable_function_p): Update prototype.
From-SVN: r63983
Loren J. Rittle [Sat, 8 Mar 2003 10:13:36 +0000 (10:13 +0000)]
* testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
From-SVN: r63982
Mark Mitchell [Sat, 8 Mar 2003 09:53:41 +0000 (09:53 +0000)]
Initialize args
From-SVN: r63981
Zdenek Dvorak [Sat, 8 Mar 2003 09:47:28 +0000 (10:47 +0100)]
gcse.c (bypass_block, [...]): Do not create irreducible loops.
* gcse.c (bypass_block, bypass_conditional_jumps): Do not create
irreducible loops.
* loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible
loops info correctly.
From-SVN: r63980
Mark Mitchell [Sat, 8 Mar 2003 09:23:36 +0000 (09:23 +0000)]
Fix typo
From-SVN: r63979
Mark Mitchell [Sat, 8 Mar 2003 09:12:54 +0000 (09:12 +0000)]
re PR c++/9809 (when are builtins brought into view)
PR c++/9809
* g++.dg/parse/builtin1.C: New test.
PR c++/9982
* g++.dg/abi/cookie1.C: New test.
* g++.dg/abi/cookie2.C: Likewise.
PR c++/9524
* g++.dg/parse/field1.C: New test.
PR c++/9912
* g++.dg/parse/class1.C: New test.
* g++.dg/parse/namespace7.C: Likewise.
* g++.old-deja/g++.other/decl5.C: Remove XFAILs.
From-SVN: r63977
Benjamin Kosnik [Sat, 8 Mar 2003 09:11:04 +0000 (09:11 +0000)]
locale_facets.tcc: Fix typo.
2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Fix typo.
From-SVN: r63976
Loren J. Rittle [Sat, 8 Mar 2003 08:55:54 +0000 (08:55 +0000)]
c_locale.cc (locale::facet::_S_create_c_locale): Throw runtime exception when unsupported language is specified.
* config/locale/generic/c_locale.cc (locale::facet::_S_create_c_locale):
Throw runtime exception when unsupported language is specified.
* testsuite/testsuite_hooks.h
(run_test_wrapped_generic_locale_exception_catcher): New function.
* testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
Suppress runtime exception thrown by generic implementation.
(run_tests_wrapped_env): Likewise.
(run_test_wrapped_generic_locale_exception_catcher): New function.
* testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
* testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
* testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
* testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
* testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
* testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
* testsuite/22_locale/collate_byname/1.cc: New test wrap.
* testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
* testsuite/22_locale/facet/2.cc: New test wrap.
* testsuite/22_locale/locale/cons/4.cc: New test wrap.
* testsuite/22_locale/locale/cons/5.cc: New test wrap.
* testsuite/22_locale/locale/cons/7.cc: New test wrap.
* testsuite/22_locale/messages/members/char/1.cc: New test wrap.
* testsuite/22_locale/messages/members/char/2.cc: New test wrap.
* testsuite/22_locale/messages/members/char/3.cc: New test wrap.
* testsuite/22_locale/messages_byname/1.cc: New test wrap.
* testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
* testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
* testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
* testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
* testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
* testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
* testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
* testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
* testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
* testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
* testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
* testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
* testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
* testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
* testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
* testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
* testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
* testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
* testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
* testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
* testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
* testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
* testsuite/27_io/filebuf_virtuals.cc: New test wrap.
* testsuite/27_io/ios_members.cc: New test wrap.
* testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
New test wrap.
* testsuite/27_io/streambuf_members.cc: New test wrap.
* testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
From-SVN: r63975
Paolo Carlini [Sat, 8 Mar 2003 08:16:06 +0000 (09:16 +0100)]
re PR libstdc++/9424 (i/ostream::operator>>/<<(streambuf*) drops characters)
2003-03-08 Paolo Carlini <pcarlini@unitus.it>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/9424
* include/bits/streambuf.tcc (__copy_streambufs): Use
sgetn-sputn only when sputn cannot fail, otherwise fall back
to safe snextc-sputc.
* testsuite/27_io/streambuf_members.cc (test11, test12): Add.
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r63974
Eric Botcazou [Sat, 8 Mar 2003 07:32:36 +0000 (07:32 +0000)]
re PR middle-end/7796 (sparc-sun-solaris2.7 extra failure w/-m64 on execute/930921-1.c in unroll.c)
PR middle-end/7796
* unroll.c (calculate_giv_inc): Handle constants being
loaded with LSHIFTRT.
From-SVN: r63971
Jerry Quinn [Sat, 8 Mar 2003 06:28:20 +0000 (06:28 +0000)]
locale_facets.tcc (num_put::do_put(bool)): Use locale cache for truename and falsename.
2003-03-08 Jerry Quinn <jlquinn@optonline.net>
* include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
locale cache for truename and falsename.
From-SVN: r63970
Jerry Quinn [Sat, 8 Mar 2003 06:17:11 +0000 (06:17 +0000)]
ios.cc (ios_base::ios_base): Correct order of _M_word and _M_word_size initialization.
2003-03-08 Jerry Quinn <jlquinn@optonline.net>
* src/ios.cc (ios_base::ios_base): Correct order of _M_word and
_M_word_size initialization.
From-SVN: r63969
David Edelsohn [Sat, 8 Mar 2003 05:07:24 +0000 (05:07 +0000)]
rs6000.c (processor_target_table): Do not disable GP optional instructions on Power3, Power4, 620, and 630.
* config/rs6000/rs6000.c (processor_target_table): Do not disable
GP optional instructions on Power3, Power4, 620, and 630.
From-SVN: r63967
Kazu Hirata [Sat, 8 Mar 2003 01:38:27 +0000 (01:38 +0000)]
calls.c: Fix comment formatting.
* calls.c: Fix comment formatting.
* cfgloopanal.c: Likewise.
* cfgloopmanip.c: Likewise.
* combine.c: Likewise.
* dwarf2out.c: Likewise.
* ggc-common.c: Likewise.
* langhooks.c: Likewise.
* loop-unroll.c: Likewise.
* loop.c: Likewise.
* ra-build.c: Likewise.
* sbitmap.c: Likewise.
* toplev.c: Likewise.
From-SVN: r63966
Mark Mitchell [Sat, 8 Mar 2003 00:39:11 +0000 (00:39 +0000)]
Fix typo
From-SVN: r63965
James E Wilson [Sat, 8 Mar 2003 00:21:23 +0000 (16:21 -0800)]
Fix for proprietary testcase that fails at -m5-compact...
Fix for proprietary testcase that fails at -m5-compact
����������������* config/sh/sh.h (HARD_REGNO_NREGS): Round up the XD register count.
From-SVN: r63963
GCC Administrator [Sat, 8 Mar 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r63962
Geoffrey Keating [Fri, 7 Mar 2003 23:10:42 +0000 (23:10 +0000)]
lang-specs.h (objective-c-header): Use .gch not .pch; support -no-integrated-cpp.
* objc/lang-specs.h (objective-c-header): Use .gch not .pch;
support -no-integrated-cpp.
* c-pch.c (get_ident): Use c_language_kind and flag_objc rather
than langhooks.name.
From-SVN: r63955
Paolo Carlini [Fri, 7 Mar 2003 22:20:18 +0000 (23:20 +0100)]
fstream.tcc (_M_convert_to_external): Set __elen to zero if codecvt::out eventually fails.
2003-03-07 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (_M_convert_to_external):
Set __elen to zero if codecvt::out eventually fails.
From-SVN: r63954
Paolo Carlini [Fri, 7 Mar 2003 22:06:28 +0000 (23:06 +0100)]
re PR libstdc++/9182 (basic_filebuf<> does not report errors in codecvt<>::out)
2003-03-07 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9182
* include/bits/fstream.tcc (_M_really_overflow): Check
for _M_convert_to_external possible failures.
* include/std/std_fstream.h (sync): Check _M_really_overflow
return value and return -1 in case of failure.
* testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
2003-03-07 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9826
* include/bits/istream.tcc (operator>>(_CharT*),
operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
* testsuite/27_io/stringstream.cc (test02): Add.
* include/bits/istream.tcc (operator>>(_CharT*)):
Assign a char_type to *__s.
From-SVN: r63953
Michael Matz [Fri, 7 Mar 2003 22:06:16 +0000 (22:06 +0000)]
df.h (enum df_ref_flags.DF_REF_STRIPPED): New.
* df.h (enum df_ref_flags.DF_REF_STRIPPED): New.
(DF_FOR_REGALLOC): New.
* df.c (df_ref_record): Set DF_REF_STRIPPED.
(read_modify_subreg_p): Simplify.
(df_def_record_1, df_uses_record): Set DF_REF_MODE_CHANGE more often.
Use DF_FOR_REGALLOC.
* ra.h (struct web): New member subreg_stripped.
(invalid_mode_change_regs): Declare.
* ra.c (invalid_mode_change_regs): New.
(init_ra): Initialize it.
* ra-build.c (init_one_web_common, remember_web_was_spilled): Use it.
Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
(reinit_one_web, parts_to_web_1): Deal with subreg_stripped.
* ra-colorize.c (colorize_one_web): Use invalid_mode_change_regs.
Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
From-SVN: r63952
Mark Mitchell [Fri, 7 Mar 2003 21:19:38 +0000 (21:19 +0000)]
call.c (reference_binding): Remove REF_IS_VAR parameter.
* call.c (reference_binding): Remove REF_IS_VAR parameter.
(implicit_conversion): Adjust call to reference_binding.
(make_temporary_var_for_ref_to_type): Add TYPE parameter.
(initialize_reference): Adjust handling for references bound to
rvalues.
* cp-tree.h (make_temporary_var_for_ref_to_temp): Change
prototype.
(real_non_cast_lvalue_p): New function.
* cvt.c (build_up_reference): Adjust use of
make_temporary_var_for_ref_to_temp.
* tree.c (real_non_cast_lvalue_p): New function.
* g++.dg/init/ref4.C: New test.
From-SVN: r63949
Petur Runolfsson [Fri, 7 Mar 2003 17:24:47 +0000 (17:24 +0000)]
re PR libstdc++/9817 (collate::compare doesn't handle nul characters.)
2003-03-07 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/9817
* include/bits/locale_facets.tcc
(collate::do_compare, collate::do_transform):
Handle nul characters in input.
* testsuite/22_locale/collate/compare/char/3.cc: New test.
* testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
* testsuite/22_locale/collate/transform/char/3.cc: New test.
* testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
From-SVN: r63946
Jan Hubicka [Fri, 7 Mar 2003 16:42:17 +0000 (17:42 +0100)]
* gcc.dg/i386-local2.c: Fix problems with certain versions of dejagnu.
From-SVN: r63945
Jerry Quinn [Fri, 7 Mar 2003 14:14:11 +0000 (14:14 +0000)]
streambuf_iterator.h (_M_put): Set _M_failed if sputn fails.
2003-03-07 Jerry Quinn <jlquinn@optonline.net>
* include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
sputn fails.
* testsuite/27_io/ostream_fail.cc: New test.
From-SVN: r63944
Richard Earnshaw [Fri, 7 Mar 2003 10:07:14 +0000 (10:07 +0000)]
* arm.md (addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, negsf2)
(negdf2, abssi2, abssf2, absdf2, floatsisf2, floatsidf2)
(fix_truncsfsi2, fix_truncdfsi2, truncdfsf2): Moved back into main
machine description file from ...
* cirrus.md: ... here.
From-SVN: r63940
Matthias Klose [Fri, 7 Mar 2003 08:01:24 +0000 (08:01 +0000)]
Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
2003-03-07 Matthias Klose <doko@debian.org>
* Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
FLAGS_TO_PASS: Set to AM_MAKEFLAGS
* Makefile.in: Regenerate.
* libsupc++/Makefile.am: Express glibcppinstalldir in terms
of gxx_include_dir.
AM_MAKEFLAGS: Pass gxx_include_dir.
* libsupc++/Makefile.in: Regenerate.
From-SVN: r63939
Gabriel Dos Reis [Fri, 7 Mar 2003 07:45:29 +0000 (07:45 +0000)]
except.c (init_exception_processing): Use C90 prototype style.
* except.c (init_exception_processing): Use C90 prototype style.
(cp_protect_cleanup_actions): Likewise.
(prepare_eh_type): Likewise.
(build_eh_type_type): Likewise.
(build_exc_ptr): Likewise.
(do_begin_catch): Likewise.
(dtor_nothrow): Likewise.
(do_end_catch): Likewise.
(push_eh_cleanup): Likewise.
(decl_is_java_type): Likewise.
(choose_personality_routine): Likewise.
(initialize_handler_parm): Likewise.
(expand_start_catch_block): Likewise.
(expand_end_catch_block): Likewise.
(begin_eh_spec_block): Likewise.
(finish_eh_spec_block): Likewise.
(do_allocate_exception): Likewise.
(do_free_exception): Likewise.
(wrap_cleanups_r): Likewise.
(stabilize_throw_expr): Likewise.
(build_throw): Likewise.
(complete_ptr_ref_or_void_ptr_p): Likewise.
(is_admissible_throw_operand): Likewise.
(nothrow_libfn_p): Likewise.
(can_convert_eh): Likewise.
(check_handlers_1): Likewise.
(check_handlers): Likewise.
From-SVN: r63935
Mark Mitchell [Fri, 7 Mar 2003 07:03:17 +0000 (07:03 +0000)]
* rtti.c (get_tinfo_decl): Use build_address/build_nop.
From-SVN: r63931
Mark Mitchell [Fri, 7 Mar 2003 07:02:02 +0000 (07:02 +0000)]
call.c (merge_conversion_sequences): New function.
* call.c (merge_conversion_sequences): New function.
(build_conv): Set ICS_USER_FLAG for USER_CONVs.
(convert_class_to_reference): Correct handling of second
standard conversion sequence in a user-defined conversion
sequence.
(build_user_type_conversion_1): Use merge_conversion_sequences.
* cp-tree.def: Add comments for CONV nodes.
* g++.dg/init/ref3.C: New test.
From-SVN: r63930
Michael Koch [Fri, 7 Mar 2003 06:52:17 +0000 (06:52 +0000)]
No changelog, just replaced one tabulator with some spaces
to merge with classpath.
From-SVN: r63929
Gabriel Dos Reis [Fri, 7 Mar 2003 06:46:56 +0000 (06:46 +0000)]
error.c (init_error): Use C90 prototype style.
* error.c (init_error): Use C90 prototype style.
(dump_scope): Likewise.
(dump_qualifiers): Likewise.
(dump_template_argument): Likewise.
(dump_template_argument_list): Likewise.
(dump_template_parameter): Likewise.
(dump_template_bindings): Likewise.
(dump_type): Likewise.
(dump_typename): Likewise.
(class_key_or_enum): Likewise.
(dump_aggr_type): Likewise.
(dump_type_prefix): Likewise.
(dump_type_suffix): Likewise.
(dump_global_iord): Likewise.
(dump_simple_decl): Likewise.
(dump_decl): Likewise.
(dump_template_decl): Likewise.
(dump_function_decl): Likewise.
(dump_parameters): Likewise.
(dump_exception_spec): Likewise.
(dump_function_name): Likewise.
(dump_template_parms): Likewise.
(dump_char): Likewise.
(dump_expr_list): Likewise.
(dump_expr): Likewise.
(dump_binary_op): Likewise.
(dump_unary_op): Likewise.
(type_as_string): Likewise.
(expr_as_string): Likewise.
(decl_as_string): Likewise.
(context_as_string): Likewise.
(lang_decl_name): Likewise.
(cp_file_of): Likewise.
(cp_line_of): Likewise.
(decl_to_string): Likewise.
(expr_to_string): Likewise.
(fndecl_to_string): Likewise.
(code_to_string): Likewise.
(language_to_string): Likewise.
(parm_to_string): Likewise.
(op_to_string): Likewise.
(type_to_string): Likewise.
(assop_to_string): Likewise.
(args_to_string): Likewise.
(cv_to_string): Likewise.
(cxx_print_error_function): Likewise.
(cp_diagnostic_starter): Likewise.
(cp_diagnostic_finalizer): Likewise.
(cp_print_error_function): Likewise.
(function_category): Likewise.
(print_instantiation_full_context): Likewise.
(print_instantiation_partial_context): Likewise.
(maybe_print_instantiation_context): Likewise.
(print_instantiation_context): Likewise.
(cp_printer): Likewise.
(print_integer): Likewise.
(print_non_consecutive_character): Likewise.
(locate_error): Likewise.
From-SVN: r63928
Ranjit Mathew [Fri, 7 Mar 2003 04:40:08 +0000 (04:40 +0000)]
jcf.h (COMPARE_FILENAMES): New macro similar to "strcmp" to compare file name components depending on the...
2003-03-05 Ranjit Mathew <rmathew@hotmail.com>
* jcf.h (COMPARE_FILENAMES): New macro similar to "strcmp" to
compare file name components depending on the case-sensitivity
or otherwise of the host file system.
* jcf-path.c (add_entry): Use COMPARE_FILENAMES instead of
"strcmp" to compare file name components.
Use IS_DIR_SEPARATOR instead of comparing directly against
DIR_SEPARATOR.
(jcf_path_extdirs_arg): Use IS_DIR_SEPARATOR instead of
comparing directly against DIR_SEPARATOR.
From-SVN: r63927
Kazu Hirata [Fri, 7 Mar 2003 01:37:49 +0000 (01:37 +0000)]
h8300.md (a peephole2): Don't use reg_overlap_mentioned_p.
* config/h8300/h8300.md (a peephole2): Don't use
reg_overlap_mentioned_p.
From-SVN: r63925
Geoffrey Keating [Fri, 7 Mar 2003 01:20:52 +0000 (01:20 +0000)]
c-pch.c: Include langhooks.h.
* c-pch.c: Include langhooks.h.
(IDENT_LENGTH): New.
(get_ident): New.
(pch_ident): Delete.
(pch_init): Use get_ident, IDENT_LENGTH.
(c_common_valid_pch): Likewise. Also, use actual language
in warning message.
* Makefile.in (c-pch.o): Add langhooks.h to dependencies.
* objc/config-lang.in (gtfiles): Add objc-act.c. Remove duplicate
c-parse.in.
* objc/Make-lang.in (objc/objc-act.o): Add dependency on
gt-objc-objc-act.h.
(gt-objc-objc-act.h): New rule.
* objc/lang-specs.h: Support PCH.
* objc/objc-act.c: Include gt-objc-objc-act.h.
(objc_add_static_instance): Move num_static_inst out, mark for PCH.
(build_selector_reference_decl): Move idx out, mark for PCH.
(build_class_reference_decl): Likewise.
(build_objc_string_decl): Move *_idx out, mark for PCH.
(build_tmp_function_decl): Move xxx out, mark for PCH.
From-SVN: r63924
Dale Johannesen [Fri, 7 Mar 2003 00:58:41 +0000 (00:58 +0000)]
rs6000.c (rs6000_binds_local_p): Consider global functions for inlining on Darwin.
2003-03-06 Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.c (rs6000_binds_local_p): Consider
global functions for inlining on Darwin.
From-SVN: r63923
GCC Administrator [Fri, 7 Mar 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r63922
Vladimir Makarov [Fri, 7 Mar 2003 00:14:36 +0000 (00:14 +0000)]
haifa-sched.c (schedule_block): Don't call reorder when sorting is prohibited.
2003-03-06 Vladimir Makarov <vmakarov@redhat.com>
* haifa-sched.c (schedule_block): Don't call reorder when sorting
is prohibited.
From-SVN: r63915
Neil Booth [Thu, 6 Mar 2003 23:12:30 +0000 (23:12 +0000)]
Makefile.in (c-ppoutput.o): Update.
* Makefile.in (c-ppoutput.o): Update.
* c-common.h (init_pp_output): New.
(preprocess_file): Update.
* c-lex.c (init_c_lex): Move mbchar initialization to cpplib.
Register builtins.
* c-opts.c (c_common_init): Call init_pp_output if preprocessing.
Make call to cpp_read_main_file common to whether preprocessing
or not. Don't register builtins.
* c-ppoutput.c: Include c-pragma.h.
(setup_callbacks): Rename init_pp_output.
(preprocess_file): No longer setup callbacks or call
cpp_read_main_file.
* cpphash.h (_cpp_init_mbchar): New.
* cppinit.c (init_library): Call _cpp_init_mbchar.
* cpplex.c (_cpp_init_mbchar): New.
From-SVN: r63913