gcc.git
21 years agoFurther conform g++'s __vmi_class_type_info to the C++ ABI specification.
Jeffrey D. Oldham [Tue, 14 Jan 2003 21:36:20 +0000 (21:36 +0000)]
Further conform g++'s __vmi_class_type_info to the C++ ABI specification.

2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>

Further conform g++'s __vmi_class_type_info to the C++ ABI
specification.
* gcc/cp/rtti.c (dfs_class_hint_mark): Do not set hints not
specified by the specification.
(class_hint_flags): Likewise.
* gcc/testsuite/g++.old-deja/g++.abi/vmihint.C (main): Revise
expected flags per the specification.
* libstdc++-v3/libsupc++/cxxabi.h
(__vmi_class_type_info::__flags_masks): Remove enumerations not
required by the specification.

From-SVN: r61304

21 years ago2003-01-14 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 14 Jan 2003 21:21:35 +0000 (21:21 +0000)]
2003-01-14  Michael Koch  <konqueror@gmx.de>

* java/awt/Label.java
(Label): Implements javax.accessibility.Accessible;
* java/awt/List.java
(List): Implements javax.accessibility.Accessible;
* java/awt/ScrollPane.java
(ScrollPane): Implements javax.accessibility.Accessible;
* java/awt/Scrollbar.java
(Scrollbar): Implements javax.accessibility.Accessible;
* java/awt/TextComponent.java
(setCaretPosition): Throw exception, documentation added.
* java/awt/Toolkit.java:
Added some newlines in method documentations.
(createButton): Exception documentation added.
(createTextField): Exception documentation added.
(createLabel): Exception documentation added.
(createList): Exception documentation added.
(createCheckbox): Exception documentation added.
(createScrollbar): Exception documentation added.
(createScrollPane): Exception documentation added.
(createTextArea): Exception documentation added.
(createChoice): Exception documentation added.
(createFrame): Exception documentation added.
(createWindow): Exception documentation added.
(createDialog): Exception documentation added.
(createMenuBar): Exception documentation added.
(createMenu): Exception documentation added.
(createMenuItem): Exception documentation added.
(createFileDialog): Exception documentation added.
(createCheckboxMenuItem): Exception documentation added.
(loadSystemColors): Exception documentation added.
(setDynamicLayout): Exception documentation added.
(isDynamicLayoutSet): Exception documentation added.
(isDynamicLayoutActive): Exception documentation added.
(getScreenSize): Exception documentation added.
(getScreenResolution): Exception documentation added.
(getScreenInsets): Exception documentation added.
(getColorModel): Exception documentation added.
(getSystemClipboard): Exception documentation added.
(getSystemSelection): Exception documentation added.
(getMenuShortcutKeyMask): Exception documentation added.
(getSystemEventQueue): Exception documentation added.
* java/awt/Window.java:
Reindented some code.
(Window): Centralized implementation, documentation added.
(finalize): Documentation added.
(hide): Fixed typo in comment.
(getWindowListeners): Documentation added.
* java/awt/color/ColorSpace.java
(toRGB): Documentation added.
* java/awt/color/ICC_ColorSpace.java
(ICC_ColorSpace): Documentation added.
(toRGB): Throw exception, documentation added.
(fromRGB): Throw exception, documentation added.
(toCIEXYZ): Documentation added.
(fromCIEXYZ): Documentation added.
(getMinValue): Documentation added.
(getMaxValue): Documentation added.
* java/awt/geom/Dimension2D.java
(clone): Documentation added.
* java/awt/geom/GeneralPath.java
(clone): Documentation added.
* java/awt/geom/Line2D.java
(clone): Documentation added.
* java/awt/geom/QuadCurve2D.java
(clone): Documentation added.
* java/awt/image/ColorModel.java
(ColorModel): Throw exception, documentation added.
* java/awt/image/ImageFilter.java
(clone): Doesnt throw CloneNotSupportedException.

From-SVN: r61303

21 years ago* config.h.in: Rebuilt.
Tom Tromey [Tue, 14 Jan 2003 21:16:20 +0000 (21:16 +0000)]
* config.h.in: Rebuilt.

From-SVN: r61302

21 years agoip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
Denis Chertykov [Tue, 14 Jan 2003 20:25:25 +0000 (20:25 +0000)]
ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.

* config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
(VALID_MACHINE_TYPE_ATTRIBUTE): Remove.

* config/ip2k/ip2k.c (ip2k_attribute_table): New table of
        attributes.
(TARGET_ATTRIBUTE_TABLE): New macro.
(valid_machine_type_attribute): Remove.
(valid_machine_decl_attribute): Remove.
(ip2k_handle_progmem_attribute): New function.
(ip2k_handle_fndecl_attribute): New function.

From-SVN: r61295

21 years agonatRuntime.cc (_load): StackTrace access needs to be in a try block.
Andrew Haley [Tue, 14 Jan 2003 19:26:21 +0000 (19:26 +0000)]
natRuntime.cc (_load): StackTrace access needs to be in a try block.

2003-01-14  Andrew Haley  <aph@redhat.com>

        * java/lang/natRuntime.cc (_load): StackTrace access needs to be
        in a try block.

From-SVN: r61293

21 years agoclass.c (make_class_data): Check that super is compiled before building class referen...
Tom Tromey [Tue, 14 Jan 2003 18:59:01 +0000 (18:59 +0000)]
class.c (make_class_data): Check that super is compiled before building class reference to it.

* class.c (make_class_data): Check that super is compiled before
building class reference to it.

From-SVN: r61292

21 years agoffi64.c (ffi_prep_args): Check for void retval.
Andrew Haley [Tue, 14 Jan 2003 18:42:29 +0000 (18:42 +0000)]
ffi64.c (ffi_prep_args): Check for void retval.

2003-01-14  Andrew Haley  <aph@redhat.com>

        * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
        (ffi_prep_cif_machdep): Likewise.
        * src/x86/unix64.S: Add unwind info.

From-SVN: r61291

