OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
rsandifo [Thu, 5 Feb 2004 20:11:32 +0000 (20:11 +0000)]
* config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
Define.
* config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
it to decide whether FIONREAD should take an off_t or int argument.

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

18 years ago PR c++/13714
mmitchel [Thu, 5 Feb 2004 19:45:47 +0000 (19:45 +0000)]
PR c++/13714
* typeck.c (lookup_destructor): Tweak error message.

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

18 years ago2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Thu, 5 Feb 2004 19:45:02 +0000 (19:45 +0000)]
2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

* java/awt/Scrollbar.java (next_scrollbar_number): New field.
(Scrollbar (int, int, int, int, int)): Make default page
increment 10.
(setValues): Only call peer.setValues if one of the values has
changed.
(generateName): New method.
(getUniqueLong): New method.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
(range_scrollbar): Remove structure.
(post_adjustment_event): Remove function.
(post_change_event): Accept jobject argument.
(create): Cast jints to gdoubles.  Round scrollbar values to the
nearest integer.  Clamp min, max and value settings.
(connectJObject): Connect hook to widget->window.
(connectSignals): Remove range_scrollbar structure variables.
Remove "move-slider" connection.  Pass global peer reference to
"value-changed" callback.
(setLineIncrement): Cast jint value to gdouble.
(setPageIncrement): Likewise.
(setValues): Likewise.  Clamp min, max and value settings.

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

18 years ago * tree.c (cp_cannot_inline_tree_fn): Allow inlining of comdat
hubicka [Thu, 5 Feb 2004 19:01:20 +0000 (19:01 +0000)]
* tree.c (cp_cannot_inline_tree_fn):  Allow inlining of comdat
functions.

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

18 years ago2004-02-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Feb 2004 18:48:54 +0000 (18:48 +0000)]
2004-02-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractCellEditor.java
(getCellEditorValue): Removed.
* javax/swing/Box.java: Reformated.
(serialVersionUID): New field.
* javax/swing/ButtonGroup.java:
Removed some weird whitespace.
* javax/swing/CellEditor.java: Reformated.
* javax/swing/CellRendererPane.java
(serialVersionUID): New field.
(AccessibleCellRendererPaneserialVersionUID): New field.
* javax/swing/DefaultListModel.java
(serialVersionUID): New field.
* javax/swing/JEditorPane.java
(serialVersionUID): New field.
(setPage): Throws IOException.
(addHyperlinkListener): Implemented.
(removeHyperlinkListener): Implemented.
(getHyperlinkListener): New method.
* javax/swing/JFileChooser.java
(serialVersionUID): New field.
(AccessibleJFileChooser.serialVersionUID): New field.
(addActionListener): Implemented.
(removeActionListener): Implemented.
(getActionListeners): New method.
* javax/swing/JFormattedTextField.java
(serialVersionUID): New field.
(AbstractFormatter.serialVersionUID): New field.
(clone): Throws CloneNotSupportedException
(setEditValid): Add missing argument.
(stringToValue): Throws ParseExcpetion.
(valueToString): Throws ParseException.
(commitEdit): Throws ParseException.
* javax/swing/JLabel.java
(serialVersionUID): New field.
* javax/swing/JList.java
(serialVersionUID): New field.
(addListSelectionListener): Reformated.
(removeListSelectionListener): Reformated.
(getListSelectionListeners): New method.
* javax/swing/colorchooser/AbstractColorChooserPanel.java:
Reformated.
(serialVersionUID): New field.
* javax/swing/table/AbstractTableModel.java
(getValueAt): Removed.
(getColumnCount): Removed.
(getRowCount): Removed.

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

18 years ago2004-02-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Feb 2004 18:27:44 +0000 (18:27 +0000)]
2004-02-05  Michael Koch  <konqueror@gmx.de>

* java/awt/datatransfer/DataFlavor.java
(imageFlavor): Javadoc added.
(javaJVMLocalObjectType): Fixed.

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

18 years ago2004-02-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Feb 2004 18:20:46 +0000 (18:20 +0000)]
2004-02-05  Michael Koch  <konqueror@gmx.de>

* java/lang/Thread.java
(Thread): Reordered.
(setContextClassLoader): Fixed javadoc comment.
(setPriority): Reordered.
(yield): Reordered.
(initialize_native): Reordered.
(gen_name): Reordered.

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

18 years ago2004-02-05 Dorit Naishlos <dorit@il.ibm.com>
dje [Thu, 5 Feb 2004 18:07:39 +0000 (18:07 +0000)]
2004-02-05  Dorit Naishlos  <dorit@il.ibm.com>

        * config/rs6000/altivec.md (*movv4si_internal): At least one
        operand must be altivec_register_operand.
        (*movv8hi_internal1): Likewise.
        (*movv16qi_internal1): Likewise.
        (*movv4sf_internal1): Likewise.

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

18 years ago * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
dje [Thu, 5 Feb 2004 17:09:05 +0000 (17:09 +0000)]
    * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
        * configure: Regenerate.

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

18 years ago PR c++/14008
giovannibajo [Thu, 5 Feb 2004 16:50:57 +0000 (16:50 +0000)]
PR c++/14008
* g++.dg/parse/error15.C: New test.
* g++.dg/parse/crash11.C: Update dg-error mark.

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

18 years ago PR c++/14008
giovannibajo [Thu, 5 Feb 2004 16:48:54 +0000 (16:48 +0000)]
PR c++/14008
* parser.c (cp_parser_diagnose_invalid_typename): Removed parsing
code, only emits the diagnostic now. Added lookup of the identifier
and support for qualified ids.
(cp_parser_parse_and_diagnose_invalid_type_name): New function.
Parse an (invalid) type name as id-expression within a declarator.
(cp_parser_simple_declaration): Use it.
(cp_parser_member_declaration): Likewise.
(cp_parser_make_typename_type): New function. Handle errors through
cp_parser_diagnose_invalid_typename.
(cp_parser_elaborated_type_specifier): Use it.

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

18 years ago2004-02-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Feb 2004 16:34:30 +0000 (16:34 +0000)]
2004-02-05  Michael Koch  <konqueror@gmx.de>

* java/lang/Thread.java: Reordered fields, reformated much code,
no functional changes, some variables renamed, javadoc comments
merged.

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

18 years ago2004-02-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Feb 2004 16:04:28 +0000 (16:04 +0000)]
2004-02-05  Michael Koch  <konqueror@gmx.de>

* java/util/zip/Deflater.java,
java/util/zip/DeflaterOutputStream.java,
java/util/zip/GZIPInputStream.java:
Reformated and javadoc comments merged from classpath.

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

18 years ago2004-02-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Feb 2004 15:57:01 +0000 (15:57 +0000)]
2004-02-05  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/NIOServerSocket.java
(impl): Unused, removed.
* gnu/java/nio/SocketChannelImpl.java
(finnishConnect): Don't throw NoConnectionPendingException if not
connected or no connection pending.

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

18 years ago2004-02-05 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 5 Feb 2004 15:39:16 +0000 (15:39 +0000)]
2004-02-05  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_function.h: Minor formatting changes.

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

18 years ago2004-02-05 Jonathan Wakely <redi@gcc.gnu.org>
redi [Thu, 5 Feb 2004 15:19:31 +0000 (15:19 +0000)]
2004-02-05  Jonathan Wakely  <redi@gcc.gnu.org>

* doc/install.texi: Update description of --gxx-include-dir to
give correct default value.

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

18 years ago * config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace
kazu [Thu, 5 Feb 2004 14:26:16 +0000 (14:26 +0000)]
* config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace
8 with MAC_REG.

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

18 years ago * config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with
kazu [Thu, 5 Feb 2004 14:21:54 +0000 (14:21 +0000)]
* config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with
gen_rtx_PARALLEL.

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

18 years ago * emit-rtl.c: Update the comment about the file.
kazu [Thu, 5 Feb 2004 14:15:35 +0000 (14:15 +0000)]
* emit-rtl.c: Update the comment about the file.

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

18 years ago * sourcebuild.texi (Test Idioms): Update testcase naming
jsm28 [Thu, 5 Feb 2004 11:21:33 +0000 (11:21 +0000)]
* sourcebuild.texi (Test Idioms): Update testcase naming
conventions.

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

18 years agoRevert previous change to config/abi/*/baseline_symbols.txt.
zack [Thu, 5 Feb 2004 07:25:58 +0000 (07:25 +0000)]
Revert previous change to config/abi/*/baseline_symbols.txt.

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

