Commit Graph

58764 Commits

Author SHA1 Message Date
GCC Administrator 590a6d5412 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r82676.2
2004-06-07 00:16:11 +00:00
Jerry Quinn 648b6075b2 ZipEntry.java (setTime): Remove scaling.
2004-06-06  Jerry Quinn  <jlquinn@optonline.net>

	* java/util/zip/ZipEntry.java (setTime): Remove scaling.

From-SVN: r82674
2004-06-06 20:52:10 +00:00
Stephane Carrez 37f40c9cfd re PR target/14542 (ICE on simple source)
PR target/14542
	* config/m68hc11/m68hc11.md (move peephole2): Emit a use note to avoid
	a live change of a register after peephole replacement.

From-SVN: r82673
2004-06-06 19:01:07 +02:00
Joseph Myers 10bc1b1bec re PR c/13519 (typeof(nonconst+const) is const)
PR c/13519
	* c-typeck.c (composite_type, common_pointer_type): New functions.
	(common_type): Split parts into composite_type and
	common_pointer_type.  Ensure that arithmetic operations return
	unqualified types without attributes.  Don't make composite type
	of signed enum and compatible integer be unsigned.
	(build_conditional_expr, build_binary_op): Use
	common_pointer_type.
	* c-decl.c (merge_decls): Use composite_type.
	* c-tree.h (composite_type): Declare.

testsuite:
	* gcc.c-torture/enum-3.c, gcc.dg/pr13519-1.c: New tests.

From-SVN: r82671
2004-06-06 16:21:59 +01:00
Stephane Carrez ff24b82044 re PR target/14457 (ICE with simple c++ source)
PR target/14457
	* config/m68hc11/m68hc11.c (splitable_operand): New predicate.
	* config/m68hc11/m68hc11-protos.h (splitable_operand): Declare.
	* config/m68hc11/m68hc11.h (PREDICATE_CODES): Register it.
	(inhibit_libc): Must define.
	* config/m68hc11/m68hc11.md ("movhi_const0"): Use splitable_operand.
	("*andhi3_gen", "iorhi3", "*iorhi3_gen"): Likewise.
	("xorhi3"): Likewise.

From-SVN: r82670
2004-06-06 15:56:33 +02:00
Eric Botcazou 2ddbba8007 cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in always_inline pass.
* cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in
	always_inline pass.

From-SVN: r82668
2004-06-06 13:03:08 +00:00
Andrew Pinski 5e2f3f396b Makefile.am (LIBINTL): Declare
2004-06-05  Andrew Pinski  <pinskia@physics.uc.edu>

        * Makefile.am (LIBINTL): Declare
        (makedepend_LDADD): Use LIBINTL.
        * Makefile.in: Regenerate.

From-SVN: r82666
2004-06-05 21:23:01 -07:00
David S. Miller 3017c534d4 Missed these two in previous commit.
From-SVN: r82665
2004-06-05 20:57:35 -07:00
David S. Miller 0eef99c178 linux.h (TARGET_C99_FUNCTIONS): Set.
2004-06-05  David S. Miller  <davem@nuts.davemloft.net>

	* config/sparc/linux.h (TARGET_C99_FUNCTIONS): Set.
	* config/sparc/linux64.h (TARGET_C99_FUNCTIONS): Likewise.

From-SVN: r82664
2004-06-05 20:56:16 -07:00
Giovanni Bajo 8a83a69363 re PR c++/15503 (nested template problem)
PR c++/15503
	* parser.c (cp_parser_mem_initializer_id): Gracefully reject
	'typename', and accept 'template'.

	PR c++/15503
	* g++.dg/template/meminit2.C: New test.

From-SVN: r82660
2004-06-06 02:08:18 +00:00
GCC Administrator ad94c84603 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r82658.2
2004-06-06 00:16:15 +00:00
GCC Administrator f8bcef1729 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r82657.2
2004-06-06 00:16:11 +00:00
Bernardo Innocenti 1ee19633ca regclass.c (init_reg_sets): Check for missing registers in target initializer macros FIXED_REGISTERS and...
* regclass.c (init_reg_sets): Check for missing registers in target
	initializer macros FIXED_REGISTERS and CALL_USED_REGISTERS.

