aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-06-07Makefile.am (LIBICONV): Declare.Roger Sayle3-3/+10
* Makefile.am (LIBICONV): Declare. (makedepend_LDADD): Use LIBICONV. * Makefile.in: Regenerate. From-SVN: r82681
2004-06-06fp-cmp-4.c (FLOAT): New.H.J. Lu11-37/+108
2004-06-06 H.J. Lu <hongjiu.lu@intel.com> * gcc.c-torture/execute/ieee/fp-cmp-4.c (FLOAT): New. Default to double. Replace double with FLOAT. * gcc.c-torture/execute/ieee/fp-cmp-8.c: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-4e.c: New file. * gcc.c-torture/execute/ieee/fp-cmp-4f.c: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-4l.c: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-4q.c: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-8e.c: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-8f.c: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-8l.c: Likewise. * gcc.c-torture/execute/ieee/fp-cmp-8q.c: Likewise. From-SVN: r82680
2004-06-07tree.h (lvalue_or_else): Delete function prototype.Roger Sayle5-6/+12
* tree.h (lvalue_or_else): Delete function prototype. * c-typeck.c (lvalue_or_else): Make static. Add static prototype. * cp/cp-tree.h (lvalue_or_else): Add function prototype. From-SVN: r82679
2004-06-07Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82677.2
2004-06-07Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82676.2
2004-06-06ZipEntry.java (setTime): Remove scaling.Jerry Quinn2-3/+6
2004-06-06 Jerry Quinn <jlquinn@optonline.net> * java/util/zip/ZipEntry.java (setTime): Remove scaling. From-SVN: r82674
2004-06-06re PR target/14542 (ICE on simple source)Stephane Carrez2-1/+13
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-06re PR c/13519 (typeof(nonconst+const) is const)Joseph Myers7-139/+295
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-06re PR target/14457 (ICE with simple c++ source)Stephane Carrez5-10/+43
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-06cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in always_inline pass.Eric Botcazou2-3/+8
* cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in always_inline pass. From-SVN: r82668
2004-06-05Makefile.am (LIBINTL): DeclareAndrew Pinski3-3/+12
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-05Missed these two in previous commit.David S. Miller2-0/+8
From-SVN: r82665
2004-06-05linux.h (TARGET_C99_FUNCTIONS): Set.David S. Miller1-0/+5
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-06re PR c++/15503 (nested template problem)Giovanni Bajo4-1/+43
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-06Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82658.2
2004-06-06Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82657.2
2004-06-05regclass.c (init_reg_sets): Check for missing registers in target ↵Bernardo Innocenti2-0/+11
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-05Makefile.am: Add makedepend.Zack Weinberg20-120/+531
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-05v850.c (v850_use_dfa_pipeline_interface): New.Steven Bosscher3-3/+25
* config/v850/v850.c (v850_use_dfa_pipeline_interface): New. * config/v850/v850.md: Convert to DFA scheduler description. From-SVN: r82653
2004-06-052004-06-05 Michael Koch <konqueror@gmx.de>Michael Koch2-0/+16
* javax/swing/SwingConstants.java (NEXT): New constant. (PREVIOUS): Likewise. From-SVN: r82652
2004-06-052004-06-05 Michael Koch <konqueror@gmx.de>Michael Koch2-4/+18
* javax/swing/UIManager.java (LookAndFeel): Made public. (LookAndFeel.getName): Likewise. (LookAndFeel.getClassName): Likewise. From-SVN: r82651
2004-06-05re PR fortran/15478 (gfortran manual problems)Tobias Schlüter2-2/+8
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-05Fix date on ChangeLog entry from previous commitTobias Schlüter1-1/+1
From-SVN: r82649
2004-06-05re PR fortran/15478 (gfortran manual problems)Tobias Schlüter3-59/+30
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-05intrinsic.c (sort_actual): Keep track of type of missing arguments.Tobias Schlüter2-1/+12
* intrinsic.c (sort_actual): Keep track of type of missing arguments. (Missing from previous commit.) From-SVN: r82645
2004-06-05combine.c (simplify_shift_const): Check shift amount is a CONST_INT.Graham Stott2-30/+37
* combine.c(simplify_shift_const): Check shift amount is a CONST_INT. From-SVN: r82644
2004-06-05toplev.c (init_asm_output): Add explicit 'b' to mode when opening asm_out_file.Danny Smith12-15/+234
* 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-05m68k.h: Remove comments copied over from tm.texi.Bernardo Innocenti2-539/+107
* 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-05Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82640.2
2004-06-05Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82639.2
2004-06-04gcc.c (MFLIB_SPEC): Remove library references...Frank Ch. Eigler2-1/+6
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-04Portability improvements, e.g., libmudflap/15293.Frank Ch. Eigler20-2475/+2408
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-04re PR target/15822 (Several alpha testsuite regressions: ↵Paolo Bonzini7-4/+23
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-04configure.in (LIBMUDFLAPTH): Fix thinko.Per Bothner6-7/+55
* 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-04re PR target/15822 (Several alpha testsuite regressions: ↵Paolo Bonzini2-1/+11
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-04Makefile.in (insn-conditions.o): Back out removal of reload.h.Jerry Quinn3-1/+8
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-04Re-apply hopefully fixed patch:Jan Hubicka2-7/+17
* 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* cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.Jeff Law2-1/+5
From-SVN: r82623
2004-06-04except.c (for_each_eh_region): New function.Steven Bosscher4-4/+59
* 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-04New ObjC testcases to make sure Protocol-isEqual: is well implemented in theNicola Pero1-0/+10
runtime library From-SVN: r82621
2004-06-04New testcasesNicola Pero4-0/+79
From-SVN: r82620
2004-06-04Improved [Protocol -isEqual:], now more correct and fasterNicola Pero2-1/+33
From-SVN: r82619
2004-06-03mips.c (struct irix_section_align_entry): Fix GTY marker.Chris Demetriou2-1/+6
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-04Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82616.2
2004-06-04Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r82615.2
2004-06-04gcc_release (maybe_build_tarfile): New function.Joseph Myers2-8/+32
* gcc_release (maybe_build_tarfile): New function. (build_tarfiles): Use maybe_build_tarfile. From-SVN: r82613
2004-06-03re PR c++/14639 ([non-unit-at-a-time] Incorrect emission of unused ↵Andrew Pinski2-1/+6
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-03toplev.c (check_global_declarations): Don't ask for DECL_ASSEMBLER_NAME ↵Geoffrey Keating2-3/+9
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-03re PR c++/15428 (vtables shouldn't always be weak on Darwin)Matt Austern6-18/+70
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-03revert accidental checkinChristopher Faylor1-3/+2
From-SVN: r82609