18 years ago Partially revert/redo 2003-10-01 change; fix -fworking-directory.
bothner [Thu, 5 Feb 2004 06:52:26 +0000 (06:52 +0000)]
Partially revert/redo 2003-10-01 change; fix -fworking-directory.
* c-ppoutput.c (pp_dir_change):  New function.
* c-common.h (pp_dir_change):  New declaration.
* cpplib.h (struct cpp_options):  Remove working_directory field.
* cppinit.c (cpp_find_main_file, cpp_push_main_file):  Merge back to
(cpp_read_main_file):  as before 10-01.  Call _cpp_stack_file.
Don't handle -fworking_directory here, but in c_common_post_options.
(read_original_directory): Don't back up when done.
Don't clear no-longer used working_directory flag.
* cpplib.h:  Update declarations to match.
* c-lex.c (cb_dir_change):  Move to c-opts.c.
(init_c_lex):  Don't set dir_change callback here, since we want
to set it even if flag_preprocess_only.
* c-opts.c (cb_dir_change):  Function moved from c-lex.c.
(c_common_post_options):  Set dir_change callback.
Call pp_dir_change if approporiate.
(finish_options):  Don't call cpp_find_main_file here. Hence remove
unneeded parameter and result. Do LC_RENAME for <built-in>.
(c_common_post_options):  Call cpp_read_main_file here instead.
(c_common_init):  Update accordingly.
(push_command_line_include):  Don't cpp_push_main_file.
Do LC_RENAME rather than LC_LEASE to get back to main file.
Compared to pre-10-01 version, inline cpp_rename_to_main_file.
(c_common_parse_file):  Call cpp_read_main_file for subsequent main
files, but call finish_options for all files.
* c-opts.c (sanitize_cpp_opts):  Don't set cpp_opts->working_directory.
* fix-header.c (read_scan_file):  Call cpp_read_main_file instead of
cpp_find_main_file + cpp_push_main_file.
* c-lex.c (fe_file_change):  Don't set main_input_filename here.
* opts.c (handle_options):  Only set main_input_filename first time.

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

18 years ago * config/arm/arm.h (REG_CLASS_NAMES): Add missing comma.
ian [Thu, 5 Feb 2004 06:11:05 +0000 (06:11 +0000)]
* config/arm/arm.h (REG_CLASS_NAMES): Add missing comma.

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

18 years ago2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
zack [Thu, 5 Feb 2004 05:24:18 +0000 (05:24 +0000)]
2004-02-04  Benjamin Kosnik  <bkoz@redhat.com>
    Zack Weinberg  <zack@codesourcery.com>

