summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
Commit message (Collapse)AuthorAgeFilesLines
* * c-typeck.c (null_pointer_constant_p): New function.jsm282005-12-042-0/+78
| | | | | | | | | | | (build_conditional_expr, build_c_cast, convert_for_assignment, build_binary_op): Use it. testsuite: * gcc.dg/c90-const-expr-5.c, gcc.dg/c99-const-expr-5.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108022 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.c (binary_op_error): Do not allow NOP_EXPR.jsm282005-12-041-0/+16
| | | | | | | | | | | | | | | | | (c_common_truthvalue_conversion): Handle NOP_EXPR the same as CONVERT_EXPR. (check_function_arguments_recurse): Allow both NOP_EXPR and CONVERT_EXPR but check conversions preserve precision. * c-typeck.c (pointer_diff): Allow both NOP_EXPR and CONVERT_EXPR but check conversions preserve precision. (build_unary_op): Don't allow NOP_EXPR. Use gcc_unreachable () in default case. testsuite: * gcc.dg/format/cast-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108020 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/7776sayle2005-12-044-0/+116
| | | | | | | | | | | | | | | | | | | * common.opt (Wstring-literal-comparison): New command line option. * c-opts.c (c_common_handle_option): Set it with -Wall. * c-typeck.c (parser_build_binary_op): Issue warning if either operand of a comparison operator is a string literal, except for testing equality or inequality against NULL. * doc/invoke.texi: Document new -Wstring-literal-comparison option. * gcc.dg/Wstring-literal-comparison-1.c: New test case. * gcc.dg/Wstring-literal-comparison-2.c: Likewise. * gcc.dg/Wstring-literal-comparison-3.c: Likewise. * gcc.dg/Wstring-literal-comparison-4.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108018 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.c (c_sizeof_or_alignof_type): Use fold_convert insteadjsm282005-12-031-0/+12
| | | | | | | | | | | | | | | | | | | | | of building a NOP_EXPR. (c_alignof_expr): Likewise. Handle CONVERT_EXPR the same as NOP_EXPR. * c-convert.c (convert): Use fold_convert instead of building NOP_EXPRs and CONVERT_EXPRs directly. Don't special case c_objc_common_truthvalue_conversion returning a NOP_EXPR. Remove #if 0 code. * c-pretty-print.c (pp_c_cast_expression, pp_c_expression): Handle NOP_EXPR the same as CONVERT_EXPR. * c-typeck.c (build_function_call): Use fold_convert instead of building a NOP_EXPR directly. (build_compound_expr): Handle NOP_EXPR the same as CONVERT_EXPR. testsuite: * gcc.dg/cast-pretty-print-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108001 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-typeck.c (default_function_array_conversion,jsm282005-12-032-0/+22
| | | | | | | | | | | | | | build_function_call): Allow for CONVERT_EXPR as well as NOP_EXPR. (build_conditional_expr): Apply integer_zerop to orig_op1 and orig_op2. Don't check them for NOP_EXPR. (build_c_cast, convert_for_assignment): Don't check for NOP_EXPR around integer zero. testsuite: * gcc.dg/c90-const-expr-4.c, gcc.dg/c99-const-expr-4.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107990 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-12-02 Richard Guenther <rguenther@suse.de>rguenth2005-12-021-1/+1
| | | | | | | | | | * tree-cfg.c (mark_used_vars): New function. (dump_function_to_file): Dump only used VAR_DECLs. * gcc.dg/tree-ssa/20031106-6.c: Remove XFAIL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107885 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/lvalue-2.c (f0): Put "error: " marker back.gdr2005-12-021-6/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107883 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/13384gdr2005-12-013-8/+8
| | | | | | | | | | | | | * c-common.c (lvalue_error): Fix wording. testsuite/ PR c/13384 * gcc.dg/pr17730-1.c: Adjust. * gcc.dg/lvalue1.c (main): Likewise. * gcc.dg/lvalue-2.c: Likewise. * g++.dg/pr7503-3.C git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107816 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/24475uros2005-12-0129-11/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | * lib/target-supports.exp (check_effective_target_tls): New. (check_effective_target_tls_runtime): New. * gcc.dg/tls/tls.exp, g++.dg/tls/tls.exp: Remove check for TLS support. * gcc.dg/tls/opt-1.c, gcc.dg/tls/opt-2.c, gcc.dg/tls/opt-3.c, gcc.dg/tls/opt-4.c, gcc.dg/tls/opt-5.c, gcc.dg/tls/opt-6.c, gcc.dg/tls/opt-7.c, gcc.dg/tls/opt-8.c, gcc.dg/tls/opt-9.c, gcc.dg/tls/opt-10.c, gcc.dg/tls/diag-1.c, gcc.dg/tls/diag-2.c, gcc.dg/tls/diag-3.c, gcc.dg/tls/diag-4.c, gcc.dg/tls/diag-5.c, gcc.dg/tls/alias-1.c, gcc.dg/tls/alpha-1.c, gcc.dg/tls/asm-1.c, gcc.dg/tls/debug-1.c, gcc.dg/tls/init-1.c, gcc.dg/tls/nonpic-1.c, gcc.dg/tls/pic-1.c, gcc.dg/tls/section-1.c, gcc.dg/tls/struct-1.c, gcc.dg/tls/trivial.c, g++.dg/tls/diag-1.C, g++.dg/tls/diag-2.C, g++.dg/tls/diag-3.C, g++.dg/tls/diag-4.C, g++.dg/tls/init-1.C, g++.dg/tls/init-2.C, g++.dg/tls/trivial.C: Require effective-target TLS. * gcc.dg/tls/pr24428-2.c, gcc.dg/tls/pr24428.c, gcc.dg/tls/opt-11.c, g++.dg/tls/static-1a.cc, g++.dg/tls/static-1.C: Require effective-target TLS runtime. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107804 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/20041106-1.c, gcc.dg/20030321-1.c, gcc.dg/pr17112-1.c,hp2005-12-013-3/+3
| | | | | | | | | gcc.dg/pr17112-1.c, g++.dg/other/packed1.C, g++.dg/other/crash-4.C, g++.dg/ext/packed8.C: Match "attribute ignored" warnings when "packing" is the same as the ABI layout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107758 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/ia64.c (ia64_expand_tls_address): Add ORIG_OP1 argument.jakub2005-11-301-0/+32
| | | | | | | | | | Move ADDEND_{HI,LO} computation into TLS_MODEL_INITIAL_EXEC case. (ia64_expand_move): Adjust caller. * gcc.dg/tls/opt-11.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107704 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/torture/fp-int-convert-timode.c: XFAIL only on lp64jsm282005-11-292-1/+2
| | | | | | | | | targets. * gcc.dg/torture/fp-int-convert-float128-timode.c: XFAIL also for LP64 ia64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107674 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/20109ghazi2005-11-291-0/+32
| | | | | | | | | | | | | | | | | | PR middle-end/25120 * builtins.c (init_target_chars): New. (expand_builtin_printf, expand_builtin_fprintf, expand_builtin_sprintf, fold_builtin_sprintf, maybe_emit_sprintf_chk_warning, fold_builtin_sprintf_chk, fold_builtin_snprintf_chk, fold_builtin_printf, fold_builtin_fprintf): Check for matching format strings using the target charset. testsuite: * gcc.dg/charset/builtin2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107652 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/compat/struct-layout-1_generate.c: Add -w optionjakub2005-11-281-2/+2
| | | | | | | on mmix-*-* for *_[xy].c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107615 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/opt/range-test-1.C: Prevent re-inclusion of systemjkj2005-11-283-4/+3
| | | | | | | | | | | | | | | | | | | | | headers. * g++.old-deja/g++.law/profile1.C: No longer expect fail on OSR5. * gcc.c-torture/compile/20000804-1.c: Skip if using -fPIC on X86. * gcc.target/i386/asm-3.c: Ditto. * gcc.target/i386/clobbers.c: Ditto. * gcc.dg/tree-ssa/ssa-dce-2.c: Make t() static and prototype it. * gcc.target/i386/cmov1.c: Make magic* static so it matches the test regexp. * gcc.target/i386/mul.c: Ditto. * gcc.target/i386/ssetype-1.c: Ditto. * gcc.dg/20040813-1.c: Skip on SVR5 systems. * gcc.c-torture/execute/builtins/strlen-3.c: Declare variables as static so the test works with -fPIC mode too. Based on comment in PR19231 by Pinski. * gcc.dg/nest.c: No longer fail on SCO systems as it has -pg again. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107608 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-28 Richard Guenther <rguenther@suse.de>rguenth2005-11-281-0/+20
| | | | | | | | | | | * c-common.c (strict_aliasing_warning): Handle all component-ref like accesses. * gcc.dg/alias-9.c: New testcase. * g++.dg/warn/Wstrict-aliasing-7.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107598 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/20219uros2005-11-281-0/+18
| | | | | | | | | | | | | | | | | | | * fold-const.c (fold binary) <RDIV_EXPR>: Optimize sin(x)/tan(x) as cos(x) and tan(x)/sin(x) as 1.0/cos(x) when flag_unsafe_math_optimizations is set and we don't care about NaNs or Infinities. Move x/expN(y) and x/pow(y,z) transformation into common flag_unsafe_math_optimizations section. testsuite/ * gcc.dg/builtins-20.c: Add checks for sin(x)/tan(x) and tan(x)/sin(x) transformations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107597 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-27 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-11-272-0/+28
| | | | | | | | | | | | | | | | PR middle-end/24575 * fold-const.c (negate_expr_p): Add case for signed divides if overflow is undefined. (negate_expr): Likewise. 2005-11-27 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24575 * gcc.dg/tree-ssa/divide-3.c: New test. * gcc.dg/tree-ssa/divide-4.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107575 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-26 Eric Christopher <echristo@apple.com>echristo2005-11-271-1/+1
| | | | | | | | * gcc.dg/intmax_t-1.c: Remove mips xfail. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107562 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-26 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-11-262-0/+28
| | | | | | | | | | | | | | | | PR middle-end/23669 * fold-const.c (fold_binary): Convert -A/-B to A/B for signed types when overflow is undefined. 2005-11-26 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/23669 * gcc.dg/tree-ssa/divide-1.c: New test. * gcc.dg/tree-ssa/divide-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107543 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/20050922-2.c: New test.amylaar2005-11-251-0/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107516 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/24998jsm282005-11-259-0/+237
| | | | | | | | | | | | | | | | | | | | | * config/sparc/sparc.c (sparc_init_libfuncs): Use _Q_utoq and _Q_ulltoq for unsigned conversions from SImode and DImode to TFmode. testsuite: * gcc.dg/torture/fp-int-convert-float.c, gcc.dg/torture/fp-int-convert-double.c, gcc.dg/torture/fp-int-convert-long-double.c, gcc.dg/torture/fp-int-convert-timode.c, gcc.dg/torture/fp-int-convert-float80.c, gcc.dg/torture/fp-int-convert-float80-timode.c, gcc.dg/torture/fp-int-convert-float128.c, gcc.dg/torture/fp-int-convert-float128-timode.c, gcc.dg/torture/fp-int-convert.h: New files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107502 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-25 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-11-253-3/+30
| | | | | | | | | | | | | | | | | PR middle-end/24989 * fold-const.c (fold_build): Convert bool_var != 1 and bool_var == 0 to !bool_var. 2005-11-24 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24989 * gcc.dg/tree-ssa/bool-10.c: New test. * gcc.dg/tree-ssa/bool-11.c: New test. * gcc.dg/tree-ssa/bool-7.c: Un-xfail. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107488 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-25 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-11-251-0/+21
| | | | | | | | | | | | | | PR middle-end/24990 * fold-const.c (fold_binary): Fold (~a) == C to a == ~C for C being INTEGER_CST. Likewise for !=. 2005-11-24 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24990 * tree-ssa/pr24990-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107487 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net>gdr2005-11-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PR c++/21667 * c-typeck.c (build_array_ref): Avoid code duplicate. Use common C/C++ diagnostic function warn_array_subscript_with_type_char. * c-common.h (warn_array_subscript_with_type_char): Declare. * c-common.c (warn_array_subscript_with_type_char): Define. cp/ 2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net> PR c++/21667 * typeck.c (build_array_ref): Avoid code duplicate. Use common C/C++ diagnostic function warn_array_subscript_with_type_char. testsuite/ 2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net> PR c++/21667 * gcc.dg/Wchar-subscripts.c: New. * g++.dg/warn/Wchar-subscripts.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107448 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/21668gdr2005-11-232-0/+18
| | | | | | | | | | | | | * c-decl.c (grokdeclarator): Don't warn for 'extern const' when compiling at the intersection of C and C++. testsuite/ PR c/21668 * gcc.dg/Wc++-compat.c: New. * gcc.dg/Wno-c++-compat.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107401 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold_binary) <RDIV_EXPR>: Optimize A / A to 1.0 uros2005-11-211-0/+13
| | | | | | | | | | | | if we don't care about NaNs or Infinities. testsuite: * gcc.dg/fold-div-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107282 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 24931rth2005-11-211-0/+20
| | | | | | | | | | | | | | * tree-sra.c (struct sra_elt): Add all_no_warning. (struct sra_walk_fns) <use>: Add use_all argument. (sra_walk_expr): Pass it. (sra_walk_modify_expr): Likewise. (scalarize_ldst): Likewise. (scan_use): Update for new argument. (mark_no_warning): New. (scalarize_use): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107271 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-19 James A. Morrison <phython@gcc.gnu.org>phython2005-11-201-0/+16
| | | | | | | | | * tree-vrp.c (compare_ranges): Return false for EQ_EXPR if VR0 is less than VR1 or vice-versa. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107243 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/24912hp2005-11-191-0/+10
| | | | | | | * gcc.dg/torture/pr24912-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107230 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-19 Richard Guenther <rguenther@suse.de>rguenth2005-11-191-0/+38
| | | | | | | | | | | | PR middle-end/23294 * fold-const.c (fold_plusminus_mult_expr): New function. (fold_binary): Use to canonicalize PLUS_EXPR and MINUS_EXPR cases, remove now unnecessary code. * gcc.dg/tree-ssa/pr23294.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107218 138bc75d-0d04-0410-961f-82ee72b054a4
* Add comment.ebotcazou2005-11-191-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107217 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/fold-overflow-1.c: Adjust for float output for mmix-*-*.hp2005-11-191-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107216 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix spurious warning for strstr (s, "").wilson2005-11-191-0/+8
| | | | | | | | | * builtins.c (fold_builtin_strstr): Pass s1 through fold_convert before returning it. * gcc.dg/builtin-strstr.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107206 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.target/ia64/20010423-1.c, gcc.target/ia64/20020313-1.c,rth2005-11-1917-503/+0
| | | | | | | | | | | | | | | gcc.target/ia64/20020326-1.c, gcc.target/ia64/20030225-2.c, gcc.target/ia64/20030405-1.c, gcc.target/ia64/20030811-1.c, gcc.target/ia64/20040303-1.c: Move from gcc.dg/. * gcc.target/ia64/asm-1.c, gcc.target/ia64/float80-1.c, gcc.target/ia64/float80-2.c, gcc.target/ia64/got-1.c, gcc.target/ia64/postinc-1.c, gcc.target/ia64/types-1.c, gcc.target/ia64/types-2.c, gcc.target/ia64/visibility-1.c, gcc.target/ia64/visibility-2.c: Move from gcc.dg/, with renaming to remove initial "ia64-". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107205 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-scalar-evolution.c (expression_expensive_p): New function.rakdver2005-11-181-0/+19
| | | | | | | | | | (scev_const_prop): Use compute_overall_effect_of_inner_loop. * gcc.dg/tree-ssa/loop-14.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107170 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/24348danglin2005-11-184-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.gcc (hppa*-*-hpux*): Add pa/t-slibgcc-elf-ver to tmake config when not using sjlj exceptions. * config/pa/pa64-hpux.h (LIB_SPEC): Add -lpthread in static links. * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. * config/pa/som.h (ASM_PREFERRED_EH_DATA_FORMAT): Delete define. * config/pa/linux-unwind.h (pa32_fallback_frame_state): Use DWARF_ALT_FRAME_RETURN_COLUMN instead of column 0 as return column. * config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): New define. * config/pa/pa-linux.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN, ASM_PREFERRED_EH_DATA_FORMAT, ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Delete defines. * config/pa/pa.h (ARG_POINTER_CFA_OFFSET): Delete. (FRAME_POINTER_CFA_OFFSET, INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN, DWARF_ALT_FRAME_RETURN_COLUMN, ASM_PREFERRED_EH_DATA_FORMAT, ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New defines. * config/pa/hpux-unwind.h: New file. * testsuite/gcc.dg/cleanup-8.c: Enable test on hppa*-*-hpux*. * testsuite/gcc.dg/cleanup-9.c: Likewise. * testsuite/gcc.dg/cleanup-10.c: Likewise. * testsuite/gcc.dg/cleanup-11.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107157 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/23497rth2005-11-162-0/+22
| | | | | | | | * tree-ssa.c (warn_uninitialized_var): Skip real and imaginary parts of an SSA_NAME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107107 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (const_binop): Don't constant fold the operationebotcazou2005-11-161-0/+18
| | | | | | | | | if the result has overflowed and flag_trapping_math. * simplify-rtx.c (simplify_const_binary_operation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107092 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/drow2005-11-165-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/arm/unwind-arm.c (abort): Add prototype here. (UCB_FORCED_STOP_ARG): Correct typo in macro argument. (struct phase1_vrs): Add prev_sp. (unwind_phase2_forced): Save the original core registers instead of modifying entry_vrs. Take a new flag argument for resuming unwinding and set action flags accordingly. Always set _US_END_OF_STACK when get_eit_entry fails. Unwind before calling the stop function. (_Unwind_GetCFA): New function. (__gnu_Unwind_ForcedUnwind): Update call to unwind_phase2_forced. (__gnu_Unwind_Resume_or_Rethrow): Likewise. (__gnu_Unwind_Resume): Do not unwind here for forced unwinding; just call unwind_phase2_forced. (_Unwind_GetDataRelBase, _Unwind_GetTextRelBase): Move to here. * config/arm/unwind-arm.h (abort): Remove prototype. (_Unwind_GetDataRelBase, _Unwind_GetTextRelBase): Change to prototypes. (_Unwind_GetCFA): New prototype. * config/arm/pr-support.c (abort): Add prototype here. * unwind-c.c (PERSONALITY_FUNCTION) [__ARM_EABI_UNWINDER__]: Handle forced unwinding. * config/arm/arm.c (arm_expand_prologue, thumb_expand_prologue): Do not schedule the prologue with non-call exceptions and EABI. gcc/testsuite/ * gcc.dg/cleanup-5.c, gcc.dg/cleanup-8.c, gcc.dg/cleanup-9.c, gcc.dg/cleanup-10.c, gcc.dg/cleanup-11.c: Update for ARM EABI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107091 138bc75d-0d04-0410-961f-82ee72b054a4
* * invoke.texi (large-unit-insns): Document.hubicka2005-11-151-1/+1
| | | | | | | | | * ipa-inline.c (cgraph_decide_inlining): Use large-unit-insns param. * params.def (large-unit-insns): New param. * gcc.dg/winline-5.c: Add large-unit-insns limit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106948 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 24840dnovillo2005-11-151-0/+17
| | | | | | | | | | | | | | * tree-vrp.c (infer_value_range): Return false if STMT is a block terminator and its basic block has no successors. testsuite/ PR 24840 * gcc.dg/tree-ssa/pr24840.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106930 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/24841janis2005-11-151-1/+1
| | | | | | | * gcc.dg/attr-weakref-1.c: Rearrange test directives. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106923 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pack-test-1.c: Gate on ! default_packed.hp2005-11-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106883 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr19340.c: Skip for mmix-*-* and cris-*-*.hp2005-11-141-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106877 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/24003ebotcazou2005-11-131-0/+42
| | | | | | | | | * calls.c (expand_call): If TARGET is a MEM and some part of the argument area has been saved, force TARGET to a register. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106860 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-13 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-11-131-0/+12
| | | | | | | | | | | | | | PR middle-end/24820 * testsuite/gcc.dg/pr24820.c: New test. 2005-11-13 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24820 * builtins.c (integer_valued_real_p): Add break in REAL_CST having TREE_OVERFLOW set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106851 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-loop-ivopts.c (get_address_cost): Prevent splittingrakdver2005-11-122-3/+4
| | | | | | | | | | | | addressing modes during calculation of costs. * testsuite/gcc.dg/tree-ssa/loop-2.c: Fix outcome. * testsuite/gcc.dg/tree-ssa/loop-3.c: Change type of loop control variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106842 138bc75d-0d04-0410-961f-82ee72b054a4
* testsuite/24614danglin2005-11-121-0/+1
| | | | | | | | * gcc.dg/nested-func-4.c: Add dg-options for hppa*-*-hpux*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106837 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr24445.c: Fix for 64-bit targets.kkojima2005-11-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106822 138bc75d-0d04-0410-961f-82ee72b054a4