- 28 Jan, 2011 9 commits
-
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169360 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169359 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169358 138bc75d-0d04-0410-961f-82ee72b054a4
-
pault authored
Tobias Burnus <burnus@gcc.gnu.org> PR fortran/45170 PR fortran/35810 PR fortran/47350 * interface.c (compare_actual_formal): An allocatable or pointer deferred length actual is only allowed if the formal argument is also deferred length. Clean up whitespace. * trans-expr.c (gfc_conv_procedure_call): Pass string length for deferred character length formal arguments by reference. Do the same for function results. (gfc_trans_pointer_assignment): Do not do runtime check of lhs and rhs character lengths, if deferred length lhs. In this case set the lhs character length to that of the rhs. (gfc_conv_string_parameter): Remove assert that string length is an integer type. (is_scalar_reallocatable_lhs): New function. (alloc_scalar_allocatable_for_assignment): New function. (gfc_trans_assignment_1): Call above new function. If the rhs is a deferred character length itself, makes ure that the function is called before reallocation, so that the length is available. (gfc_trans_asssignment): Remove error about assignment to deferred length character variables. * gfortran.texi : Update entry about (re)allocation on assignment. * trans-stmt.c (gfc_trans_allocate): Add code to handle deferred length character variables. * module.c (mio_typespec): Transfer deferred characteristic. * trans-types.c (gfc_get_function_type): New code to generate hidden typelist, so that those character lengths that are passed by reference get the right type. * resolve.c (resolve_contained_fntype): Supress error for deferred character length functions. (resolve_function, resolve_fl_procedure) The same. (check_symbols): Remove the error that support for entity with deferred type parameter is not yet implemented. (resolve_fl_derived): The same. match.c (alloc_opt_list): Allow MOLD for deferred length object. * trans-decl.c (gfc_get_symbol_decl): For deferred character length dummies, generate a local variable for string length. (create_function_arglist): Hidden length can be a pointer. (gfc_trans_deferred_vars): For deferred character length results and dummies, assign the string length to the local variable from the hidden argument on entry and the other way round on exit, as appropriate. 2011-01-28 Paul Thomas <pault@gcc.gnu.org> Tobias Burnus <burnus@gcc.gnu.org> PR fortran/45170 PR fortran/35810 PR fortran/47350 * gfortran.dg/realloc_on_assign_3.f03: New test. * gfortran.dg/realloc_on_assign_4.f03: New test. * gfortran.dg/realloc_on_assign_5.f90: New test. * gfortran.dg/allocatable_function_5.f90: New test. * gfortran.dg/allocate_deferred_char_scalar_1.f90: New test. * gfortran.dg/deferred_type_param_2.f90: Remove two "not yet implemented" dg-errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169356 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
-Bstatic/-Bdynamic. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169353 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169350 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169349 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169345 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
Fixes Go issue 1448. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169344 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 27 Jan, 2011 25 commits
-
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169343 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169342 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169341 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/47474 * trans-decl.c (gfc_generate_function_code): Fix init of allocatable result variable with allocatable components. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169340 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169339 138bc75d-0d04-0410-961f-82ee72b054a4
-
jb authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169338 138bc75d-0d04-0410-961f-82ee72b054a4
-
jb authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169337 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
* config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169336 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169335 138bc75d-0d04-0410-961f-82ee72b054a4
-
jb authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169334 138bc75d-0d04-0410-961f-82ee72b054a4
-
aesok authored
* config/s390/s390-protos.h (s390_preferred_reload_class): Remove. * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. (s390_preferred_reload_class): Make static. Change return and 'rclass' argument type to reg_class_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169333 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* cgraphunit.c (process_common_attributes): Fix use of remove_attribute. (process_function_and_variable_attributes): Check defined weakrefs. * gcc.dg/attr-weakref-4.c: New testcase git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169332 138bc75d-0d04-0410-961f-82ee72b054a4
-
jamborm authored
PR tree-optimization/47228 * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of build_ref_for_offset. * testsuite/gcc.dg/torture/pr47228.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169331 138bc75d-0d04-0410-961f-82ee72b054a4
-
krebbel authored
* gcc.dg/tree-ssa/pr42585.c: Disable on s390 and s390x. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169328 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
when using auto-overlay support on the SPU. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169326 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* gcc.target/i386/asm-6.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169325 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169324 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/47472 * options.c (gfc_handle_module_path_options): Save module path without trailing slash as include path. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169323 138bc75d-0d04-0410-961f-82ee72b054a4
-
law authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169322 138bc75d-0d04-0410-961f-82ee72b054a4
-
law authored
PR rtl-optimization/46856 * postreload.c (reload_combine_recognize_const_pattern): Do not separate cc0 setter and user on cc0 targets. PR rtl-optimization/46856 * gcc.c-torture/compile/pr46856.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169321 138bc75d-0d04-0410-961f-82ee72b054a4
-
jvdelisle authored
PR libgfortran/47285 * io/write_float.def (output_float): Return SUCCESS or FAILURE and use the result to set the padding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169320 138bc75d-0d04-0410-961f-82ee72b054a4
-
nicola authored
2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> PR c/43082 * c-typeck.c (c_objc_common_truthvalue_conversion): If we are passed a VOID_TYPE expression, immediately emit an error and return error_mark_node. In gcc/testsuite/: 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> Andrew Pinski <pinskia@gmail.com> PR c/43082 * gcc.dg/pr43082.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169319 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169317 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169313 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169312 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 26 Jan, 2011 6 commits
-
-
ian authored
Copied from master library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169311 138bc75d-0d04-0410-961f-82ee72b054a4
-
law authored
PR rtl-optimization/47464 * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p rather than may_trap_p as needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169310 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169309 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* targext.c: Include target files if IN_RTS is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169308 138bc75d-0d04-0410-961f-82ee72b054a4
-
dj authored
* combine.c (insn_a_feeds_b): Check for the implicit cc0 setter/user dependency as well. * gcc.dg/pr46878-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169307 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* semantics.c (potential_constant_expression_1): Handle TRUTH_XOR_EXPR. * g++.dg/cpp0x/pr47476.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169306 138bc75d-0d04-0410-961f-82ee72b054a4
-