aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-01-16re PR fortran/17675 ([Regression w.r.t. g77] Alignment constraints not ↵Paul Brook4-7/+36
honored in EQUIVALENCE) 2004-01-16 Paul Brook <paul@codesourcery.com> PR fortran/17675 * trans-common.c (translate_common): Remove duplicate function call. (finish_equivalences): Preserve alignment when biasing offsets. testsuite/ * gfortran.dg/common_4.f90: New test. From-SVN: r93724
2005-01-16re PR libstdc++/19322 (std::isnan<>() is broken on FreeBSD)Lorenz Minder3-34/+71
2005-01-16 Lorenz Minder <lminder@gmx.net> Paolo Carlini <pcarlini@suse.de> PR libstdc++/19322 * include/c_std/std_cmath.h: Define the C99 classification facilities directly inside namespace std:. * testsuite/26_numerics/cmath/19322.cc: New. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r93723
2005-01-16objc-act.c (objc_push_parm): Call c_type_promotes_to() via a lang-hook.Ziemowit Laski2-1/+7
[gcc/objc/ChangeLog] 2005-01-16 Ziemowit Laski <zlaski@apple.com> * objc-act.c (objc_push_parm): Call c_type_promotes_to() via a lang-hook. From-SVN: r93722
2005-01-16Daily bump.GCC Administrator2-2/+2
From-SVN: r93719
2005-01-15Update copyrights to 2005.John David Anglin6-6/+9
From-SVN: r93714
2005-01-15primary.c (check_digit): Call 'ISXDIGIT' instead of assuming ASCII-like ↵Tobias Schlüter2-2/+8
character encoding. * primary.c (check_digit): Call 'ISXDIGIT' instead of assuming ASCII-like character encoding. From-SVN: r93713
2005-01-15re PR java/19444 (GCJ implementation of java.net.URI misses host support)Michael Koch2-4/+57
2005-01-15 Michael Koch <konqueror@gmx.de> PR libgcj/19444 * java/net/URI.java (AUTHORITY_REGEXP): New regexp constant. (AUTHORITY_USERINFO_GROUP): New constant. (AUTHORITY_HOST_GROUP): Likewise. (AUTHORITY_PORT_GROUP): Likewise. (port): Changed default value to -1. (parseURI): Parse authority part and initialize host, port and userInfo. From-SVN: r93711
2005-01-15re PR rtl-optimization/19462 (generating return insns while ↵Hans-Peter Nilsson2-0/+61
current_function_epilogue_delay_list nonempty) PR rtl-optimization/19462 * gcc.dg/torture/pr19462-1.c: New test. From-SVN: r93709
2005-01-15re PR objc/19321 (objc ignores volatile in argument types for messages)Ziemowit Laski5-12/+97
[gcc/objc/ChangeLog] 2005-01-15 Ziemowit Laski <zlaski@apple.com> PR objc/19321 * objc-act.c (get_arg_type_list): Decay function arguments into pointers. (objc_push_parm): Likewise; bring PARM_DECL construction closer in line with what the C front-end does. (objc_get_parm_info): Call pushdecl() and finish_decl() on each PARM_DECL, like the C front-end does. (start_method_def): Remove redundant ARRAY_TYPE decay. (objc_start_function): Bring closer in line with what the C front-end does for functions. [gcc/testsuite/ChangeLog] 2005-01-15 Ziemowit Laski <zlaski@apple.com> PR objc/19321 * objc.dg/func-ptr-2.m: New. * objc.dg/volatile-1.m: New. From-SVN: r93706
2005-01-15* gcc.dg/20040813-1.c: Add hppa*64*-*-* to no stabs list.John David Anglin2-1/+5
From-SVN: r93704
2005-01-15re PR target/19336 (HPPA64 does not support TImode)John David Anglin3-0/+62
PR target/19336 * pa.c (pa_scalar_mode_supported_p): New function. (TARGET_SCALAR_MODE_SUPPORTED_P): Define. * pa.h (MIN_UNITS_PER_WORD): Add comment. From-SVN: r93703
2005-01-15pa-protos.h (prefetch_operand): Delete.John David Anglin5-111/+125
* pa-protos.h (prefetch_operand): Delete. (prefetch_cc_operand, prefetch_nocc_operand): New declations. * pa.c (prefetch_operand): Delete. (prefetch_cc_operand, prefetch_nocc_operand): New functions. * pa.h (EXTRA_CONSTRAINT): Add `W' constraint. (PREDICATE_CODES): Delete prefetch_operand. Add prefetch_cc_operand and prefetch_nocc_operand. * pa.md (prefetch): Rework to avoid reload problems handling short displacements when a cache control completer needs to be provided. (prefetch_32, prefetch_64): Delete. (prefetch_cc, prefetch_nocc): New patterns. From-SVN: r93702
2005-01-15* config/rs6000/aix52.h (CPLUSPLUS_CPP_SPEC): Revert previous change.David Edelsohn2-2/+6
From-SVN: r93700
2005-01-15* config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.David Edelsohn2-3/+5
From-SVN: r93699
2005-01-15re PR target/19388 (MAX_OFILE_ALIGNMENT on PA HP-UX)John David Anglin4-9/+25
PR ada/19388 * pa.c (pa_asm_output_aligned_common): Warn if specified alignment exceeds maximum alignment for global common data. * pa64-hpux.h (MAX_OFILE_ALIGNMENT): Define to 32768. * som.h (MAX_OFILE_ALIGNMENT): Likewise. From-SVN: r93698
2005-01-15* tree-ssa-dom.c (extract_range_from_cond): Correct condition.Roger Sayle2-1/+5
From-SVN: r93697
2005-01-15harg-reg-set.h (reg_class_names): Prototype global array.Roger Sayle9-20/+31
* harg-reg-set.h (reg_class_names): Prototype global array. * regclass.c (reg_class_names): Declare here and initialize to REG_CLASS_NAMES. (dump_regclass): Remove local declaration of reg_class_names. (regclass): Likewise. * cfg.c (dump_flow_info): Likewise. * ra-debug.c (reg_class_names): Likewise. * regrename.c (reg_class_names): Likewise. * reload.c (reg_class_names): Likewise. * reload1.c (spill_failure): Likewise. * config/m68hc11/m68hc11.c (reg_class_names): Likewise. From-SVN: r93696
2005-01-15s390.md ("reload_outti"): Remove predicate for output operand.Ulrich Weigand2-4/+13
* config/s390/s390.md ("reload_outti"): Remove predicate for output operand. Abort if operand is not a MEM. ("reload_outdi", "reload_outdf"): Likewise. From-SVN: r93695
2005-01-15config.gcc (*-*-openbsd*): Set HAS_LIBC_R for OpenBSD <= 3.2.Marc Espie4-12/+196
2005-01-11 Marc Espie <espie@openbsd.org> * config.gcc (*-*-openbsd*): Set HAS_LIBC_R for OpenBSD <= 3.2. (i[34567]86-*-openbsd*): Switch to ELF for OpenBSD >= 3.4. * config/openbsd.h: Fix C++ includes for native configurations. Add proper OS_CPP_BUILTINS. Fix libspec for recent OpenBSD. Add trampoline support. * config/i386/openbsdelf.h: New. okay Richard Earnshaw, Zack Weinberg, further changes in a separate patch. From-SVN: r93694
2005-01-15collect2.c (main): Explicitly parse -dynamic-linker option.Marc Espie2-0/+9
2005-01-15 Marc Espie <espie@openbsd.org> * collect2.c (main): Explicitly parse -dynamic-linker option. okay Mark Mitchell From-SVN: r93693
2005-01-15re PR tree-optimization/19060 (Miscompiling of if and "long long")Jakub Jelinek5-27/+109
PR tree-optimization/19060 * tree-ssa-dom.c (extract_range_from_cond) <case LT_EXPR, GT_EXPR>: Return 0 if op1 <= TYPE_MIN_VALUE () resp. op1 >= TYPE_MAX_VALUE (). (simplify_cond_and_lookup_avail_expr): Add assert for dummy == 0 and handle extract_range_from_cond returning false. * fold-const.c (fold): Optimize comparisons with min/max even for width > HOST_BITS_PER_WIDE_INT. * gcc.c-torture/execute/20050104-1.c: New test. From-SVN: r93692
2005-01-15rtems.h (MIPS_DEFAULT_GVALUE): Set to 0.Ralf Corsepius3-3/+17
2005-01-15 Ralf Corsepius <ralf.corsepius@rtems.org> * config/mips/rtems.h (MIPS_DEFAULT_GVALUE): Set to 0. * config/mips/t-rtems (MULTILIBS_DIRNAMES,MULTILIB_OPTIONS): Remove little endian multilib variants. Add mips32 multilib variant. From-SVN: r93690
2005-01-15re PR libfortran/18983 (can't open /dev/null as an output file)Bud Davis4-3/+27
2005-01-15 Bud Davis <bdavis9659@comcast.net> PR fortran/18983 * io/transfer.c (st_write_done): only truncate when it is required. 2005-01-15 Bud Davis <bdavis9659@comcast.net> PR fortran/18983 * gfortran.dg/write_to_null.f90: New test. From-SVN: r93689
2005-01-15rtlanal.c (regs_set_between_p): Remove.Kazu Hirata3-46/+3
* rtlanal.c (regs_set_between_p): Remove. * rtl.h: Remove the corresponding prototype. From-SVN: r93685
2005-01-15explow.c (copy_all_reg, stabilize): Remove.Kazu Hirata3-62/+5
* explow.c (copy_all_reg, stabilize): Remove. * expr.h: Remove the corresponding prototypes. From-SVN: r93683
2005-01-14rs6000.c (rs6k_nonimmediate_operand): Rename to rs6000_nonimmediate_operand.David Edelsohn5-4/+15
* config/rs6000/rs6000.c (rs6k_nonimmediate_operand): Rename to rs6000_nonimmediate_operand. * config/rs6000/rs6000.h (PREDICATE_CODES): Rename rs6k_nonimmediate_operand to rs6000_nonimmediate_operand. * config/rs6000/rs6000.md (movsi_internal1): Rename predicate to rs6000_nonimmediate_operand. * config/rs6000/spe.md (movdf_e500_double): Rename predicate to rs6000_nonimmediate_operand. From-SVN: r93682
2005-01-15Update copyright years.Ulrich Weigand2-2/+2
From-SVN: r93681
2005-01-14re PR other/19328 (FAIL: gcc.dg/attr-alias-2.c (test for excess errors))Andrew Pinski2-1/+8
2005-01-14 Andrew Pinski <pinskia@physics.uc.edu> John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR other/19328 * gcc.dg/attr-alias-2.c: dg-require-alias takes an argument. Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca> From-SVN: r93680
2005-01-14tree-ssa-alias.c (pass_may_alias): Add TODO_verify_stmts.Andrew Pinski2-2/+7
2005-01-14 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa-alias.c (pass_may_alias): Add TODO_verify_stmts. From-SVN: r93679
2005-01-15Daily bump.GCC Administrator2-2/+2
From-SVN: r93677
2005-01-15re PR c++/19263 (wrong-code: explicit initialization of v8qi miscompiled)Jakub Jelinek4-1/+91
PR c++/19263 * typeck2.c (split_nonconstant_init_1) <case VECTOR_TYPE>: Put a copy of CONSTRUCTOR's node into MODIFY_EXPR, as the original is modified. * g++.dg/init/vector1.C: New test. From-SVN: r93672
2005-01-14lang-specs.h ("@objective-c"): Use cc1obj when -E is used so that ↵Mike Stump2-2/+7
-fobjc-exceptions is accepted. * lang-specs.h ("@objective-c"): Use cc1obj when -E is used so that -fobjc-exceptions is accepted. From-SVN: r93670
2005-01-14rs6000.h (CLASS_MAX_NREGS): DF goes in 1 register on e500v2.Aldy Hernandez5-25/+137
* config/rs6000/rs6000.h (CLASS_MAX_NREGS): DF goes in 1 register on e500v2. (CANNOT_CHANGE_MODE_CLASS): Restrict DI mode changes on e500v2. (PREDICATE_CODES): Add rs6k_nonimmediate_operand. * config/rs6000/rs6000.c (invalid_e500_subreg): New. (rs6k_nonimmediate_operand): New. (rs6000_legitimate_offset_address_p): Handle DI modes on e500v2 correctly. (legitimate_lo_sum_address_p): Same. (rs6000_legitimize_address): Same. (rs6000_legitimize_reload_address): Same. (rs6000_legitimate_address): Same. (spe_build_register_parallel): Pass DF and DC modes in a DI register. * config/rs6000/rs6000.md ("*movsi_internal1"): Change predicate to rs6k_nonimmediate_operand. * config/rs6000/spe.md ("*frob_df_di"): New. ("*frob_di_df"): New. ("*frob_di_df_2"): New. ("*mov_sidf_e500_subreg0"): New. ("*mov_sidf_e500_subreg4"): New. ("*movdf_e500_double"): Change predicate to rs6k_nonimmediate_operand. From-SVN: r93665
2005-01-14File.java (toURI): Generate a URI which we understand.Robin Green2-2/+6
2005-01-14 Robin Green <greenrd@greenrd.org> * java/io/File.java (toURI): Generate a URI which we understand. From-SVN: r93664
2005-01-14re PR libstdc++/19422 (assoc. containers: ctor taking range is O(n log n) ↵Paolo Carlini3-2/+93
even if the range is sorted) 2005-01-14 Paolo Carlini <pcarlini@suse.de> PR libstdc++/19422 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II), _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique, respectively) with hint (end()). * testsuite/performance/23_containers/set_create_from_sorted.cc: New. From-SVN: r93663
2005-01-14Testcases for sibcall unwind info problems.James E Wilson4-0/+69
PR target/13158 * gcc.target/ia64/sibcall-unwind-1.c: New test. PR target/18987 * gcc.target/ia64/sibcall-unwind-2.c: New test. From-SVN: r93660
2005-01-14postreload.c (move2add_note_store): Only call trunc_int_for_mode on scalar ↵Aldy Hernandez2-1/+6
integers. * postreload.c (move2add_note_store): Only call trunc_int_for_mode on scalar integers. From-SVN: r93658
2005-01-14tree-ssa-dce.c (visited_control_parents): New sbitmap to replace BB_VISITED ↵Steven Bosscher3-70/+101
uses. * tree-ssa-dce.c (visited_control_parents): New sbitmap to replace BB_VISITED uses. (find_obviously_necessary_stmts): Don't clear BB_VISITED. (propagate_necessity): Check the bitmap instead of BB_VISITED. (tree_dce_done): Free visited_control_parents. (perform_tree_ssa_dce): Allocate and clear it. * tree-ssa-pre.c (compute_antic_aux): Make non-recursive. (compute_antic): Iterate from here using a DFS. Use an sbitmap instead of BB_VISITED. From-SVN: r93654
2005-01-14c-tree.h, [...]: Remove unused prototypes.Kazu Hirata11-28/+6
* c-tree.h, coverage.h, langhooks-def.h, optabs.h, output.h, rtl.h, targhooks.h, tree-flow.h, tree-mudflap.h, tree.h: Remove unused prototypes. From-SVN: r93651
2005-01-14rs6000.c (rs6000_stack_info): Fix caching of SPE 64-bit register usage.Aldy Hernandez2-4/+16
* config/rs6000/rs6000.c (rs6000_stack_info): Fix caching of SPE 64-bit register usage. (spe_func_has_64bit_regs_p): Add FIXME note. [[Split portion of a mixed commit.]] From-SVN: r93648.2
2005-01-14rs6000.c (rs6000_generate_compare): Replace flag_finite_math_only with ↵Aldy Hernandez2-10/+15
flag_unsafe_math_optimizations. * config/rs6000/rs6000.c (rs6000_generate_compare): Replace flag_finite_math_only with flag_unsafe_math_optimizations. [[Split portion of a mixed commit.]] From-SVN: r93646.2
2005-01-14system-darwin-ppc.ads (ZCX_By_Default): Change to True.Andrew Pinski2-2/+7
2005-01-14 Andrew Pinski <pinskia@physics.uc.edu> * system-darwin-ppc.ads (ZCX_By_Default): Change to True. (GCC_ZCX_Support): Likewise. From-SVN: r93644
2005-01-14tpf-unwind.h (s390_fallback_frame_state): Correct end-of-stack check.J. D. Johnston2-96/+108
2005-01-14 J. D. Johnston <jjohnst@us.ibm.com> * config/s390/tpf-unwind.h (s390_fallback_frame_state): Correct end-of-stack check. (__tpf_eh_return): Copy TPF private stack area from the module boundary stack frame. Add check for when module addresses are equal, but no stub address is found. From-SVN: r93643
2005-01-14re PR target/7525 ([ARM/Thumb] long calls stubs only in one code section, ↵Richard Earnshaw5-6/+115
cannot branch to them from other section) PR target/7525 * arm.h (struct machine_function): Add call_via field. (thumb_call_via_label): Declare. * arm.c (thumb_call_via_label): New variable. (thumb_call_reg_needed): New variable. (arm_output_function_epilogue): For Thumb code, output any per-function call-indirect trampolines. (thumb_call_via_reg): New function. (arm_file_end): New function. (TARGET_ASM_FILE_END): Call arm_file_end. (aof_file_end): Likewise. * arm-protos.h (thumb_call_via_reg): Declare. * arm.md (call_reg_thumb, call_value_reg_thumb): Call thumb_call_via_reg in normal case. From-SVN: r93641
2005-01-14resolve.c (compare_case): Cleanup.Steven G. Kargl7-98/+96
2005-01-14 Steven G. Kargl <kargls@comcast.net> * resolve.c (compare_case): Cleanup. testsuite/ * gfortran.dg/select_1.f90: New test. * gfortran.dg/select_2.f90: New test. * gfortran.dg/select_3.f90: New test. * gfortran.dg/select_4.f90: New test. From-SVN: r93640
2005-01-14re PR middle-end/19084 (ICE: internal consistency failure)Jakub Jelinek6-3/+96
PR middle-end/19084 PR rtl-optimization/19348 * recog.c (peephole2_optimize): Do global life update if some peephole decides it doesn't need at least one of its inputs and that change influences liveness at the start of the basic block. * basic-block.h (EXECUTE_IF_AND_COMPL_IN_REG_SET): Needs 2 REGSET arguments instead of 1. * gcc.dg/20050111-1.c: New test. * gcc.c-torture/execute/20050111-1.c: New test. From-SVN: r93639
2005-01-14* gcc.dg/i386-asm-4.c: New test.Jakub Jelinek2-0/+43
From-SVN: r93638
2005-01-14resolve.c (compare_case): Give arguments correct type.Steven G. Kargl2-5/+5
2005-01-14 Steven G. Kargl <kargls@comcast.net> * resolve.c (compare_case): Give arguments correct type. From-SVN: r93637
2005-01-14re PR middle-end/18820 (ACATS c95300[123] and c980002 fail at runtime)Eric Botcazou5-2/+46
PR middle-end/18820 * varasm.c (initializer_constant_valid_p) <ADDR_EXPR>: Return zero for nested functions needing a static chain or functions with a non-constant address. From-SVN: r93633
2005-01-14jni.h (_Jv_JNIEnv::bottom_locals): New field.Graydon Hoare5-21/+98
2005-01-13 Graydon Hoare <graydon@redhat.com> * include/jni.h (_Jv_JNIEnv::bottom_locals): New field. * include/jvm.h (_Jv_FreeJNIEnv): Declare. * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv. * jni.cc: Reuse bottom frame between calls, avoid clearing frame when no local references are made. From-SVN: r93632