* config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
New function.
(__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
(__basic_file<char>::_M_open_mode): Delete.
* config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.

* testsuite/27_io/basic_filebuf/close/char/9964.cc
* testsuite/27_io/basic_filebuf/open/char/9507.cc:
Correct flags to filebuf::open calls.

* config/abi/alpha-freebsd5/baseline_symbols.txt
* config/abi/alpha-linux-gnu/baseline_symbols.txt
* config/abi/hppa-linux-gnu/baseline_symbols.txt
* config/abi/i386-freebsd4/baseline_symbols.txt
* config/abi/i386-freebsd5/baseline_symbols.txt
* config/abi/i486-linux-gnu/baseline_symbols.txt
* config/abi/ia64-linux-gnu/baseline_symbols.txt
* config/abi/mips-linux-gnu/baseline_symbols.txt
* config/abi/sparc-freebsd5/baseline_symbols.txt
* config/abi/sparc-linux-gnu/baseline_symbols.txt
* config/abi/x86_64-linux-gnu/baseline_symbols.txt:
Remove entry for __basic_file<char>::_M_open_mode.

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

18 years ago PR c++/13932
mmitchel [Thu, 5 Feb 2004 05:22:21 +0000 (05:22 +0000)]
PR c++/13932
* call.c (convert_like_real): Use "converting" rather than
"argument" as the descriptive keyword to
dubious_conversion_warnings.
* typeck.c (convert_for_assignment): Do not call
dubious_conversion_warnings.

PR c++/13932
* g++.dg/warn/conv2.C: New test.

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

18 years ago * lib/file-format.exp (gcc_target_object_format): Use
mmitchel [Thu, 5 Feb 2004 05:09:38 +0000 (05:09 +0000)]
* lib/file-format.exp (gcc_target_object_format): Use
${tool}_target_compile, not gcc_target_compile.
* lib/target-supports.exp (check_alias_available): Likewise.
(check_gc_sections_available): Likewise.
* g++.dg/ext/attrib10.C: Use dg-require-alias.
* g++.old-deja/g++.ext/attrib5.C: Use dg-require-weak and
dg-require-alias.

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

18 years ago * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
ljrittle [Thu, 5 Feb 2004 03:52:41 +0000 (03:52 +0000)]
* testsuite/performance/20_util/allocator/insert.cc (main): Tweak.

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

18 years ago PR c++/13086
giovannibajo [Thu, 5 Feb 2004 02:49:31 +0000 (02:49 +0000)]
PR c++/13086
* g++.dg/warn/incomplete1.C: Remove xfail.

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

18 years ago PR c++/13086
giovannibajo [Thu, 5 Feb 2004 02:48:31 +0000 (02:48 +0000)]
PR c++/13086
* init.c (build_delete): Emit a more informative error message in
case of an incomplete type, and on the correct source line.

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

18 years ago PR c++/9941
mmitchel [Thu, 5 Feb 2004 01:58:10 +0000 (01:58 +0000)]
PR c++/9941
* rtti.c (tinfo_base_init): Use import_export_tinfo to decide the
linkage for the typeinfo name string.

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

18 years ago2004-02-04 Felix Yen <fwy@alumni.brown.edu>
bkoz [Thu, 5 Feb 2004 01:33:07 +0000 (01:33 +0000)]
2004-02-04  Felix Yen  <fwy@alumni.brown.edu>

* testsuite/performance/20_util/producer_consumer.cc: New.
* testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.

2004-02-04  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/performance/20_util/allocator.cc: Move to..
* testsuite/performance/20_util/allocator/insert.cc: ...here.
* testsuite/performance/20_util/allocator_thread.cc: Move to...
* testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
* testsuite/performance/20_util/allocator_map_thread.cc: Move to...
* testsuite/performance/20_util/allocator/map_thread.cc: ...here.

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

18 years agoDaily bump.
gccadmin [Thu, 5 Feb 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago Partial merge from upstream:
geoffk [Wed, 4 Feb 2004 23:58:48 +0000 (23:58 +0000)]
Partial merge from upstream:
* ltmain.in: When setting IFS to '~', be careful about user
arguments that contain '~'.

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

18 years ago * reload.c (find_equiv_reg): When checking for register overlap,
geoffk [Wed, 4 Feb 2004 23:58:11 +0000 (23:58 +0000)]
* reload.c (find_equiv_reg): When checking for register overlap,
don't index hard_regno_nregs with a pseudo-reg.

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

18 years ago * config/s390/s390.c (s390_trampoline_template): Remove gen_rtx().
uweigand [Wed, 4 Feb 2004 23:46:29 +0000 (23:46 +0000)]
* config/s390/s390.c (s390_trampoline_template): Remove gen_rtx().

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

18 years ago * reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno,
dje [Wed, 4 Feb 2004 22:35:46 +0000 (22:35 +0000)]
* reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno,
against FIRST_PSEUDO_REGISTER.

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

18 years ago2004-02-02 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 4 Feb 2004 20:43:32 +0000 (20:43 +0000)]
2004-02-02  Graydon Hoare  <graydon@redhat.com>

* javax/swing/SwingUtilities.java: Many new functions.
* java/awt/Container.java (LightweightDispatcher): Reimplement.
* javax/swing/basic/BasicGraphicsUtils.java
(getPreferredButtonSize): Start layout from top-left corner.

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

18 years ago * Makefile.in: Move target, host overrides after per-language
ro [Wed, 4 Feb 2004 20:39:15 +0000 (20:39 +0000)]
* Makefile.in: Move target, host overrides after per-language
fragments.

* config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear.
(GNATLIBCFLAGS): Remove -g.

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

18 years ago * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
kazu [Wed, 4 Feb 2004 20:27:12 +0000 (20:27 +0000)]
* config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
config/ia64/ia64.c, config/ia64/unwind-ia64.c,
config/m32r/m32r.c, config/ns32k/ns32k.c, config/pa/pa.c,
config/pdp11/pdp11.c, config/rs6000/rs6000.c,
config/sparc/sparc.c, config/vax/vax.c: Revert the
replacements of "FALLTHRU" with "Fall through" done in the
previous patch.

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

18 years ago * config/darwin.c, config/darwin.h, config/freebsd-spec.h,
kazu [Wed, 4 Feb 2004 20:01:05 +0000 (20:01 +0000)]
* config/darwin.c, config/darwin.h, config/freebsd-spec.h,
config/arm/arm.c, config/arm/arm.md,
config/cris/cris-protos.h, config/fr30/fr30.c,
config/fr30/fr30.h, config/h8300/h8300.c, config/i386/i386.h,
config/i860/i860.c, config/i860/i860.h, config/ia64/ia64-c.c,
config/ia64/ia64.c, config/ia64/ia64.h, config/ip2k/ip2k.h,
config/ip2k/ip2k.md, config/ip2k/libgcc.S,
config/m32r/linux.h, config/m32r/m32r.c, config/m32r/m32r.h,
config/m68k/m68k.c, config/m68k/netbsd-elf.h,
config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.md,
config/ns32k/netbsd.h, config/ns32k/ns32k.c,
config/ns32k/ns32k.h, config/pdp11/pdp11.h,
config/rs6000/darwin-ldouble.c, config/s390/s390.h,
config/s390/s390.md, config/sparc/netbsd-elf.h,
config/sparc/openbsd.h, config/sparc/sparc.c,
config/xtensa/lib2funcs.S: Fix comment formatting.

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

18 years ago * config/alpha/alpha.c, config/arc/arc.c,
kazu [Wed, 4 Feb 2004 19:46:25 +0000 (19:46 +0000)]
* config/alpha/alpha.c, config/arc/arc.c,
config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h,
config/arm/arm1026ejs.md, config/arm/arm1136jfs.md,
config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c,
config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md,
config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
config/ia64/ia64.c, config/ia64/unwind-ia64.c,
config/iq2000/iq2000.c, config/m32r/m32r.c,
config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c,
config/rs6000/rs6000.h, config/sparc/sparc.c,
config/vax/vax.c: Fix comment typos.  Follow spelling
conventions.

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

18 years ago gcc/
kazu [Wed, 4 Feb 2004 19:15:30 +0000 (19:15 +0000)]
gcc/
* alloc-pool.h, c-convert.c, c-lang.c, c-tree.h,
caller-save.c, df.h, genconfig.c, global.c, lcm.c,
ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c,
sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md,
config/arm/fpa.md, config/arm/iwmmxt.md,
config/arm/netbsd-elf.h, config/arm/netbsd.h,
config/m68hc11/m68hc11.md, config/mips/iris5.h,
config/mn10300/mn10300.md, config/rs6000/altivec.md,
config/sparc/netbsd-elf.h: Update copyright.

cp/
* error.c, search.c: Update copyright.

java/
* typeck.c: Update copyright.

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

18 years ago * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
ebotcazou [Wed, 4 Feb 2004 19:02:16 +0000 (19:02 +0000)]
* config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
for all modes whose size is greater than 8 bytes if ARCH32.
(sparc_va_arg): Handle all modes whose size is greater than 8 bytes
by reference if ARCH32.

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

18 years ago * java/awt/geom/AffineTransform.java:
rodimina [Wed, 4 Feb 2004 18:43:54 +0000 (18:43 +0000)]
* java/awt/geom/AffineTransform.java:
Corrected comments on the field definitions for
m11 and m10.
(shear): Fixed few errors that caused shear
transformation to be performed incorrectly.
(createInverse): Fixed to return correct
inverse of the given matrix.

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

18 years ago PR c++/13969
mmitchel [Wed, 4 Feb 2004 18:35:18 +0000 (18:35 +0000)]
PR c++/13969
* g++.dg/template/static6.C: New test.

PR c++/13969
* cp-tree.h (fold_non_dependent_expr): New function.
* parser.c (cp_parser_fold_non_dependent_expr): Remove.
(cp_parser_template_argument): Use fold_non_dependent_expr.
(cp_parser_direct_declarator): Likewise.
* pt.c (fold_non_dependent_expr): New function.
(convert_nontype_argument): Use it.
(tsubst_qualified_id): Simplify.
(tsubst_copy_and_build): Likewise.

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

18 years ago2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
redi [Wed, 4 Feb 2004 17:45:18 +0000 (17:45 +0000)]
2004-02-04  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
* docs/html/faq/index.txt: Regenerate.

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

18 years ago * cgraphunit.c (cgraph_postorder): Fix typo in comment.
aldyh [Wed, 4 Feb 2004 17:38:22 +0000 (17:38 +0000)]
    * cgraphunit.c (cgraph_postorder): Fix typo in comment.

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

18 years ago2004-02-04 Dhruv Matani <dhruvbird@gmx.net>
bkoz [Wed, 4 Feb 2004 17:37:10 +0000 (17:37 +0000)]
2004-02-04  Dhruv Matani  <dhruvbird@gmx.net>

* include/ext/debug_allocator.h: _M_extra now stands for the
number of extra objects instead of the number of extra bytes.
(debug_allocator::allocate): Adjust.
(debug_allocator::deallocate): Adjust.

* include/ext/pool_allocator.h: Fix typo.

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

18 years ago * config/s390/s390.md ("*la_64" + peepholes, "reload_indi"): Move
uweigand [Wed, 4 Feb 2004 15:55:33 +0000 (15:55 +0000)]
* config/s390/s390.md ("*la_64" + peepholes, "reload_indi"): Move
to before adddi3 insn patterns.
("*la_31" + peepholes, "*la_31_and", "*la_31_and_cc", "force_la_31",
"reload_insi"): Move to before addsi3 insn patterns.

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

18 years ago * gcc.dg/arm-mmx-1.c: Don't look for ldmfd if -mthumb.
ian [Wed, 4 Feb 2004 13:43:43 +0000 (13:43 +0000)]
* gcc.dg/arm-mmx-1.c: Don't look for ldmfd if -mthumb.

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

18 years ago * objc.dg/encode-2.m, objc.dg/encode-3.m, objc.dg/encode-4.m: Fix
ghazi [Wed, 4 Feb 2004 13:40:25 +0000 (13:40 +0000)]
* objc.dg/encode-2.m, objc.dg/encode-3.m, objc.dg/encode-4.m: Fix
tests for systems where `char' is unsigned by default.

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

18 years ago * calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P
pbrook [Wed, 4 Feb 2004 12:22:42 +0000 (12:22 +0000)]
* calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P
parameter.  Use it instead of current_function_is_thunk.
* function.h (struct function): Update documentation for is_thunk.
* tree.h (CALL_FROM_THUNK_P): New macro.
* config/alpha/alpha.c (alpha_sa_mask): Do not check
no_new_pseudos when testing current_function_is_thunk.
* config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likeiwse.

* decl.c (cxx_push_function_context): Do not set
current_function_is_thunk.
* method.c (use_thunk): Set CALL_FROM_THUNK on the call to the
actual function.

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

18 years agoForgot the PR number.
giovannibajo [Wed, 4 Feb 2004 11:30:20 +0000 (11:30 +0000)]
Forgot the PR number.

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

18 years agoForgot the PR number for my last entry.
giovannibajo [Wed, 4 Feb 2004 11:29:57 +0000 (11:29 +0000)]
Forgot the PR number for my last entry.

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

18 years ago * g++.dg/template/partial3.C: New test.
giovannibajo [Wed, 4 Feb 2004 11:28:30 +0000 (11:28 +0000)]
* g++.dg/template/partial3.C: New test.

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

18 years ago * pt.c (more_specialized_class): Increase processing_template_decl
giovannibajo [Wed, 4 Feb 2004 11:26:26 +0000 (11:26 +0000)]
* pt.c (more_specialized_class): Increase processing_template_decl
while partial ordering.

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

18 years ago2004-02-04 Robert Dewar <dewar@gnat.com>
charlet [Wed, 4 Feb 2004 11:06:19 +0000 (11:06 +0000)]
2004-02-04  Robert Dewar  <dewar@gnat.com>

* 5gtasinf.adb, 5gtasinf.ads, 5gtaprop.adb, ali.adb,
ali.ads, gprcmd.adb: Minor reformatting

* bindgen.adb: Output restrictions string for new style restrictions
handling

* impunit.adb: Add s-rident.ads (System.Rident) and
s-restri (System.Restrictions)

* lib-writ.adb: Fix bug in writing restrictions string (last few
entries wrong)

* s-restri.ads, s-restri.adb: Change name Restrictions to
Run_Time_Restrictions to avoid conflict with package name.
Add circuit to read and acquire run time restrictions.

2004-02-04  Jose Ruiz  <ruiz@act-europe.fr>

* restrict.ads, restrict.adb: Use the new restriction
No_Task_Attributes_Package instead of the old No_Task_Attributes.

* sem_prag.adb: No_Task_Attributes is a synonym of
No_Task_Attributes_Package.

* snames.ads, snames.adb: New entry for proper handling of
No_Task_Attributes.

* s-rident.ads: Adding restriction No_Task_Attributes_Package
(AI-00249) that supersedes the GNAT specific restriction
No_Task_Attributes.

2004-02-04  Ed Schonberg  <schonberg@gnat.com>

* sem_prag.adb:
(Analyze_Pragma, case Warnings): In an inlined body, as in an instance
 body, an identifier may be wrapped in an unchecked conversion.

2004-02-04  Vincent Celier  <celier@gnat.com>

* lib-writ.ads: Comment update for the W lines

* bld.adb: (Expression): An empty string list is static

* fname-uf.adb: Minor comment update

* fname-uf.ads: (Get_File_Name): Document new parameter May_Fail

* gnatbind.adb: Initialize Cumulative_Restrictions with the
restrictions on the target.

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

18 years ago * doc/tm.texi: Replace SETUP_INCOMING_VARARGS with
kazu [Wed, 4 Feb 2004 06:32:51 +0000 (06:32 +0000)]
* doc/tm.texi: Replace SETUP_INCOMING_VARARGS with
TARGET_SETUP_INCOMING_VARARGS.

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

18 years ago2004-02-03 Felix Yen <fwy@alumni.brown.edu>
bkoz [Wed, 4 Feb 2004 06:21:21 +0000 (06:21 +0000)]
2004-02-03  Felix Yen  <fwy@alumni.brown.edu>
    Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/performance/20_util/allocator.cc: Add map,
deque, set tests.
* testsuite/performance/20_util/allocator_thread.cc: Same.

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

18 years ago * emit-rtl.c (gen_rtx): Remove.
kazu [Wed, 4 Feb 2004 06:12:54 +0000 (06:12 +0000)]
* emit-rtl.c (gen_rtx): Remove.
* genattrtab.c: Don't mention gen_rtx in a comment.
* rtl.h: Remove the prototype for gen_rtx.
* doc/md.texi: Replace gen_rtx with gen_rtx_REG.

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

18 years ago * config/arc/arc.h, config/fr30/fr30.h
kazu [Wed, 4 Feb 2004 06:07:39 +0000 (06:07 +0000)]
* config/arc/arc.h, config/fr30/fr30.h
(SETUP_INCOMING_VARARGS): Remove the target-independent
comments.
* doc/tm.texi: Don't mention deprecated target macros.

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

18 years ago * config/fr30/fr30.h (FUNCTION_VALUE): Remove the
kazu [Wed, 4 Feb 2004 05:53:20 +0000 (05:53 +0000)]
* config/fr30/fr30.h (FUNCTION_VALUE): Remove the
target-independent comment.

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

18 years ago * MAINTAINERS: Remove i960 port.
kazu [Wed, 4 Feb 2004 05:40:42 +0000 (05:40 +0000)]
* MAINTAINERS: Remove i960 port.

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

18 years ago * doc/interface.texi, doc/tm.texi, doc/trouble.texi: Don't
kazu [Wed, 4 Feb 2004 05:33:13 +0000 (05:33 +0000)]
* doc/interface.texi, doc/tm.texi, doc/trouble.texi: Don't
mention deprecated target macros.

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

18 years ago gcc/
kazu [Wed, 4 Feb 2004 05:13:43 +0000 (05:13 +0000)]
gcc/
* config.gcc: Remove obsolete ports and configurations.
* config/linux-aout.h, config/netware.h,
config/t-linux-gnulibc1, config/d30v/abi,
config/d30v/d30v-protos.h, config/d30v/d30v.c,
config/d30v/d30v.h, config/d30v/d30v.md,
config/d30v/libgcc1.asm, config/d30v/t-d30v,
config/dsp16xx/dsp16xx-modes.def,
config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md,
config/i370/README, config/i370/i370-c.c,
config/i370/i370-protos.h, config/i370/i370.c,
config/i370/i370.h, config/i370/i370.md, config/i370/linux.h,
config/i370/mvs.h, config/i370/oe.h, config/i370/t-i370,
config/i386/freebsd-aout.h, config/i386/linux-aout.h,
config/i386/moss.h, config/i386/netware.h,
config/i386/svr3.ifile, config/i386/svr3dbx.h,
config/i386/svr3gas.h, config/i386/svr3z.ifile,
config/i386/t-udk, config/i386/udk.h, config/i386/vsta.h,
config/i960/i960-c.c, config/i960/i960-coff.h,
config/i960/i960-modes.def, config/i960/i960-protos.h,
config/i960/i960.c, config/i960/i960.h, config/i960/i960.md,
config/i960/rtems.h, config/i960/t-960bare,
config/m68k/hp310.h, config/m68k/hp320.h,
config/m68k/hp320base.h, config/m68k/m68kv4.h,
config/m68k/netbsd.h, config/m68k/sgs.h, config/m68k/t-hp320:
Remove.
* doc/extend.texi, doc/install.texi, doc/invoke.texi,
doc/md.texi: Remove mentions of obsolete ports.

testsuite/
* gcc.dg/20020312-2.c, gcc.dg/builtin-inf-1.c,
gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c, gcc.dg/cpp/assert4.c:
Remove mentions of obsolete ports.

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

18 years agoDaily bump.
gccadmin [Wed, 4 Feb 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * java/lang/natPosixProcess.cc (startProcess): Handle case where
tromey [Wed, 4 Feb 2004 00:07:19 +0000 (00:07 +0000)]
* java/lang/natPosixProcess.cc (startProcess): Handle case where
PATH or LD_LIBRARY_PATH is not set in parent environment.

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

18 years ago * alias.c (find_base_term, get_addr): Do not dereference NULL
hubicka [Tue, 3 Feb 2004 23:53:48 +0000 (23:53 +0000)]
* alias.c (find_base_term, get_addr):  Do not dereference NULL
pointer when all VALUE's locations has been invalidated.
(rtx_equal_for_memref_p): Simplify checking of VALUEs.

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

18 years agoCommit for Wolfgang Bangerth:
steven [Tue, 3 Feb 2004 23:45:52 +0000 (23:45 +0000)]
Commit for  Wolfgang Bangerth:
* doc/invoke.texi (x86 options): Fix spelling/wording

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

18 years ago2004-02-04 Paolo Bonzini <bonzini@gnu.org>
geoffk [Tue, 3 Feb 2004 23:44:40 +0000 (23:44 +0000)]
2004-02-04  Paolo Bonzini  <bonzini@gnu.org>

* gcc.dg/noncompile/20001228-1.c: Fix for new
error message.

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

18 years ago2004-02-03 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 3 Feb 2004 23:34:52 +0000 (23:34 +0000)]
2004-02-03  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (insert(iterator)): Remove,
non-standard and already scheduled for removal.

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

18 years ago * config/mips/iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to
rsandifo [Tue, 3 Feb 2004 22:38:34 +0000 (22:38 +0000)]
* config/mips/iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to
put the original string in a comment.
* config/mips/mips-protos.h (mips_output_ascii): Add prefix argument.
* config/mips/mips.c (mips_output_ascii): Likewise.
* config/mips/mips.h (ASM_OUTPUT_ASCII): Adjust accordingly.

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

18 years ago * system.h (GIV_SORT_CRITERION): Poison.
kazu [Tue, 3 Feb 2004 22:14:48 +0000 (22:14 +0000)]
* system.h (GIV_SORT_CRITERION): Poison.
* config/avr/avr.h (GIV_SORT_CRITERION): Remove.
* config/ip2k/ip2k.h (GIV_SORT_CRITERION): Likewise.

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

18 years ago PR target/9348
sayle [Tue, 3 Feb 2004 21:31:00 +0000 (21:31 +0000)]
PR target/9348
* expr.c (expand_expr_real) <MULT_EXPR>:  When performing widening
multiplies with a multiplication of the wrong signedness, its the
signedness of the multiplication that we've performed that needs to
be passed to expand_mult_highpart_adjust.  Avoid emitting a nop-move
if expand_mult_highpart_adjust places the result in target.

* gcc.c-torture/execute/multdi-1.c: New test case.

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

18 years ago * varasm.c (const_desc_rtx_sym_eq): Compare symbol strings.
rth [Tue, 3 Feb 2004 21:24:39 +0000 (21:24 +0000)]
    * varasm.c (const_desc_rtx_sym_eq): Compare symbol strings.

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

18 years ago PR c++/13925
mmitchel [Tue, 3 Feb 2004 20:01:59 +0000 (20:01 +0000)]
PR c++/13925
* decl.c (start_function): Do not call pushdecl for any
instantiation or specialization of a primary template.

PR c++/13925
* g++.dg/template/lookup5.C: New test.

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

18 years ago PR c++/13950
mmitchel [Tue, 3 Feb 2004 20:00:47 +0000 (20:00 +0000)]
PR c++/13950
* parser.c (cp_parser_class_name): Robustify.

PR c++/13970
* parser.c (cp_parser_cache_group): Do not consume the EOF token.

PR c++/13950
* g++.dg/template/lookup4.C: New test.

PR c++/13970
* g++.dg/parse/error14.C: New test.

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

18 years ago * config.gcc (sh[234]l): Use little endian fragments.
amylaar [Tue, 3 Feb 2004 19:52:23 +0000 (19:52 +0000)]
* config.gcc (sh[234]l): Use little endian fragments.

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

18 years ago PR c++/14002
mmitchel [Tue, 3 Feb 2004 17:59:58 +0000 (17:59 +0000)]
PR c++/14002
* semantics.c (finish_id_expression): Do not return an
IDENTIFIER_NODE when lookup finds a PARM_DECL.

PR c++/14002
* g++.dg/parse/template13.C: New test.

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

18 years ago2004-02-03 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 3 Feb 2004 17:59:05 +0000 (17:59 +0000)]
2004-02-03  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_iterator_base_funcs.h: Minor formatting
and indentation tweaks.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_tempbuf.h: Likewise.

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

18 years ago* config/pdp11/pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.
pkoning [Tue, 3 Feb 2004 17:36:02 +0000 (17:36 +0000)]
* config/pdp11/pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.
* config/pdp11/pdp11-protos.h (legitimate_const_double_p): Add.
* config/pdp11/pdp11.c (encode_pdp11_f, decode_pdp11_f,
encode_pdp11_d, decode_pdp11_d): New functions to handle PDP11
floating point format.
(pdp11_f_format, pdp11_d_format): New real_format descriptors for
the above functions.
(output_move_quad): Output float values in correct target format.
(legitimate_const_double_p): New function.
* config/pdp11/pdp11.h: Fix typos.
(FLOAT_WORDS_BIG_ENDIAN): Add definition.
(TARGET_FLOAT_FORMAT): Ditto.
(pdp11_f_format, pdp11_d_format): Add external declarations.
(MAX_REGS_PER_ADDRESS): Corrected.
(LEGITIMATE_CONSTANT_P): Use legitimate_const_double_p().
(PRINT_OPERAND): Output float literals in target format.

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

18 years ago2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Tue, 3 Feb 2004 17:10:56 +0000 (17:10 +0000)]
2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkListPeer.java,
java/awt/BorderLayout.java, java/awt/CardLayout.java,
java/awt/CheckboxGroup.java, java/awt/Choice.java,
java/awt/Component.java, java/awt/Container.java,
java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
java/awt/LayoutManager2.java, java/awt/List.java,
java/awt/Menu.java, java/awt/MenuBar.java,
java/awt/MenuItem.java, java/awt/Polygon.java,
java/awt/Rectangle.java, java/awt/ScrollPane.java,
java/awt/Scrollbar.java, java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/image/renderable/RenderContext.java,
javax/swing/JApplet.java: Fix handling of alias methods, where a
method has been deprecated in favour of a new one with the same
funtion but a different name.  Put the method implementation in
the deprecated method and have the new method call the
deprecated one.  Make all other code call the new method.

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

18 years ago PR c++/13975
mmitchel [Tue, 3 Feb 2004 16:53:27 +0000 (16:53 +0000)]
PR c++/13975
* tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and
TI_PRIVATE.
(access_public_node): Redefine.
(access_protected_node): Likewise.
(access_private_node): Likewise.
* tree.c (build_common_tree_nodes): Create access_public_node,
access_protected_node, and access_private_node.

PR c++/13978
* pt.c (build_non_dependent_expr): Do not build
NON_DEPENDENT_EXPRs for FUNCTION_DECLs or TEMPLATE_DECLs.

PR c++/13968
* semantics.c (finish_id_expression): Do not return an
IDENTIFIER_NODE when lookup finds a VAR_DECL.

PR c++/13975
* parser.c (cp_parser_simple_declaration): When skipping to the
end of the statement swallow the terminating semicolon.

PR c++/13978
* g++.dg/template/koenig4.C: New test.

PR c++/13968
* g++.dg/template/crash17.C: New test.

PR c++/13975
* g++.dg/parse/error13.C: New test.
* g++.old-deja/g++.robertl/eb125.C: Tweak error messages.

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

18 years ago * config/ia64/ia64.h (MASK_INLINE_INT_DIV_LAT): Change value.
sje [Tue, 3 Feb 2004 16:39:42 +0000 (16:39 +0000)]
* config/ia64/ia64.h (MASK_INLINE_INT_DIV_LAT): Change value.
(MASK_INLINE_INT_DIV_THR): Ditto.
(MASK_INLINE_SQRT_LAT): Ditto.
(MASK_INLINE_SQRT_THR): Ditto.
(MASK_DWARF2_ASM): Ditto.
(MASK_EARLY_STOP_BITS): Ditto.

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

18 years ago * gnu/java/nio/DatagramChannelImpl.java
membar [Tue, 3 Feb 2004 16:07:24 +0000 (16:07 +0000)]
* gnu/java/nio/DatagramChannelImpl.java
(inChannelOperation): New field.
(isInChannelOperation): New accessor.
(setInChannelOperation): New modifier.
(receive): Use capacity() - position() of destination
buffer instead of remaining(). Set and reset our "in
channel operation indicator" before and after delegating
the receive to our datagram socket. Removed testing code.
Update destination buffer's current position if it is
backed by a byte array (hasArray() is true).
(send): Set and reset our "in channel operation indicator"
before and after delegating the send to our datagram socket.
Removed testing code. Update source buffer's current position
if it is backed by a byte array (hasArray() is true).
* gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
Use capacity() - position() of destination buffer instead
of remaining().
* java/net/DatagramSocket.java (receive): Don't throw an
IllegalBlockingModeException if we have a non-blocking
channel which initiated this operation.
(send): Likewise.

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

18 years ago Merge from csl-arm-branch.
pbrook [Tue, 3 Feb 2004 14:45:44 +0000 (14:45 +0000)]
Merge from csl-arm-branch.

2004-01-30  Paul Brook  <paul@codesourcery.com>

* aof.h (REGISTER_NAMES): Add vfp reg names
(ADDITIONAL_REGISTER_NAMES): Ditto.
* aout.h (REGISTER_NAMES): Ditto.
(ADDITIONAL_REGISTER_NAMES): Ditto.
* arm-protos.h: Update/Add Prototypes.
* arm.c (init_fp_table): Rename from init_fpa_table. Update users.
Only allow 0.0 for VFP.
(fp_consts_inited): Rename from fpa_consts_inited.  Update users.
(values_fp): Rename from values_fpa.  Update Users.
(arm_const_double_rtx): Rename from const_double_rtx_ok_for_fpa.
Update users.  Only check valid constants for this hardware.
(arm_float_rhs_operand): Rename from fpa_rhs_operand.  Update Users.
Only allow consts for FPA.
(arm_float_add_operand): Rename from fpa_add_operand.  Update users.
Only allow consts for FPA.
(use_return_insn): Check for saved VFP regs.
(arm_legitimate_address_p): Handle VFP DFmode addressing.
(arm_legitimize_address): Ditto.
(arm_general_register_operand): New function.
(vfp_mem_operand): New function.
(vfp_compare_operand): New function.
(vfp_secondary_reload_class): New function.
(arm_float_compare_operand): New function.
(vfp_print_multi): New function.
(vfp_output_fstmx): New function.
(vfp_emit_fstm): New function.
(arm_output_epilogue): Output VPF reg restore code.
(arm_expand_prologue): Output VFP reg save code.
(arm_print_operand): Add 'P'.
(arm_hard_regno_mode_ok): Return modes for VFP regs.
(arm_regno_class): Return classes for VFP regs.
(arm_compute_initial_elimination_offset): Include space for VFP regs.
(arm_get_frame_size): Ditto.
* arm.h (FIXED_REGISTERS): Add VFP regs.
(CALL_USED_REGISTERS): Ditto.
(CONDITIONAL_REGISTER_USAGE): Enable VFP regs.
(FIRST_VFP_REGNUM): Define.
(LAST_VFP_REGNUM): Define.
(IS_VFP_REGNUM): Define.
(FIRST_PSEUDO_REGISTER): Include VFP regs.
(HARD_REGNO_NREGS): Handle VFP regs.
(REG_ALLOC_ORDER): Add VFP regs.
(enum reg_class): Add VFP_REGS.
(REG_CLASS_NAMES): Ditto.
(REG_CLASS_CONTENTS): Ditto.
(CANNOT_CHANGE_MODE_CLASS) Handle VFP Regs.
(REG_CLASS_FROM_LETTER): Add 'w'.
(EXTRA_CONSTRAINT_ARM): Add 'U'.
(EXTRA_MEMORY_CONSTRAINT): Define.
(SECONDARY_OUTPUT_RELOAD_CLASS): Handle VFP regs.
(SECONDARY_INPUT_RELOAD_CLASS): Ditto.
(REGISTER_MOVE_COST): Ditto.
(PREDICATE_CODES): Add arm_general_register_operand,
arm_float_compare_operand and vfp_compare_operand.
* arm.md (various): Rename as above.
(divsf3): Enable when TARGET_VFP.
(divdf3): Ditto.
(movdfcc): Ditto.
(sqrtsf2): Ditto.
(sqrtdf2): Ditto.
(arm_movdi): Disable when TARGET_VFP.
(arm_movsi_insn): Ditto.
(movsi): Only split with general regs.
(cmpsf): Use arm_float_compare_operand.
(push_fp_multi): Restrict to TARGET_FPA.
(vfp.md): Include.
* vfp.md: New file.
* fpa.md (various): Rename as above.
* doc/md.texi: Document ARM w and U constraints.

2004-01-15  Paul Brook  <paul@codesourcery.com>

* config.gcc: Add with_fpu.  Allow with-float=softfp.
* config/arm/arm.c (arm_override_options): Rename *-s to *s.
Break out of loop when we find a float-abi.  Fix typo.
* config/arm/arm.h (OPTION_DEFAULT_SPECS): Add "fpu".
Set -mfloat-abi=.
* doc/install.texi: Document --with-fpu.

2003-01-14  Paul Brook  <paul@codesourcery.com>

* config.gcc (with_arch): Add armv6.
* config/arm/arm.h: Rename TARGET_CPU_*_s to TARGET_CPU_*s.
* config/arm/arm.c (arm_overrride_options): Ditto.

2004-01-08  Richard Earnshaw  <rearnsha@arm.com>

* arm.c (FL_ARCH3M): Renamed from FL_FAST_MULT.
(FL_ARCH6): Renamed from FL_ARCH6J.
(arm_arch3m): Renamed from arm_fast_multiply.
(arm_arch6): Renamed from arm_arch6j.
* arm.h: Update all uses of above.
* arm-cores.def: Likewise.
* arm.md: Likewise.

* arm.h (CPP_CPU_ARCH_SPEC): Emit __ARM_ARCH_6J__ define for armV6j,
not arm6j.  Add entry for arch armv6.

2004-01-07  Richard Earnshaw  <rearnsha@arm.com>

* arm.c (arm_emit_extendsi): Delete.
* arm-protos.h (arm_emit_extendsi): Delete.
* arm.md (zero_extendhisi2): Also handle zero-extension of
non-subregs.
(zero_extendqisi2, extendhisi2, extendqisi2): Likewise.
(thumb_zero_extendhisi2): Only match if not v6.
(arm_zero_extendhisi2, thumb_zero_extendqisi2, arm_zero_extendqisi2)
(thumb_extendhisi2, arm_extendhisi2, arm_extendqisi)
(thumb_extendqisi2): Likewise.
(thumb_zero_extendhisi2_v6, arm_zero_extendhisi2_v6): New patterns.
(thumb_zero_extendqisi2_v6, arm_zero_extendqisi2_v6): New patterns.
(thumb_extendhisi2_insn_v6, arm_extendhisi2_v6): New patterns.
(thumb_extendqisi2_v6, arm_extendqisi_v6): New patterns.
(arm_zero_extendhisi2_reg, arm_zero_extendqisi2_reg): Delete.
(arm_extendhisi2_reg, arm_extendqisi2_reg): Delete.
(arm_zero_extendhisi2addsi): Remove subreg.  Add attributes.
(arm_zero_extendqisi2addsi, arm_extendhisi2addsi): Likewise.
(arm_extendqisi2addsi): Likewise.

2003-12-31  Mark Mitchell  <mark@codesourcery.com>

Revert this change:
* config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
+ REG addressing modes.

* config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
+ REG addressing modes.

2003-12-30  Mark Mitchell  <mark@codesourcery.com>

* config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept
CONSTANT_P_RTX.

2003-30-12  Paul Brook  <paul@codesourcery.com>

* longlong.h: protect arm inlines with !defined (__thumb__)

2003-30-12  Paul Brook  <paul@codesourcery.com>

* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Always define __arm__.

2003-12-30  Nathan Sidwell  <nathan@codesourcery.com>

* builtins.c (expand_builtin_apply_args_1): Fix typo in previous
change.

2003-12-29  Nathan Sidwell  <nathan@codesourcery.com>

* builtins.c (expand_builtin_apply_args_1): Add pretend args size
to the virtual incoming args pointer for downward stacks.

2003-12-29  Paul Brook  <paul@codesourcery.com>

* config/arm/arm-cores.def: Add cost function.
* config/arm/arm.c (arm_*_rtx_costs): New functions.
(arm_rtx_costs): Remove
(struct processors): Add rtx_costs field.
(all_cores, all_architectures): Ditto.
(arm_override_options): Set targetm.rtx_costs.
(thumb_rtx_costs): New function.
(arm_rtx_costs_1): Remove cases handled elsewhere.
* config/arm/arm.h (processor_type): Add COSTS parameter.

2003-12-29  Nathan Sidwell  <nathan@codesourcery.com>

* config/arm/arm.md (generic_sched): arm926 has its own scheduler.
(arm926ejs.md): Include it.
* config/arm/arm926ejs.md: New pipeline description.

2003-12-24  Paul Brook  <paul@codesourcery.com>

* config/arm/arm.c (arm_arch6j): New variable.
(arm_override_options): Set it.
(arm_emit_extendsi): New function.
* config/arm/arm-protos.h (arm_emit_extendsi): Add prototype.
* config/arm/arm.h (arm_arch6j): Declare.
* config/arm/arm.md: Add sign/zero extend insns.

2003-12-23  Paul Brook  <paul@codesourcery.com>

* config/arm/arm.c (all_architectures): Add armv6.
* doc/invoke.texi: Document it.

2003-12-19  Paul Brook  <paul@codesourcery.com>

* config/arm/arm.md: Add load1 and load_byte "type" attrs.  Modify
insn patterns to match.
* config/arm/arm-generic.md: Ditto.
* config/arm/cirrus.md: Ditto.
* config/arm/fpa.md: Ditto.
* config/amm/iwmmxt.md: Ditto.
* config/arm/arm1026ejs.md: Ditto.
* config/arm/arm1135jfs.md: Ditto.  Add insn_reservation and bypasses
for 11_loadb.

2003-12-18  Nathan Sidwell  <nathan@codesourcery.com>

* config/arm/arm-protos.h (arm_no_early_alu_shift_value_dep): Declare.
* config/arm/arm.c (arm_adjust_cost): Check shift cost for
TYPE_ALU_SHIFT and TYPE_ALU_SHIFT_REG.
(arm_no_early_store_addr_dep, arm_no_early_alu_shift_dep,
arm_no_early_mul_dep): Correctly deal with conditional execution,
parallels and single shift operations.
(arm_no_early_alu_shift_value_dep): Define.
* arm.md (attr type): Replace 'normal' with 'alu',
'alu_shift' and 'alu_shift_reg'.
(attr core_cycles): Adjust.
(*addsi3_carryin_shift, andsi_not_shiftsi_si, *arm_shiftsi3,
*shiftsi3_compare0, *notsi_shiftsi, *notsi_shiftsi_compare0,
*not_shiftsi_compare0_scratch, *cmpsi_shiftsi, *cmpsi_shiftsi_swp,
*cmpsi_neg_shiftsi, *arith_shiftsi, *arith_shiftsi_compare0,
*arith_shiftsi_compare0_scratch, *sub_shiftsi,
*sub_shiftsi_compare0, *sub_shiftsi_compare0_scratch,
*if_shift_move, *if_move_shift, *if_shift_shift): Set type
attribute appropriately.
* config/arm/arm1026ejs.md (alu_op): Adjust.
(alu_shift_op, alu_shift_reg_op): New.
* config/arm/arm1136.md: Add better bypasses for early
registers. Remove load[234] and store[234] bypasses.
(11_alu_op): Adjust.
(11_alu_shift_op, 11_alu_shift_reg_op): New.

2003-12-15  Nathan Sidwell  <nathan@codesourcery.com>

* config/arm/arm-protos.h (arm_no_early_store_addr_dep,
arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Declare.
* config/arm/arm.c (arm_no_early_store_addr_dep,
arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Define.
* config/arm/arm1026ejs.md: Add load-store bypass.
* config/arm/arm1136jfs.md (11_alu_op): Take 2 cycles.
Add bypasses between instructions.

2003-12-10  Paul Brook  <paul@codesourcery.com>

* config/arm/arm.c (arm_fpu_model): New variable.
(arm_fload_abi): New variable.
(target_fpe_name): Rename from target_fp_name.
(target_fpu_name): New variable.
(arm_is_cirrus): Remove.
(fpu_desc): New struct.
(all_fpus): Define.
(pf_model_for_fpu): Define.
(all_loat_abis): Define.
(arm_override_options): Set fp arch flags based on -mfpu=
and -float-abi=.
(FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
(LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
(*): Use new TARGET_* flags.
* config/arm/arm.h (TARGET_ANY_HARD_FLOAT): Remove.
(TARGET_HARD_FLOAT): No longer implies TARGET_FPA.
(TARGET_SOFT_FLOAT): Ditto.
(TARGET_SOFT_FLOAT_ABI): New.
(TARGET_MAVERICK): Rename from TARGET_CIRRUS.  No longer implies
TARGET_HARD_FLOAT.
(TARGET_VFP): No longer implies TARGET_HARD_FLOAT.
(TARGET_OPTIONS): Add -mfpu=.
(FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
(LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
(arm_pf_model): Define.
(arm_float_abi_type): Define.
(fputype): Add FPUTYPE_VFP.  Change SOFT_FPA->NONE
* config/arm/arm.md: Use new TARGET_* flags.
* config/arm/cirrus.md: Ditto.
* config/arm/fpa.md: Ditto.
* config/arm/elf.h (ASM_SPEC): Pass -mfloat-abi= and -mfpu=.
* config/arm/semi.h (ASM_SPEC): Ditto.
* config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Specify vfp.
(FPUTYPE_DEFAULT): Set to VFP.
* doc/invoke.texi: Document -mfpu= and -mfloat-abi=.

2003-11-22  Phil Edwards  <phil@codesourcery.com>

PR target/12476
* config/arm/arm.c (arm_output_mi_thunk):  In Thumb mode, use
'bx' instead of 'b' to avoid branch range restrictions.  Output
the thunk immediately before the thunked-to function.
* config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME):  Do not emit
.thumb_func if a thunk is being generated.  Emit .code 16 along
with .thumb_func if a thunk is not being generated.

2003-11-15  Nicolas Pitre <nico@cam.org>

* config/arm/arm.md (ashldi3, arm_ashldi3_1bit, ashrdi3,
arm_ashrdi3_1bit, lshrdi3, arm_lshrdi3_1bit): New patterns.
* config/arm/iwmmxt.md (ashrdi3_iwmmxt): Renamed from ashrdi3.
(lshrdi3_iwmmxt): Renamed from lshrdi3.
* config/arm/arm.c (IWMMXT_BUILTIN2): Renamed argument accordingly.

2003-11-12  Steve Woodford  <scw@wasabisystems.com>
    Ian Lance Taylor  <ian@wasabisystems.com>

* config/arm/lib1funcs.asm (ARM_DIV_BODY, ARM_MOD_BODY): Add new
code for __ARM_ARCH__ >= 5 && ! defined (__OPTIMIZE_SIZE__).

2003-11-05  Phil Edwards  <phil@codesourcery.com>

* config/arm/arm.md (insn):  Add new V6 instruction names.
(generic_sched):  New attr.
* config/arm/arm-generic.md:  Use generic_sched here.
* config/arm/arm1026ejs.md:  Do not model fetch/issue/decode
stages of pipeline.  Adjust latency counts accordingly.
* config/arm/arm1136jfs.md:  New file.

2003-10-28  Mark Mitchell  <mark@codesourcery.com>

* config/arm/arm.h (processor_type): New enumeration type.
(CPP_ARCH_DEFAULT_SPEC): Set appropriately for ARM 926EJ-S,
ARM1026EJ-S, ARM1136J-S, and ARM1136JF-S processor cores.
(CPP_CPU_ARCH_SPEC): Likewise.
* config/arm/arm.c (arm_tune): New variable.
(all_cores): Use cores.def.
(all_architectures): Add representative processor.
(arm_override_options): Restructure way in which tuning
information is deduced.
* arm.md: Update "insn" and "type" attributes throughout.
(insn): New attribute.
(type): Compute "mult" from "insn" attribute.  Add load2,
load3, load4 alternatives.
(arm automaton): Move to arm-generic.md.
* config/arm/arm-cores.def: New file.
* config/arm/arm-generic.md: Likewise.
* config/arm/arm1026ejs.md: Likewise.

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

18 years ago2004-02-03 Paolo Bonzini <bonzini@gnu.org>
paolo [Tue, 3 Feb 2004 13:38:28 +0000 (13:38 +0000)]
2004-02-03  Paolo Bonzini  <bonzini@gnu.org>

Fix mistaken names in the last commit.
* gcc.dg/noncompile/20040203-1.cc: Rename to 20040203-1.c
* gcc.dg/noncompile/20040203-2.cc: Rename to 20040203-2.c
* gcc.dg/noncompile/20040203-3.cc: Rename to 20040203-3.c

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

18 years ago * doc/invoke.texi (SPARC options): Remove -mflat and
ebotcazou [Tue, 3 Feb 2004 12:36:23 +0000 (12:36 +0000)]
* doc/invoke.texi (SPARC options): Remove -mflat and
all -mxxx (xxx:chip) options.
* config/sparc/aout.h (DBX_REGISTER_NUMBER): Delete.
* config/sparc/litecoff.h (DBX_REGISTER_NUMBER): Likewise.
* config/sparc/netbsd-elf.h (DBX_REGISTER_NUMBER): Likewise.
* config/sparc/sol2.h (DBX_REGISTER_NUMBER): Likewise.
* config/sparc/sparc-protos.h: Delete sparc_flat_* prototypes.
* config/sparc/sparc.c: Likewise.
(sparc_output_function_prologue): Remove TARGET_FLAT handling.
(sparc_nonflat_function_prologue): Rename into sparc_function_prologue.
(sparc_output_function_epilogue): Remove TARGET_FLAT handling.
(sparc_nonflat_function_epilogue): Rename into sparc_function_epilogue.
(struct sparc_frame_info, current_frame_info, zero_frame_info): Delete.
(sparc_flat_must_save_register_p): Likewise.
(sparc_flat_compute_frame_size): Likewise.
(sparc_flat_save_restore): Likewise.
(sparc_flat_function_prologue): Likewise.
(sparc_flat_function_epilogue): Likewise.
(sparc_flat_epilogue_delay_slots): Likewise.
(sparc_flat_eligible_for_epilogue_delay): Likewise.
(sparc_function_ok_for_sibcall): Remove TARGET_FLAT handling.
* config/sparc/sparc.h (MASK_FLAT, TARGET_FLAT): Delete.
(TARGET_SWITCHES): Remove -mflat and all -mxxx (xxx:chip) options.
(SPARC_INCOMING_INT_ARG_FIRST): Remove TARGET_FLAT handling.
(CONDITIONAL_REGISTER_USAGE): Likewise.
(FRAME_POINTER_REQUIRED): Likewise.
(INITIAL_ELIMINATION_OFFSET): Likewise.
(BASE_RETURN_VALUE_REG): Likewise.
(BASE_OUTGOING_VALUE_REG): Likewise.
(BASE_PASSING_ARG_REG): Likewise.
(BASE_INCOMING_ARG_REG): Likewise.
(INCOMING_REGNO): Likewise.
(OUTGOING_REGNO): Likewise.
(LOCAL_REGNO): Likewise.
(DELAY_SLOTS_FOR_EPILOGUE): Likewise.
(ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.
(EPILOGUE_USES): Likewise.
* config/sparc/sparc.md ("isa" attribute): Change "v6" into "v7".
("flat" attribute): Delete.
(do_builtin_setjmp_setup): Remove TARGET_FLAT and "flat" attribute
handling.
(call followed by jump define_peephole's): Delete.
(exception_receiver): Likewise.
(builtin_setjmp_receiver): Likewise.
* config/sparc/t-sparclite (MULTILIB_OPTIONS): Remove -mflat.

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

18 years ago2004-02-03 Paolo Bonzini <bonzini@gnu.org>
paolo [Tue, 3 Feb 2004 11:22:41 +0000 (11:22 +0000)]
2004-02-03  Paolo Bonzini  <bonzini@gnu.org>

PR c/11658
PR c/13994
* Makefile.in (c-parse.o, c-convert.o, c-typeck.o): Depend
on langhooks.h.
* objc/Make-lang.in (objc-parse.o): Depend on langhooks.h.
* c-parse.in, c-convert.c, c-typeck.c, objc/objc-act.c:
Include langhooks.h.  Replace c_common_truthvalue_conversion
with the truthvalue_conversion language hook throughout.
(expr_no_commas): Call default_conversion before save_expr
for the first term of the production 'x ? : y'.
* c-common.c (c_common_truthvalue_conversion): Remove
obsolete block.  Invoke recursively the hook instead
of this function.
* c-convert.c (convert): handle ERROR_MARK_NODE.
* c-typeck.c (build_binary_op): handle ERROR_MARK_NODE
returned by the truthvalue_conversion language hook.
* c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use
c_objc_common_truthvalue_conversion.
* c-objc-common.c (c_objc_common_truthvalue_conversion):
New function.
* c-tree.h (c_objc_common_truthvalue_conversion): Declare it.
* objc/objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use
c_objc_common_truthvalue_conversion.

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

18 years ago2004-02-03 Paolo Bonzini <bonzini@gnu.org>
paolo [Tue, 3 Feb 2004 11:21:01 +0000 (11:21 +0000)]
2004-02-03  Paolo Bonzini  <bonzini@gnu.org>

PR c/11658
PR c/13994
* gcc.dg/noncompile/20040203-1.c: New test.
* gcc.dg/noncompile/20040203-2.c: Likewise.
* gcc.dg/noncompile/20040203-3.c: Likewise.
* gcc.dg/20040203-1.c: Likewise.

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

18 years ago2004-02-02 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 3 Feb 2004 07:27:37 +0000 (07:27 +0000)]
2004-02-02  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/10858
        * g++.dg/template/sizeof7.C: New test.

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

18 years ago * config/c4x/c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead
kazu [Tue, 3 Feb 2004 07:08:29 +0000 (07:08 +0000)]
* config/c4x/c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead
of gen_rtx.
(LIBCALL_VALUE): Likewise.
* config/ip2k/ip2k.c (mdr_try_propagate_clr_sequence): Use
gen_rtx_CC0 instead of gen_rtx.
* config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use
gen_rtx_fmt_e and gen_rtx_fmt_ee instead of gen_rtx.
(m68hc11_expand_compare): Use gen_rtx_fmt_ee instead of
gen_rtx.
(m68hc11_emit_logical): Likewise.

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

18 years ago * config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c,
kazu [Tue, 3 Feb 2004 06:43:59 +0000 (06:43 +0000)]
* config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c,
config/fr30/fr30.md, config/frv/frv.c, config/frv/frv.md,
config/h8300/h8300.c, config/ia64/ia64.c, config/ip2k/ip2k.md,
config/m32r/m32r.md, config/m68hc11/m68hc11.c,
config/mips/mips.md, config/mmix/mmix.c,
config/mn10300/mn10300.c, config/mn10300/mn10300.md,
config/ns32k/ns32k.c, config/pa/pa.md, config/pdp11/pdp11.c,
config/rs6000/altivec.md, config/s390/s390.c,
config/s390/s390.h, config/s390/s390.md, config/sh/sh.c,
config/sh/sh.h, config/sh/sh.md, config/stormy16/stormy16.c:
Use const0_rtx instead of GEN_INT (0).  Do the same for other
constants that are readily available.

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

18 years ago * doloop.c, optabs.c, regmove.c, sched-deps.c,
kazu [Tue, 3 Feb 2004 05:39:57 +0000 (05:39 +0000)]
* doloop.c, optabs.c, regmove.c, sched-deps.c,
config/i386/i386.c, config/i386/i386.md: Use const0_rtx
instead of GEN_INT (0).  Do the same for other constants that
are readily available.

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

18 years ago gcc/
kazu [Tue, 3 Feb 2004 05:15:46 +0000 (05:15 +0000)]
gcc/
* combine.c (simplify_set): Use gen_rtx_fmt_e instead of
gen_rtx.
* emit-rtl.c (init_emit_once): Use gen_rtx_PC and gen_rtx_CC0
instead of gen_rtx.
* reload1.c (init_elim_table): Use gen_rtx_fmt_e instead of
gen_rtx.
* config/ns32k/ns32k.md (udivmodhi4): Use gen_rtx_IOR and
gen_rtx_ASHIFT instead of gen_rtx.
(udivmodqi4): Likewise.

ada/
* ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of
gen_rtx.

f/
* com.c (ffecom_member_phase2_): Use gen_rtx_MEM instead of
gen_rtx.

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

18 years ago PR target/13789
rth [Tue, 3 Feb 2004 04:37:29 +0000 (04:37 +0000)]
    PR target/13789
        * expr.c (store_expr): Use force_operand before emit_move_insn.

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

18 years ago2004-02-02 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Tue, 3 Feb 2004 04:01:15 +0000 (04:01 +0000)]
2004-02-02  Jerry Quinn  <jlquinn@optonline.net>

* include/bits/gslice.h, include/bits/gslice_array.h,
include/bits/indirect_array.h, include/bits/mask_array.h,
include/bits/slice_array.h, include/bits/stl_numeric.h,
include/std/std_valarray.h:  Update copyright years.

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

18 years ago2004-02-02 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Tue, 3 Feb 2004 03:33:24 +0000 (03:33 +0000)]
2004-02-02  Jerry Quinn  <jlquinn@optonline.net>

* include/bits/gslice.h (gslice):  Document.
* include/bits/gslice_array.h (gslice_array):  Document.
* include/bits/indirect_array (indirect_array):  Document.
* include/bits/mask_array (mask_array):  Document.
* include/bits/slice_array.h (slice,slice_array):  Document.
* include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
adjacent_difference):  Document
* include/std/std_valarray.h (valarray):  Document.

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

18 years ago * tree.c (commutative_tree_code, associative_tree_code): New
sayle [Tue, 3 Feb 2004 03:03:43 +0000 (03:03 +0000)]
* tree.c (commutative_tree_code, associative_tree_code): New
functions.
(iterative_hash_expr): Use commutative_tree_code.
* tree.h (commutative_tree_code, associative_tree_code): Declare.
* fold-const.c (operand_equal_p): Use commutative_tree_code
rather than inlining the commutativity check.
(fold): Likewise.

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

18 years ago * decl.c (java_init_decl_processing): Remove duplicate
tromey [Tue, 3 Feb 2004 02:56:20 +0000 (02:56 +0000)]
* decl.c (java_init_decl_processing): Remove duplicate
gnu/gcj/RawData.

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