OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years agoPatch from Gunther Nikl.
wilson [Sat, 28 Jun 2003 00:02:30 +0000 (00:02 +0000)]
Patch from Gunther Nikl.
* unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.

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

20 years ago PR c++/10468
mmitchel [Fri, 27 Jun 2003 22:46:47 +0000 (22:46 +0000)]
PR c++/10468
* pt.c (tsubst): Handle qualified TYPEOF_TYPEs correctly.

PR c++/10468
* g++.dg/ext/typeof5.C: New test.

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

20 years ago2003-06-27 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 27 Jun 2003 22:43:38 +0000 (22:43 +0000)]
2003-06-27  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (mips_build_va_list): Make padding in
        va_list structure explicit to avoid -Wpadded warnings.

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

20 years ago PR c++/10796
mmitchel [Fri, 27 Jun 2003 21:21:08 +0000 (21:21 +0000)]
PR c++/10796
* decl.c (finish_enum): Implement DR377.

* decl.c (cp_finish_decl): Don't make variables with reference
type readonly while they are being initialized.

PR c++/10796
* g++.dg/init/enum1.C: New test.

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

20 years agogcc/ChangeLog:
uweigand [Fri, 27 Jun 2003 21:10:17 +0000 (21:10 +0000)]
gcc/ChangeLog:

* config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
* config/s390/s390.c (s390_secondary_output_reload_class): New function.
* config/s390/s390-protos.h (s390_secondary_output_reload_class):
Declare it.
* config/s390/s390.md ("reload_outti", "reload_outdi",
"reload_outdf"): New expanders.

* config/s390/s390.md ("movti" + splitters): Handle non-offsettable
memory operands as source.
("movdi" + splitters): Likewise.
("movdf" + splitters): Likewise.
* config/s390/s390.c (s390_split_ok_p): New function.
* config/s390/s390-protos.h (s390_split_ok_p): Declare it.

gcc/testsuite/ChangeLog:

