gcc.git
21 years ago* treetree.c: Remove cl_options-count and cl_options.
Andreas Jaeger [Thu, 12 Jun 2003 15:15:40 +0000 (17:15 +0200)]
* treetree.c: Remove cl_options-count and cl_options.

From-SVN: r67834

21 years agoconfig.guess: Update to 2003-06-06 version.
H.J. Lu [Thu, 12 Jun 2003 14:38:22 +0000 (14:38 +0000)]
config.guess: Update to 2003-06-06 version.

2003-06-12  H.J. Lu <hongjiu.lu@intel.com>

* config.guess: Update to 2003-06-06 version.
* config.sub: Update to 2003-06-06 version.

From-SVN: r67833

21 years agoc-opts.c (complain_wrong_lang): Add on argument.
Jakub Jelinek [Thu, 12 Jun 2003 14:02:41 +0000 (16:02 +0200)]
c-opts.c (complain_wrong_lang): Add on argument.

* c-opts.c (complain_wrong_lang): Add on argument.
Print no- switch if on is false.
(c_common_decode_option): Adjust caller.

From-SVN: r67831

21 years agos390.c (s390_emit_prologue): Use LA instead of AR to initialize GOT register.
Ulrich Weigand [Thu, 12 Jun 2003 13:47:52 +0000 (13:47 +0000)]
s390.c (s390_emit_prologue): Use LA instead of AR to initialize GOT register.

* config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
to initialize GOT register.

From-SVN: r67829

21 years agofold-const.c (tree_expr_nonnegative_p): Add support for floating point constants...
Roger Sayle [Thu, 12 Jun 2003 12:53:01 +0000 (12:53 +0000)]
fold-const.c (tree_expr_nonnegative_p): Add support for floating point constants, addition and multiplication.

* fold-const.c (tree_expr_nonnegative_p): Add support for
floating point constants, addition and multiplication.

* gcc.dg/builtins-21.c: New test case.

From-SVN: r67828

21 years agosh.md (adddi3_compact, [...]): Add earlyclobber constraint modifier for operand 0.
J"orn Rennecke [Thu, 12 Jun 2003 12:03:25 +0000 (12:03 +0000)]
sh.md (adddi3_compact, [...]): Add earlyclobber constraint modifier for operand 0.

* sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
constraint modifier for operand 0.

From-SVN: r67827

21 years agoconfigure.in (assembler dwarf2 debug_line support): Define insn for cris-*-* and...
Hans-Peter Nilsson [Thu, 12 Jun 2003 07:09:56 +0000 (07:09 +0000)]
configure.in (assembler dwarf2 debug_line support): Define insn for cris-*-* and mmix-*-*.

* configure.in (assembler dwarf2 debug_line support): Define insn
for cris-*-* and mmix-*-*.
* configure: Regenerate.

From-SVN: r67825

21 years agoDon't warn on dollars in builtin macro definitions,
Hans-Peter Nilsson [Thu, 12 Jun 2003 06:09:15 +0000 (06:09 +0000)]
Don't warn on dollars in builtin macro definitions,

e.g. __REGISTER_PREFIX__.
* cpphash.h (struct cpp_reader): Move member warn_dollars...
* cpplib.h (struct cpp_options): ...to here.  Change type to
unsigned char.
* cppinit.c (cpp_create_reader): Set it to 1 here.
(post_options): Don't set it here.
* c-opts.c (c_common_init_options): Reset it to 0 here.
(finish_options): Set it here.
* cpplex.c (forms_identifier_p): Tweak for new location of
warn_dollars.

From-SVN: r67824

21 years ago* ChangeLog: Add missing closing parentheses.
Matt Kraai [Thu, 12 Jun 2003 06:06:08 +0000 (06:06 +0000)]
* ChangeLog: Add missing closing parentheses.

From-SVN: r67823

21 years agoPatch from Kelley Cook.
Kelley Cook [Thu, 12 Jun 2003 05:54:23 +0000 (05:54 +0000)]
Patch from Kelley Cook.

* lib/gcc.exp (gcc_target_compile): Put TOOL_OPTIONS at front of
options instead of at the end.
* lib/objc.exp (objc_target_compile): Likewise.

From-SVN: r67822

21 years ago* misc.c (gnat_handle_option): Fix warnings.
Neil Booth [Thu, 12 Jun 2003 05:47:04 +0000 (05:47 +0000)]
* misc.c (gnat_handle_option): Fix warnings.

From-SVN: r67821

21 years ago* Make-lang.in (gnatbind): Remove $(LIBIBERTY).
Matt Kraai [Thu, 12 Jun 2003 05:42:08 +0000 (05:42 +0000)]
* Make-lang.in (gnatbind): Remove $(LIBIBERTY).

From-SVN: r67820

21 years agoKaos support from Uwe Stieber
Uwe Stieber [Thu, 12 Jun 2003 05:18:12 +0000 (05:18 +0000)]
Kaos support from Uwe Stieber

Kaos support from Uwe Stieber
* config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
powerpcle-*-kaos*, strongarm-*-kaos*): New targets.
(sh-*-elf*): Add sh*-*-kaos* support.
* config/kaos.h, config/arm/kaos-strongarm.h, config/arm/kaos-arm.h,
config/i386/kaos-i386.h, config/rs6000/kaos-ppc.h,
config/sh/kaos-sh.h: New files.

From-SVN: r67819

21 years agogcse.c (fis_get_condition): Make it a global function.
Kazu Hirata [Thu, 12 Jun 2003 04:15:56 +0000 (04:15 +0000)]
gcse.c (fis_get_condition): Make it a global function.

* gcse.c (fis_get_condition): Make it a global function.
* reload1.c (reload_cse_move2add): Detect implicit sets.
* rtl.h: Add a prototype for fis_get_condition.

From-SVN: r67814

