Skip to content
Snippets Groups Projects
  1. Jan 18, 2012
  2. Jan 17, 2012
  3. Jan 16, 2012
    • Jakub Jelinek's avatar
      re PR c++/51854 (ICE in mangle.c with literal of complex floating type) · 95875a9b
      Jakub Jelinek authored
      	PR c++/51854
      	* mangle.c (write_template_arg_literal): Handle complex.
      
      From-SVN: r183222
      95875a9b
    • Jason Merrill's avatar
      re PR c++/51827 (Error: 'FOO' conflicts with a previous declaration, with PCH/LTO/C++11) · a7cd72be
      Jason Merrill authored
      	PR c++/51827
      	* mangle.c (mangle_decl): Don't mangle uninstantiated templates.
      
      From-SVN: r183221
      a7cd72be
    • Mikael Morin's avatar
      re PR fortran/50981 ([OOP] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument) · d836651c
      Mikael Morin authored
      
      2012-01-16  Mikael Morin  <mikael@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/50981
              * trans-array.c (gfc_walk_elemental_function_args): Fix
              passing of deallocated allocatables/pointers as absent argument. 
      
      2012-01-16  Mikael Morin  <mikael@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/50981
              * gfortran.dg/elemental_optional_args_3.f90: New
              * gfortran.dg/elemental_optional_args_4.f90: New
      
      
      Co-Authored-By: default avatarTobias Burnus <burnus@net-b.de>
      
      From-SVN: r183220
      d836651c
    • Tobias Burnus's avatar
      re PR fortran/51809 ([OOP] ICE (segfault) depending on USE statements order) · 22c30bc0
      Tobias Burnus authored
      2012-01-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/51809
              * class.c (gfc_find_derived_vtab): Mark __vtab and
              __def_init as FL_VARIABLE not as FL_PARAMETER.
              * expr.c (gfc_simplify_expr): Remove special
              handling of __vtab.
              * resolve.c (resolve_values): Ditto.
              * trans-decl.c (gfc_get_symbol_decl): Mark __vtab
              and __def_init as TREE_READONLY.
      
      2012-01-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/51809
              * gfortran.dg/use_20.f90: New
      
      From-SVN: r183219
      22c30bc0
    • Jason Merrill's avatar
      re PR c++/51868 (Crash when generating the move constructor for a class with a bit field) · 645c7a55
      Jason Merrill authored
      	PR c++/51868
      	* typeck.c (build_static_cast_1): Handle bit-fields properly.
      
      From-SVN: r183218
      645c7a55
    • Zydrunas Gimbutas's avatar
      re PR fortran/48426 ([patch] Quad precision promotion) · f4347334
      Zydrunas Gimbutas authored
      2012-01-16  Zydrunas Gimbutas  <gimbutas@cims.nyu.edu>
      	    Andreas Kloeckner  <kloeckner@cims.nyu.edu>
      	    Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/48426
      	* gfortran.h (gfc_option_t): Add members flag_*_kind to store kind.
      	* lang.opt: Add options -freal-4-real-8, -freal-4-real-10,
      	-freal-4-real-16, -freal-8-real-4, -freal-8-real-10, -freal-8-real-16
      	and -finteger-4-integer-8. User-desired type conversion information.
      	* decl.c (gfc_match_old_kind_spec,kind_expr): Type conversions
      	in declaration parsing.
      	* trans-types.c (gfc_init_kinds): User-specified type conversion
      	checked for current backend.
      	* primary.c (match_integer_constant,match_real_constant): Implement
      	type conversion in constant parsing.
      	* options.c (gfc_init_options,gfc_handle_option): Translate input
      	options to flags in internal options data structure.
      	* invoke.texi: Document new options.  Re-order options in Options
      	summary section.
      
      From-SVN: r183217
      f4347334
    • Paul Thomas's avatar
      trans-array.c (gfc_trans_create_temp_array): In the case of a class array temporary... · 866e6d1b
      Paul Thomas authored
      2012-01-16  Paul Thomas  <pault@gcc.gnu.org>
      
      	* trans-array.c (gfc_trans_create_temp_array): In the case of a
      	class array temporary, detect a null 'eltype' on entry and use 
      	'initial' to provde the class reference and so, through the
      	vtable, the element size for the dynamic type.
      	* trans-stmt.c (gfc_conv_elemental_dependencies): For class
      	expressions, set 'eltype' to null and pass the values via the
      	'initial' expression.
      
      2012-01-16  Paul Thomas  <pault@gcc.gnu.org>
      
      	* gfortran.dg/class_array_3.f03: Remove the explicit loop in
      	subroutine 'qsort' and use index array to assign the result.
      
      From-SVN: r183216
      866e6d1b
    • Jan Hubicka's avatar
      re PR c/12245 (Uses lots of memory when compiling large initialized arrays) · c53153e7
      Jan Hubicka authored
      	PR c/12245
      	PR c++/14179
      	* convert.c (convert_to_integer): Use fold_convert for
      	converting an INTEGER_CST to integer type.
      
      From-SVN: r183214
      c53153e7
Loading