From-SVN: r82655
2004-06-05 23:23:06 +02:00
Zack Weinberg c6e8380069 Makefile.am: Add makedepend.
libcpp:
	* Makefile.am: Add makedepend.
	* Makefile.in, aclocal.m4: Regenerate.
	* charset.c: Insert a space to avoid a warning.
	* directives.c: Include mkdeps.h.
	(_cpp_handle_directive): Reenable macro expander if appropriate.
	(undefine_macros): Inline body of _cpp_free_definition for speed.
	Do not call undef callback or _cpp_warn_if_unused_macro.
	(cpp_get_deps): New interface.
	* files.c (search_cache): Add pfile argument.  Check for file
	that would be found by "" or <> search here...
	(_cpp_find_file): ...not here.  Correct recorded start_dir of
	files found by directory-of-current-file search that would be
	found by "" or <> search.
	* init.c (cpp_add_dependency_target): Delete.
	* internal.h (struct lexer_state): Add discarding_output flag.
	* lex.c (lex_identifier): Compute hash function while scanning.
	* macro.c (cpp_scan_nooutput): Disable macro expansion outside
	directives.
	* makedepend.c: New file.
	* mkdeps.c (struct deps): Add vpath vector.
	(apply_vpath, deps_add_vpath): New function.
	(deps_free): Free vpath vector.
	(deps_add_dep, deps_add_target): Use apply_vpath.
	* symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
	(ht_lookup_with_hash): New function.
	* cpplib.h, mkdeps.h: Update prototypes.
	* symtab.h: Update prototypes.
	(HT_HASHSTEP, HT_FINISH): New macros.

gcc:
	* Makefile.in (MKDEPS_H): New shorthand.
	(c-opts.o): Update dependencies.
	* c-opts.c: Include mkdeps.h.
	(handle_deferred_opts): Use cpp_get_deps and deps_add_target,
	not cpp_add_dependency_target.

From-SVN: r82654
2004-06-05 20:58:06 +00:00
Steven Bosscher dbeff3e56d v850.c (v850_use_dfa_pipeline_interface): New.
* config/v850/v850.c (v850_use_dfa_pipeline_interface): New.
	* config/v850/v850.md: Convert to DFA scheduler description.

From-SVN: r82653
2004-06-05 16:35:55 +00:00
Michael Koch 9fc3ed51d0 2004-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/SwingConstants.java
	(NEXT): New constant.
	(PREVIOUS): Likewise.

From-SVN: r82652
2004-06-05 15:19:52 +00:00
Michael Koch c6dd044144 2004-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/UIManager.java
	(LookAndFeel): Made public.
	(LookAndFeel.getName): Likewise.
	(LookAndFeel.getClassName): Likewise.

From-SVN: r82651
2004-06-05 15:16:46 +00:00
Tobias Schlüter e0f2a7c6f2 re PR fortran/15478 (gfortran manual problems)
PR fortran/15478
* gfortran.texi: The documentation doesn't contain infomration on
how to report bugs, and shouldn't, so remove the line which
says it does.

From-SVN: r82650
2004-06-05 16:41:42 +02:00
Tobias Schlüter 3e31938b23 Fix date on ChangeLog entry from previous commit
From-SVN: r82649
2004-06-05 16:39:34 +02:00
Tobias Schlüter bda4d0639b re PR fortran/15478 (gfortran manual problems)
PR fortran/15478
* doc/install.texi: Document GMP as prerequisite. Document
--with-gmp and --with-gmp-dir configure options.
* fortran/gfortran.texi: Remove section 'Compiling and testing',
remove TOC reference to it.

From-SVN: r82648
2004-06-05 16:34:56 +02:00
Tobias Schlüter f9fed73b66 intrinsic.c (sort_actual): Keep track of type of missing arguments.
* intrinsic.c (sort_actual): Keep track of type of missing
	arguments. (Missing from previous commit.)

