Commit Graph

50555 Commits

Author SHA1 Message Date
Tom Tromey
4a09cbac25 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
2003-06-11 15:58:05 +00:00
Tom Tromey
265411b6ca 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
2003-06-11 15:55:04 +00:00
Benjamin Kosnik
1ff9402d8f [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
2003-06-11 15:52:11 +00:00
Michael Koch
1d5d594da5 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
2003-06-11 13:47:49 +00:00
Michael Koch
d6c2458f4e 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
2003-06-11 13:20:41 +00:00
Ulrich Weigand
658cf52f51 * expr.c (can_move_by_pieces): align argument may be unused.
From-SVN: r67764
2003-06-11 13:04:02 +00:00
J"orn Rennecke
06765df195 * expr.c (convert_move): Handle moves between two CONCATs.
From-SVN: r67760
2003-06-11 13:32:47 +01:00
Kazu Hirata
cf874806a6 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
2003-06-11 12:05:04 +00:00
Kazu Hirata
ca9d6ccabc 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
2003-06-11 11:58:39 +00:00
Michael Koch
6bd883297e 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
2003-06-11 10:38:58 +00:00
Michael Koch
39b3ceceee 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
2003-06-11 10:38:38 +00:00
Michael Koch
37f3981f80 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
2003-06-11 10:37:48 +00:00
Richard Henderson
0310c41406 * optabs.c (gen_cond_trap): Fix prepare_operand typo.
From-SVN: r67753
2003-06-10 23:43:43 -07:00
Richard Henderson
15d11f1372 * config/ia64/ia64.md (call_gp): Fix memory mode.
From-SVN: r67752
2003-06-10 23:36:20 -07:00
James E Wilson
f58d8c9596 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
2003-06-10 21:25:47 -07:00
Kazu Hirata
46dfb7aa2c 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
2003-06-11 04:03:55 +00:00
Kazu Hirata
5abfd1afbe 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
2003-06-11 03:19:55 +00:00
Nathanael Nerode
bf1d3e81e8 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
2003-06-11 03:04:44 +00:00
Kazu Hirata
ca895f7d91 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
2003-06-11 01:48:54 +00:00
GCC Administrator
97981791bc Daily bump.
From-SVN: r67742
2003-06-11 00:16:07 +00:00
Nathanael Nerode
e89fbdfe9f 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
2003-06-10 22:24:39 +00:00
Paolo Carlini
1f0ef65117 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
2003-06-10 22:00:43 +00:00
Nathanael Nerode
3b1b059cc3 configure.in: Fix typo.
* configure.in: Fix typo.
	* configure: Regenerate.

From-SVN: r67737
2003-06-10 21:53:45 +00:00
Phil Edwards
08addde65f 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
2003-06-10 21:52:25 +00:00
Nathanael Nerode
e8face4c59 * init.c, misc.c, trans.c, utils.c: Remove dead code.
From-SVN: r67735
2003-06-10 21:48:32 +00:00
Janis Johnson
907129969d 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
2003-06-10 21:01:39 +00:00
Loren J. Rittle
e85f3dc8ec alpha.c (unicosmk_file_end): Add conditional compilation guard.
* config/alpha/alpha.c (unicosmk_file_end): Add conditional
	compilation guard.

From-SVN: r67733
2003-06-10 20:55:02 +00:00
J"orn Rennecke
9053436180 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
2003-06-10 21:53:33 +01:00
Paolo Carlini
9fa543a540 1.cc: Remove.
2003-06-10  Paolo Carlini  <pcarlini@unitus.it>

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

From-SVN: r67730
2003-06-10 19:53:44 +00:00
DJ Delorie
e2ce66a9d1 md.texi (Machine Constraints): Document stormy's Z constraint.
* doc/md.texi (Machine Constraints): Document stormy's Z
constraint.

From-SVN: r67729
2003-06-10 15:40:47 -04:00
Jason Merrill
e9bbababb6 oops
From-SVN: r67727
2003-06-10 15:34:30 -04:00
Paolo Carlini
9335d80ab9 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
2003-06-10 19:27:12 +00:00
Jason Merrill
346eeb157e 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
2003-06-10 15:08:46 -04:00
Janis Johnson
aa9b0aca6a 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
2003-06-10 19:08:33 +00:00
Jason Merrill
0c16e8d6c1 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
2003-06-10 15:06:44 -04:00
Geoffrey Keating
21c157b435 * except.c (call_site_base): Mark with GTY.
From-SVN: r67722
2003-06-10 18:58:05 +00:00
Richard Earnshaw
e32bac5bd6 arm-proto.h: Convert to ISO C90 prototypes.
* arm-proto.h: Convert to ISO C90 prototypes.
* arm.c: Likewise.

From-SVN: r67721
2003-06-10 18:55:17 +00:00
Geoffrey Keating
d192828ab6 [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
2003-06-10 18:32:57 +00:00
J"orn Rennecke
4db8f48aca * sh.c (sh_output_mi_thunk): Call insn_locators_initialize.
From-SVN: r67718
2003-06-10 18:16:17 +01:00
Michael Koch
fbd98522de 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
2003-06-10 17:15:19 +00:00
Steve Ellcey
f80f73e192 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
2003-06-10 17:11:22 +00:00
Andrew Haley
dc95267743 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
2003-06-10 16:57:46 +00:00
Andrew Haley
e076f71a38 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
2003-06-10 16:43:39 +00:00
DJ Delorie
e7e09ad8f2 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
2003-06-10 12:32:58 -04:00
Kazuhiro Inaoka
a398a82220 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
2003-06-10 09:30:47 -07:00
Richard Henderson
cec31c5567 * gcc.dg/asm-7.c: Adjust expected warning text.
From-SVN: r67709
2003-06-10 09:14:08 -07:00
Janis Johnson
bb8f5288ed 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
2003-06-10 16:01:39 +00:00
Nick Clifton
52f97a3b6c 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
2003-06-10 14:45:44 +00:00
Nathanael Nerode
01b759aaf0 Makefile.tpl: Fix stupid pasto.
* Makefile.tpl: Fix stupid pasto.
	* Makefile.in: Regenerate.

From-SVN: r67702
2003-06-10 13:36:27 +00:00
Roger Sayle
9f0a7f9dcc 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
2003-06-10 13:05:54 +00:00