aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-09-26builtins.c (expand_builtin_memcmp): Adjust MEM_SIZE to reflect size of ↵Ulrich Weigand2-0/+13
memory regions being compared. * builtins.c (expand_builtin_memcmp): Adjust MEM_SIZE to reflect size of memory regions being compared. From-SVN: r88142
2004-09-26builtins.c (get_memory_rtx): Set mem attributes for non-ADDR_EXPR expressions.Ulrich Weigand2-6/+16
* builtins.c (get_memory_rtx): Set mem attributes for non-ADDR_EXPR expressions. Always clear MEM_SIZE and alias set. From-SVN: r88141
2004-09-26System.java (properties): Make package private.Mark Wielaard3-3/+28
2004-09-26 Mark Wielaard <mark@klomp.org> * java/lang/System.java (properties): Make package private. * java/lang/Throwable.java (StaticData.nl): Initialize through directly accessing System.properties.getProperty(). * java/lang/Throwable.java (nl): Remove static field. (StaticData): New private static inner class. (stackTraceStringBuffer): Use StaticData.nl. From-SVN: r88133
2004-09-26re PR fortran/15164 (trans-decl.c:411: gfc_finish_var_decl: Assertion failed)Tobias Schlüter2-5/+6
PR fortran/15164 * gfortran.dg/pr15164.f90: New test. Fixed in followup commit. From-SVN: r88132
2004-09-26re PR fortran/15164 (trans-decl.c:411: gfc_finish_var_decl: Assertion failed)Tobias Schlüter2-0/+20
PR fortran/15164 * gfortran.dg/pr15164.f90: New test. From-SVN: r88131
2004-09-26re PR middle-end/17112 (Copying of packed bitfields is wrong)Roger Sayle4-5/+53
PR middle-end/17112 * stor-layout.c (compute_record_mode): For records with a single field, only use the field's mode if its size matches what we'd have choosen for the record ourselves. This forces the use of BLKmode for packed records that don't completely fill a mode. * gcc.dg/pr17112-1.c: New test case. Co-Authored-By: Giovanni Bajo <giovannibajo@gcc.gnu.org> From-SVN: r88130
2004-09-26re PR rtl-optimization/17151 (x >> (y % WORDSIZE) not optimized)Roger Sayle2-5/+6
PR middle-end/17151 * combine.c (force_to_mode): Remove dubious early return test that inhibits further optimization. From-SVN: r88129
2004-09-26re PR libfortran/16137 (Fortran compiler unable to produce executables as ↵Tobias Schlüter5-83/+249
libfortran depends on C99 math functions) PR libfortran/16137 * config.h.in (HAVE_POWF): Undefine. * configure.ac: Check for 'powf' in library. * configure: Regenerate. * intrinsics/c99_functions.c (powf): New function. From-SVN: r88128
2004-09-262004-09-26 Casey Marshall <csm@gnu.org>Casey Marshall3-3/+14
* java/security/ProtectionDomain.java (<init>(CodeSource,PermissionCollection)): set `staticBinding' to `true'. * java/security/SecureClassLoader.java (defineClass): make protection domain dynamically bound. (getPermissions): call `getCurrentPolicy' to avoid permission check. From-SVN: r88127
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