aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2011-02-19re PR tree-optimization/46620 (32-bit structures containing bitfields are ↵Alexandre Oliva2-0/+81
not copied correctly on -O2 , x86 backend) PR tree-optimization/46620 * gcc.dg/pr46620.c: New. From-SVN: r170325
2011-02-19re PR debug/47620 (Profiledbootstrap failure on powerpc-linux)Alexandre Oliva2-1/+8
PR debug/47620 PR debug/47630 * haifa-sched.c (fix_tick_ready): Skip tick computation for debug insns. From-SVN: r170324
2011-02-19re PR c/47809 (ICE in gimplify_expr, at gimplify.c:7291)Jakub Jelinek4-0/+24
PR c/47809 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR. * gcc.target/i386/pr47809.c: New test. From-SVN: r170323
2011-02-19re PR debug/47647 (BLOCKs are empty)Richard Guenther3-11/+10
2011-02-18 Richard Guenther <rguenther@suse.de> PR lto/47647 * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): Remove lazy BLOCK_VARS streaming. (lto_input_ts_block_tree_pointers): Likewise. * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. From-SVN: r170321
2011-02-192011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle3-0/+38
Tobias Burnus <burnus@net-b.de> * lib/target-supports.exp (check_effective_target_fortran_large_real): New check for large reals. * gfortran.dg/nan_7.f90: New test. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r170320
2011-02-19re PR libfortran/47567 (Wrong output for small absolute values with F editing)Jerry DeLisle2-8/+35
2011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47567 * gfortran.dg/fmt_f0_1.f90: Update test. Fix previous log entry. From-SVN: r170319
2011-02-19re PR fortran/47348 (wrong string length with array constructor)Paul Thomas5-51/+102
2011-02-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/47348 * trans-array.c (get_array_ctor_all_strlen): Move up in file. (get_array_ctor_var_strlen): Add block dummy and add call to get_array_ctor_all_strlen instead of giving up on substrings. Call gcc_unreachable for default case. (get_array_ctor_strlen): Add extra argument to in call to get_array_ctor_var_strlen. 2011-02-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/47348 * gfortran.dg/array_constructor_36.f90 : New test. * gfortran.dg/bounds_check_10.f90 : Change dg-output message to allow for comparison between different elements of the array constructor at different levels of optimization. From-SVN: r170317
2011-02-19* config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h.Joseph Myers2-1/+5
From-SVN: r170315
2011-02-19biarch32.h, [...]: Remove.Joseph Myers5-146/+5
* config/i386/biarch32.h, config/i386/mach.h, config/rs6000/aix.opt, config/sh/superh64.h: Remove. From-SVN: r170314
2011-02-19Require int128 instead of lp64 in int128 tests.H.J. Lu3-2/+7
2011-02-19 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/pr31167.c: Require int128 instead of lp64. * gcc.target/i386/pr32280-1.c: Likewise. From-SVN: r170313
2011-02-19re PR target/47800 (i?86 peephole related ICE)Jakub Jelinek4-7/+33
PR target/47800 * config/i386/i386.md (peephole2 for shift and plus): Use operands[1] original mode in the first insn. * gcc.target/i386/pr47800.c: New test. From-SVN: r170311
2011-02-19Fix long lineEric Botcazou1-4/+3
From-SVN: r170310
2011-02-19Updated commentsNicola Pero3-285/+336
From-SVN: r170308
2011-02-19Don't crash on constant right shift.Ian Lance Taylor1-8/+17
From-SVN: r170307
2011-02-19t-darwin (TM_H): Add dependency on on darwin-sections.def.Mike Stump2-0/+7
* config/t-darwin (TM_H): Add dependency on on darwin-sections.def. From-SVN: r170306
2011-02-19Don't crash on out of range switch value.Ian Lance Taylor1-1/+6
From-SVN: r170305
2011-02-19Remove old mechanism for passing varargs argument to varargs function.Ian Lance Taylor4-95/+29
From-SVN: r170304
2011-02-19Avoid infinite loop inheriting interface methods.Ian Lance Taylor1-0/+23
From-SVN: r170303
2011-02-19Avoid dangling open function after erroneous method expression.Ian Lance Taylor1-1/+4
From-SVN: r170302
2011-02-19Fix struct with array of struct with field that points to first struct.Ian Lance Taylor3-9/+39
Don't crash converting an untyped complex constant to an integer type. Don't crash on unsafe.Sizeof of erroneous type. Don't crash on method expression of erroneous type. Don't crash when sink and global var are initialized from type guard. Don't crash initializing erroneous slice. Don't crash on erroneous method of type seen before definition. From-SVN: r170301
2011-02-19re PR lto/47788 (New LTO failures)Jan Hubicka2-0/+8
PR middle-end/47788 * ipa-inline.c (compute_inline_parameters): Clear disregard_inline_limits when function is not inlinable at all. From-SVN: r170300
2011-02-19Updated comments in objc-act.cNicola Pero2-3/+25
From-SVN: r170299
2011-02-19Updated comments - no change in codeNicola Pero7-52/+76
From-SVN: r170298
2011-02-19xfail forward ObjC test on 64-bit Apple runtimeIain Sandoe2-0/+15
From-SVN: r170297
2011-02-19Daily bump.GCC Administrator1-1/+1
From-SVN: r170296
2011-02-19Do no emit GNU metadata if there is nothing to put into itNicola Pero2-5/+22
From-SVN: r170292
2011-02-18re PR fortran/47789 ([F03] Structure constructor of type extending DT with ↵Janus Weil4-0/+35
no components) 2011-02-18 Janus Weil <janus@gcc.gnu.org> PR fortran/47789 * primary.c (gfc_match_structure_constructor): Handle empty parent types. 2011-02-18 Janus Weil <janus@gcc.gnu.org> PR fortran/47789 * gfortran.dg/derived_constructor_comps_4.f90: New. From-SVN: r170291
2011-02-182011-02-18 Tobias BurnusTobias Burnus4-3/+92
PR fortran/47775 * trans-expr.c (arrayfunc_assign_needs_temporary): Use esym to check whether the specific procedure returns an allocatable or pointer. 2011-02-18 Tobias Burnus PR fortran/47775 * gfortran.dg/func_result_6.f90: New. From-SVN: r170289
2011-02-18config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.John David Anglin6-1/+104
* config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. * config/pa/t-pa-hpux11: Add rules to build pthread stubs. * config/pa/t-pa64: Likewise. * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. From-SVN: r170287
2011-02-18re PR driver/47787 (GCC with -flto combines preprocessed C sources)Jakub Jelinek2-1/+6
PR driver/47787 * gcc.c (default_compilers): Clear combinable field for "@cpp-output". From-SVN: r170286
2011-02-18re PR fortran/45586 (ICE non-trivial conversion at assignment)Michael Matz8-0/+327
PR fortran/45586 * gfortran.h (struct gfc_component): Add norestrict_decl member. * trans.h (struct lang_type): Add nonrestricted_type member. * trans-expr.c (gfc_conv_component_ref): Search fields with correct parent type. * trans-types.c (mirror_fields, gfc_nonrestricted_type): New. (gfc_sym_type): Use it. testsuite/ PR fortran/45586 * gfortran.dg/lto/pr45586_0.f90: New test. * gfortran.dg/typebound_proc_20.f90: Ditto. * gfortran.dg/typebound_proc_21.f90: Ditto. From-SVN: r170284
2011-02-18re PR target/47792 (concurrence.h:292:9: error: '__gthread_mutex_destroy' ↵John David Anglin2-1/+6
was not declared in this scope) PR target/47792 * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. From-SVN: r170281
2011-02-18re PR bootstrap/47807 (Failed to bootstrap)Jakub Jelinek2-1/+7
PR bootstrap/47807 * Make-lang.in (lto/lto-lang.o): Depend on $(LTO_STREAMER_H) instead of lto-streamer.h. From-SVN: r170279
2011-02-18m32r.h (REG_OK_FOR_BASE_P, [...]): Remove macros.Anatoly Sokolov4-97/+133
* config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, GO_IF_LEGITIMATE_ADDRESS): Remove macros. * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, m32r_load_postinc_p, m32r_store_preinc_predec_p, m32r_legitimate_address_p): New functions. * config/m32r/constraints.md (constraint "S"): Don't use STORE_PREINC_PREDEC_P. (constraint "U"): Don't use LOAD_POSTINC_P. From-SVN: r170278
2011-02-18re PR rtl-optimization/46178 (gcc.target/i386/(u)divmod-[58].c FAIL: ICE: in ↵Chung-Lin Tang2-13/+11
dec_register_pressure, at ira-lives.c:215 with -fira-algorithm=priority) 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> PR rtl-optimization/46178 * ira.c (setup_hard_regno_class): Use ira_class_translate[] to compute ira_hard_regno_cover_class[]. From-SVN: r170277
2011-02-18re PR c++/47795 (internal compiler error: tree check: expected record_type ↵Paolo Carlini1-16/+21
or union_type or qual_union_type, have error_mark in finish_non_static_data_member, at cp/semantics.c:1513) /cp 2011-02-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/47795 * semantics.c (finish_non_static_data_member): Early return if object is error_mark_node. /testsuite 2011-02-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/47795 * g++.dg/cpp0x/lambda/lambda-ice3.C: New. From-SVN: r170276
2011-02-18re PR c++/47795 (internal compiler error: tree check: expected record_type ↵Paolo Carlini3-0/+32
or union_type or qual_union_type, have error_mark in finish_non_static_data_member, at cp/semantics.c:1513) /cp 2011-02-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/47795 * semantics.c (finish_non_static_data_member): Early return if object is error_mark_node. /testsuite 2011-02-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/47795 * g++.dg/cpp0x/lambda/lambda-ice3.C: New. From-SVN: r170275
2011-02-18re PR lto/47798 (LTO debuginfo for globals wrong)Richard Guenther7-4/+19
2011-02-18 Richard Guenther <rguenther@suse.de> PR lto/47798 * lto-streamer.h (lto_global_var_decls): Declare. * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register statics for global var processing. lto/ * lto-tree.h (lto_global_var_decls): Do not declare here. * lto-lang.c: Include lto-streamer.h. * Make-lang.in (lto-lang.o): Adjust dependencies. From-SVN: r170274
2011-02-18re PR fortran/47750 (testsuite/gfortran.dg: dg-warning and dg-error should ↵Tobias Burnus34-55/+110
be distinguished) 2011-02-15 Tobias Burnus <burnus@net-b.de> PR fortran/47750 * lib/gfortran.exp (gfortran_init): Set gcc_error_prefix and gcc_warning_prefix. * lib/gfortran-dg.exp (gfortran-dg-test): Update regexp for normalizing the error/warning output. * gfortran.dg/Wall.f90: Update dg-error/warning. * gfortran.dg/argument_checking_15.f90: Update dg-error/warning. * gfortran.dg/argument_checking_3.f90: Update dg-error/warning. * gfortran.dg/argument_checking_6.f90: Update dg-error/warning. * gfortran.dg/bounds_temporaries_1.f90: Update dg-error/warning. * gfortran.dg/class_30.f90: Update dg-error/warning. * gfortran.dg/continuation_1.f90: Update dg-error/warning. * gfortran.dg/continuation_9.f90: Update dg-error/warning. * gfortran.dg/do_check_5.f90: Update dg-error/warning. * gfortran.dg/entry_17.f90: Update dg-error/warning. * gfortran.dg/entry_19.f90: Update dg-error/warning. * gfortran.dg/fmt_error.f90: Update dg-error/warning. * gfortran.dg/fmt_read_2.f90: Update dg-error/warning. * gfortran.dg/g77/12632.f: Update dg-error/warning. * gfortran.dg/g77/970625-2.f: Update dg-error/warning. * gfortran.dg/g77/980615-0.f: Update dg-error/warning. * gfortran.dg/generic_actual_arg.f90: Update dg-error/warning. * gfortran.dg/global_references_1.f90: Update dg-error/warning. * gfortran.dg/goto_8.f90: Update dg-error/warning. * gfortran.dg/initialization_1.f90: Update dg-error/warning. * gfortran.dg/io_constraints_1.f90: Update dg-error/warning. * gfortran.dg/io_constraints_2.f90: Update dg-error/warning. * gfortran.dg/io_constraints_3.f90: Update dg-error/warning. * gfortran.dg/iostat_3.f90: Update dg-error/warning. * gfortran.dg/public_private_module.f90: Update * dg-error/warning. * gfortran.dg/volatile3.f90: Update dg-error/warning. * gfortran.dg/warning-directive-2.F90: Update dg-error/warning. * gfortran.dg/warnings_are_errors_1.f: Update dg-error/warning. * gfortran.dg/whole_file_1.f90: Update dg-error/warning. * gfortran.dg/whole_file_2.f90: Update dg-error/warning. * gfortran.dg/whole_file_3.f90: Update dg-error/warning. From-SVN: r170273
2011-02-18re PR tree-optimization/47737 (wrong code with -funswitch-loops ↵Richard Guenther2-13/+26
-fno-tree-dominator-opts -fgraphite-identity) 2011-02-18 Richard Guenther <rguenther@suse.de> PR tree-optimization/47737 * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix edge dominance check. From-SVN: r170272
2011-02-18re PR fortran/47768 (ICE: printing a derived-type variable with proc-pointer ↵Janus Weil4-0/+34
components) 2011-02-18 Janus Weil <janus@gcc.gnu.org> PR fortran/47768 * resolve.c (resolve_transfer): Reject variables with procedure pointer components. 2011-02-18 Janus Weil <janus@gcc.gnu.org> PR fortran/47768 * gfortran.dg/proc_ptr_comp_30.f90: New. From-SVN: r170271
2011-02-18re PR debug/47780 (-fcompare-debug failure with -O -fgcse -fgcse-las ↵Jakub Jelinek4-1/+26
-fstack-protector-all) PR debug/47780 * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to avoid invalid rtx sharing. * gcc.target/i386/pr47780.c: New test. From-SVN: r170270
2011-02-18re PR fortran/47767 ([OOP] SELECT TYPE fails to execute correct TYPE IS block)Janus Weil6-37/+90
2011-02-18 Janus Weil <janus@gcc.gnu.org> PR fortran/47767 * gfortran.h (gfc_check_access): Removed prototype. (gfc_check_symbol_access): Added prototype. * module.c (gfc_check_access): Renamed to 'check_access', made static. (gfc_check_symbol_access): New function, basically a shortcut for 'check_access'. (write_dt_extensions,write_symbol0,write_generic,write_symtree): Use 'gfc_check_symbol_access'. (write_operator,write_module): Renamed 'gfc_check_access'. * resolve.c (resolve_fl_procedure,resolve_fl_derived, resolve_fl_namelist,resolve_symbol,resolve_fntype): Use 'gfc_check_symbol_access'. 2011-02-18 Janus Weil <janus@gcc.gnu.org> PR fortran/47767 * gfortran.dg/class_40.f03: New. From-SVN: r170269
2011-02-18re PR c++/47208 ([C++0x] ICE: in decl_constant_var_p, at cp/decl2.c:3563 ↵Dodji Seketeli5-2/+25
with missing #include <initializer_list>) PR c++/47208 gcc/cp/ PR c++/47208 * pt.c (do_auto_deduction): Do not mention error_mark_node in diagnostics. * semantics.c (finish_id_expression): Do not pass erroneous decl to decl_constant_var_p. gcc/testsuite/ PR c++/47208 * g++.dg/cpp0x/auto21.C: New test. From-SVN: r170268
2011-02-18Daily bump.GCC Administrator1-1/+1
From-SVN: r170265
2011-02-18cpp.texi (Obsolete Features): Add background on the origin of assertions.Gerald Pfeifer2-3/+9
* doc/cpp.texi (Obsolete Features): Add background on the origin of assertions. From-SVN: r170261
2011-02-18Added support for the 64-bit Apple Objective-C runtimeIain Sandoe70-4765/+12197
From-SVN: r170260
2011-02-17common.opt (optimize_fast): New Variable.Joseph Myers3-7/+17
* common.opt (optimize_fast): New Variable. * opts.c (default_options_optimization): Use opts->x_optimize_fast instead of local variable ofast. From-SVN: r170259
2011-02-17Added -fobjc-abi-version=N and -fobjc-nilcheck flags, and documented themNicola Pero4-2/+45
From-SVN: r170257
2011-02-17re PR c++/47783 (Warning 'set but not used' [-Wunused-but-set-parameter] ↵Jakub Jelinek4-0/+35
incorrectly issued for update through reference wrapper) PR c++/47783 * cvt.c (convert_from_reference): Call mark_exp_read. * g++.dg/warn/Wunused-parm-4.C: New test. From-SVN: r170255