From-SVN: r82645
2004-06-05 13:34:52 +02:00
Graham Stott 446f52f40b combine.c (simplify_shift_const): Check shift amount is a CONST_INT.
* combine.c(simplify_shift_const): Check shift amount is a
	CONST_INT.

From-SVN: r82644
2004-06-05 07:59:39 +00:00
Danny Smith 90aa6719a0 toplev.c (init_asm_output): Add explicit 'b' to mode when opening asm_out_file.
* toplev.c (init_asm_output): Add explicit 'b' to mode when
        opening asm_out_file.
        * c-pch.c (c_common_write_pch): Remove unnecessary fflush before
        reading asm_out_file. Replace fflush after reading asm_out_file
        with fseek.
        * hosthooks-def.h (HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY): Define
        default and add to HOST_HOOKS_INITIALIZER.
        * hosthooks.h (gt_pch_alloc_granularity): Declare hook function.
        * ggc-common.c (default_gt_pch_alloc_granularity): New function.
        (gt_pch_save): Use host_hooks.gt_pch_alloc_granularity
        to set mmi.offset padding.
         * config.gcc (i[34567]86-*-mingw32*): Set target_gtfiles to
        $(srcdir)/config/i386/winnt.c.
        (i[34567]86-*-pe | i[34567]86-*-cygwin*): Likewise.
        (i[34567]86-*-uwin*): Likewise.
        *i[34567]86-*-interix3*): Likewise.
        * config.host (i[34567]86-*-mingw32*): Set out_host_hook_obj.
        * config/i386/host-mingw32.c: New file.
        * config/i386/x-mingw32: Add rule for host-mingw32.o.
        * config/i386/winnt.c: (struct extern_list) Tag as GTY.
        (extern_head): Likewise.
        (struct export_list) Likewise.
        (export_head): Likewise.
        (i386_pe_record_external_function): Use ggc_alloc.
        (i386_pe_record_exported_symbol): Likewise.
        Include "gt-winnt.h" at end.
        * doc/hostconfig.texi: Document
	HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY.

From-SVN: r82643
2004-06-05 07:28:27 +00:00
Bernardo Innocenti 859711c519 m68k.h: Remove comments copied over from tm.texi.
* config/m68k/m68k.h: Remove comments copied over from tm.texi.
	Rename 68000 and 68k to m68k for consistency in comments.  Remove
	trailing whitespace before EOLs and before TABs.
	(MAX_CODE_ALIGN): Remove unused macro.
	(CALL_USED_REGISTERS): Reformat and add comments.

From-SVN: r82642
2004-06-05 08:49:00 +02:00
GCC Administrator 0fa96cea26 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r82640.2
2004-06-05 00:16:17 +00:00
GCC Administrator db1e2f88a4 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r82639.2
2004-06-05 00:16:13 +00:00
Frank Ch. Eigler f4d8a9ae4e gcc.c (MFLIB_SPEC): Remove library references...
2004-06-04  Frank Ch. Eigler  <fche@redhat.com>

	* gcc.c (MFLIB_SPEC): Remove library references, to require users
	to enumerate -lmudflap* and dependencies when linking.

