- 10 May, 2004 5 commits
-
-
parse.y (check_pkg_class_access): Add new argument and use it when cl is NULL to call lookup_cl on it. 2004-05-10 Andrew Pinski <pinskia@physics.uc.edu> * parse.y (check_pkg_class_access): Add new argument and use it when cl is NULL to call lookup_cl on it. (parser_check_super_interface): Do not call lookup_cl. Pass this_decl to check_pkg_class_access and NULL instead of lookup_cl. (parser_check_super): Update for change in check_pkg_class_access. (do_resolve_class): Likewise. (process_imports): Likewise. (find_in_imports_on_demand): Likewise. (resolve_qualified_expression_name): Likewise. From-SVN: r81668
Andrew Pinski committed -
* testsuite/libjava.jacks/jacks.xfail: Update to reflect current reality. From-SVN: r81667
Ranjit Mathew committed -
* config/rs6000/rs6000.c (function_arg_boundary): Always align AltiVec vectors. (function_arg_advance): Pass TARGET_32BIT -mabi=no-altivec AltiVec vectors by refererence. Align the same for TARGET_64BIT to a 16 byte boundary. Remove useless code. Add function comment. (function_arg): Similarly. Move gpr rs6000_mixed_function_arg call to where it belongs. (function_arg_partial_nregs): Return true for all TARGET_32BIT -mabi=no-altivec AltiVec vectors. Fix debug output. (rs6000_va_arg): Adjust for AltiVec change. From-SVN: r81666
Alan Modra committed -
* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED. * config/arm/arm.h (TARGET_AAPCS_BASED): Define. (TARGET_DOUBLEWORD_ALIGN): Use it. (WCHAR_TYPE): Define. (WCHAR_SIZE_TYPE): Define. (SIZE_TYPE): Define. From-SVN: r81665
Paul Brook committed -
From-SVN: r81662
GCC Administrator committed
-
- 09 May, 2004 5 commits
-
-
* config/rs6000/rs6000.c (function_arg_boundary): Align for ABI_V4 when size is 8 bytes. (function_arg_advance): Account for stack space used by AltiVec args when -mabi=altivec. Simplify alignment calculations. For ABI_V4, pass AltiVec vectors by reference when -mabi=no-altivec. (function_arg): Similarly. (function_arg_pass_by_reference): True for ABI_V4 AltiVec when not AltiVec ABI. (rs6000_va_arg): Correct fp arg test. Adjust for AltiVec change. Correct alignment, and align before testing reg count. Remove TREE_THIS_VOLATILE from reg. Don't emit unused labels. (rs6000_complex_function_value): Check TARGET_HARD_FLOAT and TARGET_FPRS here.. (rs6000_function_value): .. not here before call. From-SVN: r81659
Alan Modra committed -
From-SVN: r81656
Aldy Hernandez committed -
PR 15007 * c-decl.c (current_file_decl): Rename to all_translation_units, adjust comment. (pop_scope): If popping file_scope, construct a TRANSLATION_UNIT_DECL and make it the context of all the symbols in the scope. (push_file_scope): Don't construct a TRANSLATION_UNIT_DECL here. (pushdecl): Clarify comment. Do not set DECL_CONTEXT of anything to current_file_decl. (pushdecl_top_level): Likewise. (store_parm_decls_newstyle): Adjust check for nested function. (c_write_global_declarations): Update for renamed variable. From-SVN: r81655
Zack Weinberg committed -
From-SVN: r81654
Richard Sandiford committed -
(rs6000_conditional_register_usage): Protoize. * config/rs6000/rs6000.c (rs6000_conditional_register_usage): New. * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Call function. From-SVN: r81650
Aldy Hernandez committed
-
- 08 May, 2004 5 commits
-
-
fold-const.c (fold_div_compare): New function to optimize X/C1 op C2 where op is a comparison operator and C1... * fold-const.c (fold_div_compare): New function to optimize X/C1 op C2 where op is a comparison operator and C1 and C2 are integer constants into a range check. (fold): Call fold_div_compare. * gcc.c-torture/execute/divcmp-1.c: New test case. * gcc.c-torture/execute/divcmp-2.c: New test case. * gcc.c-torture/execute/divcmp-3.c: New test case. From-SVN: r81645
Roger Sayle committed -
install.texi (sparc-sun-solaris2*): Document bootstrap problems with earlier versions of the GNU compiler. * doc/install.texi (sparc-sun-solaris2*): Document bootstrap problems with earlier versions of the GNU compiler. From-SVN: r81643
Eric Botcazou committed -
* config/rs6000/rs6000-protos.h (rs6000_hard_regno_mode_ok_p): Declare. * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok_p): New. (rs6000_hard_regno_mode_ok): New. (rs6000_init_hard_regno_mode_ok): New. (rs6000_override_options): Call rs6000_init_hard_regno_mode_ok. * config/rs6000/rs6000.h (HARD_REGNO_NREGS): Use precomputed result. From-SVN: r81642
Aldy Hernandez committed -
2004-05-07 Ziemowit Laski <zlaski@apple.com> * config/rs6000/altivec.h (vector, pixel, bool): Do not define as macros #ifdef __APPLE_ALTIVEC__. From-SVN: r81641
Ziemowit Laski committed -
From-SVN: r81638
GCC Administrator committed
-
- 07 May, 2004 22 commits
-
-
Approved by Aldy Hernandez. From-SVN: r81635
Fariborz Jahanian committed -
* config/mips/mips.c (mips_va_arg): Fix calculation of osize for EABI_FLOAT_VARARGS_P. From-SVN: r81625
Richard Sandiford committed -
* config/mips/mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500. * config/mips/mips.c (override_options): Disable branch likely instructions if TUNE_MIPS5500. From-SVN: r81624
Richard Sandiford committed -
mips.c (override_options): Allow the hi and lo registers to store any integral mode, not just MODE_INTs. * config/mips/mips.c (override_options): Allow the hi and lo registers to store any integral mode, not just MODE_INTs. From-SVN: r81623
Richard Sandiford committed -
2004-05-07 Ranjit Mathew <rmathew@gmail.com> * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the main binary against the JNI shared library. From-SVN: r81622
Ranjit Mathew committed -
* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED. * config/arm/arm.h (TARGET_AAPCS_BASED): Define. (TARGET_DOUBLEWORD_ALIGN): Use it. (WCHAR_TYPE): Define. (WCHAR_SIZE_TYPE): Define. (SIZE_TYPE): Define. From-SVN: r81621
Paul Brook committed -
i386.c (ix86_emit_fp_unordered_jump): Use testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF. 2004-05-07 Uros Bizjak <uros@kss-loka.si> * config/i386/i386.c (ix86_emit_fp_unordered_jump): Use testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF. From-SVN: r81620
Uros Bizjak committed -
2004-05-07 Andrew Pinski <pinskia@physics.uc.edu> * loop-doloop.c (doloop_valid_p): Make sure that body gets freed. From-SVN: r81619
Andrew Pinski committed -
* config/sparc/sparc-protos.h (sparc_skip_caller_unimp): New declaration. * config/sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Delete. (sparc_skip_caller_unimp): New global variable. (sparc_function_epilogue): Set 'sparc_skip_caller_unimp'. Use it instead of SKIP_CALLERS_UNIMP_P. * config/sparc/sparc.md (call expander): Add sanity check. (call_address_struct_value_sp32): Re-sync with expander. (call_symbolic_struct_value_sp32): Likewise. (return peepholes): Use 'sparc_skip_caller_unimp' instead of custom predicate. From-SVN: r81617
Eric Botcazou committed -
PR c++/14962 * c-pragma.c (handle_pragma_redefine_extname): Only change the assembler name of FUNCTION_DECLs and VAR_DECLs. From-SVN: r81610
Eric Botcazou committed -
From-SVN: r81608
Loren J. Rittle committed -
* gcc.dg/i386-387-1.c: Add new test for __builtin_fmod. * gcc.dg/i386-387-2.c: Likewise. * gcc.dg/i386-387-5.c: Add new tests for __builtin_log1p and __builtin_drem. * gcc.dg/i386-387-6.c: Likewise. From-SVN: r81607
Uros Bizjak committed -
* optabs.h (enum optab_index): Add new OTI_log1p. (log1p_optab): Define corresponding macro. * optabs.c (init_optabs): Initialize log1p_optab. * genopinit.c (optabs): Implement log1p_optab using log1p?f2 patterns. * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG1P{,F,L} using log1p_optab. (expand_builtin): Expand BUILT_IN_LOG1P{,F,L} using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2XP1. * config/i386/i386.c (ix86_emit_i387_log1p): New function. * config/i386/i386-protos.h (ix86_emit_i387_log1p): Prototype here. * config/i386/i386.md (UNSPEC_FYL2XP1): New unspec to represent x87's fyl2xp1 instruction. (*fyl2x_xf3): Rename insn definition to fyl2x_xf3. (fyl2xp1_xf3): New pattern to implement fyl2xp1 x87 instruction. (log1psf2, log1pdf2, log1pxf2): New expanders to implement log1pf, log1p and log1pl built-ins as inline x87 intrinsics. * testsuite/gcc.dg/builtins-33.c: Also check log1p*. From-SVN: r81606
Uros Bizjak committed -
2004-05-07 Jerry Quinn <jlquinn@optonline.net> * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode, WALL_TIME, STANDARD_TIME, UTC_TIME): New members. (SimpleTimeZone): Tweak docs. Add new variation. (setStartRule,setEndRule): Add new variations. Use startTimeMode and endTimeMode. From-SVN: r81605
Jerry Quinn committed -
From-SVN: r81604
Jerry Quinn committed -
* config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Pass -Werror. * config/arm/freebsd.h: Likewise. * config/ia64/freebsd.h: Likewise. * config/sparc/freebsd.h: Likewise. From-SVN: r81602
Loren J. Rittle committed -
PR optimization/15296 * gcc.c-torture/execute/pr15296.c: New test. From-SVN: r81601
Hans-Peter Nilsson committed -
PR optimization/15296 * reorg.c (fill_simple_delay_slots): Use next_real_insn when getting last consecutive label at a branch. (relax_delay_slots): Similar, near top of loop. From-SVN: r81600
Hans-Peter Nilsson committed -
From-SVN: r81599
Hans-Peter Nilsson committed -
PR target/15202 * pa.md (movdi, movsi, movhi, movqi): Support move from shift amount register to general register. From-SVN: r81598
John David Anglin committed -
* config/rs6000/rs6000.h (STACK_BOUNDARY): Use 128 bit for either TARGET_ALTIVEC or TARGET_ALTIVEC_ABI. * config/rs6000/sysv4.h (ABI_STACK_BOUNDARY): Likewise. (STACK_BOUNDARY): Delete. From-SVN: r81597
Alan Modra committed -
From-SVN: r81593
GCC Administrator committed
-
- 06 May, 2004 3 commits
-
-
2004-05-06 Matthias Klose <doko@debian.org> * include/backward/iterator.h: Add GPL copyright info, with exception clause. * include/bits/boost_concept_check.h: Likewise. * include * libsupc++/tinfo.h: Likewise. * po/string_literals.cc: Likewise. From-SVN: r81581
Matthias Klose committed -
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append options_cxx to shared lib compile command. (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so they are used to link the shared lib, not the main binary. Use libjava_invoke to run gij. From-SVN: r81574
Bryce McKinlay committed -
Fixes PR java/9685, PR java/15073 * parse.y (accessibility_string): New method. (not_accessible_field_error): Use accessibility_string() instead of java_accstring_lookup(). (resolve_qualified_expression_name): Check with check_pkg_class_access() before allowing access using qualified names. Fix comment typo. Use check_pkg_class_access() instead of not_accessible_p() for unqualified types. (not_accessible_p): Use DECL_CONTEXT (member) instead of REFERENCE for package-private access checking. (patch_method_invocation): Use accessibility_string() instead of java_accstring_lookup(). From-SVN: r81573
Ranjit Mathew committed
-