- 03 Jan, 2012 11 commits
-
-
gcc/ * system.h: Prior to #define, #undef fopen and freopen unconditionally. libcpp/ * system.h: Likewise. From-SVN: r182837
Olivier Hainque committed -
* collect2.c (main): In AIX specific computations for vector insertions, use CONST_CAST2 to cast from char ** to const char **. From-SVN: r182836
Olivier Hainque committed -
2012-01-03 Richard Guenther <rguenther@suse.de> PR debug/51650 * dwarf2out.c (dwarf2out_finish): Always create a DIE for the context of a limbo DIE when it does not already exist. * g++.dg/lto/pr51650-3_0.C: New testcase. From-SVN: r182835
Richard Guenther committed -
/cp 2012-01-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/15867 * decl.c (duplicate_decls): With -Wredundant-decls don't warn for declaration followed by specialization. /testsuite 2012-01-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/15867 * g++.dg/warn/Wredundant-decls-spec.C: New. From-SVN: r182833
Paolo Carlini committed -
re PR tree-optimization/51719 (ICE: verify_gimple failed: LHS in noreturn call with -fpartial-inlining -fprofile-use and exceptions) PR tree-optimization/51719 * value-prof.c (gimple_ic): When indirect call isn't noreturn, but direct call is, clear direct call's lhs and don't add fallthrough edge from dcall_bb to join_bb and PHIs. * g++.dg/tree-prof/pr51719.C: New test. From-SVN: r182832
Jakub Jelinek committed -
2012-01-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.md ("*cmp<mode>_ccs"): Fix comment mentioning the instructions emitted by the pattern. ("*TDC_insn_<mode>"): Add comment. From-SVN: r182831
Andreas Krebbel committed -
2012-01-03 Richard Guenther <rguenther@suse.de> PR middle-end/51730 * fold-const.c (fold_comparison): Properly canonicalize tree offset and HOST_WIDE_INT bit position. * gcc.dg/fold-compare-6.c: New testcase. From-SVN: r182830
Richard Guenther committed -
* config/ia64/ia64.c (expand_vec_perm_broadcast): Use correct operands for extzv pattern. From-SVN: r182829
Uros Bizjak committed -
PR c++/51669 * semantics.c (finish_omp_clauses): Call fold_build_cleanup_point_expr on OMP_CLAUSE_{IF,FINAL,NUM_THREADS,SCHEDULE_CHUNK}_EXPR. * g++.dg/gomp/pr51669.C: New test. From-SVN: r182828
Jakub Jelinek committed -
* gfortran.h (struct gfc_expr): Add missing "struct" qualifier for member base_expr. From-SVN: r182826
Hans-Peter Nilsson committed -
From-SVN: r182825
GCC Administrator committed
-
- 02 Jan, 2012 28 commits
-
-
From-SVN: r182821
Balaji V. Iyer committed -
* make-relative-prefix.c (make_relative_prefix_1): Avoid stack overflow if PATH contains just a single entry and HOST_EXECUTABLE_SUFFIX needs to be used. PR driver/48306 * make-relative-prefix.c: Include sys/stat.h. (make_relative_prefix_1): If access succeeds, check also stat if nstore is a regular file. From-SVN: r182820
Jakub Jelinek committed -
PR bootstrap/51725 * cselib.c (add_mem_for_addr): Call canonical_cselib_val on mem_elt first. From-SVN: r182819
Jakub Jelinek committed -
DR 1359 PR c++/51675 * method.c (walk_field_subobs): Don't check for uninitialized fields in a union. (synthesized_method_walk): Check here. From-SVN: r182810
Jason Merrill committed -
DR 325 PR c++/51666 * parser.c (cp_parser_cache_defarg): Split out... (cp_parser_parameter_declaration): ...from here. (cp_parser_save_nsdmi): Use it. (cp_parser_cache_group): Remove CPP_COMMA support. From-SVN: r182809
Jason Merrill committed -
gcc/cp/ PR c++/51462 * semantics.c (cx_check_missing_mem_inits): Don't assert in case of error. gcc/testsuite/ PR c++/51462 * g++.dg/cpp0x/constexpr-99.C: New test. From-SVN: r182806
Dodji Seketeli committed -
/cp 2012-01-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/20140 * typeck2.c (digest_init_r): Use copy_init when initializing an array of chars. /testsuite 2012-01-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/20140 * g++.dg/template/init9.C: New. From-SVN: r182805
Paolo Carlini committed -
2012-01-02 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/invoke.texi (-flto and related options): Copy-edit. From-SVN: r182804
Sandra Loosemore committed -
gcc/ * config/mips/mips.md (loadgp_newabi_<mode>): Add missing earlyclobber. From-SVN: r182803
Richard Sandiford committed -
* config/i386/sse.md (*avx2_gatherdi<mode>_3, *avx2_gatherdi<mode>_4): New patterns. From-SVN: r182802
Jakub Jelinek committed -
gcc/ * expr.h (move_by_pieces_ninsns): Declare. * expr.c (move_by_pieces_ninsns): Make external. * config/mips/mips-protos.h (mips_move_by_pieces_p): Declare. (mips_store_by_pieces_p): Likewise. * config/mips/mips.h (MOVE_BY_PIECES_P): Call mips_move_by_pieces_p. (STORE_BY_PIECES_P): Likewise mips_store_by_pieces_p. * config/mips/mips.c (mips_move_by_pieces_p): New function. (mips_store_by_pieces_p): Likewise. gcc/testsuite/ * gcc.dg/memcpy-4.c: Add nomips16 attribute for MIPS targets. Increase copy to 5 bytes. Look for at least two "mem/s/u"s, rather than a specific number. From-SVN: r182801
Richard Sandiford committed -
* passes.c (register_one_dump_file): Free full_name. * reload1.c (reload): Don't allocate reg_max_ref_width here. (calculate_elim_costs_all_insns): Free offsets_at and offsets_known_at at the end and clear the pointers. From-SVN: r182800
Jakub Jelinek committed -
* config/avr/avr.opt (-mbranch-cost): Fix double definition of this option introduced in r180739. From-SVN: r182798
Georg-Johann Lay committed -
contrib/ PR target/51345 * gcc_update (files_and_dependencies): Add gcc/config/avr/t-multilib, gcc/config/avr/multilib.h. libgcc/ PR target/51345 * config/avr/lib1funcs.S: Remove FIXME comments. (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__. gcc/ PR target/51345 * config.gcc (tm_file target=avr]): Add avr/avr-multilib.h (tmake_file target=avr): Add avr/t-multilib. * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use AVR_HAVE_8BIT_SP to built-in define __AVR_HAVE_8BIT_SP__, __AVR_HAVE_16BIT_SP__. * config/avr/genmultilib.awk: New file. * config/avr/t-multilib: New auto-generated file. * config/avr/multilib.h: New auto-generated file. * config/avr/t-avr (AVR_MCUS): New variable. (genopt.sh): Use it. (s-mlib): Depend on t-multilib. (t-multilib, multilib.h): New dependencies. (s-avr-mlib): New rule to build t-multilib, multilib.h from AVR_MCUS. (MULTILIB_OPTIONS): Remove. (MULTILIB_MATCHES): Remove. (MULTILIB_DIRNAMES): Remove. (MULTILIB_EXCEPTIONS): Remove: * config/avr/genopt.sh: Don't use hard coded file name; pass AVR_MCUS from t-avr instead. From-SVN: r182797
Georg-Johann Lay committed -
re PR fortran/51529 ([OOP] gfortran.dg/class_to_type_1.f03 is miscompiled: Uninitialized variable used) 2012-01-02 Paul Thomas <pault@gcc.gnu.org> PR fortran/51529 * trans-array.c (gfc_array_allocate): Null allocated memory of newly allocted class arrays. PR fortran/46262 PR fortran/46328 PR fortran/51052 * interface.c(build_compcall_for_operator): Add a type to the expression. * trans-expr.c (conv_base_obj_fcn_val): New function. (gfc_conv_procedure_call): Use base_expr to detect non-variable base objects and, ensuring that there is a temporary variable, build up the typebound call using conv_base_obj_fcn_val. (gfc_trans_class_assign): Pick out class procedure pointer assignments and do the assignment with no further prcessing. (gfc_trans_class_array_init_assign, gfc_trans_class_init_assign gfc_trans_class_assign): Move to top of file. * gfortran.h : Add 'base_expr' field to gfc_expr. * resolve.c (get_declared_from_expr): Add 'types' argument to switch checking of derived types on or off. (resolve_typebound_generic_call): Set the new argument. (resolve_typebound_function, resolve_typebound_subroutine): Set 'types' argument for get_declared_from_expr appropriately. Identify base expression, if not a variable, in the argument list of class valued calls. Assign it to the 'base_expr' field of the final expression. Strip away all references after the last class reference. 2012-01-02 Paul Thomas <pault@gcc.gnu.org> PR fortran/46262 PR fortran/46328 PR fortran/51052 * gfortran.dg/typebound_operator_7.f03: New. * gfortran.dg/typebound_operator_8.f03: New. From-SVN: r182796
Paul Thomas committed -
* config/avr/avr.c (avr_out_ashrpsi3): Fix "case 31" to "case 23". From-SVN: r182795
Georg-Johann Lay committed -
gcc/ Implement light-weight DImode support. * config/avr/avr-dimode.md: New file. * config/avr/avr.md: Include it. (adjust_len): Add plus64, compare64. (HIDI): Remove code iterator. (code_stdname): New code attribute. (rotx, rotsmode): Remove DI. (rotl<mode>3, *rotw<mode>, *rotb<mode>): Use HISI instead of HIDI as code iterator. * config/avr/avr-protos.h (avr_have_dimode): New. (avr_out_plus64, avr_out_compare64): New. * config/avr/avr.c (avr_out_compare): Handle DImode. (avr_have_dimode): New variable definition and initialization. (avr_out_compare64, avr_out_plus64): New functions. (avr_out_plus_1): Use simplify_unary_operation to negate xval. (adjust_insn_length): Handle ADJUST_LEN_COMPARE64, ADJUST_LEN_PLUS64. (avr_compare_pattern): Skip DImode comparisons. libgcc/ Implement light-weight DImode support. * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8, _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3. * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8, __rotldi3): New functions. From-SVN: r182794
Georg-Johann Lay committed -
gcc/testsuite/ PR target/51729 * gcc.target/mips/dspr2-MULT.c: Remove -ffixed-hi -ffixed-lo. XFAIL. * gcc.target/mips/dspr2-MULTU.c: Likewise. From-SVN: r182793
Richard Sandiford committed -
gcc/testsuite/ * gcc.dg/pr46309.c: Add -mtune=octeon2 for MIPS. From-SVN: r182792
Richard Sandiford committed -
gcc/testsuite/ * g++.dg/cpp0x/constexpr-rom.C: Look for .rdata rather than rodata for MIPS. From-SVN: r182791
Richard Sandiford committed -
gcc/testsuite/ * gfortran.dg/io_real_boz_3.f90: Require fortran_real_16. * gfortran.dg/io_real_boz_4.f90: Likewise. * gfortran.dg/io_real_boz_5.f90: Likewise. From-SVN: r182789
Richard Sandiford committed -
2012-01-02 Richard Guenther <rguenther@suse.de> PR bootstrap/51686 * Makefile.def (install-strip-gcc): Depend on install-strip-lto-plugin. * Makefile.in: Regenerate. From-SVN: r182788
Richard Guenther committed -
gcc/testsuite/ * g++.dg/opt/devirt2.C: Add -mno-abicalls for MIPS. From-SVN: r182787
Richard Sandiford committed -
From-SVN: r182786
Revital Eres committed -
2012-01-02 Richard Guenther <rguenther@suse.de> PR other/51679 * invoke.texi (fassociative-math): Remove spurious paranthesis. From-SVN: r182785
Richard Guenther committed -
From-SVN: r182783
Eric Botcazou committed -
2012-01-02 Tobias Burnus <burnus@net-b.de> PR fortran/51682 * trans-intrinsic.c (trans_this_image, trans_image_index, trans_num_images, conv_intrinsic_cobound): Fold_convert the caf_num_images/caf_this_images variables to the correct int kind. 2012-01-02 Tobias Burnus <burnus@net-b.de> PR fortran/51682 * gfortran.dg/coarray/image_index_3.f90: New. From-SVN: r182781
Tobias Burnus committed -
From-SVN: r182780
GCC Administrator committed
-
- 01 Jan, 2012 1 commit
-
-
/cp 2012-01-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/16603 * decl.c (build_enumerator): Don't call perform_integral_promotions on the value. /testsuite 2012-01-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/16603 * g++.dg/parse/enum8.C: New. From-SVN: r182776
Paolo Carlini committed
-