- 09 Sep, 2008 11 commits
-
-
* gcc-interface/Makefile.in: Switch VxWorks to s-interr-hwint.adb. * s-interr-vxworks.adb: Renamed to s-interr-hwint.adb * s-interr-hwint.adb: New file. * s-osinte-vxworks.ads, s-osinte-vxworks.adb: Add new functions needed by s-interr-hwint.adb. * s-osinte-vxworks-kernel.adb: New file. From-SVN: r140147
Arnaud Charlet committed -
* config/bfin/bfin.c (n_regs_to_save): New static variable. (push_multiple_operation, pop_multiple_operation): Set it. (workaround_rts_anomaly): New function. (workaround_speculation): New function, broken out of bfin_reorg. (bfin_reorg): Call the new functions. From-SVN: r140146
Bernd Schmidt committed -
2008-09-09 Richard Guenther <rguenther@suse.de> PR middle-end/37354 PR middle-end/30165 * gimplify.c (gimplify_conversion): Change conversions of non-register type to VIEW_CONVERT_EXPRs. (gimplify_addr_expr): If we need to make the operand addressable make sure to use a properly initialized temporary for that so it gets a valid gimple store. * g++.dg/torture/pr37354.C: New testcase. From-SVN: r140145
Richard Guenther committed -
* function.h (struct function): Add function_start_locus. * cfgexpand.c (gimple_expand_cfg): Use it. * c-parser.c (c_parser_declaration_or_fndef): Set it. testsuite/ * gcc.dg/always_inline.c: Place error message on function name line. * gcc.dg/winline-6.c: Same. * gcc.dg/noreturn-1.c: Same. * gcc.dg/noreturn-7.c: Same. * gcc.dg/inline-14.c: Same. * gcc.dg/always_inline3.c: Same. * gcc.dg/winline-3.c: Same. * gcc.dg/wtr-func-def-1.c: Same. * gcc.dg/winline-5.c: Same. * gcc.dg/winline-7.c: Same. * gcc.dg/winline-9.c: Same. * gcc.dg/noreturn-4.c: Same. * gcc.dg/20041213-1.c: Use column numbers. From-SVN: r140144
Aldy Hernandez committed -
re PR tree-optimization/37433 (tree check: expected function_decl, have string_cst in ccp_fold, at tree-ssa-ccp.c:1050) 2008-09-09 Richard Guenther <rguenther@suse.de> PR tree-optimization/37433 * tree-ssa-ccp.c (ccp_fold): Properly guard folding of function calls. * gcc.c-torture/compile/pr37433.c: New testcase. From-SVN: r140143
Richard Guenther committed -
2008-09-09 Richard Guenther <rguenther@suse.de> PR tree-optimization/37387 * tree-ssa-ifcombine.c (ifcombine_iforif): Convert the name and bits to a common type. * gcc.c-torture/compile/pr37387.c: New testcase. From-SVN: r140142
Richard Guenther committed -
2008-09-09 Daniel Kraft <d@domob.eu> PR fortran/37411 * trans-array.c (gfc_conv_array_parameter): Added assertion that the symbol has an array spec. 2008-09-09 Daniel Kraft <d@domob.eu> PR fortran/37411 * gfortran.dg/array_function_4.f90: New test. From-SVN: r140141
Daniel Kraft committed -
From-SVN: r140139
Nick Clifton committed -
2008-09-09 Paolo Bonzini <bonzini@gnu.org> * c-common.c (c_expand_decl): Remove. * c-common.h (anon_aggr_type_p): Remove prototype. (DECL_ANON_UNION_ELEMS): Remove. * c-objc-common.h (LANG_HOOKS_EXPAND_DECL): Remove. * c-decl.c (anon_aggr_type_p): Remove. * langhooks-def.h (LANG_HOOKS_EXPAND_DECL): Remove. (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_EXPAND_DECL. * langhooks.h (struct lang_hooks): Remove expand_decl. * langhooks.c (lhd_expand_decl): Remove. * stmt.c (expand_anon_union_decl): Remove. * tree.h (expand_anon_union_decl): Remove prototype. cp: 2008-09-09 Paolo Bonzini <bonzini@gnu.org> * cp-objcp-common.h (LANG_HOOKS_EXPAND_DECL): Remove. * cp-tree.h: Don't mention DECL_ANON_UNION_ELEMS. * semantics.c (anon_aggr_type_p): Remove. From-SVN: r140138
Paolo Bonzini committed -
* g++.dg/compat/eh/filter2_x.C: Declare abort. * g++.dg/compat/eh/new1_x.C, g++.dg/compat/eh/new1_y.C: Include cstddef and use std::size_t. * gcc.dg/compat/compat-common.h: Define SKIP_COMPLEX_INT if SKIP_COMPLEX. Honor SKIP_COMPLEX. * gcc.dg/compat/scalar-by-value-3_x.c, gcc.dg/compat/scalar-by-value-3_y.c, gcc.dg/compat/scalar-by-value-4_x.c, gcc.dg/compat/scalar-by-value-4_y.c, gcc.dg/compat/scalar-by-value-5.c, gcc.dg/compat/scalar-by-value-5_main.c, gcc.dg/compat/scalar-by-value-6.c, gcc.dg/compat/scalar-by-value-6_main.c, gcc.dg/compat/scalar-by-value-6_x.c, gcc.dg/compat/scalar-by-value-6_y.c, gcc.dg/compat/struct-by-value-16_x.c, gcc.dg/compat/struct-by-value-16_y.c, gcc.dg/compat/struct-by-value-16a_x.c, gcc.dg/compat/struct-by-value-16a_y.c, gcc.dg/compat/struct-by-value-17_x.c, gcc.dg/compat/struct-by-value-17_y.c, gcc.dg/compat/struct-by-value-17a_x.c, gcc.dg/compat/struct-by-value-17a_y.c, gcc.dg/compat/struct-by-value-18_x.c, gcc.dg/compat/struct-by-value-18_y.c, gcc.dg/compat/struct-by-value-18a_x.c, gcc.dg/compat/struct-by-value-18a_y.c, gcc.dg/compat/struct-layout-1.h, gcc.dg/compat/scalar-return-3_x.c, gcc.dg/compat/scalar-return-3_y.c, gcc.dg/compat/scalar-return-4_x.c, gcc.dg/compat/scalar-return-4_y.c: Honor SKIP_COMPLEX. * gcc.dg/compat/scalar-by-value-y.h: Use stdarg.h for non-GCC compilers. * gcc.dg/compat/struct-by-value-22_y.c, gcc.dg/compat/struct-by-value-22_main.c, gcc.dg/compat/struct-by-value-22_x.c: Honor SKIP_VLA_IN_STRUCT. * lib/c-compat.exp (compat_setup_dfp): Check the compiler under test first. * lib/compat.exp: Document COMPLEX and VLA_IN_STRUCT skips. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r140137
Daniel Jacobowitz committed -
From-SVN: r140134
GCC Administrator committed
-
- 08 Sep, 2008 17 commits
-
-
* gcc.dg/struct/wo_prof_escape_substr_value.c: Limit allocation based on STACK_SIZE. * gcc.dg/struct/wo_prof_array_through_pointer.c: Ditto. * gcc.dg/struct/wo_prof_escape_substr_pointer.c: Ditto. * gcc.dg/struct/wo_prof_escape_arg_to_local.c: Limit allocation based on STACK_SIZE. Check malloc return for NULL. * gcc.dg/struct/w_prof_local_var.c: Ditto. * gcc.dg/struct/wo_prof_mult_field_peeling.c: Ditto. * gcc.dg/struct/w_prof_local_array.c: Limit allocation based on STACK_SIZE. XFAIL AVR target. * gcc.dg/struct/wo_prof_local_array.c: Ditto. * gcc.dg/struct/w_prof_two_strs.c: Limit allocation based on STACK_SIZE. Limit random size to N. * gcc.dg/struct/wo_prof_two_strs.c: Limit allocation based on STACK_SIZE. XFAIL AVR target. Limit random size to N. * gcc.dg/struct/w_prof_single_str_global.c: XFAIL AVR target. * gcc.dg/struct/wo_prof_array_field.c: Ditto. * gcc.dg/struct/wo_prof_double_malloc.c: Ditto. * gcc.dg/struct/wo_prof_global_array.c: Ditto. * gcc.dg/struct/wo_prof_single_str_global.c: Ditto. * gcc.dg/struct/wo_prof_single_str_local.c: Ditto. * gcc.dg/struct/w_prof_global_var.c: Limit allocation based on STACK_SIZE. Check malloc return for NULL. XFAIL AVR target. * gcc.dg/struct/wo_prof_global_var.c: Ditto. * gcc.dg/struct/wo_prof_local_var.c: Ditto. * gcc.dg/struct/wo_prof_malloc_size_var.c: Access only allocated space. Limit allocation based on STACK_SIZE. XFAIL AVR target. From-SVN: r140126
Andy Hutchinson committed -
* g++.dg/cdce3.C: Require c99 runtime. From-SVN: r140125
John David Anglin committed -
PR target/36609 * config/avr/avr.c (avr_reorg): Create RTL for reversed compare with zero. * config/avr/avr.md (QISI) : Define mode iterator. (negated_tst<mode>) : Redefine as split using mode macro. (reversed_tstqi): Define insn as reversed compare with zero. (reversed_tsthi): Ditto. (reversed_tstsi): Ditto. From-SVN: r140124
Andy Hutchinson committed -
PR middle-end/37393 * tree-inline.c (copy_bb): When replacing a gimple_call_va_arg_pack_p call stmt by new_call, clear gimple_bb on stmt after gsi_replace. * g++.dg/tree-ssa/pr37393.C: New test. From-SVN: r140123
Jakub Jelinek committed -
PR middle-end/37414 * predict.c (optimize_function_for_size_p): Don't segfault if FUN is NULL. * fold-const.c (LOGICAL_OP_NON_SHORT_CIRCUIT, fold_truthop, tree_swap_operands_p): Don't test cfun != NULL before calling optimize_function_for_s*_p. * g++.dg/opt/init2.C: New test. From-SVN: r140122
Jakub Jelinek committed -
* ira-color.c (ira_reuse_stack_slot): Set slot_num on success at the end of the search. From-SVN: r140121
Eric Botcazou committed -
PR c++/37302 * parser.c (cp_parser_parameter_declaration_list): Process the PARM_DECLs as we go and push them. Return a TREE_LIST. (cp_parser_parameter_declaration_clause): Return a TREE_LIST. (cp_parser_direct_declarator): Create a binding level and suppress deprecated warnings in the parameter list. (make_call_declarator): PARMS is now a tree. * cp-tree.h (struct cp_declarator): Function parms are now a tree. * decl.h (enum deprecated_states, deprecated_state): Move here. * decl.c: From here. (type_is_deprecated): New fn. (grokparms): PARMLIST is a tree now. Warn about parms that use deprecated types. * mangle.c (write_expression): Handle PARM_DECL, CALL_EXPR and 0-operand cast. * pt.c (tsubst) [DECLTYPE_TYPE]: Set skip_evaluation. (tsubst_copy) [PARM_DECL]: Handle a PARM_DECL used outside of a function. * name-lookup.c (pushtag): Look through function parameter scopes. (pushdecl_maybe_friend): Don't set DECL_CONTEXT on a PARM_DECL when we're parsing a function declarator. From-SVN: r140120
Jason Merrill committed -
2008-09-02 M R Swami Reddy <MR.Swami.Reddy@nsc.com> * config/crx/crx.h (IRA_COVER_CLASSES): Define. From-SVN: r140118
M R Swami Reddy committed -
PR middle-end/37337 * tree-ssa-dom.c (optimize_stmt): Call maybe_clean_or_replace_eh_stmt even when a stmt has been gimple_modified_p, but after fold_stmt is not any longer. Remove unneeded may_have_exposed_new_symbols initializations. * g++.dg/tree-ssa/pr37337.C: New test. From-SVN: r140117
Jakub Jelinek committed -
2008-09-08 Richard Guenther <rguenther@suse.de> PR tree-optimization/37421 * tree-ssa-sccvn.c (visit_copy): Make sure to fully valueize the RHS. * g++.dg/torture/pr37421.C: New testcase. From-SVN: r140111
Richard Guenther committed -
2008-09-08 Daniel Kraft <d@domob.eu> PR fortran/36167 * gfortran.dg/array_function_3.f90: New test. * gfortran.dg/save_3.f90: Added cleanup-modules directive. * gfortran.dg/string_compare_1.f90: Ditto. From-SVN: r140107
Daniel Kraft committed -
PR middle-end/37415 * opts.c (common_handle_option): Handle OPT_ftree_store_ccp. From-SVN: r140105
Jakub Jelinek committed -
From-SVN: r140103
Andreas Schwab committed -
2008-09-08 Daniel Kraft <d@domob.eu> PR fortran/37199 * trans-expr.c (gfc_add_interface_mapping): Set new_sym->as. (gfc_map_intrinsic_function): Added checks against NULL bounds in array specs. 2008-09-08 Daniel Kraft <d@domob.eu> PR fortran/37199 * gfortran.dg/array_function_2.f90: New test. From-SVN: r140102
Daniel Kraft committed -
re PR fortran/37400 (implicit character(len=*,kind=kind('A')) (Q) ... no longer gives the right answer.) 2008-09-07 Tobias Burnus <burnus@net.b.de> PR fortran/37400 * symbol.c (gfc_set_default_type): Copy char len. 2008-09-07 Tobias Burnus <burnus@net.b.de> PR fortran/37400 * gfortran.dg/implicit_12.f90: New test. From-SVN: r140100
Tobias Burnus committed -
PR driver/37409 * pa-hpux.h (LINK_SPEC): Strip -fwhole-program. * pa-hpux10.h (LINK_SPEC): Likewise. * pa-hpux11.h (LINK_SPEC): Likewise. ` From-SVN: r140099
John David Anglin committed -
From-SVN: r140096
GCC Administrator committed
-
- 07 Sep, 2008 9 commits
-
-
* pa32-regs.h (IRA_COVER_CLASSES): Define. * pa64-regs.h (IRA_COVER_CLASSES): Define. From-SVN: r140093
John David Anglin committed -
* pa/linux-atomic.c: New file. * pa/t-linux (LIB2FUNCS_STATIC_EXTRA): Define. * pa/t-linux64 (LIB2FUNCS_STATIC_EXTRA): Define. From-SVN: r140091
Helge Deller committed -
acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1. 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com> * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1. * include/tr1_impl/cinttypes: Use the latter. * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise. * configure: Regenerate. * config.h.in: Likewise. From-SVN: r140089
Paolo Carlini committed -
2008-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/37203 * intrinsics/reshape_generic.c: Add checking on out-of-bounds and duplicate values of order argument. * m4/reshape.m4: Likewise. * generated/reshape_c10.c: Regenerated. * generated/reshape_c16.c: Regenerated. * generated/reshape_c4.c: Regenerated. * generated/reshape_c8.c: Regenerated. * generated/reshape_i16.c: Regenerated. * generated/reshape_i4.c: Regenerated. * generated/reshape_i8.c: Regenerated. * generated/reshape_r10.c: Regenerated. * generated/reshape_r16.c: Regenerated. * generated/reshape_r4.c: Regenerated. * generated/reshape_r8.c: Regenerated. 2008-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/37203 * gfortran.d/reshape_order_1.f90: New test case. * gfortran.d/reshape_order_2.f90: New test case. * gfortran.d/reshape_order_3.f90: New test case. * gfortran.d/reshape_order_4.f90: New test case. From-SVN: r140086
Thomas Koenig committed -
PR tree-optimization/36630 * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Call STRIP_NOPS before calling evolution_part_in_loop_num. Co-Authored-By: Ira Rosen <irar@il.ibm.com> From-SVN: r140085
Richard Guenther committed -
2008-09-07 Daniel Kraft <d@domob.eu> * gfortran.dg/stfunc_6.f90: Extended testcase to include more tests related to PURE and statement functions. From-SVN: r140084
Daniel Kraft committed -
PR tree-optimization/35642 * config/rs6000/altivec.md (mulv8hi3): Implement. Co-Authored-By: Ira Rosen <irar@il.ibm.com> From-SVN: r140083
Dorit Nuzman committed -
2008-09-07 Victor Kaplansky <victork@il.ibm.com> PR testsuite/37334 * gcc/testsuite/gcc.dg/fastmath-2.c: Add volatile to definition of b, change -ffast-math to -ffinite-math-only and rename test to ... * gcc/testsuite/gcc.dg/div-double-1.c: ... this. From-SVN: r140082
Victor Kaplansky committed -
From-SVN: r140079
GCC Administrator committed
-
- 06 Sep, 2008 3 commits
-
-
2008-09-06 H.J. Lu <hongjiu.lu@intel.com> * configure.ac: Fix a typo. * configured: Regenerate. From-SVN: r140076
H.J. Lu committed -
From-SVN: r140075
Bruce Korb committed -
* h8300.h (IRA_COVER_CLASSES): Define. From-SVN: r140074
Jeff Law committed
-