21 years agodecl.c (java_init_decl_processing): _Jv_NewMultiArray is a varargs function -- correct.
Andrew Haley [Tue, 14 Jan 2003 17:01:04 +0000 (17:01 +0000)]
decl.c (java_init_decl_processing): _Jv_NewMultiArray is a varargs function -- correct.

2003-01-14  Andrew Haley  <aph@redhat.com>

        * decl.c (java_init_decl_processing): _Jv_NewMultiArray is a
        varargs function -- correct.

From-SVN: r61289

21 years agolinux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename registers to be in correct order.
Andrew Haley [Tue, 14 Jan 2003 15:22:22 +0000 (15:22 +0000)]
linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename registers to be in correct order.

2003-01-10  Andrew Haley  <aph@redhat.com>

        * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
        registers to be in correct order.  Add rip.

From-SVN: r61287

21 years agodecl.c (java_init_decl_processing): Temporarily back out previous patch.
Andrew Haley [Tue, 14 Jan 2003 15:03:16 +0000 (15:03 +0000)]
decl.c (java_init_decl_processing): Temporarily back out previous patch.

2003-01-14  Andrew Haley  <aph@redhat.com>

        * decl.c (java_init_decl_processing): Temporarily back out previous patch.

From-SVN: r61286

21 years agodwarf2-signal.h: Remove x86_64.
Andrew Haley [Tue, 14 Jan 2003 14:02:13 +0000 (14:02 +0000)]
dwarf2-signal.h: Remove x86_64.

2003-01-10  Andrew Haley  <aph@redhat.com>

        * include/dwarf2-signal.h: Remove x86_64.
        * configure.host (x86_64 DIVIDESPEC): Remove.
        * include/x86_64-signal.h: New file.
        * configure.in: Regenerate.

From-SVN: r61285

21 years agodwarf2-signal.h: Remove x86_64.
Andrew Haley [Tue, 14 Jan 2003 13:51:15 +0000 (13:51 +0000)]
dwarf2-signal.h: Remove x86_64.

2003-01-10  Andrew Haley  <aph@redhat.com>

        * include/dwarf2-signal.h: Remove x86_64.
        * configure.host (x86_64 DIVIDESPEC): Remove.
        * include/x86_64-signal.h: New file.
        * configure.in: Regenerate.

From-SVN: r61284

21 years agoconfig-lang.in: Add semantics.c to gtfiles.
Kriang Lerdsuwanakij [Tue, 14 Jan 2003 13:40:53 +0000 (13:40 +0000)]
config-lang.in: Add semantics.c to gtfiles.

* config-lang.in: Add semantics.c to gtfiles.
* cp-tree.h (flagged_type_tree_s): Remove lookups field.
(saved_scope): Likewise.
(type_lookups): Remove.
(deferred_access): New structure.
(type_access_control): Remove.
(save_type_access_control): Likewise.
(reset_type_access_control): Likewise.
(decl_type_access_control): Likewise.
(push_deferring_access_checks): Declare.
(resume_deferring_access_checks): Likewise.
(stop_deferring_access_checks): Likewise.
(pop_deferring_access_checks): Likewise.
(get_deferred_access_checks): Likewise.
(pop_to_parent_deferring_access_checks): Likewise.
(perform_deferred_access_checks): Likewise.
(perform_or_defer_access_check): Likewise.
* decl.c (make_typename_type): Use perform_or_defer_access_check.
(make_unbound_class_template): Likewise.
(grokdeclarator): Don't call decl_type_access_control.
* parser.c (cp_parser_context): Remove deferred_access_checks
and deferring_access_checks_p fields.
(cp_parser_context_new): Adjust.
(cp_parser): Remove access_checks_lists.
(cp_parser_defer_access_check): Remove.
(cp_parser_start_deferring_access_checks): Remove.
(cp_parser_stop_deferring_access_checks): Remove.
(cp_parser_perform_deferred_access_checks): Remove.
(cp_parser_nested_name_specifier_opt): Use new deferred access
functions.
(cp_parser_simple_declaration): Likewise.
(cp_parser_template_id): Likewise.
(cp_parser_function_definition): Likewise.
(cp_parser_class_specifier): Likewise.
(cp_parser_lookup_name): Likewise.
(cp_parser_single_declaration): Likewise.
(cp_parser_pre_parsed_nested_name_specifier): Likewise.
(cp_parser_parse_tentatively): Likewise.
(cp_parser_parse_definitely): Likewise.
(yyparse): Likewise.
(cp_parser_init_declarator): Remove access_checks parameter.
Use new deferred access functions.
(cp_parser_function_definition_from_specifiers_and_declarator):
Likewise.
(cp_parser_class_head): Remove deferring_access_checks_p and
saved_access_checks parameters.  Use new deferred access functions.
(cp_parser_member_specification_opt): Don't call
reset_type_access_control.
* search.c (type_access_control): Remove.
* semantics.c: Include "gt-cp-semantics.h".
(deferred_type_access_control): Remove.
(deferred_access_stack): New variable.
(deferred_access_free_list): Likewise.
(push_deferring_access_checks): New function.
(resume_deferring_access_checks): Likewise.
(stop_deferring_access_checks): Likewise.
(pop_deferring_access_checks): Likewise.
(get_deferred_access_checks): Likewise.
(pop_to_parent_deferring_access_checks): Likewise.
(perform_deferred_access_checks): New function, adapted from
cp_parser_perform_deferred_access_checks.
(perform_or_defer_access_check): New function, adapted from
cp_parser_defer_access_check.
(current_type_lookups): Remove.
(deferred_type_access_control): Likewise.
(decl_type_access_control): Likewise.
(save_type_access_control): Likewise.
(reset_type_access_control): Likewise.
(begin_function_definition): Adjust.
(begin_class_definiton): Likewise.

From-SVN: r61283

21 years agolinux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename registers to be in correct order.
Andrew Haley [Tue, 14 Jan 2003 13:33:03 +0000 (13:33 +0000)]
linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename registers to be in correct order.

2003-01-10    <aph@host240.cambridge.redhat.com>

        * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
        registers to be in correct order.  Add rip.

