aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-28linux.h (CRT_GET_RFIB_DATA): Add Intel syntax inline asm to macro.Rask Ingemann Lambertsen4-6/+16
* 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
2007-11-28re PR fortran/32928 (DATA statement with array element as initializer is ↵Jerry DeLisle2-0/+30
rejected) 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
2007-11-28re PR fortran/34227 (initialized symbol in COMMON: Missing checks)Jerry DeLisle2-0/+15
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
2007-11-28Daily bump.GCC Administrator1-1/+1
From-SVN: r130481
2007-11-28aix64.opt (maix64): Add Negative(maix32).Ben Elliston2-2/+7
* config/rs6000/aix64.opt (maix64): Add Negative(maix32). (maix32): Add Negative(maix64). From-SVN: r130478
2007-11-2701_assoc_laguerre/check_nan.cc: Add -mieee for sh.Kaz Kojima22-0/+66
* 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
2007-11-27re PR tree-optimization/34016 (ICE in execute_todo with -ftree-loop-linear ↵Jakub Jelinek4-0/+31
for 454.calculix) 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
2007-11-28avr.c (avr_mcu_types): Add atmega32hvb.Eric B. Weddington4-0/+11
* 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
2007-11-27re PR tree-optimization/34181 (FAIL: g++.dg/opt/anchor1.C (internal compiler ↵Jakub Jelinek2-0/+4
error)) PR tree-optimization/34181 * method.c (use_thunk): Don't inline the call in the thunk. From-SVN: r130474
2007-11-27re PR fortran/29389 (Statement functions are not recognized as pure when ↵Paul Thomas9-204/+214
they are) 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
2007-11-27re PR fortran/33541 (gfortran wrongly imports renamed-use-associated symbol ↵Paul Thomas8-9/+110
unrenamed) 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
2007-11-27re PR target/34225 (ICE (segfault) in adjacent_mem_locations at rs6000.c:18191)Jakub Jelinek4-4/+75
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
2007-11-27s390.opt (mhard-float): Add the option to be overridden.Andreas Krebbel2-1/+6
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
2007-11-27re PR middle-end/34241 (ICE in forward_propagate_into_cond)Richard Guenther4-3/+35
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
2007-11-27s390.opt (m31, [...]): Add the option to be overridden.Andreas Krebbel2-7/+13
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
2007-11-27builtins.c (fold_builtin_1): Verify the argument types of BUILT_IN_ISNORMAL.Richard Guenther4-0/+86
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
2007-11-27elf.h (SUBTARGET_DRIVER_SELF_SPECS): New macro.Bernd Schmidt3-0/+13
* config/bfin/elf.h (SUBTARGET_DRIVER_SELF_SPECS): New macro. * doc/invoke.texi (Blackfin Options): Document the effects. From-SVN: r130464
2007-11-27re PR c++/34213 (static member function in anonymous namespace can't be used ↵Jakub Jelinek4-5/+57
as template argument) 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
2007-11-27sysv4.opt (m32): Add Negative(m64).Ben Elliston3-4/+11
* 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
2007-11-27locale_facets.tcc (num_put<>::_M_insert_int): When ios_base::showpos and the ↵Paolo Carlini4-2/+138
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
2007-11-27tree-ssa-propagate.c (set_rhs): Fix typo.Eric Botcazou2-5/+6
* tree-ssa-propagate.c (set_rhs) <GIMPLE_MODIFY_STMT>: Fix typo. From-SVN: r130459
2007-11-27Daily bump.GCC Administrator1-1/+1
From-SVN: r130457
2007-11-26Fix PR 34077Michael Meissner4-24/+81
From-SVN: r130453
2007-11-27avr.c (avr_mcu_types): Add atmega1284p.Eric B. Weddington4-0/+11
* 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
2007-11-26[multiple changes]Tobias Burnus7-8/+22
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
2007-11-26c-common.c (conversion_warning): Use get_unwidened instead of get_narrower.Manuel López-Ibáñez2-28/+11
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
2007-11-26re PR c/23722 (bad error recovery with if blocks and else)Manuel López-Ibáñez8-10/+141
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
2007-11-26re PR libstdc++/25913 (Client's isnormal function is broken by cmath)Paolo Carlini4-149/+237
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
2007-11-26Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies and substitute ↵Thiago Jung Bauermann2-21/+32
$< 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
2007-11-26PR 34081/C++Andreas Krebbel18-24/+97
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
2007-11-26re PR target/34215 (ICE in assign_386_stack_local, at config/i386/i386.c:13481)Uros Bizjak4-23/+61
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
2007-11-26re PR target/34174 (gcc produces erroneous asm for movdi)Rask Ingemann Lambertsen4-36/+67
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
2007-11-26mn10300.md: (call_internal): Remove mode on operand 0 in order to match ↵Nick Clifton2-5/+18
UNPSEC'ed calls... * 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
2007-11-26re PR middle-end/34233 (ICE: get_callee_fndecl, at tree.c:6592)Richard Guenther4-1/+22
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
2007-11-26re PR rtl-optimization/34085 (ICE with -freorder-blocks-and-partition)Steven Bosscher4-0/+55
Fix PR rtl-optimization/34085 Co-Authored-By: Revital Eres <eres@il.ibm.com> From-SVN: r130435
2007-11-26Formatting.Andreas Schwab1-1/+1
From-SVN: r130434
2007-11-26target-supports.exp (check_effective_target_mips_soft_float): Return true ↵Richard Sandiford2-2/+8
for MIPS16 targets. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_mips_soft_float): Return true for MIPS16 targets. From-SVN: r130433
2007-11-26elfoabi.h (DRIVER_SELF_SPECS): Add missing comma.Richard Sandiford2-1/+5
gcc/ * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add missing comma. From-SVN: r130432
2007-11-26* compare-debug: Introduce -p flag to preserve .stripped files.Alexandre Oliva2-1/+14
From-SVN: r130431
2007-11-26dwarf2asm.c (splay_tree_compare_strings): New function.Alexandre Oliva2-1/+33
* dwarf2asm.c (splay_tree_compare_strings): New function. (dw2_force_const_mem): Use it. From-SVN: r130430
2007-11-26* tree.c (type_hash_add): Don't violate strict aliasing rules.Alexandre Oliva2-1/+5
From-SVN: r130429
2007-11-26expr.c (build_jni_stub): Use the computed jni func type for variable meth.Alexandre Oliva2-21/+32
* expr.c (build_jni_stub): Use the computed jni func type for variable meth. From-SVN: r130428
2007-11-26* class.c (JAVA_TREEHASHHASH_H): Use TYPE_UID.Alexandre Oliva2-1/+5
From-SVN: r130427
2007-11-26expr.c (type_assertion_hash): Hash type uids rather than tree pointers.Alexandre Oliva2-2/+26
* expr.c (type_assertion_hash): Hash type uids rather than tree pointers. From-SVN: r130426
2007-11-26re PR c/27898 (Compile failure with --combine and anonymous structures)Alexandre Oliva2-22/+32
PR c/27898 * c-typeck.c (tagged_types_tu_compatible_p): Enable exact matches between anonymous union fields. From-SVN: r130425
2007-11-26tree-ssa-live.c (remove_unused_scope_block_p): Drop declarations and blocks ↵Alexandre Oliva3-3/+23
only after inlining. * 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
2007-11-26* unwind-generic.h: Fix comment typos.Ben Elliston2-3/+4
From-SVN: r130423
2007-11-26* unwind-dw2-fde.c: Fix comment typo.Ben Elliston2-1/+5
From-SVN: r130422
2007-11-26Daily bump.GCC Administrator1-1/+1
From-SVN: r130420
2007-11-25Forgot trans-expr.c in previous commit:Tobias Burnus1-1/+1
2007-11-25 Tobias Burnus <burnus@net-b.de> PR fortran/34079 * trans-types.c (gfc_return_by_reference, gfc_get_function_type): Do not return result of character-returning bind(C) functions as argument. * trans-expr.c (gfc_conv_function_call): Ditto. From-SVN: r130417