- 20 Oct, 2009 5 commits
-
-
2009-10-20 Wolfgang Gellerich <gellerich@de.ibm.com> * config/s390/s390.md: Added agen condition to operand forwarding bypasses. Added bypass for early address generation use of int results. Updated comments. From-SVN: r153006
Wolfgang Gellerich committed -
* config/i386/i386.c: Remove signal.h #include. From-SVN: r153005
Stefan Dösinger committed -
2009-10-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/41706 * resolve.c (resolve_arg_exprs): New function. (resolve_class_compcall): Call the above. (resolve_class_typebound_call): The same. 2009-10-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/41706 * gfortran.dg/class_9 : New test. From-SVN: r153004
Paul Thomas committed -
* simplify-rtx.c (simplify_const_unary_operation): Handle SS_ABS. * doc/rtl.texi: Document ss_abs. From-SVN: r153003
Jie Zhang committed -
From-SVN: r153002
GCC Administrator committed
-
- 19 Oct, 2009 17 commits
-
-
* charset.c (cpp_init_iconv): Initialize utf8_cset_desc. (_cpp_destroy_iconv): Destroy utf8_cset_desc, char16_cset_desc and char32_cset_desc. (converter_for_type): Handle CPP_UTF8STRING. (cpp_interpret_string): Handle CPP_UTF8STRING and raw-strings. * directives.c (get__Pragma_string): Handle CPP_UTF8STRING. (parse_include): Reject raw strings. * include/cpplib.h (CPP_UTF8STRING): New token type. * internal.h (struct cpp_reader): Add utf8_cset_desc field. * lex.c (lex_raw_string): New function. (lex_string): Handle u8 string literals, call lex_raw_string for raw string literals. (_cpp_lex_direct): Call lex_string even for u8" and {,u,U,L,u8}R" sequences. * macro.c (stringify_arg): Handle CPP_UTF8STRING. * c-common.c (c_parse_error): Handle CPP_UTF8STRING. * c-lex.c (c_lex_with_flags): Likewise. Test C_LEX_STRING_NO_JOIN instead of C_LEX_RAW_STRINGS. (lex_string): Handle CPP_UTF8STRING. * c-parser.c (c_parser_postfix_expression): Likewise. * c-pragma.h (C_LEX_RAW_STRINGS): Rename to ... (C_LEX_STRING_NO_JOIN): ... this. * parser.c (cp_lexer_print_token, cp_parser_is_string_literal, cp_parser_string_literal, cp_parser_primary_expression): Likewise. (cp_lexer_get_preprocessor_token): Use C_LEX_STRING_JOIN instead of C_LEX_RAW_STRINGS. * gcc.dg/raw-string-1.c: New test. * gcc.dg/raw-string-2.c: New test. * gcc.dg/raw-string-3.c: New test. * gcc.dg/raw-string-4.c: New test. * gcc.dg/raw-string-5.c: New test. * gcc.dg/raw-string-6.c: New test. * gcc.dg/raw-string-7.c: New test. * gcc.dg/utf8-1.c: New test. * gcc.dg/utf8-2.c: New test. * gcc.dg/utf-badconcat2.c: New test. * gcc.dg/utf-dflt2.c: New test. * gcc.dg/cpp/include6.c: New test. * g++.dg/ext/raw-string-1.C: New test. * g++.dg/ext/raw-string-2.C: New test. * g++.dg/ext/raw-string-3.C: New test. * g++.dg/ext/raw-string-4.C: New test. * g++.dg/ext/raw-string-5.C: New test. * g++.dg/ext/raw-string-6.C: New test. * g++.dg/ext/raw-string-7.C: New test. * g++.dg/ext/utf8-1.C: New test. * g++.dg/ext/utf8-2.C: New test. * g++.dg/ext/utf-badconcat2.C: New test. * g++.dg/ext/utf-dflt2.C: New test. From-SVN: r152995
Jakub Jelinek committed -
* config/cris/cris.c (cris_function_value, cris_libcall_value, cris_function_value_regno_p): New functions. (cris_promote_function_mode): Update comment. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare. * config/cris/cris.h: (FUNCTION_VALUE, LIBCALL_VALUE): Remove. (FUNCTION_VALUE_REGNO_P): Redefine, use cris_function_value_regno_p. * config/cris/cris-protos.h (cris_function_value_regno_p): Declare. From-SVN: r152992
Anatoly Sokolov committed -
From-SVN: r152991
Jakub Jelinek committed -
* unwind-dw2.c (execute_stack_op): Fix operand order for DW_OP_le, DW_OP_ge, DW_OP_lt and DW_OP_gt. * gcc.dg/cleanup-13.c: New test. From-SVN: r152989
Jakub Jelinek committed -
2009-10-19 Janus Weil <janus@gcc.gnu.org> PR fortran/41586 * parse.c (parse_derived): Correctly set 'alloc_comp' and 'pointer_comp' for CLASS variables. * trans-array.c (structure_alloc_comps): Handle deallocation and nullification of allocatable scalar components. * trans-decl.c (gfc_get_symbol_decl): Remember allocatable scalars for automatic deallocation. (gfc_trans_deferred_vars): Automatically deallocate allocatable scalars. 2009-10-19 Janus Weil <janus@gcc.gnu.org> PR fortran/41586 * gfortran.dg/auto_dealloc_1.f90: New test case. From-SVN: r152988
Janus Weil committed -
2009-10-08 Jakub Jelinek <jakub@redhat.com> * gcc.dg/debug/vta-2.c: New test. 2009-09-30 Alexandre Oliva <aoliva@redhat.com> * gcc.dg/debug/vta-1.c: New. From-SVN: r152986
Jakub Jelinek committed -
* gimple-low.c (struct lower_data): Add cannot_fallthru field. (lower_stmt) <GIMPLE_BIND>: Add comment. <GIMPLE_COND, GIMPLE_GOTO, GIMPLE_SWITCH>: Set cannot_fallthru to true and return. <GIMPLE_RETURN>: Remove the statement if cannot_fallthru is set. Otherwise lower it and set cannot_fallthru to true. <GIMPLE_TRY>: Update cannot_fallthru for GIMPLE_TRY_FINALLY and return. <GIMPLE_CATCH, GIMPLE_EH_FILTER>; Set cannot_fallthru to false. <GIMPLE_CALL>: Set cannot_fallthru to false for BUILT_IN_SETJMP and to true for a noreturn call. Do not remove statements. <GIMPLE_OMP_PARALLEL, GIMPLE_OMP_TASK>: Set cannot_fallthru to false. Set cannot_fallthru to false on function exit. (gimple_stmt_may_fallthru) <GIMPLE_SWITCH>: Really return false. <GIMPLE_ASSIGN>: Remove. From-SVN: r152984
Eric Botcazou committed -
2009-10-19 Tobias Burnus <burnus@net-b.de> Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/41755 * symbol.c (gfc_undo_symbols): Add NULL check. * match.c (gfc_match_equivalence): Add check for missing comma. 2009-10-19 Tobias Burnus <burnus@net-b.de> PR fortran/41755 * gfortran.dg/equiv_8.f90: New test. * gfortran.dg/class_allocate_1.f03: Remove obsolete FIXME. Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org> From-SVN: r152983
Tobias Burnus committed -
From-SVN: r152982
Rafael Espindola committed -
2009-10-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_z10_optimize_cmp): Don't touch FP compares. From-SVN: r152979
Andreas Krebbel committed -
2009-10-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_z10_optimize_cmp): Use next/prev_active_insn to skip DEBUG_INSNs as well. From-SVN: r152978
Andreas Krebbel committed -
* config/arm/arm.c (output_move_neon): Use DImode in call to adjust_address. testsuite: * gcc.target/arm/neon-thumb2-move.c: New test. From-SVN: r152977
Joseph Myers committed -
include/ 2009-10-09 Rafael Avila de Espindola <espindola@google.com> PR40790 * plugin-api.h: Don't include stdint.h unconditionally. lto-plugin/ 2009-10-09 Rafael Avila de Espindola <espindola@google.com> PR40790 * configure: Regenerate. * configure.ac: Add AC_TYPE_UINT64_T. From-SVN: r152976
Rafael Espindola committed -
2009-10-19 Matthias Klose <doko@ubuntu.com> PR target/40134 * config.gcc (arm*-*-linux-*eabi): Use config/t-slibgcc-libgcc. From-SVN: r152975
Matthias Klose committed -
2009-10-18 Richard Guenther <rguenther@suse.de> PR fortran/41494 * trans-expr.c (gfc_trans_scalar_assign): Do not call gfc_evaluate_now. From-SVN: r152973
Richard Guenther committed -
* cfgexpand.c (expand_debug_expr): Fail if bitpos < 0 for non-MEM op0. * gcc.dg/debug/vta-3.c: New test. From-SVN: r152972
Jakub Jelinek committed -
From-SVN: r152970
GCC Administrator committed
-
- 18 Oct, 2009 1 commit
-
-
From-SVN: r152964
GCC Administrator committed
-
- 17 Oct, 2009 17 commits
-
-
2009-10-17 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> PR middle-end/41738 * optabs.c (expand_binop): Make mode of shift count expression mode of shift count not target. Remove indent nit. From-SVN: r152961
Andy Hutchinson committed -
* tree-nested.c (convert_nonlocal_reference_stmt) <GIMPLE_COND>: New case. Force using values to replace references within the statement. (convert_local_reference_stmt): Likewise. From-SVN: r152960
Eric Botcazou committed -
* gimple-low.c (lower_stmt) <GIMPLE_CALL>: If the call is noreturn, remove a subsequent GOTO or RETURN statement. From-SVN: r152959
Eric Botcazou committed -
2009-10-17 Andy Hutchinson <hutchinsonandy@aim.com> * config/avr.md (*movqi): Add zero as equally preferable constraint as general register. (*movhi): Ditto. From-SVN: r152958
Andy Hutchinson committed -
2009-10-17 Janus Weil <janus@gcc.gnu.org> Paul Thomas <pault@gcc.gnu.org> PR fortran/41608 * decl.c (gfc_match_data_decl): Add BT_CLASS for undefined type and empty type errors. * parse.c (gfc_build_block_ns): Only set recursive if parent ns has a proc_name. PR fortran/41629 PR fortran/41618 PR fortran/41587 * gfortran.h : Add class_ok bitfield to symbol_attr. * decl.c (build_sym): Set attr.class_ok if dummy, pointer or allocatable. (build_struct): Use gfc_try 't' to carry errors past the call to encapsulate_class_symbol. (attr_decl1): For a CLASS object, apply the new attribute to the data component. * match.c (gfc_match_select_type): Set attr.class_ok for an assigned selector. * resolve.c (resolve_fl_variable_derived): Check a CLASS object is dummy, pointer or allocatable by testing the class_ok and the use_assoc attribute. 2009-10-17 Janus Weil <janus@gcc.gnu.org> Paul Thomas <pault@gcc.gnu.org> PR fortran/41629 * gfortran.dg/class_6.f90: New test. PR fortran/41608 PR fortran/41587 * gfortran.dg/class_7.f90: New test. PR fortran/41618 * gfortran.dg/class_8.f90: New test. Co-Authored-By: Paul Thomas <pault@gcc.gnu.org> From-SVN: r152955
Janus Weil committed -
From-SVN: r152954
Eric Botcazou committed -
2009-10-17 Richard Guenther <rguenther@suse.de> * lto-streamer-in.c (lto_input_location): Try to reuse previous maps. From-SVN: r152953
Richard Guenther committed -
2009-10-17 Richard Guenther <rguenther@suse.de> * gcc.dg/lto/20091017-1_0.c: New testcase. * gcc.dg/lto/20091017-1_1.c: Likewise. From-SVN: r152952
Richard Guenther committed -
From-SVN: r152951
Joseph Myers committed -
From-SVN: r152950
Joseph Myers committed -
From-SVN: r152938
Eric Botcazou committed -
2009-10-17 Richard Guenther <rguenther@suse.de> * lto-streamer-in.c (input_gimple_stmt): Fixup FIELD_DECL operands in COMPONENT_REFs. From-SVN: r152937
Richard Guenther committed -
From-SVN: r152936
Eric Botcazou committed -
* gcc-interface/utils.c (convert): When converting to a padded type with an inner type of self-referential size, pad the expression before doing the unchecked conversion. From-SVN: r152935
Eric Botcazou committed -
* gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Make sure the element type is consistent. From-SVN: r152934
Eric Botcazou committed -
* targhooks.c (default_libcall_value): Don't use LIBCALL_VALUE macro if not defined. Change type of second argument to const_rtx. (default_function_value): Call gcc_unreachable if FUNCTION_VALUE macro not defined. * targhooks.h (default_libcall_value): Update prototype. * target.h (struct gcc_target): Change type of second argument of libcall_value to const_rtx. * config/arm/arm.c (arm_libcall_value): Change type of second argument to const_rtx. (arm_libcall_uses_aapcs_base): Change type of argument to const_rtx. * doc/tm.texi (TARGET_LIBCALL_VALUE): Revise documentation. From-SVN: r152933
Anatoly Sokolov committed -
From-SVN: r152932
Eric Botcazou committed
-