platform/upstream/gcc.git
21 years agore PR rtl-optimization/11440 (gcc-3.3.1 miscompiles c++ code with -O2, -fno-gcse...
Franz Sirl [Mon, 14 Jul 2003 16:03:29 +0000 (16:03 +0000)]
re PR rtl-optimization/11440 (gcc-3.3.1 miscompiles c++ code with -O2, -fno-gcse cures it)

2003-07-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR optimization/11440
* gcc.c-torture/execute/20030714-1.c: New test.

From-SVN: r69334

21 years agoMAINTAINERS: Move self from write-after-approval to build machinery (*.in).
Nathanael Nerode [Mon, 14 Jul 2003 15:42:43 +0000 (15:42 +0000)]
MAINTAINERS: Move self from write-after-approval to build machinery (*.in).

* MAINTAINERS: Move self from write-after-approval to
build machinery (*.in).

From-SVN: r69333

21 years agore PR c++/5293 (confusing message when binding a temporary to a reference)
Gabriel Dos Reis [Mon, 14 Jul 2003 15:04:32 +0000 (15:04 +0000)]
re PR c++/5293 (confusing message when binding a temporary to a reference)

PR c++/5293
* call.c (initialize_reference): Improve diagnostic.

From-SVN: r69332

21 years agoassign_neg.cc: Fix line numbers.
Benjamin Kosnik [Mon, 14 Jul 2003 14:47:03 +0000 (14:47 +0000)]
assign_neg.cc: Fix line numbers.

2003-07-14  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.

From-SVN: r69331

21 years agoggc-page.c (extra_order_size_table): Insns have 9 slots.
Gerald Pfeifer [Mon, 14 Jul 2003 13:36:56 +0000 (13:36 +0000)]
ggc-page.c (extra_order_size_table): Insns have 9 slots.

* ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
don't have 2.

* ggc-page.c (struct globals): Add new fields to keep track of the
total allocated memory and overhead.
(ggc_print_statistics): Print them.
(ggc_alloc): Keep track of the total allocated memory and the
overhead.

* tree.c (dump_tree_statistics): Increase spacing.
(enum tree_node_kind): Move to ...
* tree.h (enum tree_node_kind): ... here.
(tree_node_counts, tree_node_sizes): Declare.

* doc/include/texinfo.tex: Upgrade to texinfo 4.6.

From-SVN: r69330

21 years agoInclude <cstring> and <cstdlib>.
Gabriel Dos Reis [Mon, 14 Jul 2003 13:32:26 +0000 (13:32 +0000)]
Include <cstring> and <cstdlib>.

From-SVN: r69329

21 years agore PR c++/11154 (spurious ambiguity report for template class specialization)
Kriang Lerdsuwanakij [Mon, 14 Jul 2003 10:48:59 +0000 (10:48 +0000)]
re PR c++/11154 (spurious ambiguity report for template class specialization)

PR c++/11154
* pt.c (more_specialized_class): Add full_args parameter.
(most_specialized_class): Adjust calls to more_specialized_class.
* cp-tree.h (more_specialized_class): Adjust declaration.

* g++.dg/template/partial2.C: New test.

From-SVN: r69328

21 years ago* lex.c (enum tree_node_kind): Delete.
Dan Nicolaescu [Mon, 14 Jul 2003 10:14:51 +0000 (10:14 +0000)]
* lex.c (enum tree_node_kind): Delete.

From-SVN: r69327

21 years agore PR rtl-optimization/11440 (gcc-3.3.1 miscompiles c++ code with -O2, -fno-gcse...
Franz Sirl [Mon, 14 Jul 2003 09:29:44 +0000 (09:29 +0000)]
re PR rtl-optimization/11440 (gcc-3.3.1 miscompiles c++ code with -O2, -fno-gcse cures it)

2003-07-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR optimization/11440
* gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
SIGN_EXTRACT SETs.

From-SVN: r69325

21 years agoUnicastServerRef.java: New version from classpath.
Michael Koch [Mon, 14 Jul 2003 06:05:42 +0000 (06:05 +0000)]
UnicastServerRef.java: New version from classpath.

2003-07-14  Michael Koch  <konqueror@gmx.de>

* gnu/java/rmi/server/UnicastServerRef.java:
New version from classpath.

From-SVN: r69322

21 years agoMemoryImageSource.java, [...]: New versions from classpath.
Michael Koch [Mon, 14 Jul 2003 05:33:30 +0000 (05:33 +0000)]
MemoryImageSource.java, [...]: New versions from classpath.

2003-07-14  Michael Koch  <konqueror@gmx.de>

* java/awt/image/MemoryImageSource.java,
java/beans/PropertyEditorManager.java,
javax/naming/CompoundName.java,
javax/naming/spi/NamingManager.java,
javax/swing/AbstractButton.java,
javax/swing/ButtonModel.java,
javax/swing/SwingUtilities.java,
javax/swing/UIManager.java,
javax/swing/colorchooser/DefaultColorSelectionModel.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/InternalFrameEvent.java,
java/util/zip/ZipFile.java:
New versions from classpath.

From-SVN: r69321

21 years agotm.texi (BLOCK_REG_PADDING): Describe.
Alan Modra [Mon, 14 Jul 2003 05:17:18 +0000 (05:17 +0000)]
tm.texi (BLOCK_REG_PADDING): Describe.

* doc/tm.texi (BLOCK_REG_PADDING): Describe.
* expr.h (struct locate_and_pad_arg_data): Add where_pad.
(emit_group_load, emit_group_store): Adjust declarations.
Remove most occurrences of #ifdef TREE_CODE.
* expr.c (emit_group_load): Add "type" param, and use
BLOCK_REG_PADDING to determine need for a shift.  Optimize non-
aligned accesses if !SLOW_UNALIGNED_ACCESS.
(emit_group_store): Likewise.
(emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
emit_group_load and emit_group_store calls.
* calls.c (store_unaligned_arguments_into_pseudos): Tidy.  Use
BLOCK_REG_PADDING to determine whether we need endian_correction.
(load_register_parameters): Localize vars.  Handle shifting of
small values to the correct end of regs.  Adjust emit_group_load
call.
(expand_call, emit_library_call_value_1): Adjust emit_group_load
and emit_group_store calls.
* function.c (assign_parms): Set mem alignment for stack slots.
Adjust emit_group_store call.  Store values at the "wrong" end
of regs to the stack.  Use BLOCK_REG_PADDING.
(locate_and_pad_parm): Save where_pad.
(expand_function_end): Adjust emit_group_load call.
* stmt.c (expand_value_return): Adjust emit_group_load call.
* Makefile.in (calls.o): Depend on $(OPTABS_H).
* config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
(AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
(MUST_PASS_IN_STACK): Define.
(BLOCK_REG_PADDING): Define.
* config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
(PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
* config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
(function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
Act on AGGREGATES_PAD_UPWARD_ALWAYS.

From-SVN: r69318

21 years agore PR c++/11503 (segfault when instantiating template with ADDR_EXPR)
Mark Mitchell [Mon, 14 Jul 2003 05:12:56 +0000 (05:12 +0000)]
re PR c++/11503 (segfault when instantiating template with ADDR_EXPR)

PR c++/11503
* g++.dg/template/anon1.C: New test.

PR c++/11503
* cp-tree.h (DECL_SELF_REFERENCE_P): New macro.
(SET_DECL_SELF_REFERENCE_P): Likewise.
* class.c (build_self_reference): Use SET_DECL_SELF_REFERENCE_P.
* pt.c (tsubst_decl): Copy it.
* search.c (lookup_base): Use DECL_SELF_REFERENCE_P.

From-SVN: r69317

21 years agore PR c++/11493 (tree check ICE in error.c)
Mark Mitchell [Mon, 14 Jul 2003 03:04:29 +0000 (03:04 +0000)]
re PR c++/11493 (tree check ICE in error.c)

* cp-tree.h (cp_id_kind): New type.
(unqualified_name_lookup_error): Change prototype.
(unqualified_fn_lookup_error): New function.
(do_identifier): Remove.
(do_scoped_id): Likewise.
(tsubst_copy_and_build): Change prototype.
(reregister_specialization): New function.
(perform_koenig_lookup): Likewise.
(finish_id_expression): Likewise.
* call.c (build_method_call): Adjust call to
unqualified_name_lookup_error.
* decl.c (duplicate_decls): Use reregister_specialization.
* lex.c (is_global): Remove.
(unqualified_name_lookup_error): Return a value.
(do_identifier): Remove.
(do_scoped_id): Likewise.
(identifier_typedecl_value): Remove.
(unqualified_fn_lookup_error): New function.
* parser.c (cp_parser_id_kind): Remove.
(cp_parser_non_constant_id_expression): Remove.
(cp_parser_primary_expression): Use finish_id_expression.
(cp_parser_class_or_namespace_name): Use cp_id_kind, not
cp_parser_id_kind.
(cp_parser_postfix_expression): Use perform_koenig_lookup.
(cp_parser_template_argument): Use cp_id_kind.
(cp_parser_fold_non_dependent_expr): Adjust call to
tsubst_copy_and_build.
* pt.c (unregister_specialization): Rename to ...
(reregister_specialization): This.
(tsubst_friend_function): Use it.
(maybe_fold_nontype_arg): Adjust call to tsubst_copy_and_build.
(tsubst_qualified_id): Likewise.
(tsubst_expr): Likewise.
(tsubst_copy_and_build): Add function_p parameter.  Use
finish_id_expression.  Introduce RECUR macro.
(tsubst_non_call_postfix_expression): New function.
(regenerate_decl_from_template): Use reregister_specialization.
* semantics.c (perform_koenig_lookup): New function.
(finish_id_expression): Likewise.

PR c++/11493
PR c++/11495
* g++.dg/parse/template9.C: Likewise.
* g++.dg/template/crash4.C: New test.
* g++.dg/template/koenig1.C: Likewise.
* g++.old-deja/g++.benjamin/tem03.C: Adjust error markers.
* g++.old-deja/g++.benjamin/tem06.C: Declare "x".
* g++.old-deja/g++.jason/overload33.C: Use this-> when calling
functions.
* g++.old-deja/g++.jason/template36.C: Likewise.
* g++.old-deja/g++.mike/p1989.C: Likewise.
* g++.old-deja/g++.pt/lookup2.C: Use -fpermissive when compiling.
* g++.old-deja/g++.pt/ttp20.C: Use this->.
* g++.old-deja/g++.pt/ttp21.C: Use this->.
* g++.old-deja/g++.pt/typename13.C: Use -fpermissive when
compiling.
* g++.old-deja/g++.pt/union2.C: Use this->.

From-SVN: r69316

21 years agoc_locale.h: Include <cstdlib> and <cstring>.
Mark Mitchell [Mon, 14 Jul 2003 02:52:05 +0000 (02:52 +0000)]
c_locale.h: Include <cstdlib> and <cstring>.

* config/locale/generic/c_locale.h: Include <cstdlib> and
<cstring>.
* include/bits/boost_concept_check.h: Add this-> to unqualified
method calls.
* include/bits/deque.tcc: Likewise.
* include/bits/locale_facets.h : Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/stl_algo.h: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/vector.tcc: Likewise.
* include/ext/rope: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/stdio_filebuf.h: Likewise.

From-SVN: r69315

21 years agogthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
Aaron W. LaFramboise [Mon, 14 Jul 2003 02:12:15 +0000 (02:12 +0000)]
gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.

2003-07-13  Aaron W. LaFramboise  <awlaframboise@aol.com>
* config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
(This was previously, erroneously listed as checked in on 2003-06-29)

From-SVN: r69313

21 years agoDaily bump.
GCC Administrator [Mon, 14 Jul 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r69311

21 years ago* libjava.verify/verify.exp: Fixed variable init.
Tom Tromey [Sun, 13 Jul 2003 23:33:02 +0000 (23:33 +0000)]
* libjava.verify/verify.exp: Fixed variable init.

From-SVN: r69309

21 years agoexpr.c (expand_expr, [...]): If reg...
Richard Kenner [Sun, 13 Jul 2003 23:21:23 +0000 (23:21 +0000)]
expr.c (expand_expr, [...]): If reg...

* expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.

From-SVN: r69308

21 years agogcc_release (announce_snapshot): Add substitution of @RELEASE@ for README and index...
Gerald Pfeifer [Sun, 13 Jul 2003 22:10:03 +0000 (00:10 +0200)]
gcc_release (announce_snapshot): Add substitution of @RELEASE@ for README and index.html.

* gcc_release (announce_snapshot): Add substitution of @RELEASE@
for README and index.html.
* snapshot-README: Use it.
* snapshot-index.html: Ditto.

From-SVN: r69307

21 years agore PR bootstrap/11273 (make install fails in libobjc directory)
Nathanael Nerode [Sun, 13 Jul 2003 20:47:31 +0000 (20:47 +0000)]
re PR bootstrap/11273 (make install fails in libobjc directory)

PR bootstrap/11273
PR bootstrap/11408
* Makefile.tpl: Set INSTALL and friends using autoconf.  Remove
unused INSTALL_PROGRAM_ARGS.
* configure.in: Use AC_PROG_INSTALL.
* Makefile.in: Regenerate.
* configure: Regenerate.

From-SVN: r69304

21 years agore PR other/11123 (Some option names are truncated in gcc --help -v)
Nathanael Nerode [Sun, 13 Jul 2003 20:31:33 +0000 (20:31 +0000)]
re PR other/11123 (Some option names are truncated in gcc --help -v)

PR other/11123
* toplev.c: Don't cut off option names.

From-SVN: r69303

21 years agoc-decl.c (link_hash_hash): Avoid warning about casting pointer to integer of differen...
Andreas Jaeger [Sun, 13 Jul 2003 20:21:24 +0000 (22:21 +0200)]
c-decl.c (link_hash_hash): Avoid warning about casting pointer to integer of different size.

* c-decl.c (link_hash_hash): Avoid warning about casting pointer
to integer of different size.

From-SVN: r69302

21 years agocombine.c (simplify_comparison): Convert (ne (and (not X) 1) 0) to (eq (and X 1) 0).
Kazu Hirata [Sun, 13 Jul 2003 19:03:28 +0000 (19:03 +0000)]
combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0) to (eq (and X 1) 0).

* combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
to (eq (and X 1) 0).

From-SVN: r69300

21 years ago* config.gcc: Add pmmintrin.h for x86_64-*-*.
Andreas Jaeger [Sun, 13 Jul 2003 18:22:54 +0000 (20:22 +0200)]
* config.gcc: Add pmmintrin.h for x86_64-*-*.

From-SVN: r69299

21 years agoMakefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
Zack Weinberg [Sun, 13 Jul 2003 17:34:18 +0000 (17:34 +0000)]
Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).

* Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
(hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
list.  Move these all together down by cpplib.

* cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
definition of CPPCHAR_SIGNED_T.

* cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
* cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
* line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.

* cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
* cppinit.c (cpp_create_reader): Likewise.

* cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
* cpptrad.c: Likewise.  All callers changed.
* cpplib.c: All callers changed.
* c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
* hashtable.h: Define GTY(x) to nothing here too.

From-SVN: r69298

21 years agostor-layout.c (compute_record_mode): Remove very obsolete test that forces BLKmode...
Richard Kenner [Sun, 13 Jul 2003 17:12:28 +0000 (17:12 +0000)]
stor-layout.c (compute_record_mode): Remove very obsolete test that forces BLKmode for records with fields crossing...

* stor-layout.c (compute_record_mode): Remove very obsolete test
that forces BLKmode for records with fields crossing word boundary.

From-SVN: r69297

21 years agoFileChannelImpl.java, [...]: Removed.
Michael Koch [Sun, 13 Jul 2003 16:53:05 +0000 (16:53 +0000)]
FileChannelImpl.java, [...]: Removed.

2003-07-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileChannelImpl.java,
gnu/java/nio/natFileChannelImpl.cc: Removed.
* java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/RandomAccessFile.java,
java/nio/MappedByteBufferImpl.java:
Import java.nio.channels.FileChannelImpl instead of
gnu.java.nio.FileChannelImpl.
* java/nio/channels/FileChannelImpl.java,
java/nio/channels/natFileChannelImpl.cc:
New files.
* Makefile.am
(ordinary_java_source_files):
Removed gnu/java/nio/FileChannelImpl.java and added
java/nio/channels/FileChannelImpl.java.
(nat source_files):
Removed gnu/java/nio/natFileChannelImpl.cc and added
java/nio/channels/natFileChannelImpl.cc.
* Makefile.in: Regenerated.

From-SVN: r69296

21 years ago* Makefile.in: Remove orphan reference to acconfig.h.
Zack Weinberg [Sun, 13 Jul 2003 16:52:23 +0000 (16:52 +0000)]
* Makefile.in: Remove orphan reference to acconfig.h.

From-SVN: r69295

21 years ago* MAINTAINERS: Alphabetize.
Kazu Hirata [Sun, 13 Jul 2003 16:15:38 +0000 (16:15 +0000)]
* MAINTAINERS: Alphabetize.

From-SVN: r69293

21 years agoBasicBorders.java, [...]: New versions from classpath.
Michael Koch [Sun, 13 Jul 2003 15:29:11 +0000 (15:29 +0000)]
BasicBorders.java, [...]: New versions from classpath.

2003-07-13  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/basic/BasicBorders.java,
javax/swing/plaf/basic/BasicLabelUI.java,
javax/swing/plaf/basic/BasicLookAndFeel.java,
javax/swing/plaf/basic/BasicTabbedPaneUI.java,
javax/swing/plaf/basic/BasicTextUI.java,
javax/swing/plaf/metal/MetalLookAndFeel.java:
New versions from classpath.

From-SVN: r69292

21 years agopt.c (push_access_scope_real): Remove.
Kriang Lerdsuwanakij [Sun, 13 Jul 2003 15:20:58 +0000 (15:20 +0000)]
pt.c (push_access_scope_real): Remove.

* pt.c (push_access_scope_real): Remove.
(push_access_scope): Move code from push_access_scope_real.
(pop_access_scope): Don't check for TEMPLATE_DECL.
(instantiate_template): Defer access checking during template
substitution.
(regenerate_decl_from_template): Tidy.

From-SVN: r69291

21 years ago2003-07-13 Michael Koch <konqueror@gmx.de>
Michael Koch [Sun, 13 Jul 2003 15:09:20 +0000 (15:09 +0000)]
2003-07-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/peer/gtk/GdkFontMetrics.java
* gnu/java/awt/peer/gtk/GdkGraphics.java
* gnu/java/awt/peer/gtk/GtkButtonPeer.java
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java
* gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
* gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
* gnu/java/awt/peer/gtk/GtkClipboard.java
* gnu/java/awt/peer/gtk/GtkDialogPeer.java
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
* gnu/java/awt/peer/gtk/GtkFramePeer.java
* gnu/java/awt/peer/gtk/GtkGenericPeer.java
* gnu/java/awt/peer/gtk/GtkImage.java
* gnu/java/awt/peer/gtk/GtkImagePainter.java
* gnu/java/awt/peer/gtk/GtkLabelPeer.java
* gnu/java/awt/peer/gtk/GtkListPeer.java
* gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
* gnu/java/awt/peer/gtk/GtkMenuPeer.java
* gnu/java/awt/peer/gtk/GtkOffScreenImage.java
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
* gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
* gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
* gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
* gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java

From-SVN: r69290

21 years ago2003-07-13 Michael Koch <konqueror@gmx.de>
Michael Koch [Sun, 13 Jul 2003 15:00:20 +0000 (15:00 +0000)]
2003-07-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/locale/LocaleInformation_de.java
* gnu/java/locale/LocaleInformation_en.java
* gnu/java/locale/LocaleInformation_nl.java

From-SVN: r69289

21 years agoEmbeddedWindow.java, [...]: New files.
Michael Koch [Sun, 13 Jul 2003 14:39:41 +0000 (14:39 +0000)]
EmbeddedWindow.java, [...]: New files.

2003-07-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/EmbeddedWindow.java,
gnu/java/awt/EmbeddedWindowSupport.java,
gnu/java/awt/natEmbeddedWindow.cc:
New files.
* java/awt/Window.java
(Window): New constructor to support embedded windows.
* Makefile.am
(awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
gnu/java/awt/EmbeddedWindowSupport.java.
(nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
* Makefile.in: Regenerated.

From-SVN: r69288

21 years agodocument covariants implemented
Nathan Sidwell [Sun, 13 Jul 2003 14:30:02 +0000 (14:30 +0000)]
document covariants implemented

From-SVN: r69287

21 years ago* cgraphunit.c: Convert prototypes to ISO C90.
Andreas Jaeger [Sun, 13 Jul 2003 08:40:07 +0000 (10:40 +0200)]
* cgraphunit.c: Convert prototypes to ISO C90.

From-SVN: r69285

21 years agoinclhack.def (avoid_wchar_t_type): Use __cplusplus bypass (for OpenBSD).
Nathanael Nerode [Sun, 13 Jul 2003 06:52:25 +0000 (06:52 +0000)]
inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass (for OpenBSD).

* fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
(for OpenBSD).
* fixinc/fixincl.x: Rebuild.

From-SVN: r69284

21 years agoconfigure.in: Always define HAVE_AS_GOTOFF_IN_DATA for i?86-*-*.
Zack Weinberg [Sun, 13 Jul 2003 02:53:00 +0000 (02:53 +0000)]
configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for i?86-*-*.

* configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
i?86-*-*.  Use correct name of cache variable.
* configure: Regenerate.

From-SVN: r69283

21 years agoDaily bump.
GCC Administrator [Sun, 13 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r69281

21 years agoalpha.c: Fix comment typos.
Kazu Hirata [Sat, 12 Jul 2003 23:02:23 +0000 (23:02 +0000)]
alpha.c: Fix comment typos.

* config/alpha/alpha.c: Fix comment typos.
* config/alpha/alpha.md: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/arm.md: Likewise.
* config/arm/lib1funcs.asm: Likewise.
* config/avr/avr.md: Likewise.
* config/arm/README-interworking: Fix typos.

From-SVN: r69277

21 years agoc-format.c: Fix comment formatting.
Kazu Hirata [Sat, 12 Jul 2003 22:49:48 +0000 (22:49 +0000)]
c-format.c: Fix comment formatting.

* c-format.c: Fix comment formatting.
* c-typeck.c: Likewise.
* coverage.c: Likewise.
* cppcharset.c: Likewise.
* cpplib.c: Likewise.
* dbxout.c: Likewise.
* gcov-io.h: Likewise.
* toplev.c: Likewise.

From-SVN: r69276

21 years ago* gcc_update: gcc/acconfig.h no longer exists.
Zack Weinberg [Sat, 12 Jul 2003 21:32:36 +0000 (21:32 +0000)]
* gcc_update: gcc/acconfig.h no longer exists.

From-SVN: r69275

21 years agoinclhack.def (alpha_sbrk): Note that OpenBSD needs this fix.
Nathanael Nerode [Sat, 12 Jul 2003 20:12:52 +0000 (20:12 +0000)]
inclhack.def (alpha_sbrk): Note that OpenBSD needs this fix.

* fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
fix.

From-SVN: r69274

21 years agoRegenerate again, oops
Zack Weinberg [Sat, 12 Jul 2003 20:05:24 +0000 (20:05 +0000)]
Regenerate again, oops

From-SVN: r69273

21 years agoaclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE...
Zack Weinberg [Sat, 12 Jul 2003 20:03:14 +0000 (20:03 +0000)]
aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE...

* aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
uses three-argument AC_DEFINE so no acconfig.h entries are
needed.
(_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
which contains the GAS version number as a scaled integer.
(gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers.  Add
ability to check for ELF assembler.
(gcc_GAS_CHECK_FEATURE): New macro.
* configure.in: Use gcc_AC_CHECK_TYPE.  Rewrite all
assembler feature checks using gcc_GAS_CHECK_FEATURE.
Use three-argument AC_DEFINE everywhere.
* acconfig.h: Deleted.
* config.in, configure: Regenerate.

From-SVN: r69272

21 years ago(fix dumb changelog omission)
Nathanael Nerode [Sat, 12 Jul 2003 19:55:44 +0000 (19:55 +0000)]
(fix dumb changelog omission)

(fix dumb changelog omission)
* fixinc/fixincl.x: Regenerate.

From-SVN: r69271

21 years agoinclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in (on OpenBSD).
Nathanael Nerode [Sat, 12 Jul 2003 19:39:44 +0000 (19:39 +0000)]
inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in (on OpenBSD).

* fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
(on OpenBSD).

From-SVN: r69270

21 years ago* fixinc/inclhack.def (gnu_types): Improve comment.
Nathanael Nerode [Sat, 12 Jul 2003 19:25:59 +0000 (19:25 +0000)]
* fixinc/inclhack.def (gnu_types): Improve comment.

From-SVN: r69269

21 years ago* Make-lang.in (treelang/tree-convert.o): Depend on TM_H.
Andreas Jaeger [Sat, 12 Jul 2003 18:54:06 +0000 (20:54 +0200)]
* Make-lang.in (treelang/tree-convert.o): Depend on TM_H.

From-SVN: r69268

21 years agofp-test.c (main): Use ISO C90 prototype.
Andreas Jaeger [Sat, 12 Jul 2003 11:29:18 +0000 (13:29 +0200)]
fp-test.c (main): Use ISO C90 prototype.

* fp-test.c (main): Use ISO C90 prototype.

* version.c: Remove unneded include of ansidecl.h.

* cgraph.h: Convert prototypes to ISO C90.
* cgraph.c: Likewise.
* fix-header.c: Likewise.
* ra.h: Likewise.
* protoize.c: Likewise.

From-SVN: r69265

21 years agocgraphunit.c (cgraph_inlined_into, [...]): Fix warning.
Jan Hubicka [Sat, 12 Jul 2003 04:10:36 +0000 (06:10 +0200)]
cgraphunit.c (cgraph_inlined_into, [...]): Fix warning.

* cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
warning.

From-SVN: r69264

21 years agore PR bootstrap/7126 (zlib version is wrong in zlib/configure.in)
Nathanael Nerode [Sat, 12 Jul 2003 02:04:33 +0000 (02:04 +0000)]
re PR bootstrap/7126 (zlib version is wrong in zlib/configure.in)

PR bootstrap/7126
* configure.in: Correct zlib version number.
* configure: Regenerate.

From-SVN: r69263

21 years agocgraph.c (cgraph_max_uid): New global variable.
Jan Hubicka [Sat, 12 Jul 2003 01:07:40 +0000 (03:07 +0200)]
cgraph.c (cgraph_max_uid): New global variable.

* cgraph.c (cgraph_max_uid): New global variable.
(cgraph_node): Set uid field.
(create_edge): Keep inline flags consistent.
(dump_cgraph): Dump more info.
* cgraph.h (struct cgraph_local_info): Remove inline_many and
can_inline_once; add inlinable, disgread_inline_limits, and self_insn
(struct cgraph_global_info): Add insns, calls, cloned_times,
will_be_output.
(struct cgraph_node): Add uid.
(struct cgraph_edge): Add inline_call.
(cgraph_max_uid, cgraph_inline_p): Declare.
* cgraph.c: Include params.h and fibheap.h
(cgraph_mark_functions_to_inline_once): Kill.
(INSNS_PER_CALL): New constant.
(ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
static variables.
(cgraph_finalize_function): Do not analyze inlining.
(cgraph_finalize_compilation_unit): Set inlining attributes.
(cgraph_mark_functions_to_output): More consistency checks.
(cgraph_optimize_function): Set current_function_decl to NULL.
(cgraph_expand_function): Use new inline flags.
(cgraph_postorder): Expand from cgraph_expand_functions.
(INLINED_TIMES, SET_INLINED_TIMES): New macros.
(cgraph_inlined_into, cgraph_inlined_callees,
cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
cgraph_mark_inline, cgraph_check_inline_limits,
cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
cgraph_decide_inlining, cgraph_inline_p): New functions.
* params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
PARAM_INLINE_UNIT_GROWTH): New parameters.
* tree-inline.c (struct inline_data): New field current_decl.
(expand_call_inline): Avoid forward declarations; use
inlinable_function_p.
(optimize_inline_calls): Set id.current_decl.

Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r69262

21 years agoPatch from Andrew Pinksi.
Andrew Pinski [Sat, 12 Jul 2003 00:35:14 +0000 (00:35 +0000)]
Patch from Andrew Pinksi.

* configure.in: Remove wrongly added definition of
local_prefix.
* configure: Regenerate.

From-SVN: r69261

21 years agoDaily bump.
GCC Administrator [Sat, 12 Jul 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r69259

21 years ago* rtl.def (NOTE): Do not use padding.
Dan Nicolaescu [Fri, 11 Jul 2003 23:49:43 +0000 (23:49 +0000)]
* rtl.def (NOTE): Do not use padding.

From-SVN: r69257

21 years agoPatch from Dara Hazeghi.
Dara Hazeghi [Fri, 11 Jul 2003 23:04:48 +0000 (23:04 +0000)]
Patch from Dara Hazeghi.

* doc/install.tex: Update required binutils for i?86-*-linux*

From-SVN: r69255

21 years agore PR c++/11437 (ICE in lookup_name_real)
Nathanael Nerode [Fri, 11 Jul 2003 23:01:53 +0000 (23:01 +0000)]
re PR c++/11437 (ICE in lookup_name_real)

PR c++/11437
* operators.def: Add definitions for __imag__, __real__.

From-SVN: r69254

21 years agoverify.exp: New file.
Tom Tromey [Fri, 11 Jul 2003 22:23:13 +0000 (22:23 +0000)]
verify.exp: New file.

* libjava.verify/verify.exp: New file.
* libjava.verify/README.verify: New file.

From-SVN: r69253

21 years agoREADME: Note that libffi is not part of GCC.
Gerald Pfeifer [Fri, 11 Jul 2003 22:13:16 +0000 (00:13 +0200)]
README: Note that libffi is not part of GCC.

* README: Note that libffi is not part of GCC.  Update the project
URL and status.

From-SVN: r69250

21 years ago* Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
Richard Henderson [Fri, 11 Jul 2003 22:00:09 +0000 (15:00 -0700)]
* Makefile.in (stage1_build): Force OBJS-onestep=OBJS.

From-SVN: r69249

21 years ago* README: Note that zlib is not part of GCC.
Gerald Pfeifer [Fri, 11 Jul 2003 21:54:40 +0000 (23:54 +0200)]
* README: Note that zlib is not part of GCC.

From-SVN: r69247

21 years ago* README: Note that FastJar is not part of GCC.
Gerald Pfeifer [Fri, 11 Jul 2003 21:48:39 +0000 (23:48 +0200)]
* README: Note that FastJar is not part of GCC.

From-SVN: r69245

21 years agovarasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of TRANSLATION_UNIT_DECL...
Mark Mitchell [Fri, 11 Jul 2003 21:20:18 +0000 (21:20 +0000)]
varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of TRANSLATION_UNIT_DECL as top_level.

* varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
TRANSLATION_UNIT_DECL as top_level.

From-SVN: r69244

21 years agooptabs.c (prepare_cmp_insn): Try cmpmemM first if it exists, then fall back to cmpstrM.
Jakub Jelinek [Fri, 11 Jul 2003 21:04:56 +0000 (23:04 +0200)]
optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists, then fall back to cmpstrM.

* optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
then fall back to cmpstrM.
* builtins.c (expand_builtin_memcmp): Likewise.
* config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
(s390_expand_cmpmem): ... this.
* config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
from cmpstr* patterns.  Rename call to s390_expand_cmpstr
to s390_expand_cmpmem.
* config/s390/s390.c (s390_expand_cmpstr): Rename to...
(s390_expand_cmpstr): ... this.  Rename cmpstr* instructions
to cmpmem*.
* config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
cmpstr* patterns.
* doc/md.texi (cmpstrM): Describe as String compare insn, not
Block compare insn.
(cmpmemM): Add.

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

From-SVN: r69243

21 years agofreebsd.h (SET_ASM_OP): Remove.
Loren J. Rittle [Fri, 11 Jul 2003 20:22:34 +0000 (20:22 +0000)]
freebsd.h (SET_ASM_OP): Remove.

* config/i386/freebsd.h (SET_ASM_OP): Remove.
(SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
(ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.

From-SVN: r69242

21 years agoSharedLibLoader.java: Fix misspelling.
Matt Kraai [Fri, 11 Jul 2003 18:27:54 +0000 (18:27 +0000)]
SharedLibLoader.java: Fix misspelling.

2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>

* gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
* gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
* java/awt/im/InputContext.java: Remove a redundant
partial line.

From-SVN: r69238

21 years agofunction.c (assign_parms): Don't recombine complex args if fnargs is unchanged from...
Richard Henderson [Fri, 11 Jul 2003 16:28:22 +0000 (09:28 -0700)]
function.c (assign_parms): Don't recombine complex args if fnargs is unchanged from orig_fnargs.

        * function.c (assign_parms): Don't recombine complex args if
        fnargs is unchanged from orig_fnargs.
        (split_complex_args): Return args without complex before copying.
        Re-layout the modified parameters.

From-SVN: r69236

21 years agobasic_ios.h (copyfmt): Document.
Jerry Quinn [Fri, 11 Jul 2003 14:25:09 +0000 (14:25 +0000)]
basic_ios.h (copyfmt): Document.

2003-07-11  Jerry Quinn  <jlquinn@optonline.net>

* include/bits/basic_ios.h (copyfmt): Document.
* include/bits/ios_base.h (event, event_callback, register_callback,
xalloc, iword, pword):  Document.
(imbue, ~ios_base): Update docs on callbacks.

From-SVN: r69235

21 years agoregclass.c (choose_hard_reg_mode): Add third argument.
J"orn Rennecke [Fri, 11 Jul 2003 14:09:29 +0000 (14:09 +0000)]
regclass.c (choose_hard_reg_mode): Add third argument.

* regclass.c (choose_hard_reg_mode): Add third argument.
Changed all callers.
* rtl.h (choose_hard_reg_mode): Update declaration.
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
Take HARD_REGNO_CALL_PART_CLOBBERED into account.

From-SVN: r69234

21 years agore PR c++/11050 ("some string" __FUNCTION__ is accepted)
Nathan Sidwell [Fri, 11 Jul 2003 09:18:01 +0000 (09:18 +0000)]
re PR c++/11050 ("some string" __FUNCTION__ is accepted)

cp:
PR c++/11050
* parser.c (cp_parser_expression_list): Rename to ...
(cp_parser_parenthesized_expression_list): ... here. Add attribute
parameter, parse the surounding parentheses.
(cp_parser_skip_to_closing_parenthesis): Add recover and or_comma
parameters. Return int.
(cp_parser_skip_to_closing_parenthesis or comma): Remove.
(cp_parser_postfix_expression): Adjust function call parsing.
(cp_parser_new_placement): Adjust.
(cp_parser_new_initializer): Likewise.
(cp_parser_cast_expression): Likewise.
(cp_parser_selection_statement): Likewise.
(cp_parser_mem_initializer): Likewise.
(cp_parser_asm_definition): Likewise.
(cp_parser_init_declarator): Likewise.
(cp_parser_declarator): Make
cdtor_or_conv_p an int ptr.
(cp_parser_direct_declarator): Likewise. Check for a parameter
list on cdtors & conv functions.
(cp_parser_initializer): Adjust.
(cp_parser_member_declaration): Adjust.
(cp_parser_attribute_list): Move code into
cp_parser_parens_expression_list.
(cp_parser_functional_cast): Adjust.
* pt.c (type_dependent_expression_p): Erroneous expressions are
non-dependent.
testsuite:
PR c++/11050
* g++.dg/parse/args1.C: New test.
* g++.pt/defarg8.C: Change expected errors.

From-SVN: r69230

21 years agore PR c++/8164 (ICE when using different const expressions as template parameter)
Mark Mitchell [Fri, 11 Jul 2003 08:53:59 +0000 (08:53 +0000)]
re PR c++/8164 (ICE when using different const expressions as template parameter)

PR c++/8164
* decl.c (duplicate_decls): Avoid mangling names unnecessarily.

PR c++/8164
* g++.dg/template/nontype2.C: New test.

PR c++/10558
* g++.dg/parse/template8.C: New test.

From-SVN: r69229

21 years agore PR c++/10558 (Segfault on illegal use of template without template args)
Mark Mitchell [Fri, 11 Jul 2003 08:41:44 +0000 (08:41 +0000)]
re PR c++/10558 (Segfault on illegal use of template without template args)

PR c++/10558
* g++.dg/parse/template8.C: New test.

From-SVN: r69226

21 years agoIndex: ChangeLog
Geoffrey Keating [Fri, 11 Jul 2003 08:33:21 +0000 (08:33 +0000)]
Index: ChangeLog
2003-07-10  Geoffrey Keating  <geoffk@apple.com>

* c-decl.c (finish_decl): Handle 'used' here...
* cgraphunit.c (cgraph_finalize_function): ... and here ...
* c-common.c: (handle_used_attribute): ... not here.

* configure.in (onstep): Support --enable-intermodule.
* Makefile.in (OBJS-common): New.
(OBJS-md): New.
(OBJS-archive): New.
(OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
(OBJS-onestep): New.
(libbackend.a): Support @onestep@.
(libbackend.o): New.
* configure: Regenerate.

* c-common.h (c_reset_state): New prototype.
(c_parse_file): New prototype.
(finish_file): Move prototype from c-tree.h.
* c-decl.c: Include <hashtab.h>.
(builtin_decls): New.
(current_file_decl): New.
(duplicate_decls): Add extra parameter. Change all callers.  Don't
output duplicate common symbols.
(link_hash_hash): New.
(link_hash_eq): New.
(poplevel): Handle popping of the top level.
(warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
(pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
(pushdecl_top_level): Likewise.
(redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
(c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
(finish_decl): Handle TRANSLATION_UNIT_DECL.
(merge_translation_unit_decls): New.
(c_write_global_declarations): New.
(c_reset_state): New.
(implicitly_declare): Handle TRANSLATION_UNIT_DECL.
* c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
* c-objc-common.c (c_cannot_inline_tree_fn): Handle
TRANSLATION_UNIT_DECL.
(c_objc_common_finish_file): Call merge_translation_unit_decls.
* c-opts.c (in_fnames): Rename from in_fname.
(c_common_decode_option): Handle multiple input filenames.
(c_common_post_options): Likewise.
(c_common_parse_file): Likewise; also, call c_parse_file rather than
yyparse.
* c-parse.in: Move cleanup code to c_parse_file.
(free_parser_stacks): Move contents to c_parse_file.
(c_parse_file): New.
* c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
for integer types.
(C_DECL_FILE_SCOPE): New.
(finish_file): Move prototype to c-common.h.
(merge_translation_unit_decls): New prototype.
(comptypes): Add extra parameter to prototype.
(c_write_global_declarations): New prototype.
* c-typeck.c (tagged_types_tu_compatible_p): New.
(function_types_compatible_p): Add extra parameter, change all callers.
(type_lists_compatible_p): Likewise.
(comptypes): Likewise.
(struct tagged_tu_seen): New.
(tagged_tu_seen_base): New.
(build_unary_op): Handle TRANSLATION_UNIT_DECL.
(c_mark_addressable): Remove #if 0 code.
* calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
comment explaining why it shouldn't have to.
* cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
options.
* cppinit.c (cpp_read_next_file): New.
(cpp_read_main_file): Use it.
* cpplib.c (undefine_macros): New.
(cpp_undef_all): New.
* cpplib.h (cpp_read_next_file): Prototype.
(cpp_undef_all): Prototype.
* langhooks-def.h (write_global_declarations): Remove prototype.
* toplev.h (write_global_declarations): Add prototype.
* tree.c (decl_type_context): Use switch statement, handle
TRANSLATION_UNIT_DECL.
* tree.def: Update documentation for TRANSLATION_UNIT_DECL.
(TRANSLATION_UNIT_DECL): New kind of tree.
* tree.h: Update documentation for TRANSLATION_UNIT_DECL.
* Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
* doc/invoke.texi: Make attempt to document new functionality.

2003-05-19  Per Bothner <bothner@apple.com>

* gcc.c (combine_inputs): New.
(process_command): Set combine_inputs.
(do_spec_1): Handle combine_inputs.
(main): Likewise.

Index: cp/ChangeLog
2003-07-10  Geoffrey Keating  <geoffk@apple.com>

* decl.c (cp_finish_decl): Handle 'used' attribute.

* cp-lang.c (c_reset_state): New dummy routine.
* cp-tree.h (finish_file): Move prototype to c-common.h.
* parser.c (c_parse_file): Rename from yyparse; don't call finish_file.

From-SVN: r69224

21 years agore PR c++/8327 (In definition of template static member value of static const member...
Mark Mitchell [Fri, 11 Jul 2003 08:20:19 +0000 (08:20 +0000)]
re PR c++/8327 (In definition of template static member value of static const member isn't known)

PR c++/8327
* pt.c (tsubst_qualified_id): Implement suggested resolution for
Core Issue 2.
(type_dependent_expression_p): Likewise.

PR c++/8327
* g++.dg/template/scope1.C: New test.

From-SVN: r69223

21 years agotypeck.c (build_binary_op): Do not warn about signed vs.
Mark Mitchell [Fri, 11 Jul 2003 08:13:58 +0000 (08:13 +0000)]
typeck.c (build_binary_op): Do not warn about signed vs.

* typeck.c (build_binary_op): Do not warn about signed
vs. unsigned comparisons in the bodies of templates.

* g++.dg/warn/Wsign-compare-1.C: New test.

From-SVN: r69222

21 years agore PR rtl-optimization/9745 ([powerpc] miscompiles libmcrypt (alias problem during...
James E Wilson [Fri, 11 Jul 2003 06:44:40 +0000 (23:44 -0700)]
re PR rtl-optimization/9745 ([powerpc] miscompiles libmcrypt (alias problem during loop))

PR optimization/9745
* loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
loop_insn_emit_before.
(loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.

From-SVN: r69220

21 years agotest_installed: Add options to run objc tests.
Matthias Klose [Fri, 11 Jul 2003 06:05:01 +0000 (06:05 +0000)]
test_installed: Add options to run objc tests.

2003-07-11  Matthias Klose  <doko@debian.org>

        * test_installed: Add options to run objc tests.
        In generated site.exp, initialize rootme, CFLAGS, CXXFLAGS.

From-SVN: r69219

21 years agocppcharset.c: Fix comment.
Zack Weinberg [Fri, 11 Jul 2003 05:49:47 +0000 (05:49 +0000)]
cppcharset.c: Fix comment.

* cppcharset.c: Fix comment.
(iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
(EILSEQ): #define to EINVAL if not already defined.
(convert_using_iconv): #if out when !HAVE_ICONV.
(init_iconv_desc): Handle !HAVE_ICONV here...
(cpp_init_iconv): ...not here.

From-SVN: r69218

21 years agocommon.opt: More --help messages.
Neil Booth [Fri, 11 Jul 2003 05:35:06 +0000 (05:35 +0000)]
common.opt: More --help messages.

* common.opt: More --help messages.
* opts.c (print_help): Use puts().
* toplev.c (f_options): Remove help text.
(display_help): Don't dump f_options.

From-SVN: r69217

21 years agomkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
Nathanael Nerode [Fri, 11 Jul 2003 05:24:48 +0000 (05:24 +0000)]
mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.

* fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
Move i?86-*-interix* to the don't-fix list.
* fixinc/fixinc.interix: Delete with extreme prejudice.

From-SVN: r69216

21 years agore PR bootstrap/10758 (bootstrap failure on HP-UX 11.22/IPF)
Dara Hazeghi [Fri, 11 Jul 2003 04:59:35 +0000 (04:59 +0000)]
re PR bootstrap/10758 (bootstrap failure on HP-UX 11.22/IPF)

Patch from Dara Hazeghi.
PR bootstrap/10758
* doc/install.texi: Document requirements for ia64-*-hpux* target.

From-SVN: r69214

21 years agoMissed one spot from the previous change.
Phil Edwards [Fri, 11 Jul 2003 04:32:25 +0000 (04:32 +0000)]
Missed one spot from the previous change.

From-SVN: r69213

21 years agoacinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments.
Phil Edwards [Fri, 11 Jul 2003 04:04:49 +0000 (04:04 +0000)]
acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments.

2003-07-11  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4 (GLIBCC_ENABLE_SYMVERS):  Tweak comments.  Add
warning messages if the environment cannot support symbol versioning.
(port_specific_symbol_file):  It's plural, add an 's' on the end.
* configure.host:  Likewise.
* src/Makefile.am:  Likewise.
* config/linker-map.gnu:  Remove one semicolon, heh.
* scripts/extract_symvers:  Don't assume useful 'export' syntax.
Set LANG as well as LC_ALL for possibly-broken sort(1)s.
* aclocal.m4, configure, src/Makefile.in:  Regenerated.

From-SVN: r69212

21 years ago* gcc.dg/20021018-1.c: Disable if the sizeof (int) < 4.
Kazu Hirata [Fri, 11 Jul 2003 03:28:56 +0000 (03:28 +0000)]
* gcc.dg/20021018-1.c: Disable if the sizeof (int) < 4.

From-SVN: r69210

21 years ago* config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
Roger Sayle [Fri, 11 Jul 2003 03:10:48 +0000 (03:10 +0000)]
* config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.

From-SVN: r69209

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

From-SVN: r69207

21 years agocppcharset.c (one_utf8_to_cppchar, [...]): New functions.
Zack Weinberg [Thu, 10 Jul 2003 23:16:31 +0000 (23:16 +0000)]
cppcharset.c (one_utf8_to_cppchar, [...]): New functions.

* cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
convert_no_conversion, convert_using_iconv): New functions.
(APPLY_CONVERSION): New macro.
(struct conversion, conversion_tab): New data structure.
(init_iconv_desc): Check conversion_tab for a custom conversion
primitive before trying to use iconv.
(convert_cset): Deleted.
(cpp_init_iconv): Use UTF- terminology, not UCS-.
(_cpp_destroy_iconv): Update to match.
(_cpp_valid_ucn): We don't need iconv to implement UCNs.
(convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
(convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
(_cpp_interpret_string_notranslate): New function, moved here
from cpplib.c.

* cpphash.h (convert_f, struct cset_converter): New types.
(struct cpp_reader): narrow_cset_desc and wide_cset_desc
are now struct cset_converter, not bare iconv_t.
Update prototypes.
* cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
all callers changed.

From-SVN: r69204

21 years agooops
Kelley Cook [Thu, 10 Jul 2003 20:46:28 +0000 (20:46 +0000)]
oops

From-SVN: r69203

21 years agoMake-lang.in: Update.
Neil Booth [Thu, 10 Jul 2003 20:43:48 +0000 (20:43 +0000)]
Make-lang.in: Update.

* Make-lang.in: Update.
* tree1.c: Don't include c-common.h.
(c_language): Remove.

From-SVN: r69202

21 years agoffe.texi: Correctly use @var{srcdir}.
Toon Moene [Thu, 10 Jul 2003 20:42:21 +0000 (22:42 +0200)]
ffe.texi: Correctly use @var{srcdir}.

2003-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* ffe.texi: Correctly use @var{srcdir}.

From-SVN: r69201

21 years agoMakefile.in (options.h): Depend on Makefile.
Kelley Cook [Thu, 10 Jul 2003 20:42:05 +0000 (20:42 +0000)]
Makefile.in (options.h): Depend on Makefile.

* Makefile.in (options.h): Depend on Makefile.  Add move-if-change
to opts.sh command line.
* opts.sh: Write to temporary files with a move-if-change at the end.

From-SVN: r69200

21 years agocombine.c (gen_binary): Handle the CLOBBER rtx and don't build a binary operation...
Denis Chertykov [Thu, 10 Jul 2003 20:28:09 +0000 (20:28 +0000)]
combine.c (gen_binary): Handle the CLOBBER rtx and don't build a binary operation with it.

* combine.c (gen_binary): Handle the CLOBBER rtx and
don't build a binary operation with it.

Co-Authored-By: Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
From-SVN: r69199

21 years agogcse.c (load_kills_store, [...]): Keep track of the correct dependency function to...
Zdenek Dvorak [Thu, 10 Jul 2003 19:48:43 +0000 (21:48 +0200)]
gcse.c (load_kills_store, [...]): Keep track of the correct dependency function to use.

* gcse.c (load_kills_store, find_loads, store_killed_in_insn,
store_killed_after, store_killed_before): Keep track of the correct
dependency function to use.

From-SVN: r69198

21 years agore PR c++/9411 ([New parser] Template function lookup problem)
Mark Mitchell [Thu, 10 Jul 2003 19:19:09 +0000 (19:19 +0000)]
re PR c++/9411 ([New parser] Template function lookup problem)

PR c++/9411
* parser.c (cp_parser_postfix_expression): Check dependency of
functions.

PR c++/9411
* g++.dg/template/explicit2.C: New test.

From-SVN: r69196

21 years agotoplev.c (do_compile): Don't try to open dump files before lang_dependent_init initia...
Steven Bosscher [Thu, 10 Jul 2003 19:15:10 +0000 (19:15 +0000)]
toplev.c (do_compile): Don't try to open dump files before lang_dependent_init initializes dump_base_name.

2003-07-10  Steven Bosscher  <steven@gcc.gnu.org>
* toplev.c (do_compile): Don't try to open dump files before
lang_dependent_init initializes dump_base_name.

From-SVN: r69195

21 years agoarm.c (arm_init_iwmmxt_builtins, [...]): Use ARRAY_SIZE.
Kaveh R. Ghazi [Thu, 10 Jul 2003 18:04:25 +0000 (18:04 +0000)]
arm.c (arm_init_iwmmxt_builtins, [...]): Use ARRAY_SIZE.

* config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
Use ARRAY_SIZE.
* config/frv/frv.c (frv_expand_builtin): Likewise.
* config/sh/sh.c (sh_media_init_builtins): Likewise.

From-SVN: r69194

21 years agore PR c++/10032 (-pedantic converts some errors to warnings)
Mark Mitchell [Thu, 10 Jul 2003 16:47:52 +0000 (16:47 +0000)]
re PR c++/10032 (-pedantic converts some errors to warnings)

PR c++/10032
* doc/invoke.texi (C++ Dialect Options): Change documentation of
-fpermissive.

PR c++/10032
* decl.c (cxx_init_decl_processing): With -pedantic, pedwarns are
still errors.

PR c++/10527
* error.c (decl_to_string): Do not print default argument
expressions.

* cp-tree.h (break_out_calls): Remove declaration.
* tree.c (break_out_calls): Remove.
* typeck.c (build_modify_expr): Avoid invalid sharing of trees.

PR c++/10032
* g++.dg/warn/pedantic1.C: New test.

From-SVN: r69191

21 years ago* tm.texi (RETURN_ADDR_OFFSET): Document.
J"orn Rennecke [Thu, 10 Jul 2003 14:56:33 +0000 (14:56 +0000)]
* tm.texi (RETURN_ADDR_OFFSET): Document.

From-SVN: r69190