OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago * gcc.dg/compat/scalar-by-value-3_main.c: New file.
janis [Wed, 11 Jun 2003 18:21:38 +0000 (18:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67789 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67788 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/d30v/d30v.h: Delete reference to ASM_FINAL_SPEC.
sayle [Wed, 11 Jun 2003 17:52:42 +0000 (17:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67784 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11131
mmitchel [Wed, 11 Jun 2003 17:02:13 +0000 (17:02 +0000)]
PR c++/11131
* tree.c (cp_cannot_inline_fn): Check for "inline" before
instantiation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67783 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67781 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
ro [Wed, 11 Jun 2003 16:19:18 +0000 (16:19 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67780 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * lang.c (java_handle_option): Update dependency_tracking for
tromey [Wed, 11 Jun 2003 15:58:05 +0000 (15:58 +0000)]
* lang.c (java_handle_option): Update dependency_tracking for
OPT_MF case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67779 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * lang.c (java_handle_option): OPT_fbootclasspath_ can take an
tromey [Wed, 11 Jun 2003 15:55:04 +0000 (15:55 +0000)]
* lang.c (java_handle_option): OPT_fbootclasspath_ can take an
empty argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67778 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 11 Jun 2003 15:52:11 +0000 (15:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67777 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-11 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 11 Jun 2003 13:47:49 +0000 (13:47 +0000)]
2003-06-11  Michael Koch  <konqueror@gmx.de>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67770 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-11 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 11 Jun 2003 13:20:41 +0000 (13:20 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67769 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67764 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (convert_move): Handle moves between two CONCATs.
amylaar [Wed, 11 Jun 2003 12:32:47 +0000 (12:32 +0000)]
* expr.c (convert_move): Handle moves between two CONCATs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67760 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
kazu [Wed, 11 Jun 2003 12:05:04 +0000 (12:05 +0000)]
* config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
!TARGET_H8300.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67759 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.c (final_prescan_insn): Don't dump rtl.
kazu [Wed, 11 Jun 2003 11:58:39 +0000 (11:58 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67758 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-11 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 11 Jun 2003 10:38:58 +0000 (10:38 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67756 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-11 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 11 Jun 2003 10:38:38 +0000 (10:38 +0000)]
2003-06-11  Michael Koch  <konqueror@gmx.de>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67755 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-11 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 11 Jun 2003 10:37:48 +0000 (10:37 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67754 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * optabs.c (gen_cond_trap): Fix prepare_operand typo.
rth [Wed, 11 Jun 2003 06:43:43 +0000 (06:43 +0000)]
    * optabs.c (gen_cond_trap): Fix prepare_operand typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67753 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/ia64/ia64.md (call_gp): Fix memory mode.
rth [Wed, 11 Jun 2003 06:36:20 +0000 (06:36 +0000)]
    * config/ia64/ia64.md (call_gp): Fix memory mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67752 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoPR target/8812
wilson [Wed, 11 Jun 2003 04:25:47 +0000 (04:25 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67751 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.c (print_operand): Remove support for
kazu [Wed, 11 Jun 2003 04:03:55 +0000 (04:03 +0000)]
* 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'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67750 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.c (print_operand): Remove support for
kazu [Wed, 11 Jun 2003 03:19:55 +0000 (03:19 +0000)]
* 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'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67748 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Disable serial configure by default.
neroden [Wed, 11 Jun 2003 03:04:44 +0000 (03:04 +0000)]
* configure.in: Disable serial configure by default.
* configure: Regenerate.
* Makefile.tpl: Abolish .NOTPARALLEL.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67747 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.c (print_operand): Remove support for
kazu [Wed, 11 Jun 2003 01:48:54 +0000 (01:48 +0000)]
* config/h8300/h8300.c (print_operand): Remove support for
operand character 'u'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67745 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67742 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.tpl: Replace {build,host,target}_canonical by
neroden [Tue, 10 Jun 2003 22:24:39 +0000 (22:24 +0000)]
* Makefile.tpl: Replace {build,host,target}_canonical by
{build,host,target}.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67739 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-10 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 10 Jun 2003 22:00:43 +0000 (22:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67738 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Fix typo.
neroden [Tue, 10 Jun 2003 21:53:45 +0000 (21:53 +0000)]
* configure.in: Fix typo.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67737 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-10 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 10 Jun 2003 21:52:25 +0000 (21:52 +0000)]
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__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67736 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67735 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/compat/fp2-struct-check.h: New file.
janis [Tue, 10 Jun 2003 21:01:39 +0000 (21:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67734 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/alpha/alpha.c (unicosmk_file_end): Add conditional
ljrittle [Tue, 10 Jun 2003 20:55:02 +0000 (20:55 +0000)]
* config/alpha/alpha.c (unicosmk_file_end): Add conditional
compilation guard.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67733 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * sh-protos.h (function_symbol): Declare.
amylaar [Tue, 10 Jun 2003 20:53:33 +0000 (20:53 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67732 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-10 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 10 Jun 2003 19:53:44 +0000 (19:53 +0000)]
2003-06-10  Paolo Carlini  <pcarlini@unitus.it>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67730 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* doc/md.texi (Machine Constraints): Document stormy's Z
dj [Tue, 10 Jun 2003 19:40:47 +0000 (19:40 +0000)]
* doc/md.texi (Machine Constraints): Document stormy's Z
constraint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67729 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agooops
jason [Tue, 10 Jun 2003 19:34:30 +0000 (19:34 +0000)]
oops

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67727 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-10 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 10 Jun 2003 19:27:12 +0000 (19:27 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67726 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/10968
jason [Tue, 10 Jun 2003 19:08:46 +0000 (19:08 +0000)]
    PR c++/10968
        * pt.c (mark_decl_instantiated): Set TREE_SYMBOL_REFERENCED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67725 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/compat/compat-common.h: New file.
janis [Tue, 10 Jun 2003 19:08:33 +0000 (19:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67724 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/10968
jason [Tue, 10 Jun 2003 19:06:44 +0000 (19:06 +0000)]
    PR c++/10968
        * pt.c (mark_decl_instantiated): Set TREE_SYMBOL_REFERENCED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67723 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67722 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm-proto.h: Convert to ISO C90 prototypes.
rearnsha [Tue, 10 Jun 2003 18:55:17 +0000 (18:55 +0000)]
* arm-proto.h: Convert to ISO C90 prototypes.
* arm.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67721 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-10 Andrew Pinski <pinskia@physics.uc.edu>
geoffk [Tue, 10 Jun 2003 18:32:57 +0000 (18:32 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67719 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * sh.c (sh_output_mi_thunk): Call insn_locators_initialize.
amylaar [Tue, 10 Jun 2003 17:16:17 +0000 (17:16 +0000)]
* sh.c (sh_output_mi_thunk): Call insn_locators_initialize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67718 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-10 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 10 Jun 2003 17:15:19 +0000 (17:15 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67717 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * calls.c (expand_call): Convert structure_value_addr to Pmode if
sje [Tue, 10 Jun 2003 17:11:22 +0000 (17:11 +0000)]
* calls.c (expand_call): Convert structure_value_addr to Pmode if
necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67716 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-10 Andrew Haley <aph@redhat.com>
aph [Tue, 10 Jun 2003 16:57:46 +0000 (16:57 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67714 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-21 Andrew Haley <aph@redhat.com>
aph [Tue, 10 Jun 2003 16:43:39 +0000 (16:43 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67713 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z,
dj [Tue, 10 Jun 2003 16:32:58 +0000 (16:32 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67712 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/m32r/m32r.h (HARD_REGNO_RENAME_OK): New.
rth [Tue, 10 Jun 2003 16:30:47 +0000 (16:30 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67711 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67709 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins
janis [Tue, 10 Jun 2003 16:01:39 +0000 (16:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67708 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoImprove support for arm-wince-pe target:
nickc [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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67705 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.tpl: Fix stupid pasto.
neroden [Tue, 10 Jun 2003 13:36:27 +0000 (13:36 +0000)]
* Makefile.tpl: Fix stupid pasto.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67702 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * builtins.c (fold_builtin): Optimize cos(-x) as cos(x).
sayle [Tue, 10 Jun 2003 13:05:54 +0000 (13:05 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67701 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fold-const.c (fold <EQ_EXPR>): Don't fold x == x only if x
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 <NE_EXPR>): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67700 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc_release (build_diff): Properly use ${TAR} instead of
gerald [Tue, 10 Jun 2003 08:49:59 +0000 (08:49 +0000)]
* gcc_release (build_diff): Properly use ${TAR} instead of
hard-coded tar.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67699 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11131
mmitchel [Tue, 10 Jun 2003 07:19:57 +0000 (07:19 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67698 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoPatch from David Taylor.
wilson [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67697 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * lib/gcc-dg.exp (dg-test): Clear additional_files and
mmitchel [Tue, 10 Jun 2003 02:57:48 +0000 (02:57 +0000)]
* lib/gcc-dg.exp (dg-test): Clear additional_files and
additional_sources.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67696 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
tromey [Tue, 10 Jun 2003 02:45:07 +0000 (02:45 +0000)]
* gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
field.
(getDescent): Likewise, for "descent".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67695 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Remove references to host_truncate_target.
neroden [Tue, 10 Jun 2003 02:31:45 +0000 (02:31 +0000)]
* configure.in: Remove references to host_truncate_target.
* configure: Regenerate.
* config.gcc: Remove references to truncate_target,
host_truncate_target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67694 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.tpl: Remove bogus conditional.
neroden [Tue, 10 Jun 2003 02:09:34 +0000 (02:09 +0000)]
* Makefile.tpl: Remove bogus conditional.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67693 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-09 Scott Gilbertson <scottg@mantatest.com>
tromey [Tue, 10 Jun 2003 01:50:12 +0000 (01:50 +0000)]
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'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67692 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas:
neroden [Tue, 10 Jun 2003 00:52:18 +0000 (00:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67691 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67689 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-09 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 10 Jun 2003 00:05:49 +0000 (00:05 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67686 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFrom David Taylor.
wilson [Mon, 9 Jun 2003 23:04:50 +0000 (23:04 +0000)]
From David Taylor.
* gcc.dg/Wpadded.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67685 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoPatch from David Taylor.
wilson [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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67684 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67683 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoPatch from Osku Salerma
wilson [Mon, 9 Jun 2003 22:31:33 +0000 (22:31 +0000)]
Patch from Osku Salerma
* c-format.c (check_format_string, get_constant): New.
(handle_format_attribute, handle_format_arg_attribute,
decode_format_attr): Change to use above functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67680 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * stmt.c (expand_asm_operands): Re-word warning.
rth [Mon, 9 Jun 2003 21:28:21 +0000 (21:28 +0000)]
    * stmt.c (expand_asm_operands): Re-word warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67678 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-08 Andrew Pinski <pinskia@physics.uc.edu>
zack [Mon, 9 Jun 2003 20:35:43 +0000 (20:35 +0000)]
2003-06-08  Andrew Pinski  <pinskia@physics.uc.edu>

PR target/8787
* config/i386/djgpp.h (ASM_FILE_START): emit `.intel_syntax'
if -masm=intel.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67676 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix a ChangeLog typo.
kazu [Mon, 9 Jun 2003 20:24:30 +0000 (20:24 +0000)]
Fix a ChangeLog typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67675 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agojava:
neil [Mon, 9 Jun 2003 19:54:26 +0000 (19:54 +0000)]
java:
* Make-lang.in (JAVA_OBJS, java/lang.o): Update.
(java/j-options.c, java/j-options.h): New.
* java-tree.h (resource_name, compile_resource_file,
compile_resource_data): Constify.
* jcf-write.c (jcf_write_base_directory): Similarly.
* jcf.h (jcf_write_base_directory): Similarly.
* lang.c: Include j-options.h.
(cl_options_count, cl_options, string_option, java_decode_option,
lang_f_options, lang_W_options, LANG_HOOKS_DECODE_OPTION,
process_option_with_no): Remove.
(resource_name): Constify.
(LANG_HOOKS_HANDLE_OPTION): Override.
(java_handle_option): New.
(java_init): Don't call jcf_path_init.
(java_init_options): Call jcf_path_init.
* lang.opt: New.
* resource.c (compile_resource_data, compile_resource_file): Constify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67673 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix copyright problems reported by Doug Evans.
wilson [Mon, 9 Jun 2003 19:31:12 +0000 (19:31 +0000)]
Fix copyright problems reported by Doug Evans.
* config/frv/cmovc.c, config/frv/cmovh.c, config/frv/cmovw.c,
config/frv/frvbegin.c, config/frv/frvend.c, config/frv/lib1funcs.asm:
Add libgcc exception.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67672 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR 8861
zack [Mon, 9 Jun 2003 18:47:40 +0000 (18:47 +0000)]
PR 8861
* mangle.c (write_real_cst): New function.  Implement
ABI-compliant mangling of floating-point literals when
-fabi-version>=2; provide backward compatibility with 3.3 when
-fabi-version=1 (with warning).  Clarify commentary.
(write_template_arg_literal): Use write_real_cst.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67670 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/special/20000419-2.c: Fix dg-require-alias syntax.
mmitchel [Mon, 9 Jun 2003 17:30:09 +0000 (17:30 +0000)]
* gcc.dg/special/20000419-2.c: Fix dg-require-alias syntax.
* gcc.dg/special/weak-2.c: Add dg-require-weak.
* gcc.dg/weak/weak-3.c: Reverse order of dg-do and
dg-require-weak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67669 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.md (define_attr "type"): Add insert_word.
dje [Mon, 9 Jun 2003 17:16:15 +0000 (17:16 +0000)]
    * config/rs6000/rs6000.md (define_attr "type"): Add insert_word.
        (insvsi*): Add insert_word attribute.
        * config/rs6000/rs6000.c (rs6000_variable_issue): Add TYPE_INSERT_WORD.
        * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
        power4.md,rios1.md,rios2.md,rs64.md}: Add insert_word.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67668 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * g++.dg/other/offsetof3.C: Adjust linenumber of last expected warning.
amylaar [Mon, 9 Jun 2003 17:13:06 +0000 (17:13 +0000)]
* g++.dg/other/offsetof3.C: Adjust linenumber of last expected warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67667 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * lib/gcc-dg.exp (dg-require-weak): Fix typo.
mmitchel [Mon, 9 Jun 2003 15:33:36 +0000 (15:33 +0000)]
* lib/gcc-dg.exp (dg-require-weak): Fix typo.
(dg-require-alias): Likewise.
(dg-require-gc-sections): Likewise.
* lib/target-supports.exp (check_gc_sections_available): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67665 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fold-const.c (fold): Fix a comment typo.
kazu [Mon, 9 Jun 2003 15:07:36 +0000 (15:07 +0000)]
* fold-const.c (fold): Fix a comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67664 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-09 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 9 Jun 2003 14:54:08 +0000 (14:54 +0000)]
2003-06-09  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4:  Move all AM_CONDITIONAL calls out.
(GLIBCPP_CONFIGURE):  Set defaults for variables used in AM_CONDITIONAL
statements.
* configure.in:  Centralize AM_CONDITIONALs so that they are always
run.  Make use of GLIBCPP_IS_CROSS_COMPILING.
* aclocal.m4, configure:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67663 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is
nathan [Mon, 9 Jun 2003 12:57:15 +0000 (12:57 +0000)]
* tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is
removed.
* java/java-tree.h (DECL_FUNCTION_LAST_LINE): New.
(struct lang_decl_func): Add last_line field.
* java/parse.h (DECL_SOURCE_LINE_MERGE, DECL_SOURCE_LINE_FIRST,
DECL_SOURCE_LINE_LAST): Remove.
* java/parse.y (missing_return_error,
finish_method_declaration, lookup_cl, start_artificial_method_body,
source_end_java_method, start_complete_expand_method): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67661 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * sh.c (gen_block_redirect): Use locators.
amylaar [Mon, 9 Jun 2003 12:32:51 +0000 (12:32 +0000)]
* sh.c (gen_block_redirect): Use locators.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67660 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-09 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 9 Jun 2003 11:54:53 +0000 (11:54 +0000)]
2003-06-09  Paolo Carlini  <pcarlini@unitus.it>

* docs/html/ext/howto.html ('LWG Issues'):  Add issue 235.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67659 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove
rearnsha [Mon, 9 Jun 2003 11:27:37 +0000 (11:27 +0000)]
* arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove
cast to int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67658 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Assume gas 2.14 and above can handle MIPS relocation
rsandifo [Mon, 9 Jun 2003 07:27:06 +0000 (07:27 +0000)]
* configure.in: Assume gas 2.14 and above can handle MIPS relocation
operators.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67657 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.h (GLOBAL_POINTER_REGNUM): New macro.
rsandifo [Mon, 9 Jun 2003 07:19:14 +0000 (07:19 +0000)]
* config/mips/mips.h (GLOBAL_POINTER_REGNUM): New macro.
(PIC_OFFSET_TABLE_REGNUM): Look at pic_offset_table_rtx after reload.
(STARTING_FRAME_OFFSET): Don't allocate a cprestore slot for
n32/64 PIC.
(MUST_SAVE_REGISTERS): Delete.
* config/mips/mips.c (mips_frame_info): Remove extra_size field.
(machine_function): Add global_pointer field.
(mips_classify_constant): Check for (const $gp) using pointer equality
with pic_offset_table_rtx.
(mips_classify_constant): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
(mips_restore_gp): Use current_function_outgoing_args_size.
(print_operand): Use PIC_OFFSET_TABLE_REGNUM instead of
GP_REG_FIRST + 28.  Handle relocation strings that have
more than one '('.
(mips_reloc_string): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
(mips_global_pointer): New function.
(mips_save_reg_p): New function, mostly split out from...
(compute_frame_size): ...here.  Remove handling of extra_size.
Reclaim args_size if no variables depend on it.  Don't treat gp
as a special case: handle it in the main GPR loop.
(mips_initial_elimination_offset): Fix comment.
(save_restore_insns): Save every register in the GPR mask,
removing distinction between mask and real_mask.
(mips_output_function_prologue): Update .frame psuedo-op after
the removal of extra_size.  Move the SVR4 PIC stack allocation
and cprestore instructions to mips_expand_prologue.
(mips_gp_insn): New function.
(mips_expand_prologue): Set REGNO (pic_offset_table_rtx) to
the chosen global pointer.  Handle SVR4 PIC stack allocation
in the same way as other ABIs.  Adjust varargs code accordingly.
Emit a cprestore insn after allocating the stack.  Use mips_gp_insn
to emit the loadgp sequence.  Follow it with a loadgp_blockage
if not using explicit relocs.
(mips_output_function_epilogue): Reinstate the default gp register.
(mips16_gp_pseudo_reg): Use pic_offset_table_rtx.
(mips16_optimize_gp): Likewise.
* config/mips/mips.md (UNSPEC_LOADGP): Remove.
(UNSPEC_SETJMP, UNSPEC_LONGJMP): Remove.
(UNSPEC_CPRESTORE, RELOC_LOADGP_HI, RELOC_LOADGP_LO): New.
(loadgp): Remove.
(loadgp_blockage, cprestore): New instructions.
(builtin_setjmp_setup): Implement using emit_move_insn.  Use
pic_offset_table_rtx.
(builtin_setjmp_setup_32, builtin_setjmp_setup_64): Remove.
(builtin_longjmp): Use gen_raw_REG to force use of $28.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67656 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips-protos.h (mips_output_division): Declare.
rsandifo [Mon, 9 Jun 2003 07:10:47 +0000 (07:10 +0000)]
* config/mips/mips-protos.h (mips_output_division): Declare.
* config/mips/mips.h (MASK_CHECK_RANGE_DIV): Remove.
(MASK_BRANCHLIKELY): Use MASK_CHECK_RANGE_DIV's old number.
(TARGET_NO_CHECK_ZERO_DIV, TARGET_CHECK_RANGE_DIV): Remove.
(TARGET_CHECK_ZERO_DIV): New macro.
(TARGET_SWITCHES): Remove -mcheck-range-div & -mno-check-range-div.
* config/mips/mips.c (mips_output_division): New function.
* config/mips/mips.md (length): Take TARGET_CHECK_ZERO_DIV into
account when calculating the default length of a division.
(divmodsi4, divmoddi4, udivmodsi4, udivmoddi4): Turn into define_insns.
Enable regardless of optimization level.  Use mips_output_division.
(divmodsi4_internal, divmoddi4_internal, udivmodsi4_internal,
udivmoddi4_internal, div_trap, div_trap_normal, div_trap_mips16,
divsi3, divsi3_internal, divdi3, divdi3_internal, modsi3,
modsi3_internal, moddi3, moddi3_internal, udivsi3, udivsi3_internal,
udivdi3, udivdi3_internal, umodsi3, umodsi3_internal, umoddi3,
umoddi3_internal): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67655 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.c (mips_reg_names): Change hilo entry to "".
rsandifo [Mon, 9 Jun 2003 07:01:24 +0000 (07:01 +0000)]
* config/mips/mips.c (mips_reg_names): Change hilo entry to "".
(mips_sw_reg_names): Likewise.
(mips_regno_to_class): Change hilo entry to NO_REGS.
(hilo_operand): Use MD_REG_P.
(extend_operator): New predicate.
(override_options): Remove 'a' constraint.
(mips_secondary_reload_class): Remove hilo handling.  Also remove
handling of (plus sp reg) reloads for mips16.
(mips_register_move_cost): Remove hilo handling.
* config/mips/mips.h (FIXED_REGISTERS): Make hilo entry fixed.
(MD_REG_LAST): Remove hilo from range.
(HILO_REGNUM): Delete.
(reg_class): Remove HILO_REG and HILO_AND_GR_REGS.
(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
(PREDICATE_CODES): Add entry for extend_operator.
(DEBUG_REGISTER_NAMES): Change hilo entry to "".
* config/mips/mips.md: Remove hilo clobbers wherever they occur.
Remove constraints from multiplication define_expands.  Remove
clobbers from "decorative" define_expand patterns.
(UNSPEC_HILO_DELAY): Delete.
(*mul_acc_si, *mul_sub_si): Add early-clobber to operand 6.
(mulsidi3, umulsidi3): Change pattern to match the TARGET_64BIT case.
Adjust C code to just emit insns for !TARGET_64BIT.
(mulsidi3_internal): Rename to mulsidi3_32bit.
(mulsidi3_64bit): Use a "d" constraint for the destination.
Use extend_operator so that the pattern can handle umulsidi3 as well.
Split the instruction after reload.
(*mulsidi3_64bit_parts): New pattern, generated by mulsidi3_64bit.
(umulsidi3_internal): Rename to umulsidi3_32bit.
(umulsidi3_64bit): Remove.
(*smsac_di, *umsac_di): Line-wrap fixes.
(udivsi3_internal): Don't allow operand 2 to be constant.
(udivdi3_internal, umodsi3_internal, umoddi3_internal): Likewise.
(movdi_internal2, movsi_internal): Remove hilo alternatives.
(reload_in[sd]i, reload_out[sd]i, hilo_delay): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67654 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/10913
rsandifo [Mon, 9 Jun 2003 06:55:15 +0000 (06:55 +0000)]
PR target/10913
* config/mips/mips.h (TARGET_FILE_SWITCHING, NO_DBX_FUNCTION_END,
PUT_SDB_SCL, PUT_SDB_INT_VAL, PUT_SDB_VAL, PUT_SDB_ENDEF,
PUT_SDB_TYPE, PUT_SDB_SIZE, PUT_SDB_DIM, PUT_SDB_START_DIM,
PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM, PUT_SDB_TAG, PUT_SDB_SRC_FILE,
SDB_GENERATE_FAKE, TEXT_SECTION): Delete.
(PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, PUT_SDB_BLOCK_START,
PUT_SDB_BLOCK_END, PUT_SDB_FUNCTION_END): Replace use of
asm_out_text_file with asm_out_file.
* config/mips/iris5gas.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Likewise.
* config/mips/elf.h (TEXT_SECTION): Undefine.
* config/mips/elf64.h (TEXT_SECION): Undefine.
* config/mips/openbsd.h (TEXT_SECION): Undefine.
* config/mips/mips.c (asm_out_text_file, asm_out_data_file): Delete.
(override_options): Disable small-data optimizations unless using
gas or explicit relocations.
(mips_asm_file_start, mips_asm_file_end, mips_output_function_epilogue,
iris6_asm_named_section, iris6_asm_file_start): Remove code for
handling TARGET_FILE_SWITCHING.
(copy_file_data): Move into TARGET_IRIX6 block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67653 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR bootstrap/10974
ghazi [Mon, 9 Jun 2003 05:20:02 +0000 (05:20 +0000)]
PR bootstrap/10974
* physmem.c: Update comment.
* configure.in: Modify test for _system_configuration for older
AIX systems.

* config.in, configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67649 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.h (EXPAND_MEMORY): New.
rth [Mon, 9 Jun 2003 03:21:56 +0000 (03:21 +0000)]
    * expr.h (EXPAND_MEMORY): New.
        * expr.c (expand_expr): Check it.
        * stmt.c (expand_asm_operands): Provide it when the constraint
        requires a memory.  Warn for memory input constraints without
        a memory operand.

        * gcc.dg/20011029-2.c: Fix the array reference.
        * gcc.dg/asm-7.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67645 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * varasm.c: Don't include c-tree.h.
ghazi [Mon, 9 Jun 2003 02:20:32 +0000 (02:20 +0000)]
* varasm.c: Don't include c-tree.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67644 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Mon, 9 Jun 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67642 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-08 Anthony Green <green@redhat.com>
green [Sun, 8 Jun 2003 22:07:48 +0000 (22:07 +0000)]
2003-06-08  Anthony Green  <green@redhat.com>

        * java/net/URLStreamHandler.java (sameFile): Fix port value
        comparison.
        * java/net/URL.java (handler): Make package private.
        * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67640 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdd missing ChangeLog entry.
aj [Sun, 8 Jun 2003 20:08:10 +0000 (20:08 +0000)]
Add missing ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67639 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/compile/20000804-1.x: Dsiable on h8300 port.
kazu [Sun, 8 Jun 2003 19:38:00 +0000 (19:38 +0000)]
* gcc.c-torture/compile/20000804-1.x: Dsiable on h8300 port.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67638 138bc75d-0d04-0410-961f-82ee72b054a4