aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-09-26* trans-intrinsic.c: Comment fixes.Tobias Schlüter2-1/+5
From-SVN: r88126
2004-09-26* profile.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r88125
2004-09-26re PR tree-optimization/17591 (Ada bootstrap SEGV in stage2 on osint.adb, no ↵Zdenek Dvorak3-46/+148
SEGV when -fno-ivopts) PR bootstrap/17591 * tree-ssa-loop-im.c (for_each_index): Call callback for component_refs with varying offset. * tree-ssa-loop-ivopts.c (abnormal_ssa_name_p): New function. (idx_contains_abnormal_ssa_name_p): Scan step and lower bound for ARRAY_REFS. (expr_invariant_in_loop_p): New function. (idx_find_step): Handle step and lower bound for ARRAY_REFs. Handle component_ref_field_offset for COMPONENT_REFs. Do not allow ALIGN_INDIRECT_REFs and MISALIGNED_INDIRECT_REFs. (add_address_candidates): Do not handle ALIGN_INDIRECT_REFs and MISALIGNED_INDIRECT_REFs. (idx_remove_ssa_names): Handle step and lower bound for ARRAY_REFs. (rewrite_address_base): Do not handle ALIGN_INDIRECT_REFs and MISALIGNED_INDIRECT_REFs. From-SVN: r88123
2004-09-26re PR c/11459 (-ansi -std=c99 -pedantic warns about C90's non long-long ↵Joseph Myers4-2/+19
support when in C99 mode) PR c/11459 * gcc.c (cpp_options, cc1_options): Preserve relative order of -std and -ansi options. testsuite: * gcc.dg/pr11459-1.c: New test. From-SVN: r88121
2004-09-26Daily bump.GCC Administrator2-2/+2
From-SVN: r88119
2004-09-25dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die for nested ↵Jan Hubicka2-0/+5
functions whose proper parent has not... * dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die for nested functions whose proper parent has not been output. From-SVN: r88116
2004-09-25profile.c (compute_branch_probabilities): Use REG_BR_PROB notes when ↵Jan Hubicka2-3/+20
re-constructing profile previously invalidated by loop. * profile.c (compute_branch_probabilities): Use REG_BR_PROB notes when re-constructing profile previously invalidated by loop. From-SVN: r88115
2004-09-25[multiple changes]Mark Wielaard7-294/+404
2004-09-25 Mark Wielaard <mark@klomp.org> * Makefile.am (core_java_source_files): Add VMTimeZone.java. (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc. * Makefile.in: Regenerated. * gcj/javaprims.h: Regenerated. * java/util/TimeZone.java (defaultZone): Use VMTimeZone. (getDefaultTimeZone): Make package private. Check that GMToffset contains at least one digit. (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to VMTimeZone. * util/VMTimeZone.java: New file with above methods. * java/util/natTimeZone.cc: Removed (renamed). * java/util/natVMTimeZone.cc: Added (renamed). 2004-09-25 Jeroen Frijters <jeroen@frijters.net> * java/util/TimeZone.java (getDefaultTimeZone): Fixed test to distinguish between hours and minutes in specified timezone. From-SVN: r88112
2004-09-25tree-gimple.c: Move GIMPLE definition...Dale Johannesen3-254/+155
2004-09-25 Dale Johannesen <dalej@apple.com> * tree-gimple.c: Move GIMPLE definition... * doc/tree-ssa.texi: here. From-SVN: r88111
2004-09-25loop-2.c: Avoid matching new-line in regexp.Ulrich Weigand3-2/+7
* gcc.dg/tree-ssa/loop-2.c: Avoid matching new-line in regexp. * gcc.dg/tree-ssa/loop-4.c: Likewise. From-SVN: r88110
2004-09-25Proxy.java (getPackage, [...]): Fixed handling of default package.Jeroen Frijters2-21/+17
2004-09-25 Jeroen Frijters <jeroen@frijters.net> * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed handling of default package. (generate): Removed confused comments and code about making Method and Field accessible. From-SVN: r88109
2004-09-25re PR java/17500 (Anonymous inner class compile freakout)Tom Tromey2-1/+10
PR java/17500: * parse.y (create_artificial_method): Use add_method_1. From-SVN: r88108
2004-09-25re PR java/17500 (Anonymous inner class compile freakout)Tom Tromey2-0/+33
PR java/17500: * testsuite/libjava.compile/pr17500.java: New file. From-SVN: r88107
2004-09-25RE.java (initialize): Add RETokenLookAhead support.Shashank Bapat5-10/+134
2004-09-25 Shashank Bapat <shashankbapat@yahoo.com> Mark Wielaard <mark@klomp.org> * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support. * gnu/regexp/RETokenLookAhead.java: New file. * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java. * Makefile.in: Regenerated. Co-Authored-By: Mark Wielaard <mark@klomp.org> From-SVN: r88106
2004-09-25* decl.c (add_init_expr_to_sym, variable_decl): Comment fixes.Tobias Schlüter2-2/+7
From-SVN: r88104
2004-09-25* tree-vectorizer.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r88103
2004-09-25c-typeck.c, [...]: Fix comment formatting.Kazu Hirata17-29/+36
* c-typeck.c, defaults.h, dwarf.h, dwarf2out.c, fold-const.c, gthr-dce.h, gthr-posix.h, gthr-solaris.h, gthr-win32.h, lambda-code.c, lambda-mat.c, libgcc2.c, stmt.c, tree-ssa-pre.c, tree-vn.c, tree.h: Fix comment formatting. From-SVN: r88102
2004-09-25* tree-ssa-loop-unswitch.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r88101
2004-09-25* doc/passes.texi: Fix a typo.Kazu Hirata2-1/+5
From-SVN: r88100
2004-09-25expr.c, [...]: Fix comment typos.Kazu Hirata6-8/+14
* expr.c, jcf-dump.c, parse-scan.y, parse.y: Fix comment typos. * gcj.texi: Fix typos. From-SVN: r88099
2004-09-25tree-optimize.c (init_tree_optimization_passes): Add pass_record_bounds.Zdenek Dvorak4-0/+39
* tree-optimize.c (init_tree_optimization_passes): Add pass_record_bounds. * tree-pass.h (pass_record_bounds): Declare. * tree-ssa-loop.c (tree_ssa_loop_bounds, pass_record_bounds): New pass. From-SVN: r88097
2004-09-25* gfortran.dg/pr15324.f90: Make array bounds consistent.Tobias Schlüter2-1/+5
From-SVN: r88096
2004-09-25re PR tree-optimization/17474 (Compiling at -01 yields different results)Zdenek Dvorak2-4/+12
PR tree-optimization/17474 * tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Determine offset of the field correctly when DECL_FIELD_BIT_OFFSET != 0. From-SVN: r88095
2004-09-2530040909-1.c: New test.Jan Hubicka3-0/+31
* compile/30040909-1.c: New test. * compile/30040907-1.c: New test. From-SVN: r88094
2004-09-25predict.c (counts_to_freqs): Make glolbal.Jan Hubicka5-4/+13
* predict.c (counts_to_freqs): Make glolbal. * predict.h (counts_to_freqa): Declare. * profile.c (compute_branch_probabilities): Compute frequencies * tree-profile.c (do_tree_profiling): Refine conditional on when tree profiling pass is needed. From-SVN: r88093
2004-09-25passes.c (rest_of_handle_cfg): Disable const/pure function detection when ↵Jan Hubicka3-3/+18
doing tree based profiling. * passes.c (rest_of_handle_cfg): Disable const/pure function detection when doing tree based profiling. * tree-inline.c (expand_call_inline): Fix incorrectly reversed conditional. From-SVN: r88092
2004-09-25ObjectStreamField.java: Removed unused import statement.Michael Koch2-1/+5
2004-09-25 Michael Koch <konqueror@gmx.de> * java/io/ObjectStreamField.java: Removed unused import statement. From-SVN: r88091
2004-09-25mips.h (struct mips_args): Clarify comments.Richard Sandiford5-38/+62
* config/mips/mips.h (struct mips_args): Clarify comments. * config/mips/mips.c (struct mips_arg_info): Likewise. (mips_arg_info): Don't allow fpr_p to affect the register or stack alignment. Remove o64 silliness. (function_arg): Deal with the o32 float,float case specially. From-SVN: r88090
2004-09-25* config/mips/mips.md (loadx, storex): Define for V2SF.Richard Sandiford2-2/+6
From-SVN: r88089
2004-09-25s390-protos.h (s390_back_chain_rtx): Add prototype.Ulrich Weigand4-57/+76
* config/s390/s390-protos.h (s390_back_chain_rtx): Add prototype. * config/s390/s390.c (s390_back_chain_rtx): New function. * config/s390/s390.md ("allocate_stack"): Use s390_back_chain_rtx. Call anti_adjust_stack. ("restore_stack_block"): Use s390_back_chain_rtx. Enable pattern only if compiling with back chain. ("save_stack_nonlocal", "restore_stack_nonlocal"): Save/restore back chain only if back chain enabled. Use s390_back_chain_rtx. From-SVN: r88087
2004-09-25Daily bump.GCC Administrator2-2/+2
From-SVN: r88085
2004-09-25trouble.texi: Remove obsolete information.Joseph Myers2-180/+14
* doc/trouble.texi: Remove obsolete information. Update information on how to regenerate fixincluded headers. From-SVN: r88082
2004-09-25re PR c/12951 (-Wno-error-implicit-function-declaration not recognized)Joseph Myers2-1/+8
PR c/12951 * doc/invoke.texi: Document that -Wno-error-implicit-function-declaration is not accepted. From-SVN: r88080
2004-09-24objc-act.c (init_objc_symtab, [...]): When initializing 'long' fields, ↵Ziemowit Laski2-6/+18
ensure that the initializer value is also 'long'. [gcc/objc/ChangeLog] 2004-09-24 Ziemowit Laski <zlaski@apple.com> * objc-act.c (init_objc_symtab, init_module_descriptor, build_shared_structure_initializer): When initializing 'long' fields, ensure that the initializer value is also 'long'. From-SVN: r88079
2004-09-24alpha.h (UNITS_PER_SIMD_WORD): New.Richard Henderson3-10/+46
* config/alpha/alpha.h (UNITS_PER_SIMD_WORD): New. * config/alpha/alpha.c (alpha_vector_mode_supported_p): Don't depend on TARGET_MAX. (alpha_expand_mov): Allow unaligned vectors. (alpha_expand_unaligned_store): Use CONST0_RTX. (TARGET_VECTORIZE_MISALIGNED_MEM_OK): New. From-SVN: r88078
2004-09-24tree-ssa-dom.c (dom_opt_finalize_block): Fix violation of strict aliasing rules.Jeff Law2-4/+13
* tree-ssa-dom.c (dom_opt_finalize_block): Fix violation of strict aliasing rules. (simplify_cond_and_lookup_avail_expr): Likewise. From-SVN: r88077
2004-09-24warnings.m4: New file.Zack Weinberg8-13/+306
config: * warnings.m4: New file. libcpp: * configure.ac: Move AC_PROG_MAKE_SET, AC_PROG_INSTALL to programs cluster. Use ACX_PROG_CC_WARNING_OPTS, ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_PROG_CC_WARNINGS_ARE_ERRORS. * aclocal.m4, configure: Regenerate. * init.c: Include localedir.h. * Makefile.in (WARN_CFLAGS, ALL_CFLAGS): New variables. (DEFS): Delete. (.c.o): Use $(ALL_CFLAGS). (localedir.h, localedir.hs): New rules. (clean): Use rm -rf to remove directories. (distclean): Also delete localedir.h and localedir.hs. (init.o): Update dependencies. From-SVN: r88074
2004-09-24objc-act.c: Change annotate_with_locus to SET_EXPR_LOCATION throughout.Zack Weinberg5-36/+45
objc: * objc-act.c: Change annotate_with_locus to SET_EXPR_LOCATION throughout. (objc_init): Only set input_line to 0 #ifndef USE_MAPPED_LOCATION. (build_selector_translation_table): Use %J in diagnostic instead of diddling input_line. Fix spelling. testsuite: * objc.dg/proto-lossage-4.m: Use long instead of int to avoid extra diagnostics on targets with 64-bit pointers. * objc.dg/selector-1.m: Adjust dg-warning regexp. From-SVN: r88072
2004-09-24re PR c/12802 (-fms-extensions documentation problem)Joseph Myers3-1/+22
PR c/12802 * doc/extend.texi (Unnamed Fields): Remove "." from end of long title. Document interaction with -fms-extensions. * doc/invoke.texi (-fms-extensions): Refer to Unnamed Fields section. From-SVN: r88071
2004-09-24re PR c/12713 (Document interaction of attribute noreturn and longjmp)Joseph Myers2-1/+7
PR c/12713 * doc/extend.texi: Document interaction of attribute noreturn and longjmp. From-SVN: r88070
2004-09-24re PR middle-end/17503 (quadratic behaviour in invalid_mode_change_p)Richard Henderson6-53/+120
PR rtl-opt/17503 * regclass.c (subregs_of_mode): Turn into an htab. Make static. (som_hash, som_eq): New. (init_subregs_of_mode, record_subregs_of_mode): New. (cannot_change_mode_set_regs): Rewrite for htab implementation. (invalid_mode_change_p): Likewise. * combine.c (gen_lowpart_for_combine): Use record_subregs_of_mode. * flow.c (mark_used_regs): Likewise. (life_analysis): Use init_subregs_of_mode. * regs.h (subregs_of_mode): Remove. * rtl.h (init_subregs_of_mode, record_subregs_of_mode): Declare. From-SVN: r88067
2004-09-24tree-ssa-phiopt.c (conditional_replacement): Use the correct type with the ↵Andrew Pinski2-2/+7
copy of the conditional. 2004-09-24 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa-phiopt.c (conditional_replacement): Use the correct type with the copy of the conditional. From-SVN: r88065
2004-09-24re PR tree-optimization/16954 (ICE in get_tmt_for with IMA and incomplete ↵Andrew Pinski2-0/+19
structs) 2004-09-24 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/16954 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Prevent renaming if the aliasing sets of the type which the pointer points to are different. From-SVN: r88064
2004-09-24re PR c/17188 (struct Foo { } redefinition)Joseph Myers6-7/+114
PR c/17188 * c-decl.c (diagnose_mismatched_decls): Check for duplicate declarations of enumerators. (start_struct): Check TYPE_SIZE rather than TYPE_FIELDS to check for redefinition. Check for nested redefinition. (finish_struct): Don't check for nested redefinition. (start_enum): Check for nested redefinition. testsuite: * gcc.dg/nested-redef-1.c, gcc.dg/pr17188-1.c: New tests. * gcc.dg/decl-3.c: Adjust expected message. From-SVN: r88063
2004-09-24tree-if-conv.c (tree_if_convert_cond_expr0): Create temp.Devang Patel2-10/+31
* tree-if-conv.c (tree_if_convert_cond_expr0: Create temp. variable only when necesssary. (combine_blocks): Combine loop header and exit block. From-SVN: r88062
2004-09-24re PR fortran/17615 (Internal compiler error using interface procedures)Tobias Schlüter4-2/+33
fortran/ PR fortran/17615 * trans-expr.c (gfc_trans_arrayfunc_assign): Look at resolved function to determine return type. testsuite/ PR fortran/17615 * gfortran.dg/pr17615.f90: New test. From-SVN: r88061
2004-09-24* es.po: Update.Joseph Myers2-16/+14
From-SVN: r88057
2004-09-24intrinsic.h (gfc_resolve_getcwd): Update prototype.Tobias Schlüter2-2/+2
* intrinsic.h (gfc_resolve_getcwd): Update prototype. * iresolve.c (gfc_resolve_getcwd): Add second argument to function. From-SVN: r88055
2004-09-24re PR libstdc++/17469 (Testsuite in libstdc++ overrides LD_LIBRARY_PATH)H.J. Lu2-1/+6
2004-09-24 H.J. Lu <hongjiu.lu@intel.com> PR libstdc++/17469 * testsuite/lib/libstdc++.exp: Don't use global ld_library_path. From-SVN: r88054
2004-09-24* intrinsics/etime.c (etime_): New function.Tobias Schlüter2-0/+23
From-SVN: r88052