- 27 Nov, 2007 16 commits
-
-
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 24 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 -
2007-11-26 Richard Guenther <rguenther@suse.de> PR middle-end/34233 * builtins.c (expand_builtin_pow): Use expand_expr to expand the result of build_call_expr. * gcc.dg/pr34233.c: New testcase. From-SVN: r130436
Richard Guenther committed -
Fix PR rtl-optimization/34085 Co-Authored-By: Revital Eres <eres@il.ibm.com> From-SVN: r130435
Steven Bosscher committed -
From-SVN: r130434
Andreas Schwab committed -
gcc/testsuite/ * lib/target-supports.exp (check_effective_target_mips_soft_float): Return true for MIPS16 targets. From-SVN: r130433
Richard Sandiford committed -
gcc/ * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add missing comma. From-SVN: r130432
Richard Sandiford committed -
From-SVN: r130431
Alexandre Oliva committed -
* dwarf2asm.c (splay_tree_compare_strings): New function. (dw2_force_const_mem): Use it. From-SVN: r130430
Alexandre Oliva committed -
From-SVN: r130429
Alexandre Oliva committed -
* expr.c (build_jni_stub): Use the computed jni func type for variable meth. From-SVN: r130428
Alexandre Oliva committed -
From-SVN: r130427
Alexandre Oliva committed -
* expr.c (type_assertion_hash): Hash type uids rather than tree pointers. From-SVN: r130426
Alexandre Oliva committed -
PR c/27898 * c-typeck.c (tagged_types_tu_compatible_p): Enable exact matches between anonymous union fields. From-SVN: r130425
Alexandre Oliva committed -
* tree-ssa-live.c (remove_unused_scope_block_p): Drop declarations and blocks only after inlining. Check that non-empty blocks are not dropped. * tree-inline.c (expand_call_inline): Check that functions are not inlined too late. From-SVN: r130424
Alexandre Oliva committed
-