* gcc.dg/20030627-1.c: New test.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 21:00:16 +0000 (21:00 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/beans/beancontext/BeanContextSupport.java:
New version from classpath.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 20:53:01 +0000 (20:53 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/awt/Window.java,
java/awt/font/GraphicAttribute.java,
java/awt/font/ImageGraphicAttribute.java,
java/awt/image/DataBufferByte.java,
java/awt/image/DataBufferInt.java,
java/awt/image/DataBufferUShort.java,
java/awt/image/DirectColorModel.java,
java/awt/image/PixelGrabber.java:
New versions from classpath.

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

20 years ago * combine.c (force_to_mode): Replace the equality comparison
kazu [Fri, 27 Jun 2003 19:42:24 +0000 (19:42 +0000)]
* combine.c (force_to_mode): Replace the equality comparison
of INTVALs with a pointer equality comparison.
(simplify_comparison): Likewise.

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

20 years ago * jump.c (rtx_renumbered_equal_p): Replace an expression that
kazu [Fri, 27 Jun 2003 19:40:09 +0000 (19:40 +0000)]
* jump.c (rtx_renumbered_equal_p): Replace an expression that
is known to be 0 with 0.

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

20 years ago * gcse.c (expr_equiv_p): Replace expressions that are known to
kazu [Fri, 27 Jun 2003 19:38:27 +0000 (19:38 +0000)]
* gcse.c (expr_equiv_p): Replace expressions that are known to
be 0 with 0.

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

20 years ago * cse.c (fold_rtx): Replace the equality comparison of INTVALs
kazu [Fri, 27 Jun 2003 19:36:38 +0000 (19:36 +0000)]
* cse.c (fold_rtx): Replace the equality comparison of INTVALs
with a pointer equality comparison.

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

20 years ago * rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
kazu [Fri, 27 Jun 2003 19:35:41 +0000 (19:35 +0000)]
* rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
are known to be not equivalent.

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

20 years ago * gcc_release (build_sources): Do not include gnats.html any longer.
gerald [Fri, 27 Jun 2003 19:29:01 +0000 (19:29 +0000)]
* gcc_release (build_sources): Do not include gnats.html any longer.
Make an error message more descriptive.

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

20 years ago2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 Jun 2003 18:13:12 +0000 (18:13 +0000)]
2003-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/testsuite_performance.h (__gnu_cxx_test): Change
output name to libstdc++-v3-performance.sum.
* testsuite/Makefile.am (CLEANFILES): Remove .performance.
* testsuite/Makefile.in: Regenerate.

2003-06-27  Matthias Klose  <doko@debian.org>

* testsuite/Makefile.am (check-abi, check-abi-verbose): Save
output of abi-check in libstdc++-v3-abi.sum.
* testsuite/Makefile.in: Regenerate.

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

20 years ago * config/alpha/alpha.c (function_arg): Don't pass small aggregates
rth [Fri, 27 Jun 2003 17:52:03 +0000 (17:52 +0000)]
    * config/alpha/alpha.c (function_arg): Don't pass small aggregates
        in floating point registers.  Validate that we don't receive complex
        values here.  Use #elif.
        (return_in_memory, function_value): New.
        (alpha_va_arg): Handle complex values as two arguments.
        * config/alpha/alpha.h (RETURN_IN_MEMORY): Use return_in_memory.
        (FUNCTION_VALUE, LIBCALL_VALUE): Use function_value.
        (SPLIT_COMPLEX_ARGS): New.
        * config/alpha/alpha-protos.h: Update.

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

20 years ago * ggc-page.c (inverse_table): Change type of mult to size_t.
uweigand [Fri, 27 Jun 2003 17:36:21 +0000 (17:36 +0000)]
    * ggc-page.c (inverse_table): Change type of mult to size_t.
        (compute_inverse): Compute inverse using size_t, not unsigned int.
        Compute inverse also for sizes larger than half a machine page.

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

20 years ago * configure.in: Clean up config-lang.in handling. Delete
neroden [Fri, 27 Jun 2003 17:33:51 +0000 (17:33 +0000)]
* configure.in: Clean up config-lang.in handling.  Delete
useless assignment to "subdirs".
* configure: Regenerate.

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

20 years agoRemove extra bits from my previous commit.
dpatel [Fri, 27 Jun 2003 17:26:25 +0000 (17:26 +0000)]
Remove extra bits from my previous commit.
I am sorry for the way I handled this -gused commit.

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

20 years ago2003-06-27 Krister Walfridsson <cato@df.lth.se>
bkoz [Fri, 27 Jun 2003 16:59:04 +0000 (16:59 +0000)]
2003-06-27  Krister Walfridsson  <cato@df.lth.se>

* config/os/bsd/netbsd/ctype_noninline.h
(_C_ctype_): Declare.
(ctype<char>::classic_table): Return _C_ctype_ + 1.
(ctype<char>::ctype): Use classic_table.

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

20 years ago * toplev.c (rest_of_decl_compilation): Only varpoolize argument
hubicka [Fri, 27 Jun 2003 16:37:41 +0000 (16:37 +0000)]
* toplev.c (rest_of_decl_compilation):  Only varpoolize argument
when called before cgraph_optimize.

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

20 years ago PR c++/11332
mmitchel [Fri, 27 Jun 2003 16:24:49 +0000 (16:24 +0000)]
PR c++/11332
* typeck.c (build_static_cast): Avoid returning expressions with
reference type.

PR c++/11332
* g++.dg/expr/static_cast2.C: New test.

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

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

* java/security/Certificate.java
(getGuarantor): Removed wrong @deprecated tag.
(getPrincipal): Likewise.
(getPublicKey): Likewise.
(encode): Likewise.
(decode): Likewise.
(getFormat): Likewise.
(toString): Likewise.
* java/security/cert/PolicyQualifierInfo.java
(PolicyQualifierInfo): Made final.
* javax/security/auth/x500/X500Principal.java
(serialVersionUID): New member variable.

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

20 years ago * config/darwin.h, config/elfos.h, config/i960/i960-coff.h
zack [Fri, 27 Jun 2003 16:08:43 +0000 (16:08 +0000)]
* config/darwin.h, config/elfos.h, config/i960/i960-coff.h
* config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should
be TARGET_ASM_FILE_START_FILE_DIRECTIVE.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 15:58:42 +0000 (15:58 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/rmi/server/SkeletonNotFoundException.java
(SkeletonNotFoundException): Removed wrong @deprecated tag.
* java/rmi/server/UnicastRemoteObject.java
(exportObject): Made package-private.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 15:49:36 +0000 (15:49 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/text/Format.java
(serialVersionUID): Fixed value.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 15:48:15 +0000 (15:48 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/net/Inet4Address.java
(Inet4Address): Made package-private.
* java/net/Inet6Address.java
(Inet4Address): Made package-private.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 15:46:59 +0000 (15:46 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/io/RandomAccessFile.java
(readLine): Removed wrong @deprecated tag.
(getChannel): Made final.

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

20 years ago * cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
hubicka [Fri, 27 Jun 2003 15:42:48 +0000 (15:42 +0000)]
* cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
of known_decls.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 13:41:25 +0000 (13:41 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileChannelImpl.java
(write): Removed.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 13:34:12 +0000 (13:34 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteBufferImpl.java
(ByteBufferImpl): Made it a package-private class
* java/nio/CharBufferImpl.java
(CharBufferImpl): Made it a package-private class
* java/nio/DirectByteBufferImpl.java
(DirectByteBufferImpl): Made it a package-private class
* java/nio/DoubleBufferImpl.java
(DoubleBufferImpl): Made it a package-private class
* java/nio/FloatBufferImpl.java
(FloatBufferImpl): Made it a package-private class
* java/nio/IntBufferImpl.java
(IntBufferImpl): Made it a package-private class
* java/nio/LongBufferImpl.java
(LongBufferImpl): Made it a package-private class
* java/nio/ShortBufferImpl.java
(ShortBufferImpl): Made it a package-private class
* java/nio/channels/FileChannel.java
(write): Made final.
* java/nio/channels/ServerSocketChannel.java
(ServerSocketChanne): Made protected.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 13:06:50 +0000 (13:06 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* javax/naming/CompositeName.java
(serialVersionUID): New member variable.
* javax/naming/CompoundName.java
(serialVersionUID): New member variable.
* javax/naming/InitialContext.java
(InitialContext): Throws NamingException.
(init): Likewise.
* javax/naming/LinkRef.java
(serialVersionUID): New member variable.
(gteLinkName): Throws NamingException.
* javax/naming/NamingException.java
(serialVersionUID): New member variable.
* javax/naming/NamingSecurityException.java
(NamingSecurityException): Made abstract.
(serialVersionUID): New member variable.
* javax/naming/ReferralException.java
(serialVersionUID): New member variable.
* javax/naming/StringRefAddr.java
(serialVersionUID): New member variable.
* javax/naming/directory/BasicAttribute.java:
Reworked imports.
(serialVersionUID): New member variable.
(get): Throws NamingException.
(getAll): Throws NamingException.
* javax/naming/directory/BasicAttributes.java:
Reworked imports.
(serialVersionUID): New member variable.
* javax/naming/ldap/UnsolicitedNotificationEvent.java
(serialVersionUID): New member variable.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 12:48:39 +0000 (12:48 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* Makefile.am
(awt_java_source_files): Added new files:
javax/swing/Popup.java,
javax/swing/PopupFactory.java
* Makefile.in: Regenerated.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 12:41:52 +0000 (12:41 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* javax/swing/JWindow.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/TableModelEvent.java,
javax/swing/plaf/PopupMenuUI.java,
javax/swing/plaf/SplitPaneUI.java,
javax/swing/plaf/TabbedPaneUI.java,
javax/swing/plaf/TextUI.java,
javax/swing/plaf/TreeUI.java,
javax/swing/plaf/basic/BasicTextUI.java,
javax/swing/plaf/basic/BasicTreeUI.java:
New versions from classpath.
* javax/swing/Popup.java,
javax/swing/PopupFactory.jav:
New source files from classpath.
* javax/swing/plaf/doc-files/TreeUI-1.png:
New binary files from classpath.

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

20 years ago * defaults.h (REGISTER_MOVE_COST): Define default here.
hp [Fri, 27 Jun 2003 12:40:13 +0000 (12:40 +0000)]
* defaults.h (REGISTER_MOVE_COST): Define default here.
* regclass.c: Don't define default REGISTER_MOVE_COST here.
* reload.c, reload1.c: Ditto.

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

20 years ago2003-06-27 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 27 Jun 2003 12:33:49 +0000 (12:33 +0000)]
2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
    Nathan C. Myers  <ncm-nospam@cantrip.org>

PR libstdc++/9178
* include/bits/fstream.tcc (_M_underflow): Properly estimate
the worst-case number of external bytes for a given get area.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.

2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/11305
* include/bits/fstream.tcc (overflow): Properly estimate the
worst-case number of external bytes for a given put area
(by using codecvt::max_length()).
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.

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

20 years ago * config/linker-map.gnu: Remove ; after __numpunct_cache.
nathan [Fri, 27 Jun 2003 11:01:27 +0000 (11:01 +0000)]
* config/linker-map.gnu: Remove ; after __numpunct_cache.

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

20 years ago* flags.h: Really install previous change.
rearnsha [Fri, 27 Jun 2003 09:51:22 +0000 (09:51 +0000)]
* flags.h: Really install previous change.

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

20 years ago * rtl.h (emit_note): Remove FILE parameter.
nathan [Fri, 27 Jun 2003 09:49:44 +0000 (09:49 +0000)]
* rtl.h (emit_note): Remove FILE parameter.
* emit-rtl.c (emit_line_note): Adjust emit_note call.
(emit_note): Remove FILE parameter. Adjust.
* builtins.c (expand_builtin_expect): Adjust emit_note call.
* c-semantics.c (genrtl_scope_stmt): Likewise.
(expand_stmt): Likewise.
* cfglayout.c (reemit_insn_block_notes): Likewise.
(duplicate_insn_chain): Likewise.
* except.c (expand_eh_region_start, expand_eh_region_end,
sjlj_emit_function_enter): Likewise.
* explow.c (probe_stack_range): Likewise.
* expr.c (emit_block_move_via_loop): Likewise.
* function.c (init_function_start, expand_function_start,
expand_function_end, thread_prologue_and_epilogue_insns): Likewise.
* integrate.c (expand_inline_function, copy_insn_list): Likewise.
* reg-stack.c (compensate_edge): Likewise.
* reload1.c (reload): Likewise.
* rtlanal.c (hoist_insn_to_edge): Likewise.
* stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop,
expand_loop_continue_here, expand_end_loop, expand_continue_loop,
expand_exit_loop_top_cond, expand_value_return,
expand_start_bindings_and_block, expand_end_bindings,
expand_decl_cleanup, expand_start_case): Likewise.
* unroll.c (copy_loop_body
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
* config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore,
rs6000_emit_allocate_stack, rs6000_output_function_prologue,
rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Likewise.
* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.

* ada/misc.c (record_code_position): Likewise.

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

20 years ago * c-tree.h (grokfield): Remove unused filename and line parameters.
nathan [Fri, 27 Jun 2003 09:05:45 +0000 (09:05 +0000)]
* c-tree.h (grokfield): Remove unused filename and line parameters.
* c-decl.c (grokfield): Remove unused filename and line parameters.
* c-parse.in (component_decl): Adjust field grokking rules, adjust
grokfield calls.
(component_declarator): Likewise.
(component_notype_declarator): Likewise.
* objc/objc-act.c (build_module_descriptor): Adjust grokfield
calls.
(build_protocol_template, build_method_prototype_list_template,
build_method_prototype_template, build_category_template,
build_selector_template, build_class_template,
build_super_template, build_ivar_template,
build_ivar_list_template, build_method_list_template,
build_method_template, add_instance_variable): Likewise.

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

20 years ago2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 Jun 2003 07:25:38 +0000 (07:25 +0000)]
2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/ios_base.h (ios_base::_M_getloc): Return reference
to the imbued locale.
* include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
_M_getloc.
(num_put::_M_convert_float): Use.

2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>
    Jerry Quinn  <jlquinn@optonline.net>

* config/linker-map.gnu: Add __numpunct_cache.
* config/locale/gnu/numeric_members.cc
(numpunct::_M_initialize_numpunct): Account for _M_data, fill in
all elements for "C" locale.
(numpunct::~numpunct): Delete _M_data.
* config/locale/generic/numeric_members.cc: Same.
* include/bits/basic_ios.tcc
(basic_ios::init): Remove __locale_cache bits.
(basic_ios::_M_cache_locale): Same.
* include/bits/ios_base.h: Same. Tweaks.
* include/bits/locale_classes.h: Tweaks. Reorder classes.
(__use_cache): Make friends with _Impl, locale.
(_Impl::_M_caches): Add.
(_Impl::_M_install_cache): Add.
* include/bits/locale_facets.h (__numpunct_cache): New.
(numpunct): Encapsulate data members in __numpunct_cache member,
_M_data. Adjust virtuals.
(numpunct::numpunct): New ctor for the same.
(__locale_cache_base): Remove.
(__locale_cache): Remove.
* include/bits/locale_facets.tcc (__use_cache): New function,
specializations.
(num_put::_M_convert_int, _M_convert_float, do_put): Use it.
* src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
* src/ios.cc (ios_base::ios_base): Remove __locale_cache.
* src/locale-inst.cc: Same. Add __numpunct_cache.
* src/locale.cc: Tweak inlines.
(__use_cache): Define specializations.
* src/localename.cc: Use global bits.
(_Impl::~Impl): Deal with __numpunct_cache destruction.
(_Impl::_Impl): Same. Pre-cache standard numpunct facets.
(_Impl::_M_init_facet): Take into account __numpunct_cache.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.

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

20 years ago * stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
kazu [Fri, 27 Jun 2003 06:02:49 +0000 (06:02 +0000)]
* stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
OP2 are known to be not equivalent.

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

20 years ago * final.c (debug_flush_symbol_queue): New function.
dpatel [Fri, 27 Jun 2003 03:04:40 +0000 (03:04 +0000)]
    * final.c (debug_flush_symbol_queue): New function.
        (debug_queue_symbol): New function.
        (debug_free_queue): New function.
        (debug_nesting): New variable.
        (symbol_queue): New variable.
        (symbol_queue_index): Same.
        (symbol_queue_size): Same.
        * debug.h (debug_flush_symbol_queue): New.
        (debug_queue_symbol): New.
        (debug_free_queue): New.
        (debug_nesting): New.
        (symbol_queue_index): New.
        * dbxout.c (DBXOUT_DECR_NESTING): New macro.
        (DBXOUT_DECR_NESTING_AND_RETURN): New macro.
        (dbxout_init): Delay symbol output.
        (dbxout_global_decl): Save, set and reset TREE_USED bit around dbxout_symbol()
        call.
        (dbxout_begin_function): Same.
        (dbxout_finish): Free symbol queue.
        (dbxout_type): Put appropriate symbols in queue.
        (dbxout_symbol): Put info for symbol's type in queue. Decrement/Increment
        nesting counts flush symbol queue appropriately.
        (dbxout_parms): Increment dbxout nesting.
        (dbxout_reg_parms): Same.
        * flags.h (flag_debug_only_used_symbols): New.
        * toplev.c (flag_debug_only_used_symbols): New variable.
        (lang_independent_options): Add entries for new option -feliminate-unused-debug-symbols.
        * common.opt: Add entry for -feliminate-unused-debug-symbols.
        * opts.c (common_handle_options): Same.
        * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as -feliminate-unused-debug-symbols.
        * doc/invoke.texi (Debugging Options): Document -feliminate-unused-debug-symbols.

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

20 years ago * builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
sayle [Fri, 27 Jun 2003 02:50:19 +0000 (02:50 +0000)]
* builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
obtain the format string instead of using TREE_STRING_POINTER and
TREE_STRING_LENGTH.  Only optimize sprintf(dst,"%s",src) when the
return value is unused or the length of src is a known constant.

* gcc.c-torture/execute/string-opt-16.c: Remove test for disabled
sprintf(dst,"%s",src) optimization.
* gcc.c-torture/execute/20030626-1.c: New test case.
* gcc.c-torture/execute/20030626-2.c: New test case.

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

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

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

20 years ago * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
rth [Thu, 26 Jun 2003 20:51:54 +0000 (20:51 +0000)]
    * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
        (ia64_split_call): Only load descriptor for GP register inputs.
        (ia64_expand_epilogue): Check current_frame_info.mask not
        current_function_is_leaf to restore ar.pfs.

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

20 years ago * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.
rth [Thu, 26 Jun 2003 20:50:04 +0000 (20:50 +0000)]
    * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.

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

20 years ago * emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE
rth [Thu, 26 Jun 2003 20:46:47 +0000 (20:46 +0000)]
    * emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE
        instead of replacing it.

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

20 years ago * flow.c (propagate_one_insn): Kill function return value
rth [Thu, 26 Jun 2003 20:45:18 +0000 (20:45 +0000)]
    * flow.c (propagate_one_insn): Kill function return value
        registers across tail calls.

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

20 years ago * flow.c (propagate_one_insn): Preserve live-at-end registers
rth [Thu, 26 Jun 2003 20:29:55 +0000 (20:29 +0000)]
    * flow.c (propagate_one_insn): Preserve live-at-end registers
        across tail calls.

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

20 years ago * configure.in: Rename 'target_libs' to 'target_libraries'.
neroden [Thu, 26 Jun 2003 20:18:34 +0000 (20:18 +0000)]
* configure.in: Rename 'target_libs' to 'target_libraries'.
Remove useless reference to 'target_libs'.
* configure: Regenerate.

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

20 years ago * reload.c (can_reload_into): New function.
amylaar [Thu, 26 Jun 2003 20:07:23 +0000 (20:07 +0000)]
* reload.c (can_reload_into): New function.
(push_reload): Use it.

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

20 years ago2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 26 Jun 2003 19:09:56 +0000 (19:09 +0000)]
2003-06-26  H.J. Lu <hongjiu.lu@intel.com>

* testsuite/demangle-expected: Add more GNU V3 testcases.

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

20 years ago * config/h8300/h8300.c (compute_a_rotate_length): Fix the
kazu [Thu, 26 Jun 2003 17:50:01 +0000 (17:50 +0000)]
* config/h8300/h8300.c (compute_a_rotate_length): Fix the
references to the amount of a rotation.

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

20 years ago2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
paolo [Thu, 26 Jun 2003 16:38:40 +0000 (16:38 +0000)]
2003-06-26  Nathan C. Myers  <ncm-nospam@cantrip.org>
    Paolo Carlini  <pcarlini@unitus.it>

* testsuite/performance/filebuf_copy.cc: New, testing char
by char file copy.

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

20 years ago * config/sh/coff.h: Don't include dbxcoff.h.
neroden [Thu, 26 Jun 2003 16:34:32 +0000 (16:34 +0000)]
* config/sh/coff.h: Don't include dbxcoff.h.
* config.gcc: List it here.

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

20 years ago * call.c (build_op_delete_call): Use strip_array_call. Correct
nathan [Thu, 26 Jun 2003 15:23:54 +0000 (15:23 +0000)]
* call.c (build_op_delete_call): Use strip_array_call. Correct
error message to say 'delete' or 'delete[]'.

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

20 years ago * postreload.c (reload_cse_simplify_set): Call cselib_lookup
kazu [Thu, 26 Jun 2003 14:08:15 +0000 (14:08 +0000)]
* postreload.c (reload_cse_simplify_set): Call cselib_lookup
earlier.  Don't check if SRC is a constant.

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

20 years ago * postreload.c (reload_cse_simplify_set): Call cselib_lookup
kazu [Thu, 26 Jun 2003 13:42:33 +0000 (13:42 +0000)]
* postreload.c (reload_cse_simplify_set): Call cselib_lookup
earlier.  Don't check if SRC is a constant.

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

20 years ago * Makefile.in (OBJS): Add postreload.o.
kazu [Thu, 26 Jun 2003 13:37:16 +0000 (13:37 +0000)]
* Makefile.in (OBJS): Add postreload.o.
Remove cselib.h from the dependency list for reload1.o.
Add a dependency list for postreload.o.
* reload.h: Change the comment for the prototype of
reload_cse_regs.
* reload1.c: Don't include cselib.h.
(reload_cse_regs): Move to postreload.c
(reload_cse_regs_1): Likewise.
(reload_cse_noop_set_p): Likewise.
(reload_cse_simplify_set): Likewise.
(reload_cse_simplify_operands): Likewise.
(RELOAD_COMBINE_MAX_USES): Likewise.
(reload_combine_ruid): Likewise.
(LABEL_LIVE): Likewise.
(reload_combine): Likewise.
(reload_combine_note_use): Likewise.
(reload_combine_note_store): Likewise.
(reg_set_luid): Likewise.
(reg_offset): Likewise.
(reg_base_reg): Likewise.
(reg_mode): Likewise.
(move2add_luid): Likewise.
(move2add_last_label_luid): Likewise.
(MODES_OK_FOR_MOVE2ADD): Likewise.
(reload_cse_move2add): Likewise.
(move2add_note_store): Likewise.
(reload_cse_simplify): Likewise.
* postreload.c: New.

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

20 years ago * gcc.c-torture/execute/simd-4.c (main):
amylaar [Thu, 26 Jun 2003 13:15:38 +0000 (13:15 +0000)]
* gcc.c-torture/execute/simd-4.c (main):
Added missing semicolon at end of union.

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

20 years ago * config/avr/avr.c (final_prescan_insn): Remove support for
kazu [Thu, 26 Jun 2003 13:11:09 +0000 (13:11 +0000)]
* config/avr/avr.c (final_prescan_insn): Remove support for
-mrtl.
* config/avr/avr.h (MASK_RTL_DUMP): Remove.
(TARGET_RTL_DUMP): Likewise.
(TARGET_SWITCHES): Remove -mrtl.

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

20 years agoAdded missing semicolon at end of union.
amylaar [Thu, 26 Jun 2003 13:10:55 +0000 (13:10 +0000)]
Added missing semicolon at end of union.

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

20 years ago * config/h8300/h8300-protos.h: Change emit_a_rotate to
kazu [Thu, 26 Jun 2003 13:04:09 +0000 (13:04 +0000)]
* config/h8300/h8300-protos.h: Change emit_a_rotate to
output_a_rotate.  Add a prototype for compute_a_rotate_length.
* config/h8300/h8300.c (emit_a_rotate): Change to
output_a_rotate.
(compute_a_rotate_length): New.
(h8300_adjust_insn_length): Remove.
* config/h8300/h8300.h (ADJUST_INSN_LENGTH): Remove.
* config/h8300/h8300.md (adjust_length): Remove.
(*rotlqi3_1): Use output_a_rotate and compute_a_rotate_length.
(*rotlhi3_1): Likewise.
(*rotlsi3_1): Likewise.

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

20 years agoFrom Giovanni Bajo <giovannibajo@libero.it>
nathan [Thu, 26 Jun 2003 12:59:46 +0000 (12:59 +0000)]
From  Giovanni Bajo  <giovannibajo@libero.it>
cp:
       PR c++/8266
        * pt.c (check_explicit_specialization): When looking up a
        template function from an identifier outside class-scope, bind
        it to CP_DECL_CONTEXT.
testsuite:
        PR c++/8266
        * g++.dg/template/explicit-instantiation3.C: New test.

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

20 years ago * builtins.c (expand_builtin_mathfn): Always stabilize the argument
sayle [Thu, 26 Jun 2003 11:53:00 +0000 (11:53 +0000)]
* builtins.c (expand_builtin_mathfn): Always stabilize the argument
list against re-evaluation.  If expand_unop fails, call expand_call
with the stabilized argument list rather than return NULL_RTX.
(expand_builtin_mathfn2): Likewise, always stabilize the argument
list, and call expand_call ourselves if expand_binop fails.

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

20 years ago * gcc.dg/20030626-1.c: Use signed char.
ebotcazou [Thu, 26 Jun 2003 11:40:58 +0000 (11:40 +0000)]
* gcc.dg/20030626-1.c: Use signed char.

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

20 years ago PR optimization/11210
ebotcazou [Thu, 26 Jun 2003 10:37:35 +0000 (10:37 +0000)]
PR optimization/11210
* fold-const (decode_field_reference): Strip only NOPs that
don't affect the sign.

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

20 years ago * doc/invoke.texi (-fprofile-values): Document.
rakdver [Thu, 26 Jun 2003 10:16:31 +0000 (10:16 +0000)]
* doc/invoke.texi (-fprofile-values): Document.

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

20 years ago2003-06-26 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 26 Jun 2003 09:55:24 +0000 (09:55 +0000)]
2003-06-26  Paolo Carlini  <pcarlini@unitus.it>
            Nathan C. Myers  <ncm-nospam@cantrip.org>

* include/bits/fstream.tcc (_M_underflow): When the actual
end of file is reached, set 'uncommitted' mode to allow a
next write without an intervening seek (see C++98 27.8.1.1,2
and C89 7.9.5.3).
* testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.

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

20 years ago * value-prof.c: New.
rakdver [Thu, 26 Jun 2003 09:38:34 +0000 (09:38 +0000)]
* value-prof.c: New.
* value-prof.h: New.

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

20 years ago* gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
aoliva [Thu, 26 Jun 2003 09:35:07 +0000 (09:35 +0000)]
* gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
(pop_fpscr, fpu_switch): Likewise.

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

20 years ago * value-prof.c: New.
rakdver [Thu, 26 Jun 2003 07:52:10 +0000 (07:52 +0000)]
* value-prof.c: New.
* value-prof.h: New.
* Makefile.in (value-prof.o): New.
(LIBGCOV): Add _gcov_merge_single and _gcov_merge_delta
(profile.o): Add value-prof.h and tree.h dependency.
* flags.h (flag_profile_values): Declare.
* gcov-io.h (GCOV_COUNTERS, GCOV_COUNTER_NAMES, GCOV_MERGE_FUNCTIONS):
Add new counters.
(GCOV_COUNTER_V_INTERVAL, GCOV_COUNTER_V_POW2, GCOV_COUNTER_V_SINGLE,
GCOV_COUNTER_V_DELTA): New counter sections.
(__gcov_merge_single, __gcov_merge_delta): Declare.
* flow.c (mark_used_regs): Set subregs_of_mode only when the
structure is initialized.
* libgcov.c (__gcov_merge_single, __gcov_merge_delta): New functions.
* profile.c: Include value-prof.h and tree.h.
(gen_interval_profiler, gen_pow2_profiler, gen_one_value_profiler,
gen_const_delta_profiler, instrument_values): New static functions.
(get_exec_counts): Fix comment.
(branch_prob): Invoke instrument_values.
* toplev.c (flag_profile_values): New flag.
* doc/invoke.texi (-fprofile-values): Document.

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

20 years ago * Makefile.in (cfgrtl.o): Add expr.h dependency.
rakdver [Thu, 26 Jun 2003 06:13:27 +0000 (06:13 +0000)]
* Makefile.in (cfgrtl.o): Add expr.h dependency.
* cfgrtl.c: Include expr.h.
(mark_killed_regs, safe_insert_insn_on_edge): New
functions.
* config/i386/i386.h (AVOID_CCMODE_COPIES): Define.
* basic-block.h (safe_insert_insn_on_edge): Declare.

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

20 years ago * c-opts.c (missing_arg): Make non-static.
neil [Thu, 26 Jun 2003 06:05:36 +0000 (06:05 +0000)]
* c-opts.c (missing_arg): Make non-static.
(c_common_handle_option): Don't check for missing arguments.
* opts.c (handle_option): Check for missing arguments.
ada:
* misc.c (gnat_handle_option): Don't check for missing arguments.
f:
* top.c (ffe_handle_option): Don't check for missing arguments.
java:
* lang.c (java_handle_option): Don't check for missing arguments.
testsuite:
* const-str-2.m: Update.

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

20 years ago * config/rs6000/power4.md (power4-veccomplex): Correct latency.
dje [Thu, 26 Jun 2003 05:22:32 +0000 (05:22 +0000)]
    * config/rs6000/power4.md (power4-veccomplex): Correct latency.

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

20 years ago * configure.in (ld_vers): Portability [sed].
ljrittle [Thu, 26 Jun 2003 04:57:15 +0000 (04:57 +0000)]
* configure.in (ld_vers): Portability [sed].
* configure: Regenerate with autoconf213.

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

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

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

20 years ago PR c++/10990
mmitchel [Thu, 26 Jun 2003 00:07:52 +0000 (00:07 +0000)]
PR c++/10990
* search.c (lookup_base_r): Rely on accessible_p, rather than
trying to emulate that logic here.

PR c++/10990
* g++.dg/rtti/dyncast1.C: New test.
* g++.dg/abi/mangle4.C: Correct base-specifier access.
* g++.dg/lookup/scoped1.C: Remove XFAIL.
* g++.old-deja/g++.martin/pmf1.C: Correct base-specifier access.

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

20 years ago PR c++/10931
mmitchel [Thu, 26 Jun 2003 00:07:09 +0000 (00:07 +0000)]
PR c++/10931
* g++.dg/expr/static_cast1.C: New test.

PR c++/10931
* call.c (convert_like): Pass issue_conversion_warnings.
(convert_like_with_context): Likewise.
(convert_like_real): Add issue_conversion_warnings parameter.
(perform_direct_initialization_if_possible): New function.
* cp-tree.h (perform_direct_initialization_if_possible): Declare it.
* typeck.c (check_for_casting_away_constness): New function.
(build_static_cast): Rewrite.

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

20 years ago2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 25 Jun 2003 22:28:27 +0000 (22:28 +0000)]
2003-06-25  H.J. Lu <hongjiu.lu@intel.com>

* doc/extend.texi: Document new builtin functions for Intel
Prescott New Intrunctions.

* doc/invoke.texi: Document new command-line options, -mpni and
-mno-pni, for Intel Prescott New Intrunctions.

* config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.

* config/i386/i386.c (override_options): Turn on MASK_SSE2
for -mpni. Turn on MASK_SSE for -msse2.
(bdesc_2arg): Add PNI builtins with 2 args.
(bdesc_1arg): Add PNI builtins with 1 arg.
(ix86_init_mmx_sse_builtins): Handle PNI builtins.
(ix86_expand_builtin): Likewise.

* config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
MASK_TLS_DIRECT_SEG_REFS): Renumbered.
(TARGET_PNI): New.
(TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add
-mpni and -mno-pni.
(TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
(ix86_builtins): Add PNI builtins.
(config/i386/i386.md): Add PNI patterns.

* config/i386/pmmintrin.h: New file.

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

20 years ago * config/h8300/h8300.md (call): Fix the insn lengths.
kazu [Wed, 25 Jun 2003 22:16:31 +0000 (22:16 +0000)]
* config/h8300/h8300.md (call): Fix the insn lengths.
(call_value): Likewise.

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

20 years ago * c-common.c (handle_used_attribute): Use mark_referenced.
hubicka [Wed, 25 Jun 2003 22:14:26 +0000 (22:14 +0000)]
* c-common.c (handle_used_attribute): Use mark_referenced.
* varasm.c (mark_referenced): Break out from ...
(assemble_name): ... here.
* tree.h (mark_referenced): Declare.

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

20 years ago2003-06-25 Wolfgang Bangerth <bangerth@dealii.org>
bangerth [Wed, 25 Jun 2003 21:08:26 +0000 (21:08 +0000)]
2003-06-25  Wolfgang Bangerth  <bangerth@dealii.org>

* gccbug.in: Add PCH to list of categories.

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

20 years ago * cppfiles.c: Clarify comments.
neil [Wed, 25 Jun 2003 21:01:10 +0000 (21:01 +0000)]
* cppfiles.c: Clarify comments.
* cpphash.h: Likewise.
* cpplib.h: Likewise.
* cppmacro.c: Likewise.
* mkdeps.h: Likewise.

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

20 years ago * c-opts.c (complain_wrong_lang, write_langs): Remove.
neil [Wed, 25 Jun 2003 20:43:11 +0000 (20:43 +0000)]
* c-opts.c (complain_wrong_lang, write_langs): Remove.
(c_common_handle_option): Complaints about wrong language are
handled in opts.c now.
* opts.c (complain_wrong_lang, write_langs, handle_options): New.
(find_opt): Fix thinko.
(handle_option): Update prototype.  Complain about switches for
a different front end.
* opts.h (lang_names, handle_options): New.
(handle_option): Remove.
* opts.sh: Write out language names array.
* toplev.c (parse_options_and_default_flags): Use handle_options.

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

20 years ago2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 25 Jun 2003 20:23:14 +0000 (20:23 +0000)]
2003-06-25  H.J. Lu <hongjiu.lu@intel.com>

* config/i386/i386.c (MASK_SSE1): Removed.
(MASK_SSE164): Removed.
(MASK_SSE264): Removed.
(bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
with MASK_SSE2 | MASK_64BIT.
(bdesc_1arg): Likewise.
(ix86_init_mmx_sse_builtins): Likewise.

* config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
(TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
-msse2.

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

20 years ago * hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
ghazi [Wed, 25 Jun 2003 19:33:08 +0000 (19:33 +0000)]
* hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
(HOST_WIDE_INT_PRINT_DEC_SPACE,
HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
HOST_WIDEST_INT_PRINT_DEC_SPACE,
HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
(HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.

* final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
* ra-debug.c (dump_static_insn_cost): Likewise.

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

20 years ago* config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead of
nickc [Wed, 25 Jun 2003 18:49:51 +0000 (18:49 +0000)]
* config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead of
ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
Replace occurances of '???' with 'XXX' incase they are mistaken for trigraphs.
(THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address does not have a
register for the first operand.

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

20 years ago2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
paolo [Wed, 25 Jun 2003 18:27:53 +0000 (18:27 +0000)]
2003-06-25  Nathan C. Myers  <ncm-nospam@cantrip.org>

* include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
sputc): Move inline, from here...
* include/std/std_streambuf.h: ... to here.

* include/std/std_streambuf.h (snextc, sbumpc, sgetc,
sputbackc, sungetc, sputc): Use __builtin_expect.

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

20 years ago2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
amylaar [Wed, 25 Jun 2003 17:33:35 +0000 (17:33 +0000)]
2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com>

* config/sh/sh.c (sh_register_move_cost):
Add case for moving between MAC_REGS.

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

20 years ago PR 10178
zack [Wed, 25 Jun 2003 17:29:14 +0000 (17:29 +0000)]
PR 10178
* langhooks.h (struct lang_hooks): Add no_body_blocks bool.
* langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false.
* c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS
to true.
* stmt.c (is_body_block): If lang_hooks.no_body_blocks, always
return 0.

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

20 years ago * Makefile.in (bt-load.o): Depend on $(TM_P_H).
ghazi [Wed, 25 Jun 2003 15:53:07 +0000 (15:53 +0000)]
* Makefile.in (bt-load.o): Depend on $(TM_P_H).
* bt-load.c: Include "tm_p.h".

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

20 years ago2003-06-25 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 25 Jun 2003 12:41:56 +0000 (12:41 +0000)]
2003-06-25  Michael Koch  <konqueror@gmx.de>

* Makefile.am
(awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
* Makefile.in: Regenerated.

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

20 years ago2003-06-25 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 25 Jun 2003 12:39:15 +0000 (12:39 +0000)]
2003-06-25  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/ActionMapUIResource.java,
javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/ButtonUI.java,
javax/swing/plaf/ColorChooserUI.java,
javax/swing/plaf/ColorUIResource.java,
javax/swing/plaf/ComboBoxUI.java,
javax/swing/plaf/ComponentInputMapUIResource.java,
javax/swing/plaf/ComponentUI.java,
javax/swing/plaf/DesktopIconUI.java,
javax/swing/plaf/DesktopPaneUI.java,
javax/swing/plaf/DimensionUIResource.java,
javax/swing/plaf/FileChooserUI.java,
javax/swing/plaf/FontUIResource.java,
javax/swing/plaf/IconUIResource.java,
javax/swing/plaf/InputMapUIResource.java,
javax/swing/plaf/InsetsUIResource.java,
javax/swing/plaf/InternalFrameUI.java,
javax/swing/plaf/LabelUI.java,
javax/swing/plaf/ListUI.java,
javax/swing/plaf/MenuBarUI.java,
javax/swing/plaf/MenuItemUI.java,
javax/swing/plaf/OptionPaneUI.java,
javax/swing/plaf/PanelUI.java,
javax/swing/plaf/ProgressBarUI.java,
javax/swing/plaf/RootPaneUI.java,
javax/swing/plaf/ScrollBarUI.java,
javax/swing/plaf/ScrollPaneUI.java,
javax/swing/plaf/SeparatorUI.java,
javax/swing/plaf/SliderUI.java,
javax/swing/plaf/TableHeaderUI.java,
javax/swing/plaf/TableUI.java,
javax/swing/plaf/ToolBarUI.java,
javax/swing/plaf/ToolTipUI.java,
javax/swing/plaf/ViewportUI.java:
New versions from classpath.
* javax/swing/plaf/SpinnerUI.java:
New file from classpath

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

20 years ago * config/h8300/h8300.c (compute_mov_length): Adjust for the
kazu [Wed, 25 Jun 2003 11:54:44 +0000 (11:54 +0000)]
* config/h8300/h8300.c (compute_mov_length): Adjust for the
new optimization.
* config/h8300/h8300.md (*movsi_h8300): Optimize the load of
an SImode constant whose upper and lower are the same.

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

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

* java/awt/image/ColorModel.java:
New version from classpath.

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

20 years ago * gcc_release: Factor the updating of links and READMEs on the
gerald [Wed, 25 Jun 2003 09:36:19 +0000 (09:36 +0000)]
* gcc_release: Factor the updating of links and READMEs on the
FTP server and sending mail for snapshots into a...
(announce_snapshot): ...new function.
Add informative output for both.

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

20 years ago * varasm.c (assemble_name): Mark needed variables even when
hubicka [Wed, 25 Jun 2003 09:32:44 +0000 (09:32 +0000)]
* varasm.c (assemble_name): Mark needed variables even when
global info is ready.

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

20 years ago PR other/11280
gerald [Wed, 25 Jun 2003 08:24:52 +0000 (08:24 +0000)]
PR other/11280
* gcc/doc/invoke.texi (Optimization Options): Remove -Os from
-freorder-functions description.

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

20 years ago2003-06-25 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 25 Jun 2003 07:00:34 +0000 (07:00 +0000)]
2003-06-25  Michael Koch  <konqueror@gmx.de>

* java/net/PlainDatagramSocketImpl.java:
Partly merged with classpath, this mainly adds documentation.

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