From-SVN: r61282

21 years ago[multiple changes]
Andrew Haley [Tue, 14 Jan 2003 13:31:11 +0000 (13:31 +0000)]
[multiple changes]

2003-01-14  Andrew Haley  <aph@redhat.com>

        * decl.c (java_init_decl_processing): _Jv_NewMultiArray is a
        varargs function -- correct.

        * parse.y (patch_assignment): Copy the rhs of an assignment into a
        temporary if the RHS is a reference.

2003-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * Make-lang.in (keyword.h): Pass "-L ANSI-C" to gperf.
        * keyword.h: Regenerated.

        * All Files: Convert to ISO C style function definitions.

From-SVN: r61281

21 years agoh8300.md (*andsi3_lshiftrt_9_sb): New.
Kazu Hirata [Tue, 14 Jan 2003 13:11:24 +0000 (13:11 +0000)]
h8300.md (*andsi3_lshiftrt_9_sb): New.

* config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
(*iorsi3_and_lshiftrt_9_sb): Likewise.

From-SVN: r61280

21 years agoconvert.c (strip_float_extensions): Look for narrowest type handling FP constants.
Jan Hubicka [Tue, 14 Jan 2003 13:03:47 +0000 (14:03 +0100)]
convert.c (strip_float_extensions): Look for narrowest type handling FP constants.

* convert.c (strip_float_extensions):  Look for narrowest type handling
FP constants.

* fold-const.c (fold):  Fold (double)float1 CMP (double)float2 into
float1 CMP float2.
* convert.c (strip_float_extensions): Make global.
* tree.h (strip_float_extensions): Declare.

* gcc.dg/i386-fpcvt-1.c: New test.
* gcc.dg/i386-fpcvt-2.c: New test.

From-SVN: r61279

21 years ago* gcc.dg/i386-mmx-3.c: New test.
Eric Botcazou [Tue, 14 Jan 2003 11:35:02 +0000 (11:35 +0000)]
* gcc.dg/i386-mmx-3.c: New test.

From-SVN: r61275

21 years agoffitest.c (main): Only use ffi_closures if those are supported.
Andreas Jaeger [Tue, 14 Jan 2003 09:50:48 +0000 (10:50 +0100)]
ffitest.c (main): Only use ffi_closures if those are supported.

* src/ffitest.c (main): Only use ffi_closures if those are
supported.

From-SVN: r61273

