1. 29 Nov, 2007 1 commit
  2. 28 Nov, 2007 16 commits
  3. 27 Nov, 2007 18 commits
    • aix64.opt (maix64): Add Negative(maix32). · c8402ecc
      	* config/rs6000/aix64.opt (maix64): Add Negative(maix32).
      	(maix32): Add Negative(maix64).
      
      From-SVN: r130478
      Ben Elliston committed
    • 01_assoc_laguerre/check_nan.cc: Add -mieee for sh. · 4f5428eb
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	01_assoc_laguerre/check_nan.cc: Add -mieee for sh.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	02_assoc_legendre/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	03_beta/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	04_comp_ellint_1/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	06_comp_ellint_3/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	07_conf_hyperg/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	08_cyl_bessel_i/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	09_cyl_bessel_j/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	10_cyl_bessel_k/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	11_cyl_neumann/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	12_ellint_1/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	13_ellint_2/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	14_ellint_3/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	15_expint/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	16_hermite/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	18_laguerre/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	19_legendre/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	20_riemann_zeta/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	21_sph_bessel/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	22_sph_legendre/check_nan.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/special_functions/
      	23_sph_neumann/check_nan.cc: Likewise.
      
      From-SVN: r130477
      Kaz Kojima committed
    • re PR tree-optimization/34016 (ICE in execute_todo with -ftree-loop-linear for 454.calculix) · 1785c05d
      	PR tree-optimization/34016
      	* tree-ssa-loop.c (pass_linear_transform): Add
      	TODO_update_ssa_only_virtuals to todo_flags_finish.
      
      	* gcc.dg/pr34016.c: New test.
      
      From-SVN: r130476
      Jakub Jelinek committed
    • avr.c (avr_mcu_types): Add atmega32hvb. · 24e472b8
      	* config/avr/avr.c (avr_mcu_types): Add atmega32hvb.
      	* config/avr/avr.h (LINK_SPEC): Likewise.
      	(CRT_BINUTILS_SPECS): Likewsie.
      	* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
      
      From-SVN: r130475
      Eric B. Weddington committed
    • re PR tree-optimization/34181 (FAIL: g++.dg/opt/anchor1.C (internal compiler error)) · 62cbbe84
      	PR tree-optimization/34181
      	* method.c (use_thunk): Don't inline the call in the thunk.
      
      From-SVN: r130474
      Jakub Jelinek committed
    • re PR fortran/29389 (Statement functions are not recognized as pure when they are) · 908a2235
      2007-11-27  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29389
      	*resolve.c (resolve_ordinary_assign): Use find_sym_in_expr to
      	test if a temporary should be written for a vector subscript
      	on the lhs.
      
      	PR fortran/33850
      	* restore.c (pure_stmt_function): Add prototype and new
      	function. Calls impure_stmt_fcn.
      	(pure_function): Call it.
      	(impure_stmt_fcn): New function.
      
      	* expr.c (gfc_traverse_expr): Call *func for all expression
      	types, not just variables. Add traversal of character lengths,
      	iterators and component character lengths and arrayspecs.
      	(expr_set_symbols_referenced): Return false if not a variable.
      	* trans-stmt.c (forall_replace, forall_restore): Ditto.
      	* resolve.c (forall_index): Ditto.
      	(sym_in_expr): New function.
      	(find_sym_in_expr): Rewrite to traverse expression calling
      	sym_in_expr.
      	*trans-decl.c (expr_decls): New function.
      	(generate_expr_decls): Rewrite to traverse expression calling
      	expr_decls.
      	*match.c (check_stmt_fcn): New function.
      	(recursive_stmt_fcn): Rewrite to traverse expression calling
      	check_stmt_fcn.
      
      2007-11-27  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29389
      	* gfortran.dg/stfunc_6.f90: New test.
      
      	PR fortran/33850
      	* gfortran.dg/assign_10.f90: New test.
      
      From-SVN: r130472
      Paul Thomas committed
    • re PR fortran/33541 (gfortran wrongly imports renamed-use-associated symbol unrenamed) · 0e5a218b
      2007-11-27  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/33541
      	*interface.c (compare_actual_formal): Exclude assumed size
      	arrays from the possibility of scalar to array mapping.
      	* decl.c (get_proc_name): Fix whitespace problem.
      
      	PR fortran/34231
      	* gfortran.h : Add 'use_rename' bit to symbol_attribute.
      	* module.c : Add 'renamed' field to pointer_info.u.rsym.
      	(load_generic_interfaces): Add 'renamed' that is set after the
      	number_use_names is called.  This is used to set the attribute
      	use_rename, which, in its turn identifies those symbols that
      	have not been renamed.
      	(load_needed): If pointer_info.u.rsym->renamed is set, then
      	set the use_rename attribute of the symbol.
      	(read_module): Correct an erroneous use of use_flag. Use the
      	renamed flag and the use_rename attribute to determine which
      	symbols are not renamed.
      
      2007-11-27  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/33541
      	* gfortran.dg/use_11.f90: New test.
      
      	PR fortran/34231
      	* gfortran.dg/generic_15.f90: New test.
      
      From-SVN: r130471
      Paul Thomas committed
    • re PR target/34225 (ICE (segfault) in adjacent_mem_locations at rs6000.c:18191) · f98e8938
      	PR target/34225
      	* config/rs6000/rs6000.c (adjacent_mem_locations): Don't assume
      	MEM_SIZE is set on all MEMs.
      
      	* gcc.dg/pr34225.c: New test.
      
      From-SVN: r130470
      Jakub Jelinek committed
    • s390.opt (mhard-float): Add the option to be overridden. · 512d15e0
      2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	* config/s390/s390.opt (mhard-float): Add the option to be
      	overridden.  That was missing in my last patch.
      
      From-SVN: r130469
      Andreas Krebbel committed
    • re PR middle-end/34241 (ICE in forward_propagate_into_cond) · 25b6dd9c
      2007-11-27  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/34241
      	* tree-ssa-forwprop.c (forward_propagate_addr_expr): Make sure
      	to only delete real conversion chains.
      
      	* g++.dg/torture/pr34241.C: New testcase.
      
      From-SVN: r130468
      Richard Guenther committed
    • s390.opt (m31, [...]): Add the option to be overridden. · cba04b96
      2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	* config/s390/s390.opt (m31, m64, mesa, mzarch, msoft-float,
      	mhard-float, mlong-double-64, mlong-double-128): Add the
      	option to be overridden.
      
      From-SVN: r130466
      Andreas Krebbel committed
    • builtins.c (fold_builtin_1): Verify the argument types of BUILT_IN_ISNORMAL. · f4577fcd
      2007-11-27  Richard Guenther  <rguenther@suse.de>
      
      	* builtins.c (fold_builtin_1): Verify the argument types
      	of BUILT_IN_ISNORMAL.
      	(fold_builtin_n): Verify the number of arguments to variadic
      	built-in functions.
      
      	* gcc.dg/builtins-error.c: New testcase.
      
      From-SVN: r130465
      Richard Guenther committed
    • elf.h (SUBTARGET_DRIVER_SELF_SPECS): New macro. · 28bbc967
      	* config/bfin/elf.h (SUBTARGET_DRIVER_SELF_SPECS): New macro.
      	* doc/invoke.texi (Blackfin Options): Document the effects.
      
      From-SVN: r130464
      Bernd Schmidt committed
    • re PR c++/34213 (static member function in anonymous namespace can't be used as template argument) · ce41114b
      	PR c++/34213
      	* tree.c (decl_linkage): Static data members and static member
      	functions in anonymous ns classes are lk_external.
      
      	* g++.dg/ext/visibility/anon8.C: New test.
      
      From-SVN: r130463
      Jakub Jelinek committed
    • sysv4.opt (m32): Add Negative(m64). · 381d3db6
      	* config/rs6000/sysv4.opt (m32): Add Negative(m64).
      	(m64): Add Negative(m32).
      	* config/rs6000/darwin.opt (m32): Add Negative(m64).
      	(m64): Add Negative(m32).
      
      From-SVN: r130462
      Ben Elliston committed
    • locale_facets.tcc (num_put<>::_M_insert_int): When ios_base::showpos and the… · cded5e6b
      locale_facets.tcc (num_put<>::_M_insert_int): When ios_base::showpos and the type is signed and the value is zero, prepend +.
      
      2007-11-26  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc (num_put<>::_M_insert_int): When
      	ios_base::showpos and the type is signed and the value is zero,
      	prepend +.
      	* testsuite/22_locale/num_put/put/char/12.cc: New.
      	* testsuite/22_locale/num_put/put/wchar_t/12.cc: Likewise.
      
      From-SVN: r130460
      Paolo Carlini committed
    • tree-ssa-propagate.c (set_rhs): Fix typo. · aac47cd1
      	* tree-ssa-propagate.c (set_rhs) <GIMPLE_MODIFY_STMT>: Fix typo.
      
      From-SVN: r130459
      Eric Botcazou committed
    • Daily bump. · 2688ef18
      From-SVN: r130457
      GCC Administrator committed
  4. 26 Nov, 2007 5 commits
    • Fix PR 34077 · 097f5e21
      From-SVN: r130453
      Michael Meissner committed
    • avr.c (avr_mcu_types): Add atmega1284p. · a965fb5e
      	* config/avr/avr.c (avr_mcu_types): Add atmega1284p.
      	* config/avr/avr.h (LINK_SPEC): Likewise.
      	(CRT_BINUTILS_SPECS): Likewsie.
      	* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
      
      From-SVN: r130452
      Eric B. Weddington committed
    • [multiple changes] · 4e6bf178
      2007-11-26  Steven G. Kargl  <kargls@comcast.net>
      
              * options.c:  Change default behavior of backslash processing.
              * invoke.texi: Update documentation.
      
      2007-11-26  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34203
              * gfortran.dg/backslash_3.f: Add -fbackslash option.
              * gfortran.dg/init_flag_1.f90: Add -fbackslash option.
              * gfortran.dg/backslash_1.f90: Remove no longer needed
              -fno-backslash option.
      
      From-SVN: r130451
      Tobias Burnus committed
    • c-common.c (conversion_warning): Use get_unwidened instead of get_narrower. · c00e8b06
      2007-11-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      	
      	* c-common.c (conversion_warning): Use get_unwidened instead of
      	get_narrower.
      
      From-SVN: r130447
      Manuel López-Ibáñez committed
    • re PR c/23722 (bad error recovery with if blocks and else) · b4b56033
      2007-11-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c/23722
      	* c-parser.c (struct c_parser): New bit in_if_block.
      	(c_parser_compound_statement_nostart): Handle unexpected 'else'
      	keyword.
      	(c_parser_statement_after_labels): Set in_if_block to false while
      	parsing.
      	(c_parser_if_body): Don't call c_parser_statement_after_labels if
      	a semicolon is found, just consume it. Don't call
      	c_parser_statement_after_labels if an open brace is found, call
      	c_parser_compound_statement instead.
      	(c_parser_else_body): New.
      	(c_parser_if_statement): Set in_if_block to true when parsing the
      	body of the 'if' statement. Use c_parser_else_body.
      
      testsuite/
      	* gcc.dg/cpp/19990413-1.c: Update.
      	* gcc.dg/parse-else-error.c: New.
      	* gcc.dg/parse-else-error-2.c: New.
      	* gcc.dg/parse-else-error-3.c: New.
      	* gcc.dg/parse-else-error-4.c: New.
      
      From-SVN: r130446
      Manuel López-Ibáñez committed