From-SVN: r82633
2004-06-04 20:13:14 +00:00
Frank Ch. Eigler 7954e85c00 Portability improvements, e.g., libmudflap/15293.
2004-06-04  Frank Ch. Eigler  <fche@redhat.com>

	Portability improvements, e.g., libmudflap/15293.
	* configure.in: Look for glibc extension functions.  Look for
	support of -f{function,data}-sections.  Look for more headers.
	Create testsuite/mfconfig.exp.  Correct more "test x.." thinkos.
	* Makefile.am: Use $(SECTION_FLAGS).  Collapse piecemeal-compiled
	mf-hooks* into usual single object per source.
	* mf-hooks*.c: Remove all #if WRAP_foo conditionals.
	* mf-hooks2.c: #include a bunch more system headers.  Define strnlen
	if system doesn't provide one.
	* mf-hooks3.c (struct pthread_info): Add stack_*_alloc fields.
	(pthread_create): Use it to properly GC dead thread stacks.
	* mf-runtime.c (__mf_violation): Correct snprintf type warning.
	* testsuite/Makefile.am: Stop generating site.exp.
	* testsuite/mfconfig.exp.in: New file.
	* testsuite/config/default.exp: Load new mfconfig.exp.
	* testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries.
	(prune_gcc_output): Add glibc static linking warnings.
	* testsuite/libmudflap.*/*frags.exp: Enumerate needed -lmudflap* libs.
	* testsuite/libmudflap.c/pass46-frag.c: Ditto.
	* configure, Makefile, aclocal.m4, config.h.in, testsuite/Makefile.in:
	Regenerated with autoconf 2.57 and automake 1.7.

From-SVN: r82632
2004-06-04 20:12:01 +00:00
Paolo Bonzini 28af2467e4 re PR target/15822 (Several alpha testsuite regressions: gcc.c-torture/execute/ieee/fp-cmp-[458].c)
2004-06-04  Paolo Bonzini  <bonzini@gnu.org>

	PR target/15822
	* gcc.c-torture/execute/compare-fp-1.c,
	gcc.c-torture/execute/compare-fp-2.c,
	gcc.c-torture/execute/compare-fp-3.c,
	gcc.c-torture/execute/compare-fp-4.c,
	gcc.c-torture/execute/compare-fp-3.x,
	gcc.c-torture/execute/compare-fp-4.x: Moved...
	* gcc.c-torture/execute/ieee/compare-fp-1.c,
	gcc.c-torture/execute/ieee/compare-fp-2.c,
	gcc.c-torture/execute/ieee/compare-fp-3.c,
	gcc.c-torture/execute/ieee/compare-fp-4.c,
	gcc.c-torture/execute/ieee/compare-fp-3.x,
	gcc.c-torture/execute/ieee/compare-fp-4.x: ...here.

From-SVN: r82631
2004-06-04 18:34:22 +00:00
Per Bothner b9d71ce3e4 configure.in (LIBMUDFLAPTH): Fix thinko.
* configure.in (LIBMUDFLAPTH):  Fix thinko.

	* configure.in:  Check for more headers.
	* mf-hooks2.c:  Conditionalize on HAVE_SYS_SOCKET_H etc.

	* mf-runtime.c:  In two places conditionalize on SIUSR1 rather than
	HAVE_SIGNAL as mingw has signal.h but not SIUSR1.

From-SVN: r82627
2004-06-04 10:20:22 -07:00
Paolo Bonzini 14bbffa1d2 re PR target/15822 (Several alpha testsuite regressions: gcc.c-torture/execute/ieee/fp-cmp-[458].c)
2004-06-04  Paolo Bonzini  <bonzini@gnu.org>

	PR target/15822
	* dojump.c (do_jump): Fix uninitialized variable tcode1.

From-SVN: r82626
2004-06-04 16:29:17 +00:00
Jerry Quinn 3a786c6263 Makefile.in (insn-conditions.o): Back out removal of reload.h.
2004-06-04  Jerry Quinn  <jlquinn@optonline.net>

	* Makefile.in (insn-conditions.o): Back out removal of reload.h.
	* genconditions.c (write_header): Back out removal of reload.h.

From-SVN: r82625
2004-06-04 16:10:20 +00:00
Jan Hubicka 2e2052b19a Re-apply hopefully fixed patch:
* i386.md (UNSPECV_EH_RETURN): Kill.
	(eh_return): Use jump_insn.
	(eh_return_si, eh_return_di): Change pattern to jump instruction.

From-SVN: r82624
2004-06-04 16:07:58 +00:00
Jeff Law 9cf84a3cf0 * cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.
From-SVN: r82623
2004-06-04 09:01:49 -06:00
Steven Bosscher f698d2175a except.c (for_each_eh_region): New function.
* except.c (for_each_eh_region): New function.
	* except.h (for_each_eh_region): Add a prototype for it.
	* tree-cfg.c (update_eh_labels): New function, callback for
	for_each_eh_region.
	(label_for_bb): Make global static, unfortunately.
	(cleanup_dead_labels): Also update label references for
	exception regions.

From-SVN: r82622
2004-06-04 12:31:26 +00:00
Nicola Pero 72fab00611 New ObjC testcases to make sure Protocol-isEqual: is well implemented in the
runtime library

From-SVN: r82621
2004-06-04 01:24:34 +00:00
Nicola Pero a19db17df4 New testcases
From-SVN: r82620
2004-06-04 01:23:12 +00:00
Nicola Pero 1600b7d616 Improved [Protocol -isEqual:], now more correct and faster
From-SVN: r82619
2004-06-04 01:12:20 +00:00
Chris Demetriou c759d45432 mips.c (struct irix_section_align_entry): Fix GTY marker.
2004-06-03  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (struct irix_section_align_entry): Fix
        GTY marker.

From-SVN: r82618
2004-06-03 17:37:56 -07:00
GCC Administrator 1b6be71988 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r82616.2
2004-06-04 00:16:17 +00:00
GCC Administrator 6f0032a3f7 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r82615.2
2004-06-04 00:16:11 +00:00
Joseph Myers d6f3f2616f gcc_release (maybe_build_tarfile): New function.
* gcc_release (maybe_build_tarfile): New function.
	(build_tarfiles): Use maybe_build_tarfile.

From-SVN: r82613
2004-06-04 01:02:04 +01:00
Andrew Pinski f9d1895555 re PR c++/14639 ([non-unit-at-a-time] Incorrect emission of unused compiler-generated destructor)
2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>
            Jan Hubicka  <jh@suse.cz>

        PR c++/14639
        * method.c (use_think): Do not mark thunk as referenced.

Co-Authored-By: Jan Hubicka <jh@suse.cz>

From-SVN: r82612
2004-06-03 16:45:46 -07:00
Geoffrey Keating 3d98fa1402 toplev.c (check_global_declarations): Don't ask for DECL_ASSEMBLER_NAME unless the function really is declared static...
* toplev.c (check_global_declarations): Don't ask for
	DECL_ASSEMBLER_NAME unless the function really is declared
	static and not defined.

From-SVN: r82611
2004-06-03 23:16:21 +00:00
Matt Austern 0524c91d1e re PR c++/15428 (vtables shouldn't always be weak on Darwin)
PR c++/15428
	* default.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): New name
	for TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, with reversed sense.
	* config/darwin.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Likewise.
	* doc/tm.texi (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Rewrite
	documentation to reflect the new macro name and to clarify its
	meaning.
	* cp/decl2.c (maybe_emit_vtables): If TARGET_WEAK_NOT_IN_ARCHIVE_TOC
	is nonzero, and if we see a noninline definition of a key method,
	make the vtables nonweak.

From-SVN: r82610
2004-06-03 23:15:01 +00:00
Christopher Faylor c073ab616f revert accidental checkin
From-SVN: r82609
2004-06-03 22:38:00 +00:00
Tobias Schlüter 1600fe22b9 gfortran.h (gfc_actual_arglist): New field missing_arg_type.
fortran/
* gfortran.h (gfc_actual_arglist): New field missing_arg_type.
* interface.c (compare_actual_formal): Keep type of omitted
optional arguments.
* trans-expr.c (gfc_conv_function_call): Add string length
argument for omitted string argument.

testsuite/
* gfortran.fortran-torture/execute/optstring_1.f90: New testcase.

From-SVN: r82608
2004-06-04 00:35:41 +02:00
Steven Bosscher ed5947c9bc * rtl.def (VAR_LOCATION): Make RTX_EXTRA.
From-SVN: r82607
2004-06-03 22:17:20 +00:00
Andrew Pinski c0d594f1da darwin.c (machopic_indirect_data_reference): Copy the SYMBOL_REF_DECL from the original RTX for the new non-lazy pointer RTX.
2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.c (machopic_indirect_data_reference): Copy
        the SYMBOL_REF_DECL from the original RTX for the new
        non-lazy pointer RTX.

From-SVN: r82606
2004-06-03 15:15:08 -07:00
Tobias Schlüter dfc46c1fde One more comment update
From-SVN: r82605
2004-06-04 00:01:10 +02:00