21 years agoDaily bump.
GCC Administrator [Tue, 14 Jan 2003 08:17:31 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r61272

21 years agoMake-lang.in (treelang.install-info): Depend only on info files if BUILD_INFO is...
Andreas Jaeger [Tue, 14 Jan 2003 08:03:58 +0000 (09:03 +0100)]
Make-lang.in (treelang.install-info): Depend only on info files if BUILD_INFO is set.

* Make-lang.in (treelang.install-info): Depend only on info files
if BUILD_INFO is set.  Fix install rules.
(treelang.): New.

From-SVN: r61264

21 years ago[multiple changes]
Tom Tromey [Tue, 14 Jan 2003 05:15:21 +0000 (05:15 +0000)]
[multiple changes]

2003-01-13 Andreas Tobler <a.tobler@schweiz.ch>

* libffi/src/ffitest.c
         add closure testcases

2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca>

* libffi/src/powerpc/ffi.c
         fix alignment bug for float (4 byte aligned iso 8 byte)

From-SVN: r61263

21 years agoRenames, namespaces for testsuite utilities.
Benjamin Kosnik [Tue, 14 Jan 2003 04:56:56 +0000 (04:56 +0000)]
Renames, namespaces for testsuite utilities.

2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>

Renames, namespaces for testsuite utilities.
* testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
(gnu_allocator_tracker): Rename to allocation_tracker.
(gnu_new_allocator): Rename to tracker_alloc.
(__set_testsuite_memlimit): Rename to set_memory_limits.
(gnu_assignment_operator): Rename to assignment_operator.
(gnu_destructor): Rename to destructor.
(gnu_copy_tracker): Rename to copy_tracker.
(gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
(run_tests_wrapped_locale): New.
(run_tests_wrapped_env): New.
* testsuite/testsuite_hooks.cc: Same.
(class locale_data): Add.
(class enviornment_variable): Add.
(class not_found): Add.
* testsuite/testsuite_allocator.h: Same.
* testsuite/testsuite_allocator.cc: Same.
* testsuite/23_containers/deque_ctor.cc
(test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
allocation_tracker.
Change gnu_new_allocator to tracker_alloc.
Change gnu_counting_struct to counter.
Change gnu_copy_tracker to copy_tracker.
Change gnu_copy_constructor to copy_constructor.
Change gnu_assignment_operator to assignment_operator.
Inject.
* testsuite/23_containers/vector_capacity.cc: Same.
* testsuite/23_containers/vector_ctor.cc (test01): Same.
* testsuite/23_containers/list_modifiers.cc: Change
gnu_copy_tracker to copy_tracker.
* testsuite/21_strings/ctor_copy_dtor.cc (main): Change
__set_testsuite_memlimit to set_memory_limits.
* testsuite/21_strings/insert.cc (main): Same.
* testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.
* testsuite/27_io/streambuf.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/lib/libstdc++-v3-dg.exp
(libstdc++-v3-list-sourcefiles): Additionally handle files two and
three levels deeper in glob patterns.

From-SVN: r61261

21 years agotimevar.def: define TV_NAME_LOOKUP.
Gabriel Dos Reis [Tue, 14 Jan 2003 03:38:24 +0000 (03:38 +0000)]
timevar.def: define TV_NAME_LOOKUP.

        * timevar.def: define TV_NAME_LOOKUP.
        * timevar.c (timevar_pop): Be verbose when aborting.

From-SVN: r61260

21 years agoAdd 2003 copyright notices for constraints string patch, also 2002 notice
Joern Rennecke [Mon, 13 Jan 2003 21:37:13 +0000 (21:37 +0000)]
Add 2003 copyright notices for constraints string patch, also 2002 notice
for genoutput.c .

From-SVN: r61258

21 years agoMakefile.in ($(parsedir)/gengtype-lex.c): Don't change to $(parsedir), just move...
Andreas Schwab [Mon, 13 Jan 2003 20:37:28 +0000 (20:37 +0000)]
Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to $(parsedir), just move the temporary file at the end.

* Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
$(parsedir), just move the temporary file at the end.
($(parsedir)/gengtype-yacc.c): Likewise.

From-SVN: r61257

21 years agoaclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend ${ac_tool_prefix} to ADAC or CC.
Alexandre Oliva [Mon, 13 Jan 2003 17:23:25 +0000 (17:23 +0000)]
aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend ${ac_tool_prefix} to ADAC or CC.

* aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
${ac_tool_prefix} to ADAC or CC.  Protect them from word
splitting.
* configure: Rebuilt.

From-SVN: r61254

21 years agogmon-sol2.c (moncontrol, [...]): Don't use PARAMS.
Kaveh R. Ghazi [Mon, 13 Jan 2003 16:23:31 +0000 (16:23 +0000)]
gmon-sol2.c (moncontrol, [...]): Don't use PARAMS.

* config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
internal_mcount): Don't use PARAMS.
(monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
ISO C style.
(internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.

From-SVN: r61253

21 years agosysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type directive.
Andreas Schwab [Mon, 13 Jan 2003 15:38:58 +0000 (15:38 +0000)]
sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type directive.

* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
directive.

From-SVN: r61252

21 years agoh8300.md (*andsi3_lshift_n_sb): New.
Kazu Hirata [Mon, 13 Jan 2003 13:20:27 +0000 (13:20 +0000)]
h8300.md (*andsi3_lshift_n_sb): New.

* config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
(*iorsi3_and_lshiftrt_n_sb): Likewise.

From-SVN: r61251

21 years agore PR c++/8748 (ICE in cp_expr_size at cp/cp-lang.c: 307)
Jason Merrill [Mon, 13 Jan 2003 09:16:21 +0000 (04:16 -0500)]
re PR c++/8748 (ICE in cp_expr_size at cp/cp-lang.c: 307)

        PR c++/8748
        * class.c (build_base_path): Take the address before calling save_expr.

From-SVN: r61250

21 years agocall.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if all the ambiguous conve...
Jason Merrill [Mon, 13 Jan 2003 09:16:06 +0000 (04:16 -0500)]
call.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if all the ambiguous conversions are bad.

        * call.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if
        all the ambiguous conversions are bad.

From-SVN: r61249

21 years agoclass.c (maybe_warn_about_overly_private_class): Don't stop searching when we find...
Jason Merrill [Mon, 13 Jan 2003 09:15:29 +0000 (04:15 -0500)]
class.c (maybe_warn_about_overly_private_class): Don't stop searching when we find a nonprivate method.

        * class.c (maybe_warn_about_overly_private_class): Don't stop
        searching when we find a nonprivate method.

From-SVN: r61248

21 years agore PR c++/8748 (ICE in cp_expr_size at cp/cp-lang.c: 307)
Jason Merrill [Mon, 13 Jan 2003 09:14:47 +0000 (04:14 -0500)]
re PR c++/8748 (ICE in cp_expr_size at cp/cp-lang.c: 307)

        PR c++/8748
        * class.c (build_base_path): Take the address before calling save_expr.

        * call.c (build_user_type_conversion_1): Do set ICS_BAD_FLAG if
        all the ambiguous conversions are bad.

        * class.c (maybe_warn_about_overly_private_class): Don't stop
        searching when we find a nonprivate method.

        * typeck.c (build_class_member_access_expr): Use unary_complex_lvalue.

From-SVN: r61246

21 years agoDaily bump.
GCC Administrator [Mon, 13 Jan 2003 08:17:46 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r61245

21 years agore PR libgcj/9139 (mauve tests require installation)
Tom Tromey [Mon, 13 Jan 2003 00:22:20 +0000 (00:22 +0000)]
re PR libgcj/9139 (mauve tests require installation)

Fix for PR libgcj/9139:
* lib/libjava.exp (find_javac): Put value of libgcj_jar into
return value when gcj is used.
* libjava.mauve/mauve.exp (test_mauve): Use libgcj_jar global.

From-SVN: r61237

21 years agore PR c++/9264 ([parser] ICE on invalid octal constant)
Mark Mitchell [Mon, 13 Jan 2003 00:16:12 +0000 (00:16 +0000)]
re PR c++/9264 ([parser] ICE on invalid octal constant)

* cp-tree.h (get_arglist_len_in_bytes): Remove.

PR c++/9264
* parser.c (cp_parser_elaborated_type_specifier): Handle erroneous
typeame types more robustly.

PR c++/9172
* g++.dg/parse/typename1.C: New file.

From-SVN: r61236

21 years agore PR c++/9264 ([parser] ICE on invalid octal constant)
Mark Mitchell [Mon, 13 Jan 2003 00:14:59 +0000 (00:14 +0000)]
re PR c++/9264 ([parser] ICE on invalid octal constant)

PR c++/9264
* c-lex.c (c_lex): Set the token value to error_mark_node for
invalid numeric constants.

PR c++/9264
* g++.dg/parse/octal1.C: New file.

From-SVN: r61235

21 years agoc-pch.c (asm_file_startpos): Change to `long'.
Kaveh R. Ghazi [Sun, 12 Jan 2003 16:44:09 +0000 (16:44 +0000)]
c-pch.c (asm_file_startpos): Change to `long'.

* c-pch.c (asm_file_startpos): Change to `long'.
(pch_init): Use ftell, not ftello.
(c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
Use `long' instead of `off_t'.
(c_common_read_pch): Likewise.
* ggc-common.c (gt_pch_save): Use long/ftell instead of
off_t/ftello.

From-SVN: r61233

21 years agoDaily bump.
GCC Administrator [Sun, 12 Jan 2003 08:17:26 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r61229

21 years agotables.html: Finished now.
Phil Edwards [Sun, 12 Jan 2003 02:56:50 +0000 (02:56 +0000)]
tables.html: Finished now.

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

* docs/doxygen/tables.html:  Finished now.
* docs/doxygen/user.cfg.in:  Update to latest version of Doxygen.
* include/bits/basic_ios.h (basic_ios::rdbuf):  Add example to
comments.

* include/bits/deque.tcc, include/bits/stl_alloc.h,
include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h:  Remove _GLIBCPP_DEPRECATED bits scheduled
for 3.4 removal.

From-SVN: r61221

21 years agoMake-lang.in (keyword.h): Pass "-L ANSI-C" to gperf.
Kaveh R. Ghazi [Sun, 12 Jan 2003 02:43:41 +0000 (02:43 +0000)]
Make-lang.in (keyword.h): Pass "-L ANSI-C" to gperf.

* Make-lang.in (keyword.h): Pass "-L ANSI-C" to gperf.

* keyword.h: Regenerated.

From-SVN: r61220

21 years agocom.c (ffecom_convert_narrow_, [...]): Convert to ISO C style function definitions.
Kaveh R. Ghazi [Sun, 12 Jan 2003 02:32:39 +0000 (02:32 +0000)]
com.c (ffecom_convert_narrow_, [...]): Convert to ISO C style function definitions.

* com.c (ffecom_convert_narrow_, ffecom_convert_widen_,
pushdecl_top_level, storedecls, convert, delete_block,
insert_block, ffe_init, ffe_mark_addressable, poplevel,
ffe_print_identifier, pushdecl, pushlevel, set_block,
ffe_signed_or_unsigned_type, ffe_signed_type,
ffe_truthvalue_conversion, ffe_type_for_mode, ffe_type_for_size,
ffe_unsigned_type, append_include_chain, open_include_file,
read_filename_string, read_name_map): Convert to ISO C style function
definitions.
* parse.c (ffe_parse_file): Likewise.
* top.c (ffe_is_digit_string_): Likewise.

From-SVN: r61219

21 years ago* All Files: Convert to ISO C style function definitions.
Kaveh R. Ghazi [Sun, 12 Jan 2003 02:14:56 +0000 (02:14 +0000)]
* All Files: Convert to ISO C style function definitions.

From-SVN: r61218

21 years ago* expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
Alan Modra [Sat, 11 Jan 2003 22:43:12 +0000 (22:43 +0000)]
* expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.

From-SVN: r61215

21 years ago* arm-protos.h (struct cpp_reader): Add declaration.
Richard Earnshaw [Sat, 11 Jan 2003 12:19:46 +0000 (12:19 +0000)]
* arm-protos.h (struct cpp_reader): Add declaration.

From-SVN: r61203

21 years agore PR target/9068 ([x86] comisd & comiss constraints are incorrect)
Jan Hubicka [Sat, 11 Jan 2003 10:07:57 +0000 (11:07 +0100)]
re PR target/9068 ([x86] comisd & comiss constraints are incorrect)

PR target/9068
* i386.c (output_fp_compare): Fix typo.

From-SVN: r61199

21 years agoparser.c: Fix comment typos.
Phil Edwards [Sat, 11 Jan 2003 09:09:41 +0000 (09:09 +0000)]
parser.c: Fix comment typos.

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

* parser.c:  Fix comment typos.

From-SVN: r61198

21 years agoDaily bump.
GCC Administrator [Sat, 11 Jan 2003 08:17:18 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r61197

21 years ago* config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
David Edelsohn [Sat, 11 Jan 2003 03:25:11 +0000 (03:25 +0000)]
* config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.

From-SVN: r61190

21 years agoMakefile.in (parsedir): New variable.
Geoffrey Keating [Sat, 11 Jan 2003 02:18:37 +0000 (02:18 +0000)]
Makefile.in (parsedir): New variable.

* Makefile.in (parsedir): New variable.
(docobjdir): New variable.
(c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
gengtype-lex.c, gengtype-yacc.c): Use parsedir.
(info, cpp.info, gcc.info, gccint.info, gccinstall.info,
cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
Use docobjdir.
* objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
objc.maintainer-clean): Use parsedir.

From-SVN: r61189

21 years ago2003-01-10 Michael Koch <konqueror@gmx.de>
Michael Koch [Sat, 11 Jan 2003 01:17:19 +0000 (01:17 +0000)]
2003-01-10  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(ch): Description added.
(remotePort): Initialize with -1.
(connect): Doesnt throws SocketException.
* java/net/MulticastSocket.java
(setInterface): Merge with Classpath.
* java/net/ServerSocket.java
(closed): New member variable.
(bind): Check if socket is closed.
(close): Close an associated channel too, set new value to closed.
(isBound): Reindented.
(isClosed): Implemented.
* java/net/Socket.java
(closed): New member variable.
(bind): Check if socket is closed.
(connect): Check if socket is closed.
(close): Close an associated channel too, set new value to closed.
(isClosed): Implemented.

From-SVN: r61185

21 years ago2003-01-10 Michael Koch <konqueror@gmx.de>
Michael Koch [Sat, 11 Jan 2003 00:51:29 +0000 (00:51 +0000)]
2003-01-10  Michael Koch  <konqueror@gmx.de>

* java/awt/DisplayMode.java
(equals): Fixed argument type and implementation.

From-SVN: r61184

21 years agovarasm.c (struct constant_descriptor_rtx): Remove unused `label' field.
Geoffrey Keating [Sat, 11 Jan 2003 00:47:36 +0000 (00:47 +0000)]
varasm.c (struct constant_descriptor_rtx): Remove unused `label' field.

* varasm.c (struct constant_descriptor_rtx): Remove unused
`label' field.

From-SVN: r61182

21 years ago* toplev.c (documented_lang_options): Document -Winvalid-pch.
Geoffrey Keating [Sat, 11 Jan 2003 00:45:47 +0000 (00:45 +0000)]
* toplev.c (documented_lang_options): Document -Winvalid-pch.

From-SVN: r61181

21 years agobf-ms-layout.c: Enable for cygwin and mingw32 targets.
Danny Smith [Fri, 10 Jan 2003 23:56:06 +0000 (23:56 +0000)]
bf-ms-layout.c: Enable for cygwin and mingw32 targets.

* gcc.dg/bf-ms-layout.c: Enable for cygwin and mingw32 targets.
* gcc.dg/bf-no-ms-layout.c: Likewise.
  * gcc.dg/bf-ms-attrib.c: Likewise.

From-SVN: r61180

21 years agoalpha.h (NO_PROFILE_COUNTERS): Set.
Richard Henderson [Fri, 10 Jan 2003 23:54:34 +0000 (15:54 -0800)]
alpha.h (NO_PROFILE_COUNTERS): Set.

        * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
        (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.

From-SVN: r61179

21 years agocombine.c (make_compound_operation): Use SCALAR_INT_MODE_P, not INTEGRAL_MODE_P when...
Richard Henderson [Fri, 10 Jan 2003 23:36:17 +0000 (15:36 -0800)]
combine.c (make_compound_operation): Use SCALAR_INT_MODE_P, not INTEGRAL_MODE_P when widening extensions.

        * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
        not INTEGRAL_MODE_P when widening extensions.

From-SVN: r61178

21 years agonew test
Jason Merrill [Fri, 10 Jan 2003 23:34:44 +0000 (18:34 -0500)]
new test

From-SVN: r61177

21 years ago* config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
Richard Henderson [Fri, 10 Jan 2003 23:07:53 +0000 (15:07 -0800)]
* config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.

From-SVN: r61176

21 years agoCorrect PR# in previous check-in.
Mark Mitchell [Fri, 10 Jan 2003 22:59:52 +0000 (22:59 +0000)]
Correct PR# in previous check-in.

From-SVN: r61175

21 years agore PR c++/9120 (miscompilation of function with references to undeclared objects...
Mark Mitchell [Fri, 10 Jan 2003 22:57:04 +0000 (22:57 +0000)]
re PR c++/9120 (miscompilation of function with references to undeclared objects and functions)

PR c++/9120
* parser.c (cp_parser_scope_through_which_access_occurs): Handle
an object_type which is not a class type.

PR c++/9120
* g++.dg/parse/dtor1.C: New file.

From-SVN: r61174

21 years agoggc-page.c (ggc_collect): Avoid overflow computing min_expand.
Geoffrey Keating [Fri, 10 Jan 2003 22:32:00 +0000 (22:32 +0000)]
ggc-page.c (ggc_collect): Avoid overflow computing min_expand.

* ggc-page.c (ggc_collect): Avoid overflow computing
min_expand.

From-SVN: r61172

21 years agoMakefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
Geoffrey Keating [Fri, 10 Jan 2003 22:13:05 +0000 (22:13 +0000)]
Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.

* Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
(RANLIB_TEST_FOR_TARGET): Delete.  Don't pass down to sub-makes.
Remove calls.
* mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.

From-SVN: r61171

21 years agoparser.c (cp_parser_late_parsing_for_member): Don't cast to void.
Geoffrey Keating [Fri, 10 Jan 2003 22:05:02 +0000 (22:05 +0000)]
parser.c (cp_parser_late_parsing_for_member): Don't cast to void.

* parser.c (cp_parser_late_parsing_for_member): Don't cast to void.
(cp_parser_late_parsing_default_args): Likewise.

From-SVN: r61170

21 years agoifcvt.c (noce_try_addcc): Do not call emit_conditional_add with weird operands.
Jan Hubicka [Fri, 10 Jan 2003 21:28:24 +0000 (22:28 +0100)]
ifcvt.c (noce_try_addcc): Do not call emit_conditional_add with weird operands.

Fri Jan 10 22:05:35 CET 2003  Jan Hubicka  <jh@suse.cz>

* ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
with weird operands.

From-SVN: r61169

21 years ago* test_summary (configflags): awk portability.
Loren J. Rittle [Fri, 10 Jan 2003 21:12:39 +0000 (21:12 +0000)]
* test_summary (configflags): awk portability.

From-SVN: r61168

21 years agocfns.gperf: ANSIfy function declarations.
Nathanael Nerode [Fri, 10 Jan 2003 20:49:29 +0000 (20:49 +0000)]
cfns.gperf: ANSIfy function declarations.

* cfns.gperf: ANSIfy function declarations.
* cfns.h: Regenerate.
* cp-tree.h: ANSIfy function declarations.

From-SVN: r61167

21 years agore PR c++/9128 (Typeid does not work on polymorphic classes)
Mark Mitchell [Fri, 10 Jan 2003 20:30:56 +0000 (20:30 +0000)]
re PR c++/9128 (Typeid does not work on polymorphic classes)

PR c++/9128
* g++.dg/rtti/typeid1.C: New file.

PR c++/9153
* g++.dg/parse/lookup1.C: New file.

PR c++/9171
* g++.dg/templ/spec5.C: New file.

* cp-tree.h (reparse_absdcl_as_expr): Remove.
(reparse_absdcl_as_casts): Likewise.
(reparse_decl_as_expr): Likewise.
(finish_decl_parsing): Likewise.
* decl2.c (reparse_absdcl_as_expr): Remove.
(reparse_absdcl_as_casts): Likewise.
(repase_decl_as_expr): Likewise.
(finish_decl_parsing): Likewise.

PR c++/9128
PR c++/9153
PR c++/9171
* parser.c (cp_parser_pre_parsed_nested_name_specifier): New
function.
(cp_parser_nested_name_specifier_opt): Correct the
check_dependency_p false.
(cp_parser_postfix_expression): Fix formatting.
(cp_parser_decl_specifier_seq): Avoid looking for constructor
declarators when possible.
(cp_parser_template_id): Avoid performing name-lookup when
possible.
(cp_parser_class_head): Do not count specializations when counting
levels of templates.
(cp_parser_constructor_declarator_p): Return immediately if
there's no chance that the tokens form a constructor declarator.
* rtti.c (throw_bad_typeid): Add comment.  Do not return an
expression with reference type.
(get_tinfo_decl_dynamic): Do not return an expression with
reference type.
(build_typeid): Add comment.  Do not return an expression with
reference type.
* typeck.c (build_class_member_access_expr): Improve handling of
conditionals and comma-expressions as objects.

From-SVN: r61166

21 years agocalls.c (load_register_parameters): Add is_sibcall, sibcall_failure parameters.
Dale Johannesen [Fri, 10 Jan 2003 19:49:09 +0000 (19:49 +0000)]
calls.c (load_register_parameters): Add is_sibcall, sibcall_failure parameters.

2003-01-10  Dale Johannesen <dalej@apple.com>
        * calls.c (load_register_parameters):  Add is_sibcall, sibcall_failure
        parameters.  Call check_sibcall_argument_overlap if indicated.
        (check_sibcall_argument_overlap):  Add mark_stored_args_map
        parameter.  Don't mark parameter area as clobbered if not set.
        (expand_call):  Adjust calls to above.

From-SVN: r61165

21 years ago* parse.y (check_pkg_class_access): ANSIfy definition.
Nathanael Nerode [Fri, 10 Jan 2003 19:23:30 +0000 (19:23 +0000)]
* parse.y (check_pkg_class_access): ANSIfy definition.

From-SVN: r61164

21 years agoconfigure.in (linker read-only and read-write section mixing): Squelch some assembler...
Kelley Cook [Fri, 10 Jan 2003 18:52:40 +0000 (18:52 +0000)]
configure.in (linker read-only and read-write section mixing): Squelch some assembler warnings.

* configure.in (linker read-only and read-write section mixing):
Squelch some assembler warnings.
* configure: Likewise.

From-SVN: r61163

21 years ago* decl.c (bad_specifiers): Fix parameter order error I introduced.
Nathanael Nerode [Fri, 10 Jan 2003 18:43:53 +0000 (18:43 +0000)]
* decl.c (bad_specifiers): Fix parameter order error I introduced.

From-SVN: r61162

21 years agoconfigure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
Nathanael Nerode [Fri, 10 Jan 2003 16:41:48 +0000 (16:41 +0000)]
configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.

* configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc.
* Makefile.in: Regenerate.
* configure: Regenerate.

From-SVN: r61161

21 years ago* Change mcpu to mtune.
Hartmut Penner [Fri, 10 Jan 2003 15:22:53 +0000 (15:22 +0000)]
* Change mcpu to mtune.

From-SVN: r61160

21 years agoinvoke.texi: Document -mtune, delete -mcpu option for S/390 and zSeries.
Hartmut Penner [Fri, 10 Jan 2003 15:17:15 +0000 (15:17 +0000)]
invoke.texi: Document -mtune, delete -mcpu option for S/390 and zSeries.

       * doc/invoke.texi: Document -mtune, delete -mcpu
        option for S/390 and zSeries.
        * config/s390/s390.c (s390_tune_string) New variable.
        (s390_cpu_string) Delete variable.
        (override_options): Use s390_tune_string instead of
        s390_cpu_string.
        * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.

From-SVN: r61159

21 years ago* config/h8300/h8300.md (*iorsi3_ashift_31): New.
Kazu Hirata [Fri, 10 Jan 2003 15:02:01 +0000 (15:02 +0000)]
* config/h8300/h8300.md (*iorsi3_ashift_31): New.

From-SVN: r61158

21 years ago20030110-1.c: New test.
Josef Zlomek [Fri, 10 Jan 2003 13:54:08 +0000 (14:54 +0100)]
20030110-1.c: New test.

* gcc.c-torture/compile/20030110-1.c: New test.
Test for http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00519.html

From-SVN: r61153

21 years agojump.c (next_nonnote_insn_in_loop): New function.
Josef Zlomek [Fri, 10 Jan 2003 13:44:28 +0000 (14:44 +0100)]
jump.c (next_nonnote_insn_in_loop): New function.

* jump.c (next_nonnote_insn_in_loop): New function.
(copy_loop_headers): Use next_nonnote_insn_in_loop instead of
next_nonnote_insn.
(duplicate_loop_exit_test). Likewise.

From-SVN: r61150

21 years agoDaily bump.
GCC Administrator [Fri, 10 Jan 2003 08:17:27 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r61147

21 years agoconfigure.in: Revert.
Benjamin Kosnik [Fri, 10 Jan 2003 04:51:48 +0000 (04:51 +0000)]
configure.in: Revert.

2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Revert.
* configure: Regenerate.

From-SVN: r61140

21 years agomissed from last checkin
Kaveh Ghazi [Fri, 10 Jan 2003 03:42:59 +0000 (03:42 +0000)]
missed from last checkin

From-SVN: r61139

21 years agodecl.c, [...]: Don't cast return value of xmalloc et al.
Kaveh Ghazi [Fri, 10 Jan 2003 03:13:50 +0000 (03:13 +0000)]
decl.c, [...]: Don't cast return value of xmalloc et al.

* decl.c, parse-scan.y, parse.y: Don't cast return value of
xmalloc et al.

From-SVN: r61138

21 years ago* class.c, gjavah.c, parse.y, verify.c: Don't use PTR.
Kaveh R. Ghazi [Fri, 10 Jan 2003 03:04:41 +0000 (03:04 +0000)]
* class.c, gjavah.c, parse.y, verify.c: Don't use PTR.

From-SVN: r61137

21 years agoMerge from pch-branch.
Geoffrey Keating [Fri, 10 Jan 2003 02:22:34 +0000 (02:22 +0000)]
Merge from pch-branch.

From-SVN: r61136

21 years agoffi_darwin.c: Remove RCS version string.
Geoffrey Keating [Fri, 10 Jan 2003 00:01:32 +0000 (00:01 +0000)]
ffi_darwin.c: Remove RCS version string.

* src/powerpc/ffi_darwin.c: Remove RCS version string.
* src/powerpc/darwin.S: Remove RCS version string.

From-SVN: r61135

21 years agoc4x.c (c4x_naked_function_p): Rename from c4x_assembler_function_p.
Michael Hayes [Thu, 9 Jan 2003 23:24:48 +0000 (23:24 +0000)]
c4x.c (c4x_naked_function_p): Rename from c4x_assembler_function_p.

* config/c4x/c4x.c (c4x_naked_function_p): Rename from
c4x_assembler_function_p.
(c4x_null_epilogue_p): Complement return value, all uses updated.
(c4x_insert_attributes): Add naked.

From-SVN: r61134

21 years ago* All Files: Remove PARAMS macro.
Kaveh R. Ghazi [Thu, 9 Jan 2003 23:16:56 +0000 (23:16 +0000)]
* All Files: Remove PARAMS macro.

From-SVN: r61133

21 years ago2003-01-09 Vladimir Makarov <vmakarov@redhat.com>
Vladimir Makarov [Thu, 9 Jan 2003 23:15:34 +0000 (23:15 +0000)]
2003-01-09  Vladimir Makarov  <vmakarov@redhat.com>
Merging changes from itanium-sched-branch:

From-SVN: r61132

21 years agoexpr.c, [...]: Don't rely on the `DEFUN', `AND' or `__STDC__' macros.
Kaveh R. Ghazi [Thu, 9 Jan 2003 23:13:02 +0000 (23:13 +0000)]
expr.c, [...]: Don't rely on the `DEFUN', `AND' or `__STDC__' macros.

* expr.c, gjavah.c, javaop.h, jcf-dump.c, jcf-io.c, jcf-reader.c,
jcf-write.c, jcf.h, jv-scan.c: Don't rely on the `DEFUN', `AND' or
`__STDC__' macros.

From-SVN: r61131

21 years agojv-scan.c, parse.y: Remove VPARAMS, VA_OPEN, VA_FIXEDARG and VA_CLOSE.
Kaveh R. Ghazi [Thu, 9 Jan 2003 22:53:28 +0000 (22:53 +0000)]
jv-scan.c, parse.y: Remove VPARAMS, VA_OPEN, VA_FIXEDARG and VA_CLOSE.

* jv-scan.c, parse.y: Remove VPARAMS, VA_OPEN, VA_FIXEDARG and
VA_CLOSE.

From-SVN: r61129

21 years ago* i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt correctly.
Jan Hubicka [Thu, 9 Jan 2003 21:49:31 +0000 (22:49 +0100)]
* i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt correctly.

From-SVN: r61128

21 years agoconfigure.in: Remove Makefile in build...
Alexandre Oliva [Thu, 9 Jan 2003 20:44:53 +0000 (20:44 +0000)]
configure.in: Remove Makefile in build...

* configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.

From-SVN: r61126

21 years agotm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
Paolo Carlini [Thu, 9 Jan 2003 20:02:51 +0000 (21:02 +0100)]
tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.

2003-01-09  Paolo Carlini  <pcarlini@unitus.it>

* doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.

From-SVN: r61124

21 years ago* decl.c (start_decl): Only check DECL_THREAD_LOCAL for VAR_DECLs.
Jakub Jelinek [Thu, 9 Jan 2003 18:13:40 +0000 (19:13 +0100)]
* decl.c (start_decl): Only check DECL_THREAD_LOCAL for VAR_DECLs.

From-SVN: r61121

21 years agodefaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
J"orn Rennecke [Thu, 9 Jan 2003 17:28:49 +0000 (17:28 +0000)]
defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.

* defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
(EXTRA_ADDRESS_CONSTRAINT): Likewise.
(CONSTRAINT_LEN): Provide default definition.
(CONST_OK_FOR_CONSTRAINT_P): Likewise.
(CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
(EXTRA_CONSTRAINT_STR): Likewise.
(REG_CLASS_FROM_CONSTRAINT): Define.
* genoutput.c (check_constraint_len, constraint_len): New functions.
(validate_insn_alternatives): Check CONSTRAINT_LEN for each
constraint / modifier.
(gen_insn): Call check_constraint_len.
* local-alloc.c (block_alloc): Update to use new macros / pass
second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
* ra-build.c (handle_asm_insn): Likewise.
* recog.c (asm_operand_ok, preprocess_constraints): Likewise.
(constrain_operands, peep2_find_free_register): Likewise.
* regclass.c (record_operand_costs, record_reg_classes): Likewise.
* regmove.c (find_matches): Likewise.
* reload.c (push_secondary_reload, find_reloads): Likewise.
(alternative_allows_memconst): Likewise.
* reload1.c (maybe_fix_stack_asms): Likewise.
(reload_cse_simplify_operands): Likewise.
* stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
* doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
(CONST_OK_FOR_CONSTRAINT_P): Likewise.
(CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
(EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
* config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.

From-SVN: r61119

21 years ago* sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
J"orn Rennecke [Thu, 9 Jan 2003 17:25:29 +0000 (17:25 +0000)]
* sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.

From-SVN: r61118

21 years agoh8300.md (*extzv_1_r_h8300): Correct the insn length.
Kazu Hirata [Thu, 9 Jan 2003 14:59:01 +0000 (14:59 +0000)]
h8300.md (*extzv_1_r_h8300): Correct the insn length.

* config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
length.
(*extzv_1_r_h8300hs): Likewise.
(*extzv_1_r_inv_h8300): Likewise.
(*extzv_1_r_inv_h8300hs): Likewise.

From-SVN: r61115

21 years agopt.c (push_access_scope_real): Call push_to_top_level for function in namespace scope.
Kriang Lerdsuwanakij [Thu, 9 Jan 2003 13:55:46 +0000 (13:55 +0000)]
pt.c (push_access_scope_real): Call push_to_top_level for function in namespace scope.

* pt.c (push_access_scope_real): Call push_to_top_level for
function in namespace scope.
(pop_access_scope): Call pop_from_top_level for function in
namespace scope.

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

From-SVN: r61114

21 years ago* decl.c (start_decl): Don't set DECL_COMMON for __thread variables.
Jakub Jelinek [Thu, 9 Jan 2003 13:27:49 +0000 (14:27 +0100)]
* decl.c (start_decl): Don't set DECL_COMMON for __thread variables.

From-SVN: r61111