- 28 Nov, 2007 11 commits
-
-
PR tree-optimization/34140 * tree-if-conv.c (if_convertible_phi_p): Fail if BB other than loop->header has virtual phi nodes. * gcc.c-torture/compile/20071128-1.c: New test. From-SVN: r130494
Jakub Jelinek committed -
gcc/ PR target/32406 * builtins.c (expand_builtin_nonlocal_goto): Also emit a use of GP register, if valid and fixed. Revert: 2007-06-21 David Daney <ddaney@avtrex.com> PR target/32406 * config/mips/mips.md (define_constants): Rename UNSPEC_EH_RECEIVER to UNSPEC_NONLOCAL_GOTO_RECEIVER globally. (exception_receiver): Renamed to ... (nonlocal_goto_receiver): ... this. From-SVN: r130493
Richard Sandiford committed -
* trans-expr.c (gfc_trans_string_copy): Convert both dest and src to void *. PR fortran/34247 * trans-openmp.c (gfc_omp_privatize_by_reference): For REFERENCE_TYPE pass by reference only PARM_DECLs or non-artificial decls. From-SVN: r130492
Jakub Jelinek committed -
2007-11-28 Johannes Singler <singler@ira.uka.de> * include/parallel/multiway_merge.h: Destruct only elements that were have been constructed before. Code beautifying and formatting. * include/parallel/losertree.h: (Copy) construct all loser tree item keys, so they can be deconstructed all at once. * include/parallel/quicksort.h: Fix memory leak. * include/parallel/random_shuffle.h: Use copy constructor instead of assignment. Code beautifying and formatting. * include/parallel/unique_copy.h: Use assignment instead of copy constructor. * include/parallel/multiway_mergesort.h: Use copy constructor instead of assignment. Code beautifying and formatting. * include/parallel/random_shuffle.h: Use copy constructor instead of assignment. Code beautifying. From-SVN: r130490
Johannes Singler committed -
2007-11-27 H.J. Lu <hongjiu.lu@intel.com> Joey Ye <joey.ye@intel.com> PR target/34001 * config/i386/i386.c (function_arg_32): Don't pass aggregate arguments in ECX/EDX for fastcall. Co-Authored-By: Joey Ye <joey.ye@intel.com> From-SVN: r130488
H.J. Lu committed -
2007-11-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/32928 * gfortran.dg/data_array_1.f90 * gfortran.dg/data_array_2.f90 * gfortran.dg/data_array_3.f90 * gfortran.dg/data_array_4.f90 From-SVN: r130487
Jerry DeLisle committed -
2007-11-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/34227 * gfortran.dg/blockdata_5.f90: New test. * gfortran.dg/blockdata_6.f90: New test. From-SVN: r130486
Jerry DeLisle committed -
* config/i386/linux.h (CRT_GET_RFIB_DATA): Add Intel syntax inline asm to macro. * config/i386/sco5.h (CRT_GET_RFIB_DATA): Likewise. * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Likewise. From-SVN: r130485
Rask Ingemann Lambertsen committed -
2007-11-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/32928 * decl.c (match_data_constant): Use gfc_match_init_expr to match the array spec and set the initializer expression. From-SVN: r130484
Jerry DeLisle committed -
2007-11-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/34227 * match.c (gfc_match_common): Add additional check for BLOCK DATA. From-SVN: r130483
Jerry DeLisle committed -
From-SVN: r130481
GCC Administrator committed
-
- 27 Nov, 2007 18 commits
-
-
* config/rs6000/aix64.opt (maix64): Add Negative(maix32). (maix32): Add Negative(maix64). From-SVN: r130478
Ben Elliston committed -
* 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 -
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 -
* 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 -
PR tree-optimization/34181 * method.c (use_thunk): Don't inline the call in the thunk. From-SVN: r130474
Jakub Jelinek committed -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
* config/bfin/elf.h (SUBTARGET_DRIVER_SELF_SPECS): New macro. * doc/invoke.texi (Blackfin Options): Document the effects. From-SVN: r130464
Bernd Schmidt committed -
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 -
* 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 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) <GIMPLE_MODIFY_STMT>: Fix typo. From-SVN: r130459
Eric Botcazou committed -
From-SVN: r130457
GCC Administrator committed
-
- 26 Nov, 2007 11 commits
-
-
From-SVN: r130453
Michael Meissner committed -
* 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 -
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 -
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 -
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 -
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 $< 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 -
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 -
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 -
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 -
* 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
-