- 27 Jun, 2005 7 commits
-
-
* toplev.c (process_options): Use if (FRAME_GROWS_DOWNWARD) instead of preprocessor conditionals. From-SVN: r101350
Jakub Jelinek committed -
targhooks.c (default_hidden_stack_protect_fail): Fall back to default_external_stack_protect_fail if... * targhooks.c (default_hidden_stack_protect_fail): Fall back to default_external_stack_protect_fail if visibility is not supported or not flag_pic. * config/i386/i386.c (ix86_stack_protect_fail): New function. (TARGET_STACK_PROTECT_FAIL): Define. * config/i386/i386.md (stack_protect_si): Change CLOBBER into SET to zero. (stack_protect_di): Likewise. Use %k2 instead of %2 to avoid invalid instruction xorl %rax, %rax. From-SVN: r101349
Jakub Jelinek committed -
* c-cppbuiltin.c (c_cpp_builtins): Add __SSP_ALL__ and __SSP__. * cfgexpand.c: Include params.h. (has_protected_decls, has_short_buffer): New. (expand_stack_vars): Take a predicate to determine what to expand. (defer_stack_allocation): True when flag_stack_protect on. (SPCT_HAS_LARGE_CHAR_ARRAY, SPCT_HAS_SMALL_CHAR_ARRAY): New. (SPCT_HAS_ARRAY, SPCT_HAS_AGGREGATE): New. (stack_protect_classify_type, stack_protect_decl_phase): New. (stack_protect_decl_phase_1, stack_protect_decl_phase_2): New. (add_stack_protection_conflicts, create_stack_guard): New. (expand_used_vars): Add stack protection logic. (tree_expand_cfg): Likewise. * common.opt (Wstack-protector): New. (fstack-protector, fstack-protector-all): New. * function.c: Include predict.h. (assign_parm_adjust_stack_rtl): Zap stack_parm when stack protect wants to copy the parameter into the stack frame. (stack_protect_prologue, stack_protect_epilogue): New. (expand_function_end): Call stack_protect_epilogue. Do sjlj_emit_function_exit_after after naked_return_label. * function.h (struct function): Add stack_protect_guard. * params.def (PARAM_SSP_BUFFER_SIZE): New. * toplev.c (process_options): Disable flag_stack_protect and/or warn_stack_protect based on FRAME_GROWS_DOWNWARD. * tree.h (stack_protect_prologue): Declare. * target-def.h (TARGET_STACK_PROTECT_GUARD): New. (TARGET_STACK_PROTECT_FAIL): New. (TARGET_INITIALIZER): Add them. * target.h (struct gcc_target): Add stack_protect_guard and stack_protect_fail. * targhooks.c: Include ggc.h, gty header. (stack_chk_guard_decl, default_stack_protect_guard): New. (stack_chk_fail_decl, default_external_stack_protect_fail): New. (default_hidden_stack_protect_fail): New. * targhooks.h (default_stack_protect_guard): Declare. (default_external_stack_protect_fail): Declare. (default_hidden_stack_protect_fail): Declare. * config/i386/i386.c (TARGET_STACK_PROTECT_FAIL): New. * config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New. (trap): Use ud2. (conditional_trap, conditional_trap_1): Remove. (stack_protect_set, stack_protect_set_si, stack_protect_set_di): New. (stack_protect_test, stack_protect_test_si, stack_protect_test_di): New. * doc/md.texi (stack_protect_set, stack_protect_test): New. * doc/tm.texi (TARGET_STACK_PROTECT_GUARD): New. (TARGET_STACK_PROTECT_FAIL): New. * libgcc-std.ver (GCC_4.1.0): New. * libgcc.h (__stack_chk_guard): Declare. (__stack_chk_fail, __stack_chk_fail_local): Declare. * libgcc2.c (L_stack_chk, L_stack_chk_local): New. * mklibgcc.in (lib2funcs): Add them. From-SVN: r101348
Richard Henderson committed -
* gcc.target/x86_64/abi/test_struct_returning.c: Adjust as return slot is not merged if address escapes. From-SVN: r101347
Michael Matz committed -
libgfortran/ChangeLog: Clean up format for entry of 2005-06-24. From-SVN: r101346
Jerry DeLisle committed -
2005-06-26 Jerry DeLisle <jvdelisle@verizon.net> * fortran/ChangeLog: Cleaned up changelog from 2005-06-24. From-SVN: r101345
Jerry DeLisle committed -
[[Split portion of a mixed commit.]] From-SVN: r101343.2
GCC Administrator committed
-
- 26 Jun, 2005 16 commits
-
-
PR c/21911 * c-common.c (check_function_sentinel): Pass in named argument list, skip over named arguments before looking for a sentinel. (check_function_arguments): Pass in named argument list. * c-common.h (check_function_arguments): Likewise. * c-typeck.c (build_function_call): Likewise. cp: * call.c (build_over_call): Pass in named argument list to `check_function_arguments'. * typeck.c (build_function_call): Likewise. testsuite: PR c/21911 * gcc.dg/format/sentinel-1.c: Update. Fix execl* calls. From-SVN: r101341
Kaveh R. Ghazi committed -
* genautomata.c (decl_mode_check_failed, regexp_mode_check_failed): Add noreturn attribute. cp: * cp-tree.h (lang_check_failed): Add noreturn attribute. From-SVN: r101340
Kaveh R. Ghazi committed -
From-SVN: r101339
Thomas Koenig committed -
* builtins.c, c-common.c, c-convert.c, c-decl.c, c-typeck.c, convert.c, lambda-code.c, predict.c, tree-cfg.c, tree-complex.c, tree-data-ref.c, tree-if-conv.c, tree-mudflap.c, tree-scalar-evolution.c, tree-ssa-ccp.c, tree-ssa-loop-ivcanon.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-phiopt.c, tree-ssa-pre.c, tree-vect-analyze.c, tree-vect-transform.c, tree-vectorizer.c, tree.c: Use fold_buildN instead of fold (buildN (...)). From-SVN: r101338
Kazu Hirata committed -
2005-06-26 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.mauve/xfails: Updated to reflect current state of mauve and libjava. From-SVN: r101337
Andreas Tobler committed -
* cfg.c, tree-vect-transform.c, tree.def: Fix comment typos. * doc/invoke.texi: Fix typos. From-SVN: r101336
Kazu Hirata committed -
* doc/install.texi (Specific): Do not specify the concrete versions of GCC provided by Cygwin. Simplify the part on building on Cygwin. From-SVN: r101335
Gerald Pfeifer committed -
* config/arc/arc-protos.c: Remove the prototype for arc_finalize_pic. * config/arc/arc.c (arc_finalize_pic): Remove. * config/arc/arc.h (FINALIZE_PIC): Likewise. * config/bfin/bfin.h (FINALIZE_PIC): Likewise. * config/rs6000/rs6000.h (FINALIZE_PIC): Likewise. From-SVN: r101334
Kazu Hirata committed -
PR middle-end/17965 * calls.c (expand_call, emit_library_call_value_1): Use xmalloc/free instead of alloca for really big argument sizes. * gcc.c-torture/compile/20050622-1.c: New test. From-SVN: r101333
Jakub Jelinek committed -
PR middle-end/22028 * gimplify.c (gimplify_type_sizes): Check for type == error_mark_node earlier in the function. * gcc.dg/20050620-1.c: New test. From-SVN: r101332
Jakub Jelinek committed -
* trans-stmt.c (gfc_trans_forall_1): Prefer to use smaller logical type than boolean_type_node. From-SVN: r101331
Jakub Jelinek committed -
* regrename.c (copy_value): Don't replace fixed or global regs with older regs. From-SVN: r101330
Jakub Jelinek committed -
* defaults.h (FRAME_GROWS_DOWNWARD): Define to 0 if not defined. * function.c (get_func_frame_size): Use if (FRAME_GROWS_DOWNWARD) instead of preprocessor conditionals. (assign_stack_local_1, assign_stack_temp_for_type): Likewise. * cfgexpand.c (FRAME_GROWS_DOWNWARD): Don't redefine to 1 or 0 depending on if it was or was not defined previously. * doc/rtl.texi (VIRTUAL_STACK_VARS_REGNUM): Mention that only non-zero definition of FRAME_GROWS_DOWNWARD means frame grows downward. * doc/tm.texi (FRAME_GROWS_DOWNWARD): Likewise. * config/m68hc11/m68hc11.h (FRAME_GROWS_DOWNWARD): Define to 0. Update comment. * config/pa/pa.h (FRAME_GROWS_DOWNWARD): Likewise. * config/rs6000/rs6000.h (FRAME_GROWS_DOWNWARD): Likewise. * config/stormy16/stormy16.h (FRAME_GROWS_DOWNWARD): Define to 0. * config/c4x/c4x.h (FRAME_GROWS_DOWNWARD): Likewise. * config/sh/sh.h (FRAME_GROWS_DOWNWARD): Likewise. * config/ia64/ia64.h (FRAME_GROWS_DOWNWARD): Likewise. * config/iq2000/iq2000.h (FRAME_GROWS_DOWNWARD): Likewise. * config/pdp11/pdp11.h (FRAME_GROWS_DOWNWARD): Define to 1. Update comment. * config/i860/i860.h (FRAME_GROWS_DOWNWARD): Likewise. * config/h8300/h8300.h (FRAME_GROWS_DOWNWARD): Likewise. * config/arc/arc.h (FRAME_GROWS_DOWNWARD): Likewise. * config/vax/vax.h (FRAME_GROWS_DOWNWARD): Likewise. * config/sparc/sparc.h (FRAME_GROWS_DOWNWARD): Likewise. * config/i386/i386.h (FRAME_GROWS_DOWNWARD): Likewise. * config/fr30/fr30.h (FRAME_GROWS_DOWNWARD): Likewise. * config/frv/frv.h (FRAME_GROWS_DOWNWARD): Likewise. * config/mn10300/mn10300.h (FRAME_GROWS_DOWNWARD): Likewise. * config/bfin/bfin.h (FRAME_GROWS_DOWNWARD): Likewise. * config/ns32k/ns32k.h (FRAME_GROWS_DOWNWARD): Likewise. * config/v850/v850.h (FRAME_GROWS_DOWNWARD): Likewise. * config/alpha/alpha.h (FRAME_GROWS_DOWNWARD): Update comment. * config/s390/s390.h (FRAME_GROWS_DOWNWARD): Likewise. * config/arm/arm.h (FRAME_GROWS_DOWNWARD): Likewise. * config/alpha/unicosmk.h (FRAME_GROWS_DOWNWARD): Define to 1. * config/cris/cris.h (FRAME_GROWS_DOWNWARD): Likewise. * config/m68k/m68k.h (FRAME_GROWS_DOWNWARD): Likewise. * config/mmix/mmix.h (FRAME_GROWS_DOWNWARD): Likewise. From-SVN: r101329
Jakub Jelinek committed -
gcc/ PR tree-optimization/22026 * tree-vrp.c (extract_range_from_binary_expr): Drop to VR_VARYING if a binary expression involving VR_ANTI_RANGE is PLUS_EXPR, MINUS_EXPR, or unsigned MULT_EXPR. testsuite/ PR tree-optimization/22026 * gcc.dg/tree-ssa/pr22026.c: New. From-SVN: r101328
Kazu Hirata committed -
* Makefile.in (OBJS-common): Remove duplicate object file names. From-SVN: r101327
Kazu Hirata committed -
[[Split portion of a mixed commit.]] From-SVN: r101325.2
GCC Administrator committed
-
- 25 Jun, 2005 16 commits
-
-
From-SVN: r101323
Jakub Jelinek committed -
* tree-ssa-phiopt.c (replace_phi_edge_with_variable): Update profile. * cfg.c (update_bb_profile_for_threading): Fix rescaling. From-SVN: r101322
Jan Hubicka committed -
* passes.c (rest_of_handle_branch_prob): Do not rebuild profiling info when not neecesary (rest_of_compilation): Fix conditional on branch prob pass. * predict.c (tree_estimate_probability): Enable strip_builtin_expect when not loop optimizing. From-SVN: r101321
Jan Hubicka committed -
* config/bfin/bfin.md (ror_one, rol_one, ashrdi3, ashldi3, lshrdi3): New patterns. (movbi): Add alternative to set CC to zero. (compare_eq, compare_ne, compare_le, compare_lt, compare_leu, compare_ltu): Now named patterns. From-SVN: r101320
Bernd Schmidt committed -
* builtins.c (define_builtin): Accept new flags parameter. (initialize_builtins): Mark the builtins const and nothrow accordingly. From-SVN: r101319
Jan Hubicka committed -
2005-06-25 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/22144 * m4/cshift1.m4: Remove const from argument ret. Populate return array descriptor if ret->data is NULL. * m4/eoshift1.m4: Likewise. * m4/eoshift3.m4: Likewise. * generated/cshift1_4.c: Regenerated. * generated/cshift1_8.c: Regenerated. * generated/eoshift1_4.c: Regenerated. * generated/eoshift1_8.c: Regenerated. * generated/eoshift3_4.c: Regenerated. * generated/eoshift3_8.c: Regenerated. 2005-06-25 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/21144 * gfortran.dg/shift-alloc.f90: New testcase. From-SVN: r101318
Thomas Koenig committed -
From-SVN: r101317
Kelley Cook committed -
From-SVN: r101316
Kelley Cook committed -
From-SVN: r101315
Kelley Cook committed -
From-SVN: r101314
R. Kelley Cook committed -
From-SVN: r101313
R. Kelley Cook committed -
From-SVN: r101312
Kelley Cook committed -
2005-06-25 Kelley Cook <kcook@gcc.gnu.org> * gengtype.c: Update FSF address in copyright header. (create_file): Update FSF in outputed copyright header. From-SVN: r101311
Kelley Cook committed -
From-SVN: r101310
Kelley Cook committed -
From-SVN: r101309
Kelley Cook committed -
[[Split portion of a mixed commit.]] From-SVN: r101307.2
GCC Administrator committed
-
- 24 Jun, 2005 1 commit
-
-
* inclhack.def (AAB_darwin7_9_long_double_funcs): New. (AAB_darwin7_9_long_double_funcs_2): New. * fixincl.x: Regenerate. From-SVN: r101305
Geoffrey Keating committed
-