aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-28dce.c (delete_unmarked_insns): Just delete the RETVAL and LIBCALL notes if...Andreas Krebbel2-4/+16
2007-10-28 Andreas Krebbel <krebbel1@de.ibm.com> * dce.c (delete_unmarked_insns): Just delete the RETVAL and LIBCALL notes if they are about to be moved to the same insn. From-SVN: r129693
2007-10-28Daily bump.GCC Administrator1-1/+1
From-SVN: r129690
2007-10-27re PR fortran/31306 (ICE with implicit character variables)Jerry DeLisle3-0/+53
2007-10-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/31306 * gfortran.dg/argument_check_7.f90: New test. * gfortran.dg/argument_check_8.f90: New test. From-SVN: r129686
2007-10-27re PR fortran/31306 (ICE with implicit character variables)Jerry DeLisle2-1/+33
2007-10-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/31306 * decl.c (char_len_param_value): Add check for conflicting attributes of function argument. From-SVN: r129685
2007-10-27i386-2.C: Include bmmintrin.h.Uros Bizjak4-11/+20
* g++.dg/other/i386-2.C: Include bmmintrin.h. Add -msse5 to dg-options. * gcc.target/i386/sse-13.c: Also include mm3dnow.h. Add "-march=k8 -m3dnow" to check 3dnow and 3dnowA intrinsics. * gcc.target/i386/sse-14.c: Ditto. From-SVN: r129684
2007-10-27error.c (reinit_cxx_pp): Initialize cxx_pp->enclosing_scope to ↵Jakub Jelinek2-1/+4
current_function_decl rather than 0. * error.c (reinit_cxx_pp): Initialize cxx_pp->enclosing_scope to current_function_decl rather than 0. From-SVN: r129683
2007-10-27re PR c++/33844 (Broken diagnostic: 'dotstar_expr/member_ref' not supported ↵Jakub Jelinek5-1/+35
by pp_cxx_unqualified_id) PR c++/33844 * cxx-pretty-print.c (pp_cxx_pm_expression) <case MEMBER_REF>: Print ->* rather than .*. * error.c (dump_expr): Handle MEMBER_REF and DOTSTAR_EXPR. * g++.dg/other/ptrmem8.C: New test. From-SVN: r129682
2007-10-27re PR c++/5247 (Memory eating infinite loop on default parameter in ↵Jason Merrill3-0/+30
constructor which is reference to class) PR c++/5247 * call.c (convert_default_arg): Detect recursion. From-SVN: r129681
2007-10-27re PR fortran/33862 (Support .FTN file extension for Fortran fixed-format ↵Tobias Burnus4-10/+23
source files) 2007-10-27 Tobias Burnus <burnus@net-b.de> PR fortran/33862 * lang-specs.h: Support .ftn and .FTN extension, use CPP for .FOR. * options.c (form_from_filename): Support .ftn extension. * gfortran.texi: Document support of .for and .ftn file extension. From-SVN: r129680
2007-10-27re PR c++/33842 (Broken diagnostic: 'offsetof_expr' not supported by dump_expr)Jakub Jelinek6-0/+97
PR c++/33842 * cxx-pretty-print.h (pp_cxx_offsetof_expression): New prototype. * cxx-pretty-print.c (pp_cxx_primary_expression): Handle OFFSETOF_EXPR. (pp_cxx_offsetof_expression_1, pp_cxx_offsetof_expression): New functions. * error.c (dump_expr): Handle OFFSETOF_EXPR. * g++.dg/template/error34.C: New test. From-SVN: r129677
2007-10-27ivopts-1.C: Also search for "offset: 4294967292".Uros Bizjak2-1/+5
* g++.dg/tree-ssa/ivopts-1.C: Also search for "offset: 4294967292". From-SVN: r129676
2007-10-27re PR tree-optimization/33870 (miscompiles sqlite)Richard Guenther5-61/+168
2007-10-27 Richard Guenther <rguenther@suse.de> PR tree-optimization/33870 * tree-ssa-operands.c (add_vars_for_offset): Reduce code duplication. Remove redundant call to access_can_touch_variable. (add_vars_for_bitmap): New helper for recursing over MPT contents. (add_virtual_operand): Use it. * gcc.dg/tree-ssa/alias-15.c: New testcase. * gcc.c-torture/execute/pr33870.c: Likewise. From-SVN: r129675
2007-10-27re PR fortran/33162 (INTRINSIC functions as ACTUAL argument)Jerry DeLisle2-0/+57
2007-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/33162 * gfortran.dg/argument_checking_9.f90: New test. From-SVN: r129674
2007-10-27re PR fortran/33162 (INTRINSIC functions as ACTUAL argument)Jerry DeLisle4-30/+102
2007-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/33162 * intrinsic.h: Add prototypes for four new functions, gfc_check_datan2, gfc_check_dprod, gfc_check_fn_d, and gfc_check_x_yd. * intrinsic.c (add_functions): Add double precision checks for dabs, dacos, dacosh, dasin, dasinh, datan, datanh, datan2, dbesj0, dbesj1, dbesy0, dbesy1, dcos, dcosh, ddim, derf, derfc, dexp, dgamma, dlgama, dlog, dlog10, dmod, dsign, dsin, dsinh, dsqrt, dtan, and dtanh. Add real check dprod. * check.c (gfc_check_datan2): New function to check for double precision argumants. (gfc_check_dprod, gfc_check_fn_d, and gfc_check_x_yd): Ditto. From-SVN: r129673
2007-10-27re PR fortran/31608 (wrong types in character array/scalar binop)John David Anglin2-3/+5
PR fortran/31608 * pa.h (ASM_PN_FORMAT): Delete define. From-SVN: r129671
2007-10-27Daily bump.GCC Administrator1-1/+1
From-SVN: r129669
2007-10-26invoke.texi (Option Summary, [...]): Remove -fbounds-check.Janis Johnson2-19/+33
* doc/invoke.texi (Option Summary, optimizations): Remove -fbounds-check. Add -fassociative-math, -freciprocal-math, -ftree-vrp and -funit-at-a-time. Change -fno-split-wide-types to -fsplit-wide-types to match later entry. Break up a long line. (Option Summary, code gen options) Add -fno-stack-limit. Add missing @gol to the end of a line. (Optimization Options): Remove -fbounds-check, which is also documented under Code Generation Options. Remove =n from index entry for -ftree-parallelize-loops. Change -fno-cprop-registers to -fcprop-registers to match other options, and say when it is enabled rather than disabled. Remove extra index entry for -fno-cx-limited-range. Add index entries for -fstack-protector and -fstack-protector-all. (Code Gen Options): Add index entry for -ftls-model. From-SVN: r129664
2007-10-26invoke.texi: Fix typo in -fmax-errors=.Jerry DeLisle2-2/+6
2007-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> * invoke.texi: Fix typo in -fmax-errors=. From-SVN: r129663
2007-10-27avr.c (avr_OS_task_function_p): Add new function.Anatoly Sokolov5-53/+40
* config/avr/avr.c (avr_OS_task_function_p): Add new function. (avr_regs_to_save): Handle functions with 'OS_task' attribute. (avr_simple_epilogue, expand_prologue, avr_asm_function_end_prologue, expand_epilogue, output_movhi): Don't handle 'main' function. (avr_attribute_table): Add 'OS_task' function attribute. * config/avr/avr.h (machine_function): Remove 'is_main' field, add 'is_OS_task' field. * config/avr/avr.md (return_from_main_epilogue): Remove insn. (return_from_epilogue, return_from_interrupt_epilogue): Don't handle 'main' function. * config/avr/avr.opt (minit-stack): Remove. From-SVN: r129662
2007-10-26tree-nested.c (get_trampoline_type): Fix thinko.Eric Botcazou2-6/+10
* tree-nested.c (get_trampoline_type): Fix thinko. From-SVN: r129661
2007-10-26re PR c++/24791 (ICE on invalid instantiation of template's static member)Jason Merrill5-34/+65
PR c++/24791 * pt.c (get_template_info): New fn. (template_class_depth): Use it. (push_template_decl_real): Check that the template args of the definition match the args of the previous declaration. From-SVN: r129660
2007-10-26re PR c++/33601 (ICE with pointers to members using "const C" as the class ↵Douglas Gregor4-2/+20
identifier) 2007-10-26 Douglas Gregor <doug.gregor@gmail.com> PR c++/33601 * tree.c (build_offset_type): Build canonical type based on the TYPE_MAIN_VARIANT of the base type. 2007-10-26 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/other/pr33601.C: New. From-SVN: r129659
2007-10-26re PR c++/31988 (new operator should not permit default first parameter)Paolo Carlini4-7/+65
cp/ 2007-10-26 Paolo Carlini <pcarlini@suse.de> PR c++/31988 * decl2.c (coerce_new_type): Do not allow a default argument for the first parameter. testsuite/ 2007-10-26 Paolo Carlini <pcarlini@suse.de> PR c++/31988 * g++.dg/init/new25.C: New. From-SVN: r129657
2007-10-26re PR c++/33839 (ICE with decltype)Douglas Gregor4-9/+30
2007-10-26 Douglas Gregor <doug.gregor@gmail.com> PR c++/33839 * parser.c (cp_parser_decltype): Return ERROR_MARK_NODE if we don't see the leading '('. Only lookup names if we get an IDENTIFIER_NODE. 2007-10-26 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/cpp0x/pr33839.C: New. From-SVN: r129656
2007-10-26reorg.c (emit_delay_sequence): Move insn locator from the first insn to the ↵Daniel Jacobowitz2-0/+8
sequence. * reorg.c (emit_delay_sequence): Move insn locator from the first insn to the sequence. From-SVN: r129651
2007-10-26re PR c++/33744 (function-style cast and '>' not allowed in template argument)Jakub Jelinek4-1/+41
PR c++/33744 * parser.c (cp_parser_parenthesized_expression_list): Set greater_than_is_operator_p to true in between the parens. * g++.dg/template/arg6.C: New test. From-SVN: r129648
2007-10-26re PR c++/31747 (ICE combining static and extern)Paolo Carlini4-9/+24
cp/ 2007-10-26 Paolo Carlini <pcarlini@suse.de> PR c++/31747 * decl.c (grokdeclarator): In case of conflicting specifiers just return error_mark_node. testsuite/ 2007-10-26 Paolo Carlini <pcarlini@suse.de> PR c++/31747 * g++.dg/parse/crash39.C: New. From-SVN: r129647
2007-10-26ivopts-1.C: Remove xfail on the search for "&x\\\[5\\\]" pattern.Uros Bizjak2-2/+8
* g++.dg/tree-ssa/ivopts-1.C: Remove xfail on the search for "&x\\\[5\\\]" pattern. Search for "offset: 0x0f+fc" insetad of "offset: -4B". From-SVN: r129646
2007-10-26expr.c (cxx_expand_expr): Removed.Ollie Wild4-47/+8
gcc/cp/ * expr.c (cxx_expand_expr): Removed. * cp-tree.h (exx_expand_expr): Removed. * cp-objcp-common.h (LANK_HOOKS_EXPAND_EXPR): Replace cxx_expand_expr with c_expand_expr. From-SVN: r129645
2007-10-26ipa-pure-const.c (check_decl): Return immediately when pure_const_state has ↵Samuel Tardieu2-10/+20
been set to IPA_NEITHER. * ipa-pure-const.c (check_decl): Return immediately when pure_const_state has been set to IPA_NEITHER. From-SVN: r129644
2007-10-26Daily bump.GCC Administrator1-1/+1
From-SVN: r129642
2007-10-26* g++.dg/tree-ssa/copyprop-1.C: Remove xfail.David Daney2-1/+5
From-SVN: r129639
2007-10-25re PR c++/33843 (Broken diagnostic: 'bit_not_expr' not supported by ↵Paolo Carlini4-0/+23
pp_cxx_unqualified_id) 2007-10-25 Paolo Carlini <pcarlini@suse.de> PR c++/33843 * cxx-pretty-print.c (pp_cxx_unqualified_id): Deal with BIT_NOT_EXPR. 2007-10-25 Paolo Carlini <pcarlini@suse.de> PR c++/33843 * g++.dg/template/error32.C: New. From-SVN: r129637
2007-10-25re PR fortran/29784 ([doc] No I/O conversion of logical/integer)Francois-Xavier Coudert2-0/+9
PR fortran/29784 * gfortran.texi: Document that there is no logical/integer conversion performed during I/O operations. From-SVN: r129635
2007-10-25re PR tree-optimization/33833 (ICE in build2_stat, at tree.c:3110 at -O3, ↵Ira Rosen4-4/+48
tree-vectorizer) PR tree-optimization/33833 * tree-vect-analyze.c (vect_analyze_data_refs): Use POINTER_PLUS_EXPR and convert init to sizetype in inner_base construction. From-SVN: r129628
2007-10-25* gcc.dg/tree-ssa/20040204-1.c: Un-xfail for mips*-*-*.David Daney2-1/+5
From-SVN: r129627
2007-10-25tree-flow.h (mem_sym_stats): Remove.Richard Guenther4-70/+93
2007-10-25 Richard Guenther <rguenther@suse.de> * tree-flow.h (mem_sym_stats): Remove. (dump_mem_sym_stats_for_var): Declare. * tree-dfa.c (dump_variable): Call dump_mem_sym_stats_for_var. (mem_sym_stats): Move ... * tree-ssa-alias.c (mem_sym_stats): ... here and make it static. (mem_sym_score): Rename from ... (pscore): ... this. Remove. (dump_mem_sym_stats_for_var): New function. Dump the score, but not the frequencies. (compare_mp_info_entries): Make sort stable by disambiguating on DECL_UID. From-SVN: r129625
2007-10-25re PR tree-optimization/33866 (ICE in vect_get_vec_def_for_stmt_copy, at ↵Ira Rosen4-5/+68
tree-vect-transform.c:1937) PR tree-optimization/33866 * tree-vect-transform.c (vectorizable_store): Check operands of all the stmts in the group of strided accesses. Get def stmt type for each store in the group and pass it to vect_get_vec_def_for_stmt_copy (). From-SVN: r129623
2007-10-25constraints.md (Y0): Rename register constraint to Yz.Uros Bizjak5-55/+67
* config/i386/constraints.md (Y0): Rename register constraint to Yz. (Yt): Rename register constraint to Y2. * config/i386/sse.md: Use renamed register constraints. * config/i386/mmx.md: Ditto. * config/i386/i386.md: Ditto. * config/i386/i386.md (*dummy_extendsfdf2): Fix operand 1 constraint. From-SVN: r129622
2007-10-25dwarf2out.c (base_type_die): Use DW_ATE_unsigned_fixed or ↵Chao-ying Fu2-2/+7
DW_ATE_signed_fixed to describe FIXED_POINT_TYPE. * dwarf2out.c (base_type_die): Use DW_ATE_unsigned_fixed or DW_ATE_signed_fixed to describe FIXED_POINT_TYPE. From-SVN: r129620
2007-10-25Daily bump.GCC Administrator1-1/+1
From-SVN: r129618
2007-10-24ipa-struct-reorg.c (replace_field_acc): Make it clear to the compiler that ↵Samuel Tardieu2-4/+17
wr.wrap and wr.domain are initialized in any... 2007-10-24 Samuel Tardieu <sam@rfc1149.net> Olga Golovanevsky <olga@il.ibm.com> * ipa-struct-reorg.c (replace_field_acc): Make it clear to the compiler that wr.wrap and wr.domain are initialized in any case. 2007-10-24 Samuel Tardieu <sam@rfc1149.net> * ipa-struct-reorg.c (sum_counts): Use HOST_WIDEST_PRINT_DEC to print gcov_type values. Co-Authored-By: Olga Golovanevsky <olga@il.ibm.com> From-SVN: r129615
2007-10-25avr.h: Do not include progmem_section definition when building with ↵Eric B. Weddington2-1/+6
IN_TARGET_LIBS. * config/avr/avr.h: Do not include progmem_section definition when building with IN_TARGET_LIBS. From-SVN: r129614
2007-10-24Forgot one file from my previous commit.Uros Bizjak1-2/+2
From-SVN: r129613
2007-10-24pr11001-*.c: Remove -m32 from compile flags.Uros Bizjak9-12/+18
* gcc.target/i386/pr11001-*.c: Remove -m32 from compile flags. Add -w to compile flags to suppress "call-clobbered register" warnings and remove dg-warning directives. From-SVN: r129612
2007-10-24sms-2.c: Cleanup sms dump file.Uros Bizjak3-1/+9
* gcc.dg/sms-2.c: Cleanup sms dump file. * gcc.dg/tree-prof/tracer-1.c: Cleanup tracer dump file after the profile-use step. From-SVN: r129611
2007-10-24comment typoJason Merrill1-1/+1
From-SVN: r129610
2007-10-24* gcc.dg/tree-ssa/update-threading.c: Remove xfail.David Daney2-1/+5
From-SVN: r129608
2007-10-24re PR target/33755 (Gcc 4.2.2 broken for mips linux kernel builds)Richard Sandiford4-36/+238
gcc/ PR target/33755 * config/mips/mips.c (mips_lo_sum_offset): New structure. (mips_hash_base, mips_lo_sum_offset_hash, mips_lo_sum_offset_eq) (mips_lo_sum_offset_lookup, mips_record_lo_sum) (mips_orphaned_high_part_p: New functions. (mips_avoid_hazard): Don't check INSN_P here. (mips_avoid_hazards): Rename to... (mips_reorg_process_insns): ...this. Cope with !TARGET_EXPLICIT_RELOCS. Delete orphaned high-part relocations, or turn them into nops. (mips_reorg): Remove TARGET_EXPLICIT_RELOCS check from calls to dbr_schedule and mips_avoid_hazards/mips_reorg_process_insns. (mips_set_mips16_mode): Don't set flag_delayed_branch here. (mips_override_options): Set flag_delayed_branch to 0. gcc/testsuite/ PR target/33755 * gcc.target/mips/pr33755.c: New test. From-SVN: r129606
2007-10-24mips.h (MOVE_MAX): Use UNITS_PER_WORD and describe MIPS-specific ↵Richard Sandiford3-35/+77
implementation details. gcc/ * config/mips/mips.h (MOVE_MAX): Use UNITS_PER_WORD and describe MIPS-specific implementation details. (MIPS_MAX_MOVE_BYTES_PER_LOOP_ITER): New macro. (MIPS_MAX_MOVE_BYTES_STRAIGHT): Likewise. (MOVE_RATIO): Define to MIPS_MAX_MOVE_BYTES_STRAIGHT / UNITS_PER_WORD for targets with movmemsi. (MOVE_BY_PIECES_P): Define. * config/mips/mips.c (MAX_MOVE_REGS, MAX_MOVE_BYTES): Delete. (mips_block_move_loop): Add a bytes_per_iter argument. (mips_expand_block_move): Use MIPS_MAX_MOVE_BYTES_STRAIGHT. Update call to mips_block_move_loop. From-SVN: r129605