1. 28 Nov, 2007 11 commits
  2. 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
  3. 26 Nov, 2007 11 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
    • re PR libstdc++/25913 (Client's isnormal function is broken by cmath) · 0e7edcd5
      2007-11-26  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/25913
      	* include/c_std/cmath (std::fpclassify, isfinite, isinf, isnan,
      	isnormal, signbit, isgreater, isgreaterequal, isless, islessequal,
      	islessgreater, isunordered): Guard with __enable_if and forward
      	with __promote.
      	* include/c_global/cmath: Likewise.
      	* testsuite/26_numerics/headers/cmath/25913.cc: New.
      
      	* include/c_std/cmath (__gnu_cxx::__capture_isfinite,
      	__capture_isinf, __capture_isnan, __capture_isnormal,
      	__capture_signbit, __capture_isgreater, __capture_isgreaterequal,
      	__capture_isless, __capture_islessequal, __capture_islessgreater,
      	__capture_isunordered): Remove.
      	(std::isfinite, isinf, isnan, isnormal, signbit, isgreater,
      	isgreaterequal, isless, islessequal, islessgreater, isunordered):
      	Forward to the corresponding builtin.
      	* include/c_global/cmath: Likewise.
      
      	* include/c_global/cmath (std::atan2, pow): Guard with __enable_if.
      
      From-SVN: r130443
      Paolo Carlini committed
    • Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies and substitute $<… · e072c217
      Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies and substitute $< for the source file in...
      
      	* Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies
      	and substitute $< for the source file in compilation command.
      	(decimal64.o): Likewise.
      	(decimal128.o): Likewise.
      	(bid2dpd_dpd2bid.o): Likewise.
      	(host-ieee32.o): Likewise.
      	(host-ieee64.o): Likewise.
      	(host-ieee128.o): Likewise.
      
      From-SVN: r130442
      Thiago Jung Bauermann committed
    • PR 34081/C++ · 182e0d71
      2007-11-26  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR 34081/C++
      	* c-decl.c (store_parm_decls): Pass 'false' for the new
      	allocate_struct_function parameter.
      	* cgraphunit.c (cgraph_build_static_cdtor): Likewise.
      	* tree-parloops.c (create_loop_fn): Likewise.
      	* function.c (push_function_context_to, push_struct_function,
      	init_function_start): Likewise.
      	(allocate_struct_function): Add boolean parameter.
      	* tree.h (allocate_struct_function): Add boolean parameter.
      	* function.h (struct function): Move returns_struct and
      	returns_pcc_struct to the end of the structure definiton.
      
      2007-11-26  Andreas Krebbel  <krebbel1@de.ibm.com>
      
              PR 34081/C++
              * trans.c (Subprogram_Body_to_gnu, Compilation_Unit_to_gnu):
              Pass 'false' for the new allocate_struct_function parameter.
              * utils.c (build_function_stub): Likewise.
      
      2007-11-26  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR 34081/C++
      	* decl.c (finish_method): Pass 'false' for the new
      	allocate_struct_function parameter.
      
      2007-11-26  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR 34081/C++
      	* treetree.c (tree_code_create_function_wrapup): Pass 'false' 
      	for the new allocate_struct_function parameter.
      
      2007-11-26  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR 34081/C++
      	* decl.c (start_preparsed_function): Pass 
      	processing_template_decl for the new allocate_struct_function
      	parameter.
      
      2007-11-26  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	PR 34081/C++
      	* g++.dg/template/dependent-expr6.C: New testcase.
      
      From-SVN: r130441
      Andreas Krebbel committed
    • re PR target/34215 (ICE in assign_386_stack_local, at config/i386/i386.c:13481) · be0c4603
              PR target/34215
              * config/i386/i386.md (truncdfsf2): Select SLOT_TEMP stack slot if
              virtual registers are instantiated.
              (truncxf<mode>2): Ditto.
              (floatsi<mode>2): Ditto.
              (floatdisf2): Ditto.
              (floatdidf2): Ditto.
      
      testsuite/ChangeLog:
      
              PR target/34215
              * gcc.target/i386/pr34215.c: New test.
      
      From-SVN: r130440
      Uros Bizjak committed
    • re PR target/34174 (gcc produces erroneous asm for movdi) · 916a659b
      	PR target/34174
      	* config/fr30/fr30.c (fr30_move_double): Sanitize mem->reg case. Copy
      	the address before it is clobbered.
      
      testsuite/
      	* gcc.dg/torture/pr34174-1.c: New.
      
      From-SVN: r130438
      Rask Ingemann Lambertsen committed
    • mn10300.md: (call_internal): Remove mode on operand 0 in order to match UNPSEC'ed calls... · f6284d97
      * config/mn10300/mn10300.md: (call_internal): Remove mode on
        operand 0 in order to match UNPSEC'ed calls generated in PIC mode.
        (call_value_internal): Remove mode on operands 0 and 1 in order to
        match UNPSEC'ed calls generated in PIC mode.
        (GOTaddr2picreg): Use copy_rtx to prevent sharing an rtx between
        two insns.
      
      From-SVN: r130437
      Nick Clifton committed