21 years agoacinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
Benjamin Kosnik [Thu, 12 Jun 2003 03:24:16 +0000 (03:24 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.

2003-06-11  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
* aclocal.m4: Regenerate.
* Makefile.am (SUBDIRS): Remove libio.
* Makefile.in: Regenerate.
* configure.in: Same.
* configure: Regenerate.
* config/io/basic_file_libio.cc: Remove.
* config/io/basic_file_libio.h: Remove.
* config/io/c_io_libio_codecvt.c: Remove.
* config/io/c_io_libio.h: Remove.
* libio/*: Remove.
* src/Makefile.am: Same.
* src/Makefile.in: Regenerate.
* docs/html/configopts.html: Edits.
* docs/html/explanations.html: Edits.

From-SVN: r67813

21 years agoClassLoader.java (loadClass): Not deprecated.
Tom Tromey [Thu, 12 Jun 2003 03:13:14 +0000 (03:13 +0000)]
ClassLoader.java (loadClass): Not deprecated.

* java/lang/ClassLoader.java (loadClass): Not deprecated.
* java/io/PrintStream.java: Not deprecated.

From-SVN: r67811

21 years agoIntegerGraphicsState.java (drawOval): implemented.
Scott Gilbertson [Thu, 12 Jun 2003 03:08:58 +0000 (03:08 +0000)]
IntegerGraphicsState.java (drawOval): implemented.

2003-06-11  Scott Gilbertson  <scottg@mantatest.com>

* gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
(fillOval): implemented
* gnu/awt/xlib/XGraphics.java (drawArc): implemented.
(fillArc): implemented.
* gnu/gcj/xlib/GC.java (drawArc): added native method.
(fillArc): added native method.
* gnu/gcj/xlib/natGC.cc (drawArc): added native method.
(fillArc): added native method.

From-SVN: r67810

21 years agostmt.c (expand_asm_operands): Don't warn for memories with queued addresses.
Richard Henderson [Thu, 12 Jun 2003 01:04:32 +0000 (18:04 -0700)]
stmt.c (expand_asm_operands): Don't warn for memories with queued addresses.

        * stmt.c (expand_asm_operands): Don't warn for memories with
        queued addresses.

From-SVN: r67808

21 years agoDaily bump.
GCC Administrator [Thu, 12 Jun 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67806

21 years agore PR c++/10432 (ICE in poplevel, at cp/decl.c:1230)
Mark Mitchell [Thu, 12 Jun 2003 00:10:26 +0000 (00:10 +0000)]
re PR c++/10432 (ICE in poplevel, at cp/decl.c:1230)

PR c++/10432
* cp-tree.h (finish_declarator): Remove.
* decl.c (cp_finish_decl): Make sure to pop_nested_class even for
erroneous declarations.
* semantics.c (finish_declarator): Remove.

PR c++/10432
* g++.dg/parse/error1.C: New test.

From-SVN: r67804

21 years agosh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without brackets.
Kaz Kojima [Wed, 11 Jun 2003 22:36:29 +0000 (22:36 +0000)]
sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without brackets.

* config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without
brackets.

From-SVN: r67801

21 years agodecl2.c (generate_ctor_or_dtor_function): Avoid expanding a global static constructor...
Roger Sayle [Wed, 11 Jun 2003 22:29:41 +0000 (22:29 +0000)]
decl2.c (generate_ctor_or_dtor_function): Avoid expanding a global static constructor/destructor if it will be empty, i.e.

* decl2.c (generate_ctor_or_dtor_function): Avoid expanding a
global static constructor/destructor if it will be empty, i.e.
either doesn't call any ctors/dtors or only calls pure or const
ctors/dtors.

From-SVN: r67800

21 years agohooks.c (hook_int_size_t_constcharptr_int_0): New.
Neil Booth [Wed, 11 Jun 2003 22:21:10 +0000 (22:21 +0000)]
hooks.c (hook_int_size_t_constcharptr_int_0): New.

* hooks.c (hook_int_size_t_constcharptr_int_0): New.
* hooks.h (hook_int_size_t_constcharptr_int_0): New.
* langhooks-def.h (lhd_decode_option, LANG_HOOKS_DECODE_OPTION): Die.
(LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_decode_option): Remove.
* langhooks.h (struct lang_hooks): Remove decode_option.
* opts.c (handle_option): No longer use decode_option.
java:
* Make-lang.in: Handle mostlyclean.
treelang:
* Make-lang.in: Update for option handling.
* lang.opt: New.
* tree1.c: Include opts.h and t-options.h.
(treelang_decode_option): Remove.
(treelang_handle_option): New.
* treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
(LANG_HOOKS_HANDLE_OPTION): Override.
* treetree.h (treelang_decode_option): Remove.
(treelang_handle_option): New.

From-SVN: r67799

21 years agomangle.c (tm_p.h): Include it.
Mark Mitchell [Wed, 11 Jun 2003 21:56:31 +0000 (21:56 +0000)]
mangle.c (tm_p.h): Include it.

* mangle.c (tm_p.h): Include it.
* Make-lang.in (cp/mangle.o): Depend on $(TM_P_H).

From-SVN: r67798

21 years agoFix typo
Neil Booth [Wed, 11 Jun 2003 20:59:40 +0000 (20:59 +0000)]
Fix typo

From-SVN: r67797

21 years agostruct-by-value-11_main.c: New file.
Janis Johnson [Wed, 11 Jun 2003 20:29:21 +0000 (20:29 +0000)]
struct-by-value-11_main.c: New file.

* gcc.dg/compat/struct-by-value-11_main.c: New file.
* gcc.dg/compat/struct-by-value-11_x.c: New file.
* gcc.dg/compat/struct-by-value-11_y.c: New file.
* gcc.dg/compat/struct-by-value-12_main.c: New file.
* gcc.dg/compat/struct-by-value-12_x.c: New file.
* gcc.dg/compat/struct-by-value-12_y.c: New file.
* gcc.dg/compat/struct-by-value-13_main.c: New file.
* gcc.dg/compat/struct-by-value-13_x.c: New file.
* gcc.dg/compat/struct-by-value-13_y.c: New file.
* gcc.dg/compat/struct-by-value-14_main.c: New file.
* gcc.dg/compat/struct-by-value-14_x.c: New file.
* gcc.dg/compat/struct-by-value-14_y.c: New file.
* gcc.dg/compat/struct-by-value-15_main.c: New file.
* gcc.dg/compat/struct-by-value-15_x.c: New file.
* gcc.dg/compat/struct-by-value-15_y.c: New file.
* gcc.dg/compat/struct-by-value-16_main.c: New file.
* gcc.dg/compat/struct-by-value-16_x.c: New file.
* gcc.dg/compat/struct-by-value-16_y.c: New file.
* gcc.dg/compat/struct-by-value-17_main.c: New file.
* gcc.dg/compat/struct-by-value-17_x.c: New file.
* gcc.dg/compat/struct-by-value-17_y.c: New file.
* gcc.dg/compat/struct-by-value-18_main.c: New file.
* gcc.dg/compat/struct-by-value-18_x.c: New file.
* gcc.dg/compat/struct-by-value-18_y.c: New file.

From-SVN: r67796

21 years agoMake-lang.in: Update to handle command-line options.
Neil Booth [Wed, 11 Jun 2003 20:23:02 +0000 (20:23 +0000)]
Make-lang.in: Update to handle command-line options.

ada:
* Make-lang.in: Update to handle command-line options.
* lang.opt: New file.
* misc.c: Include aoptions.h.
(cl_options_count, cl_options): Remove.
(gnat_handle_option): New.
(gnat_decode_option): Remove.
(LANG_HOOKS_DECODE_OPTION): Remove.
(LANG_HOOKS_HANDLE_OPTION): Override.

From-SVN: r67795

21 years agocfgloopanal.c (variable_initial_value): Update the set of altered registers correctly.
Zdenek Dvorak [Wed, 11 Jun 2003 19:01:19 +0000 (21:01 +0200)]
cfgloopanal.c (variable_initial_value): Update the set of altered registers correctly.

* cfgloopanal.c (variable_initial_value): Update the set of altered
registers correctly.

From-SVN: r67792

21 years agoThis should not get committed.
Michael Koch [Wed, 11 Jun 2003 18:27:39 +0000 (18:27 +0000)]
This should not get committed.

From-SVN: r67790

21 years agoscalar-by-value-3_main.c: New file.
Janis Johnson [Wed, 11 Jun 2003 18:21:38 +0000 (18:21 +0000)]
scalar-by-value-3_main.c: New file.

* gcc.dg/compat/scalar-by-value-3_main.c: New file.
* gcc.dg/compat/scalar-by-value-3_x.c: New file.
* gcc.dg/compat/scalar-by-value-3_y.c: New file.
* gcc.dg/compat/scalar-by-value-4_main.c: New file.
* gcc.dg/compat/scalar-by-value-4_x.c: New file.
* gcc.dg/compat/scalar-by-value-4_y.c: New file.
* gcc.dg/compat/scalar-return-3_main.c: New file.
* gcc.dg/compat/scalar-return-3_x.c: New file.
* gcc.dg/compat/scalar-return-3_y.c: New file.
* gcc.dg/compat/scalar-return-4_main.c: New file.
* gcc.dg/compat/scalar-return-4_x.c: New file.
* gcc.dg/compat/scalar-return-4_y.c: New file.

From-SVN: r67789

21 years agoForgot to add them to the commit command line too, AARGH.
Michael Koch [Wed, 11 Jun 2003 18:20:40 +0000 (18:20 +0000)]
Forgot to add them to the commit command line too, AARGH.

From-SVN: r67788

21 years agod30v.h: Delete reference to ASM_FINAL_SPEC.
Roger Sayle [Wed, 11 Jun 2003 17:52:42 +0000 (17:52 +0000)]
d30v.h: Delete reference to ASM_FINAL_SPEC.

* config/d30v/d30v.h: Delete reference to ASM_FINAL_SPEC.
* config/i386/netbsd-elf.h: Likewise.
* config/m32r/m32r.h: Likewise.
* config/mn10300/mn10300.h: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/v850/v850.h: Likewise.
* config/vax/netbsd-elf.h: Likewise.
* config/xtensa/elf.h: Likewise.
* config/xtensa/linux.h: Likewise.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r67784

21 years agore PR c++/11131 (Unrelated declaration removes inline flag from function)
Mark Mitchell [Wed, 11 Jun 2003 17:02:13 +0000 (17:02 +0000)]
re PR c++/11131 (Unrelated declaration removes inline flag from function)

PR c++/11131
* tree.c (cp_cannot_inline_fn): Check for "inline" before
instantiation.

From-SVN: r67783

21 years agoForgot to add this file to cvs. Sorry.
Michael Koch [Wed, 11 Jun 2003 16:36:11 +0000 (16:36 +0000)]
Forgot to add this file to cvs. Sorry.

From-SVN: r67781

21 years agoconfigure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
Rainer Orth [Wed, 11 Jun 2003 16:19:18 +0000 (16:19 +0000)]
configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.

* configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
* configure. Regenerate.

gcc:
* config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match
DWARF 2 default.

* config/mips/dbxmdebug.h: New file.
* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with
gas and --with-stabs.

From-SVN: r67780

21 years agolang.c (java_handle_option): Update dependency_tracking for OPT_MF case.
Tom Tromey [Wed, 11 Jun 2003 15:58:05 +0000 (15:58 +0000)]
lang.c (java_handle_option): Update dependency_tracking for OPT_MF case.

* lang.c (java_handle_option): Update dependency_tracking for
OPT_MF case.

From-SVN: r67779

21 years agolang.c (java_handle_option): OPT_fbootclasspath_ can take an empty argument.
Tom Tromey [Wed, 11 Jun 2003 15:55:04 +0000 (15:55 +0000)]
lang.c (java_handle_option): OPT_fbootclasspath_ can take an empty argument.

* lang.c (java_handle_option): OPT_fbootclasspath_ can take an
empty argument.

From-SVN: r67778

21 years ago[multiple changes]
Benjamin Kosnik [Wed, 11 Jun 2003 15:52:11 +0000 (15:52 +0000)]
[multiple changes]

2003-06-11  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_alloc.h (__debug_alloc): Move out.
(__malloc_alloc): Same.
(__pool_alloc): Same.
(__new_alloc): Same.
Rename to..
* include/bits/allocator.h: ...this.
* include/bits/stl_deque.h: Modify comment.
* include/bits/stl_tree.h: Modify include.
* include/std/std_memory.h: Same.
* include/ext/rope: Same.
* include/ext/slist: Same.
* include/std/std_vector.h: Same.
* include/std/std_stack.h: Same.
* include/std/std_queue.h: Same.
* include/std/std_list.h: Same.
* include/std/std_deque.h: Same.
* include/backward/alloc.h: Same.
* include/ext/debug_allocator.h: New.
* include/ext/malloc_allocator.h: New.
* include/ext/pool_allocator.h: New.
* include/ext/new_allocator.h: New.
* include/bits/pthread_allocimpl.h: Remove.
* include/bits/stl_pthread_alloc.h: Remove.
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* src/stl-inst.cc: Use __gnu_cxx namespace.
* src/stl-inst.cc: Move to...
* src/allocator-inst.cc: Here.
* src/Makefile.am (sources): Update.
* src/Makefile.in: Regenerate.
* config/linker-map.gnu: Remove __pool_alloc bits.
* testsuite/ext/headers.cc: Add.
* testsuite/ext/allocators.cc: Fixup.

2003-06-11  Stefan Olsson  <stefan@snon.net>
            Ola R�nnerup  <fnolis@home.se>

* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* include/ext/mt_allocator.h: New file.

From-SVN: r67777

21 years agoInputSubset.java: New version from classpath.
Michael Koch [Wed, 11 Jun 2003 13:47:49 +0000 (13:47 +0000)]
InputSubset.java: New version from classpath.

2003-06-11  Michael Koch  <konqueror@gmx.de>

* java/awt/im/InputSubset.java:
New version from classpath.

From-SVN: r67770

21 years agoAbstractAction.java, [...]: New versions from classpath.
Michael Koch [Wed, 11 Jun 2003 13:20:41 +0000 (13:20 +0000)]
AbstractAction.java, [...]: New versions from classpath.

2003-06-11  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractAction.java,
javax/swing/AbstractButton.java,
javax/swing/AbstractCellEditor.java,
javax/swing/AbstractListModel.java,
javax/swing/BorderFactory.java,
javax/swing/Box.java,
javax/swing/BoxLayout.java,
javax/swing/ButtonGroup.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultListModel.java,
javax/swing/DefaultListSelectionModel.java,
javax/swing/FocusManager.java,
javax/swing/ImageIcon.java,
javax/swing/InputMap.java,
javax/swing/JApplet.java,
javax/swing/JButton.java,
javax/swing/JCheckBox.java,
javax/swing/JCheckBoxMenuItem.java,
javax/swing/JColorChooser.java,
javax/swing/JComboBox.java,
javax/swing/JComponent.java,
javax/swing/JDesktopPane.java,
javax/swing/JDialog.java,
javax/swing/JEditorPane.java,
javax/swing/JFileChooser.java,
javax/swing/JFormattedTextField.java,
javax/swing/JFrame.java,
javax/swing/JLabel.java,
javax/swing/JLayeredPane.java,
javax/swing/JList.java,
javax/swing/JMenuBar.java,
javax/swing/JMenuItem.java,
javax/swing/JOptionPane.java,
javax/swing/JPanel.java,
javax/swing/JPasswordField.java,
javax/swing/JPopupMenu.java,
javax/swing/JProgressBar.java,
javax/swing/JRadioButton.java,
javax/swing/JRadioButtonMenuItem.java,
javax/swing/JRootPane.java,
javax/swing/JScrollBar.java,
javax/swing/JScrollPane.java,
javax/swing/JSeparator.java,
javax/swing/JSlider.java,
javax/swing/JTabbedPane.java,
javax/swing/JTable.java,
javax/swing/JTextField.java,
javax/swing/JToggleButton.java,
javax/swing/JToolBar.java,
javax/swing/JToolTip.java,
javax/swing/JTree.java,
javax/swing/JViewport.java,
javax/swing/JWindow.java,
javax/swing/KeyStroke.java,
javax/swing/ListSelectionModel.java,
javax/swing/LookAndFeel.java,
javax/swing/RepaintManager.java,
javax/swing/ScrollPaneLayout.java,
javax/swing/SizeRequirements.java,
javax/swing/SwingConstants.java,
javax/swing/Timer.java,
javax/swing/UIDefaults.java,
javax/swing/UIManager.java,
javax/swing/border/AbstractBorder.java,
javax/swing/border/CompoundBorder.java,
javax/swing/colorchooser/AbstractColorChooserPanel.java,
javax/swing/colorchooser/ColorChooserComponentFactory.java,
javax/swing/colorchooser/ColorSelectionModel.java,
javax/swing/colorchooser/DefaultColorSelectionModel.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameAdapter.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/MouseInputAdapter.java,
javax/swing/event/SwingPropertyChangeSupport.java,
javax/swing/event/TableModelEvent.java,
javax/swing/event/TreeWillExpandListener.java,
javax/swing/event/UndoableEditEvent.java,
javax/swing/filechooser/FileFilter.java,
javax/swing/filechooser/FileSystemView.java,
javax/swing/filechooser/FileView.java,
javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/table/AbstractTableModel.java,
javax/swing/table/DefaultTableCellRenderer.java,
javax/swing/table/DefaultTableColumnModel.java,
javax/swing/table/DefaultTableModel.java,
javax/swing/table/TableColumn.java,
javax/swing/text/JTextComponent.java,
javax/swing/tree/AbstractLayoutCache.java,
javax/swing/tree/DefaultMutableTreeNode.java,
javax/swing/tree/DefaultTreeCellEditor.java,
javax/swing/tree/DefaultTreeCellRenderer.java,
javax/swing/tree/DefaultTreeModel.java,
javax/swing/tree/DefaultTreeSelectionModel.java,
javax/swing/tree/FixedHeightLayoutCache.java,
javax/swing/tree/TreeCellEditor.java,
javax/swing/tree/TreeModel.java,
javax/swing/tree/TreeNode.java,
javax/swing/tree/TreePath.java,
javax/swing/tree/TreeSelectionModel.java,
javax/swing/tree/VariableHeightLayoutCache.java,
javax/swing/undo/AbstractUndoableEdit.java,
javax/swing/undo/CompoundEdit.java,
javax/swing/undo/StateEdit.java,
javax/swing/undo/UndoManager.java,
javax/swing/undo/UndoableEditSupport.java:
New versions from classpath.
* javax/swing/table/JTableHeader.java:
New file from classpath.
* Makefile.am
(java_awt_sources): Added javax/swing/table/JTableHeader.java.
* Makefile.in: Regenerated.

From-SVN: r67769

21 years ago* expr.c (can_move_by_pieces): align argument may be unused.
Ulrich Weigand [Wed, 11 Jun 2003 13:04:02 +0000 (13:04 +0000)]
* expr.c (can_move_by_pieces): align argument may be unused.

From-SVN: r67764

21 years ago* expr.c (convert_move): Handle moves between two CONCATs.
J"orn Rennecke [Wed, 11 Jun 2003 12:32:47 +0000 (12:32 +0000)]
* expr.c (convert_move): Handle moves between two CONCATs.

From-SVN: r67760

21 years agoh8300.h (RETURN_IN_MEMORY): Accept DImode if !TARGET_H8300.
Kazu Hirata [Wed, 11 Jun 2003 12:05:04 +0000 (12:05 +0000)]
h8300.h (RETURN_IN_MEMORY): Accept DImode if !TARGET_H8300.

* config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
!TARGET_H8300.

From-SVN: r67759

21 years agoh8300.c (final_prescan_insn): Don't dump rtl.
Kazu Hirata [Wed, 11 Jun 2003 11:58:39 +0000 (11:58 +0000)]
h8300.c (final_prescan_insn): Don't dump rtl.

* config/h8300/h8300.c (final_prescan_insn): Don't dump rtl.
* config/h8300/h8300.h (MASK_RTL_DUMP): Remove.
(TARGET_RTL_DUMP): Likewise.
(TARGET_SWITHCES): Remove -mrtl-dump.

From-SVN: r67758

21 years agoMappedByteBuffer.java, [...]: Removed unneeded imports.
Michael Koch [Wed, 11 Jun 2003 10:38:58 +0000 (10:38 +0000)]
MappedByteBuffer.java, [...]: Removed unneeded imports.

2003-06-11  Michael Koch  <konqueror@gmx.de>

* java/nio/MappedByteBuffer.java,
java/nio/channels/Channels.java,
java/nio/channels/ServerSocketChannel.java,
java/nio/channels/spi/AbstractSelector.java:
Removed unneeded imports.

From-SVN: r67756

21 years agoDatagramSocket.java: Partly merged with classpath.
Michael Koch [Wed, 11 Jun 2003 10:38:38 +0000 (10:38 +0000)]
DatagramSocket.java: Partly merged with classpath.

2003-06-11  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java:
Partly merged with classpath.

From-SVN: r67755

21 years agoFrame.java, [...]: New versions from classpath.
Michael Koch [Wed, 11 Jun 2003 10:37:48 +0000 (10:37 +0000)]
Frame.java, [...]: New versions from classpath.

2003-06-11  Michael Koch  <konqueror@gmx.de>

* java/awt/Frame.java,
java/awt/Graphics.java,
java/awt/Menu.java,
java/awt/Robot.java,
java/awt/image/ColorModel.java:
New versions from classpath.

From-SVN: r67754

21 years ago* optabs.c (gen_cond_trap): Fix prepare_operand typo.
Richard Henderson [Wed, 11 Jun 2003 06:43:43 +0000 (23:43 -0700)]
* optabs.c (gen_cond_trap): Fix prepare_operand typo.

From-SVN: r67753

21 years ago* config/ia64/ia64.md (call_gp): Fix memory mode.
Richard Henderson [Wed, 11 Jun 2003 06:36:20 +0000 (23:36 -0700)]
* config/ia64/ia64.md (call_gp): Fix memory mode.

From-SVN: r67752

21 years agore PR rtl-optimization/8812 ([avr] Registers allocated for two uses at once)
James E Wilson [Wed, 11 Jun 2003 04:25:47 +0000 (21:25 -0700)]
re PR rtl-optimization/8812 ([avr] Registers allocated for two uses at once)

PR target/8812
* reload1.c (choose_reload_regs): For equiv reg, add loop over all
hard regs for reload_reg_used_at_all and reg_class_contents checks.

From-SVN: r67751

21 years agoh8300.c (print_operand): Remove support for operand character 'b'.
Kazu Hirata [Wed, 11 Jun 2003 04:03:55 +0000 (04:03 +0000)]
h8300.c (print_operand): Remove support for operand character 'b'.

* config/h8300/h8300.c (print_operand): Remove support for
operand character 'b'.
Add the AND case to operand character 'c'.
* config/h8300/h8300.md (two anonymous patterns): Replace
operand character 'b' with 'c'.

From-SVN: r67750

21 years agoh8300.c (print_operand): Remove support for operand character 'b'.
Kazu Hirata [Wed, 11 Jun 2003 03:19:55 +0000 (03:19 +0000)]
h8300.c (print_operand): Remove support for operand character 'b'.

* config/h8300/h8300.c (print_operand): Remove support for
operand character 'b'.
Add the AND case to operand character 'c'.
* config/h8300/h8300.md (two anonymous patterns): Replace
operand character 'b' with 'c'.

From-SVN: r67748

21 years agoconfigure.in: Disable serial configure by default.
Nathanael Nerode [Wed, 11 Jun 2003 03:04:44 +0000 (03:04 +0000)]
configure.in: Disable serial configure by default.

* configure.in: Disable serial configure by default.
* configure: Regenerate.
* Makefile.tpl: Abolish .NOTPARALLEL.
* Makefile.in: Regenerate.

From-SVN: r67747

21 years agoh8300.c (print_operand): Remove support for operand character 'u'.
Kazu Hirata [Wed, 11 Jun 2003 01:48:54 +0000 (01:48 +0000)]
h8300.c (print_operand): Remove support for operand character 'u'.

* config/h8300/h8300.c (print_operand): Remove support for
operand character 'u'.

From-SVN: r67745

21 years agoDaily bump.
GCC Administrator [Wed, 11 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67742

21 years agoMakefile.tpl: Replace {build,host,target}_canonical by {build,host,target}.
Nathanael Nerode [Tue, 10 Jun 2003 22:24:39 +0000 (22:24 +0000)]
Makefile.tpl: Replace {build,host,target}_canonical by {build,host,target}.

* Makefile.tpl: Replace {build,host,target}_canonical by
{build,host,target}.
* Makefile.in: Regenerate.

From-SVN: r67739

21 years agofstream.tcc (close): Clean up a bit.
Paolo Carlini [Tue, 10 Jun 2003 22:00:43 +0000 (00:00 +0200)]
fstream.tcc (close): Clean up a bit.

2003-06-10  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (close): Clean up a bit.

* include/bits/streambuf.tcc (sbumpc): Clean up a bit.

* include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
- the saved _M_in_cur, that is - cannot be null.
(sync): Constify a variable.

* include/std/std_streambuf.h: Tweak a comment.
(in_avail): Constify a variable.

From-SVN: r67738

21 years agoconfigure.in: Fix typo.
Nathanael Nerode [Tue, 10 Jun 2003 21:53:45 +0000 (21:53 +0000)]
configure.in: Fix typo.

* configure.in: Fix typo.
* configure: Regenerate.

From-SVN: r67737

21 years agoBUGS: Update from 2.90.8 snapshot.
Phil Edwards [Tue, 10 Jun 2003 21:52:25 +0000 (21:52 +0000)]
BUGS: Update from 2.90.8 snapshot.

2003-06-10  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/BUGS:  Update from 2.90.8 snapshot.
* docs/html/17_intro/CHECKLIST:  Bring up to date with respect to
correctness of container::iterator typedefs.  Fix whitespace.
* docs/html/20_util/howto.html, docs/html/ext/howto.html:  Add links
to allocator docs.
* docs/html/documentation.html:  Regenerate.

* include/bits/basic_string.h, include/bits/basic_string.tcc,
include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
include/bits/stl_algobase.h, include/bits/stl_bvector.h,
include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_list.h, include/bits/stl_uninitialized.h,
include/bits/stl_vector.h, include/bits/vector.tcc,
include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
Change _Iter names to _Iterator, and __pos to __position.

* include/bits/stl_relops.h, include/bits/stl_numeric.h,
include/bits/stl_multiset.h, include/bits/stl_set.h:
Remove emacs markers.

* include/bits/stl_threads.h (_STL_auto_lock):  Add __unused__.

From-SVN: r67736

21 years ago* init.c, misc.c, trans.c, utils.c: Remove dead code.
Nathanael Nerode [Tue, 10 Jun 2003 21:48:32 +0000 (21:48 +0000)]
* init.c, misc.c, trans.c, utils.c: Remove dead code.

From-SVN: r67735

21 years agofp2-struct-check.h: New file.
Janis Johnson [Tue, 10 Jun 2003 21:01:39 +0000 (21:01 +0000)]
fp2-struct-check.h: New file.

* gcc.dg/compat/fp2-struct-check.h: New file.
* gcc.dg/compat/fp2-struct-defs.h: New file.
* gcc.dg/compat/fp2-struct-init.h: New file.
* gcc.dg/compat/struct-by-value-10_main.c: New file.
* gcc.dg/compat/struct-by-value-10_x.c: New file.
* gcc.dg/compat/struct-by-value-10_y.c: New file.
* gcc.dg/compat/struct-return-10_main.c: New file.
* gcc.dg/compat/struct-return-10_x.c: New file.
* gcc.dg/compat/struct-return-10_y.c: New file.

From-SVN: r67734

21 years agoalpha.c (unicosmk_file_end): Add conditional compilation guard.
Loren J. Rittle [Tue, 10 Jun 2003 20:55:02 +0000 (20:55 +0000)]
alpha.c (unicosmk_file_end): Add conditional compilation guard.

* config/alpha/alpha.c (unicosmk_file_end): Add conditional
compilation guard.

From-SVN: r67733

21 years agosh-protos.h (function_symbol): Declare.
J"orn Rennecke [Tue, 10 Jun 2003 20:53:33 +0000 (20:53 +0000)]
sh-protos.h (function_symbol): Declare.

* sh-protos.h (function_symbol): Declare.
* sh.c (expand_block_move, expand_ashiftrt): Use it.
(sh_expand_prologue, sh_expand_epilogue): Likewise.
(sh_initialize_trampoline): Likewise.
(function_symbol): New function.
* sh.md (udivsi3, divsi3, mulsi3, ic_invalidate_line): Use it.
(initialize_trampoline, call, call_pop, call_value, sibcall): Likewise.
(call_value_pop, shcompact_return_tramp): Likewise.

* sh.h (OVERRIDE_OPTIONS): Don't suppress --profile-arc-flag.

* sh.md (GOTaddr2picreg): Use gen_lowpart to get lowpart of
target register.

From-SVN: r67732

21 years ago1.cc: Remove.
Paolo Carlini [Tue, 10 Jun 2003 19:53:44 +0000 (19:53 +0000)]
1.cc: Remove.

2003-06-10  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Remove.

From-SVN: r67730

21 years agomd.texi (Machine Constraints): Document stormy's Z constraint.
DJ Delorie [Tue, 10 Jun 2003 19:40:47 +0000 (15:40 -0400)]
md.texi (Machine Constraints): Document stormy's Z constraint.

* doc/md.texi (Machine Constraints): Document stormy's Z
constraint.

From-SVN: r67729

21 years agooops
Jason Merrill [Tue, 10 Jun 2003 19:34:30 +0000 (15:34 -0400)]
oops

From-SVN: r67727

21 years agofstream.tcc (overflow): According to 27.5.2.4.5, overflow() returns not_eof(eof()).
Paolo Carlini [Tue, 10 Jun 2003 19:27:12 +0000 (21:27 +0200)]
fstream.tcc (overflow): According to 27.5.2.4.5, overflow() returns not_eof(eof()).

2003-06-10  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (overflow): According to
27.5.2.4.5, overflow() returns not_eof(eof()).
* testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.

2003-06-10  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (_M_underflow): Check overflow return
value; tweak slightly.

From-SVN: r67726

21 years agore PR c++/10968 (If member function implicitly instantiated, explicit instantiation...
Jason Merrill [Tue, 10 Jun 2003 19:08:46 +0000 (15:08 -0400)]
re PR c++/10968 (If member function implicitly instantiated, explicit instantiation of class fails to instantiate it)

        PR c++/10968
        * pt.c (mark_decl_instantiated): Set TREE_SYMBOL_REFERENCED.

[[Split portion of a mixed commit.]]

From-SVN: r67725.2

21 years agocompat-common.h: New file.
Janis Johnson [Tue, 10 Jun 2003 19:08:33 +0000 (19:08 +0000)]
compat-common.h: New file.

* gcc.dg/compat/compat-common.h: New file.
* gcc.dg/compat/fp-struct-check.h: Improve debugging output.
* gcc.dg/compat/fp-struct-test-by-value-x.h: Ditto.
* gcc.dg/compat/fp-struct-test-by-value-y.h: Ditto.
* gcc.dg/compat/scalar-by-value-1_main.c: Ditto.
* gcc.dg/compat/scalar-by-value-1_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-1_y.c: Ditto.
* gcc.dg/compat/scalar-by-value-2_main.c: Ditto.
* gcc.dg/compat/scalar-by-value-2_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-2_y.c: Ditto.
* gcc.dg/compat/scalar-return-1_main.c: Ditto.
* gcc.dg/compat/scalar-return-1_x.c: Ditto.
* gcc.dg/compat/scalar-return-1_y.c: Ditto.
* gcc.dg/compat/scalar-return-2_main.c: Ditto.
* gcc.dg/compat/scalar-return-2_x.c: Ditto.
* gcc.dg/compat/scalar-return-2_y.c: Ditto.
* gcc.dg/compat/small-struct-check.h: Ditto.
* gcc.dg/compat/struct-by-value-2_main.c: Ditto.
* gcc.dg/compat/struct-by-value-2_x.c: Ditto.
* gcc.dg/compat/struct-by-value-2_y.c: Ditto.
* gcc.dg/compat/struct-by-value-3_main.c: Ditto.
* gcc.dg/compat/struct-by-value-3_x.c: Ditto.
* gcc.dg/compat/struct-by-value-3_y.c: Ditto.
* gcc.dg/compat/struct-by-value-4_main.c: Ditto.
* gcc.dg/compat/struct-by-value-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-4_y.c: Ditto.
* gcc.dg/compat/struct-by-value-5_main.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_y.c: Ditto.
* gcc.dg/compat/struct-by-value-6_main.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_y.c: Ditto.
* gcc.dg/compat/struct-by-value-7_main.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c: Ditto.
* gcc.dg/compat/struct-by-value-7_y.c: Ditto.
* gcc.dg/compat/struct-by-value-8_main.c: Ditto.
* gcc.dg/compat/struct-by-value-8_x.c: Ditto.
* gcc.dg/compat/struct-by-value-8_y.c: Ditto.
* gcc.dg/compat/struct-by-value-9_main.c: Ditto.
* gcc.dg/compat/struct-by-value-9_x.c: Ditto.
* gcc.dg/compat/struct-by-value-9_y.c: Ditto.
* gcc.dg/compat/struct-return-2_main.c: Ditto.
* gcc.dg/compat/struct-return-2_x.c: Ditto.
* gcc.dg/compat/struct-return-2_y.c: Ditto.
* gcc.dg/compat/struct-return-3_main.c: Ditto.
* gcc.dg/compat/struct-return-3_x.c: Ditto.
* gcc.dg/compat/struct-return-3_y.c: Ditto.

From-SVN: r67724

21 years agore PR c++/10968 (If member function implicitly instantiated, explicit instantiation...
Jason Merrill [Tue, 10 Jun 2003 19:06:44 +0000 (15:06 -0400)]
re PR c++/10968 (If member function implicitly instantiated, explicit instantiation of class fails to instantiate it)

        PR c++/10968
        * pt.c (mark_decl_instantiated): Set TREE_SYMBOL_REFERENCED.

[[Split portion of a mixed commit.]]

From-SVN: r67723.2

21 years ago* except.c (call_site_base): Mark with GTY.
Geoffrey Keating [Tue, 10 Jun 2003 18:58:05 +0000 (18:58 +0000)]
* except.c (call_site_base): Mark with GTY.

From-SVN: r67722

21 years agoarm-proto.h: Convert to ISO C90 prototypes.
Richard Earnshaw [Tue, 10 Jun 2003 18:55:17 +0000 (18:55 +0000)]
arm-proto.h: Convert to ISO C90 prototypes.

* arm-proto.h: Convert to ISO C90 prototypes.
* arm.c: Likewise.

From-SVN: r67721

21 years ago[multiple changes]
Geoffrey Keating [Tue, 10 Jun 2003 18:32:57 +0000 (18:32 +0000)]
[multiple changes]

2003-06-10  Andrew Pinski  <pinskia@physics.uc.edu>

* decl.c (start_cleanup_fn): Move static 'counter' out, mark with GTY.
(start_cleanup_cnt): New.

2003-06-10  Geoffrey Keating  <geoffk@apple.com>

* g++.dg/pch/static-1.C: New file.
* g++.dg/pch/static-1.Hs: New file.

From-SVN: r67719

21 years ago* sh.c (sh_output_mi_thunk): Call insn_locators_initialize.
J"orn Rennecke [Tue, 10 Jun 2003 17:16:17 +0000 (17:16 +0000)]
* sh.c (sh_output_mi_thunk): Call insn_locators_initialize.

From-SVN: r67718

21 years agoPrintStream.java: Merged version from classpath.
Michael Koch [Tue, 10 Jun 2003 17:15:19 +0000 (17:15 +0000)]
PrintStream.java: Merged version from classpath.

2003-06-10  Michael Koch  <konqueror@gmx.de>

* java/io/PrintStream.java:
Merged version from classpath.
(close): Removed sychronized keyword. This class is not garantied to
be thread-safe.
(write): Likewise.

From-SVN: r67717

21 years agocalls.c (expand_call): Convert structure_value_addr to Pmode if necessary.
Steve Ellcey [Tue, 10 Jun 2003 17:11:22 +0000 (17:11 +0000)]
calls.c (expand_call): Convert structure_value_addr to Pmode if necessary.

* calls.c (expand_call): Convert structure_value_addr to Pmode if
necessary.

From-SVN: r67716

21 years agoresource.c (write_resource_constructor): Use expand_expr to generate the address...
Andrew Haley [Tue, 10 Jun 2003 16:57:46 +0000 (16:57 +0000)]
resource.c (write_resource_constructor): Use expand_expr to generate the address of the label attached to a resource.

2003-06-10  Andrew Haley  <aph@redhat.com>

        * resource.c (write_resource_constructor): Use expand_expr to
        generate the address of the label attached to a resource.
        * Make-lang.in (java/resource.o): Add expr.h

From-SVN: r67714

21 years agolanghooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
Andrew Haley [Tue, 10 Jun 2003 16:43:39 +0000 (16:43 +0000)]
langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.

2003-05-21  Andrew Haley  <aph@redhat.com>

* langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
(LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
(lhd_decl_ok_for_sibcall): New.
* langhooks.c (lhd_decl_ok_for_sibcall): New.
* langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
* calls.c (expand_call): Check lang_hook before generating a
sibcall.

2003-05-21  Andrew Haley  <aph@redhat.com>

* lang.c (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
(java_decl_ok_for_sibcall): New.

From-SVN: r67713

21 years agostormy16.c (xstormy16_extra_constraint_p): Add Z, which matches (const_int 0) for...
DJ Delorie [Tue, 10 Jun 2003 16:32:58 +0000 (12:32 -0400)]
stormy16.c (xstormy16_extra_constraint_p): Add Z, which matches (const_int 0) for addhi3.

* config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z,
which matches (const_int 0) for addhi3.
* config/stormy16/stormy16.md: Document known constraints.
(addhi3): Handle adding zero.

From-SVN: r67712

21 years agom32r.h (HARD_REGNO_RENAME_OK): New.
Kazuhiro Inaoka [Tue, 10 Jun 2003 16:30:47 +0000 (16:30 +0000)]
m32r.h (HARD_REGNO_RENAME_OK): New.

        * config/m32r/m32r.h (HARD_REGNO_RENAME_OK): New.
        * config/m32r/m32r.c (m32r_hard_regno_rename_ok): New.
        * config/m32r/m32r-protos.h: Prototype it.

From-SVN: r67711

21 years ago* gcc.dg/asm-7.c: Adjust expected warning text.
Richard Henderson [Tue, 10 Jun 2003 16:14:08 +0000 (09:14 -0700)]
* gcc.dg/asm-7.c: Adjust expected warning text.

From-SVN: r67709

21 years agoeabi.h (TARGET_OS_CPP_BUILTINS): Define builtins common to rs6000 sysv targets.
Janis Johnson [Tue, 10 Jun 2003 16:01:39 +0000 (16:01 +0000)]
eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins common to rs6000 sysv targets.

* config/rs6000/eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins
common to rs6000 sysv targets.
* config/rs6000/eabisim.h (TARGET_OS_CPP_BUILTINS): Ditto.
* config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Ditto.

From-SVN: r67708

21 years agoImprove support for arm-wince-pe target:
Nick Clifton [Tue, 10 Jun 2003 14:45:44 +0000 (14:45 +0000)]
Improve support for arm-wince-pe target:

* config.gcc: Add arm-wince-pe target.
* config/arm/pe.h (MULTILIB_DEFAULTS): Define.
        Add comment about default apcs26 support.
* config/arm/t-pe (MULTILIB_OPTIONS): Add an -mapcs-32
multilib.
        (MULTILIB_DIRNAMES): Add 'apcs32'.
* config/arm/t-wince-pe: New makefile fragment.
* config/arm/wince-pe.h: New file.  Overrides a few definitions
in arm/pe.h

From-SVN: r67705

21 years agoMakefile.tpl: Fix stupid pasto.
Nathanael Nerode [Tue, 10 Jun 2003 13:36:27 +0000 (13:36 +0000)]
Makefile.tpl: Fix stupid pasto.

* Makefile.tpl: Fix stupid pasto.
* Makefile.in: Regenerate.

From-SVN: r67702

21 years agobuiltins.c (fold_builtin): Optimize cos(-x) as cos(x).
Roger Sayle [Tue, 10 Jun 2003 13:05:54 +0000 (13:05 +0000)]
builtins.c (fold_builtin): Optimize cos(-x) as cos(x).

* builtins.c (fold_builtin): Optimize cos(-x) as cos(x).
* fold-const.c (fold <NEGATE_EXPR>): Convert -f(x) into f(-x)
when x is easily negated and f is sin, tan or atan.
(fold <MULT_EXPR>): Optimize tan(x)*cos(x) and cos(x)*tan(x) as
sin(x) with flag_unsafe_math_optimizations.
(fold <RDIV_EXPR>): With flag_unsafe_math_optimizations fold
sin(x)/cos(x) as tan(x) and cos(x)/sin(x) as 1.0/tan(x).

* gcc.dg/builtins-20.c: New test case.

From-SVN: r67701

21 years agofold-const.c (fold <EQ_EXPR>): Don't fold x == x only if x is a floating point type...
Roger Sayle [Tue, 10 Jun 2003 13:00:17 +0000 (13:00 +0000)]
fold-const.c (fold <EQ_EXPR>): Don't fold x == x only if x is a floating point type *and* we currently honor NaNs.

* fold-const.c (fold <EQ_EXPR>):  Don't fold x == x only if x
is a floating point type *and* we currently honor NaNs.
(fold <NE_EXPR>): Likewise.

From-SVN: r67700

21 years agogcc_release (build_diff): Properly use ${TAR} instead of hard-coded tar.
Gerald Pfeifer [Tue, 10 Jun 2003 08:49:59 +0000 (10:49 +0200)]
gcc_release (build_diff): Properly use ${TAR} instead of hard-coded tar.

* gcc_release (build_diff): Properly use ${TAR} instead of
hard-coded tar.

From-SVN: r67699

21 years agore PR c++/11131 (Unrelated declaration removes inline flag from function)
Mark Mitchell [Tue, 10 Jun 2003 07:19:57 +0000 (07:19 +0000)]
re PR c++/11131 (Unrelated declaration removes inline flag from function)

PR c++/11131
* tree-inline.c (inlinable_function_p): Call the language-specific
hook early.

PR c++/11131
* cp-tree.h (template_for_substitution): Declare.
* decl2.c (mark_used): Use it when figuring out whether or not a
function is inline.
* pt.c (template_for_substitution): Give it external linkage.
* tree.c (cp_cannot_inline_tree_fn): Instantiate as early as
possible.

PR c++/11131
* g++.dg/opt/template1.C: New test.

From-SVN: r67698

21 years agoPatch from David Taylor.
David Taylor [Tue, 10 Jun 2003 05:34:02 +0000 (05:34 +0000)]
Patch from David Taylor.

* config/rs6000/rs6000.c (rs6000_va_start, rs6000_va_arg):  Skip over
the f_res field.

From-SVN: r67697

21 years agogcc-dg.exp (dg-test): Clear additional_files and additional_sources.
Mark Mitchell [Tue, 10 Jun 2003 02:57:48 +0000 (02:57 +0000)]
gcc-dg.exp (dg-test): Clear additional_files and additional_sources.

* lib/gcc-dg.exp (dg-test): Clear additional_files and
additional_sources.

From-SVN: r67696

21 years agonatFont.cc (getAscent): Correctly access "ascent" field.
Tom Tromey [Tue, 10 Jun 2003 02:45:07 +0000 (02:45 +0000)]
natFont.cc (getAscent): Correctly access "ascent" field.

* gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
field.
(getDescent): Likewise, for "descent".

From-SVN: r67695

21 years agoconfigure.in: Remove references to host_truncate_target.
Nathanael Nerode [Tue, 10 Jun 2003 02:31:45 +0000 (02:31 +0000)]
configure.in: Remove references to host_truncate_target.

* configure.in: Remove references to host_truncate_target.
* configure: Regenerate.
* config.gcc: Remove references to truncate_target,
host_truncate_target.

From-SVN: r67694

21 years agoMakefile.tpl: Remove bogus conditional.
Nathanael Nerode [Tue, 10 Jun 2003 02:09:34 +0000 (02:09 +0000)]
Makefile.tpl: Remove bogus conditional.

* Makefile.tpl: Remove bogus conditional.
* Makefile.in: Regenerate.

From-SVN: r67693

21 years agonatFont.cc (getMaxAscent): adjusted return value.
Scott Gilbertson [Tue, 10 Jun 2003 01:50:12 +0000 (01:50 +0000)]
natFont.cc (getMaxAscent): adjusted return value.

2003-06-09  Scott Gilbertson  <scottg@mantatest.com>

* gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
(getMaxDescent): adjusted return value.
(getAscent): modified to use metrics for 'O'.
(getDescent): modified to use metrics for 'y'.

From-SVN: r67692

21 years agoMakefile.in, [...]: Replace "build_canonical" with build, "host_canonical" with host.
Nathanael Nerode [Tue, 10 Jun 2003 00:52:18 +0000 (00:52 +0000)]
Makefile.in, [...]: Replace "build_canonical" with build, "host_canonical" with host.

* Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas:
Replace "build_canonical" with build, "host_canonical" with host.
* configure.in: Use GCC_TOPLEV_SUBDIRS.
* aclocal.m4: Include ../config/acx.m4.
* configure: Regenerate.
(ada)
* Makefile.in: Replace "host_canonical" with "host" for autoconf
substitution.

From-SVN: r67691

21 years agoDaily bump.
GCC Administrator [Tue, 10 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67689

21 years agofstream.tcc (_M_underflow): Do not special case the unbuffered case...
Paolo Carlini [Tue, 10 Jun 2003 00:05:49 +0000 (02:05 +0200)]
fstream.tcc (_M_underflow): Do not special case the unbuffered case...

2003-06-09  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (_M_underflow): Do not special
case the unbuffered case, which really means simply a one char
get area.
(basic_filebuf): Initialize _M_buf_size.
(setbuf): Unbuffered means _M_buf_size == 1, since only
_M_buf_size - 1 == 0 chars are going to be used for the
put area and 1 for the get area.
* include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
(~basic_streambuf): Tweak.
(basic_streambuf): Do not initialize _M_buf_size.
* include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
(~basic_filebuf): Tweak.
(_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
unbuffered situation (i.e., put area pointers NULL).
* include/bits/streambuf.tcc (sbumpc): Clean up.
* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.

From-SVN: r67686

21 years agoFrom David Taylor.
David Taylor [Mon, 9 Jun 2003 23:04:50 +0000 (23:04 +0000)]
From David Taylor.

* gcc.dg/Wpadded.c: New file.

From-SVN: r67685

21 years agoPatch from David Taylor.
David Taylor [Mon, 9 Jun 2003 23:00:36 +0000 (23:00 +0000)]
Patch from David Taylor.

* config/rs6000/rs6000.c (rs6000_build_va_list): Give the two
bytes of padding in the __va_list_tag structure a name (reserved).

From-SVN: r67684

21 years ago* fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR.
Jason Merrill [Mon, 9 Jun 2003 22:42:33 +0000 (18:42 -0400)]
* fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR.

From-SVN: r67683