aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2006-10-13darwin-weakimport-1.c: Use -fno-asynchronous-unwind-tables.Eric Christopher3-9/+16
2006-10-13 Eric Christopher <echristo@apple.com> * gcc.dg/darwin-weakimport-1.c: Use -fno-asynchronous-unwind-tables. * gcc.dg/darwin-weakimport-3.c: Ditto. From-SVN: r117711
2006-10-13darwin.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.Eric Christopher2-0/+6
2006-10-13 Eric Christopher <echristo@apple.com> * config/darwin.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. From-SVN: r117710
2006-10-13revert: elfos.h (MAX_OFILE_ALIGNMENT): Default to largest alignment ↵Carlos O'Donell2-11/+13
supported by 32-bit ELF. gcc/ 2006-10-13 Carlos O'Donell <carlos@codesourcery.com> Revert this change: 2006-10-13 Carlos O'Donell <carlos@codesourcery.com> * config/elfos.h (MAX_OFILE_ALIGNMENT): Default to largest alignment supported by 32-bit ELF. From-SVN: r117709
2006-10-13darwin.c (darwin_emit_unwind_label): Strip name encoding.Eric Christopher2-8/+16
2006-10-13 Eric Christopher <echristo@apple.com> * config/darwin.c (darwin_emit_unwind_label): Strip name encoding. Use DECL_ASSEMBLER_NAME_SET_P. From-SVN: r117708
2006-10-13re PR tree-optimization/29446 (VRP ICE in compare_names)Richard Guenther4-91/+70
2006-10-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/29446 * tree-vrp.c (fix_equivalence_set): Remove. (extract_range_from_assert): Do not call fix_equivalence_set. (debug_value_range): Print a newline. (compare_name_with_value): For equivalence sets with inconsistent value ranges conservatively bail out. (compare_names): Likewise. * gcc.dg/torture/pr29446.c: New testcase. From-SVN: r117705
2006-10-13scope5.C: Changed "Class" to "Klasse".Bill Wendling13-46/+61
* g++.old-deja/g++.brendan/scope5.C: Changed "Class" to "Klasse". * g++.old-deja/g++.jason/hmc1.C: Likewise. * g++.old-deja/g++.jason/cleanup2.C: Likewise. * g++.old-deja/g++.law/shadow1.C: Likewise. * g++.old-deja/g++.law/ctors10.C: Likewise. * g++.dg/debug/namespace1.C: Likewise. * g++.dg/inherit/namespace-as-base.C: Likewise. * g++.dg/opt/delay-slot-1.C: Likewise. * g++.dg/parse/defarg10.C: Likewise. * g++.dg/template/ptrmem11.C: Likewise. * g++.dg/template/mem_func_ptr.C: Likewise. * g++.dg/template/spec19.C: Likewise. From-SVN: r117702
2006-10-13intrinsic.texi (STAT): Reverted a format in example code to octal; noted ↵Brooks Moses2-1/+6
this in accompanying string. * intrinsic.texi (STAT): Reverted a format in example code to octal; noted this in accompanying string. From-SVN: r117701
2006-10-13install.texi (*-ibm-aix*): Add comment about 32-bit GMP and MPFR for gfortran.David Edelsohn2-0/+10
* doc/install.texi (*-ibm-aix*): Add comment about 32-bit GMP and MPFR for gfortran. From-SVN: r117700
2006-10-13elfos.h (MAX_OFILE_ALIGNMENT): Default to largest alignment supported by ↵Carlos O'Donell2-6/+16
32-bit ELF. gcc/ 2006-10-13 Carlos O'Donell <carlos@codesourcery.com> * config/elfos.h (MAX_OFILE_ALIGNMENT): Default to largest alignment supported by 32-bit ELF. From-SVN: r117697
2006-10-13../svn-commit.tmpPaolo Bonzini6-19/+66
From-SVN: r117696
2006-10-13tree-flow-inline.h (zero_ssa_operands): Fix comment.Daniel Berlin2-2/+7
2006-10-13 Daniel Berlin <dberlin@dberlin.org> Ramana Radhakrishnan <ramana.radhakrishnan@celunite.com> * tree-flow-inline.h (zero_ssa_operands): Fix comment. Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@celunite.com> From-SVN: r117694
2006-10-13re PR fortran/29373 (implicit type declaration and contained function clash)Paul Thomas14-26/+270
2006-10-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/29373 * decl.c (get_proc_name, gfc_match_function_decl): Add attr.implicit_type to conditions that throw error for existing explicit interface and that allow new type- spec to be applied. PR fortran/29407 * resolve.c (resolve_fl_namelist): Do not check for namelist/procedure conflict, if the symbol corresponds to a good local variable declaration. PR fortran/27701 * decl.c (get_proc_name): Replace the detection of a declared procedure by the presence of a formal argument list by the attributes of the symbol and the presence of an explicit interface. PR fortran/29232 * resolve.c (resolve_fl_variable): See if the host association of a derived type is blocked by the presence of another type I object in the current namespace. PR fortran/29364 * resolve.c (resolve_fl_derived): Check for the presence of the derived type for a derived type component. PR fortran/24398 * module.c (gfc_use_module): Check that the first words in a module file are 'GFORTRAN module'. PR fortran/29422 * resolve.c (resolve_transfer): Test functions for suitability for IO, as well as variables. PR fortran/29428 * trans-expr.c (gfc_trans_scalar_assign): Remove nullify of rhs expression. 2006-10-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/29373 * gfortran.dg/implicit_9.f90: New test. PR fortran/29407 * gfortran.dg/namelist_25.f90: New test. PR fortran/27701 * gfortran.dg/same_name_2.f90: New test. PR fortran/29232 * gfortran.dg/host_assoc_types_1.f90: New test. PR fortran/29364 * gfortran.dg/missing_derived_type_1.f90: New test. * gfortran.dg/implicit_actual.f90: Comment out USE GLOBAL. PR fortran/29422 * gfortran.dg/alloc_comp_constraint_4.f90: New test. PR fortran/29428 * gfortran.dg/alloc_comp_assign_5.f90: New test. From-SVN: r117692
2006-10-13re PR fortran/29391 ([4.2/4.1 only] LBOUND and UBOUND are broken)Francois-Xavier Coudert4-4/+192
PR fortran/29391 * trans-intrinsic.c (gfc_conv_intrinsic_bound): Generate correct code for LBOUND and UBOUND intrinsics. * gfortran.dg/bound_2.f90: New test. From-SVN: r117691
2006-10-13defined_operators_1.f90: Add cleanup-modules dg directive.Francois-Xavier Coudert14-1/+33
* gfortran.dg/defined_operators_1.f90: Add cleanup-modules dg directive. * gfortran.dg/module_private_array_refs_1.f90: Likewise. * gfortran.dg/module_proc_external_dummy.f90: Likewise. * gfortran.dg/gomp/omp_threadprivate1.f90: Likewise. * gfortran.dg/gomp/reduction3.f90: Likewise. * gfortran.dg/derived_constructor_comps_1.f90: Likewise. * gfortran.dg/dummy_procedure_2.f90: Likewise. * gfortran.dg/interface_derived_type_1.f90: Likewise. * gfortran.dg/forall_4.f90: Likewise. * gfortran.dg/spec_expr_4.f90: Likewise. * gfortran.dg/unused_artificial_dummies_1.f90: Likewise. * gfortran.dg/forall_5.f90: Likewise. * gfortran.dg/open_access_append_2.f90: Add check for compile-time warning. From-SVN: r117688
2006-10-13re PR c++/28506 (ICE with initializers for functions)Mark Mitchell4-4/+43
PR c++/28506 * parser.c (function_declarator_p): New function. (cp_parser_init_declarator): Use it. (cp_parser_member_declaration): Likewise. PR c++/28506 * g++.dg/parse/pure1.C: New test. From-SVN: r117687
2006-10-13re PR fortran/21435 (fails to open nonexisting file with status scratch)François-Xavier Coudert10-14/+572
PR fortran/21435 * io.c (compare_to_allowed_values): New function. (gfc_match_open): Add checks for constant values of specifiers. (gfc_match_close): Add checks for constant values of the STATUS specifier. * gcc/testsuite/gfortran.dg/io_constraints_3.f90: New test. * gcc/testsuite/gfortran.dg/open_access_append_1.f90: Add checks for compile-time warnings. * gcc/testsuite/gfortran.dg/pr20163-2.f: Likewise. * gcc/testsuite/gfortran.dg/iostat_2.f90: Likewise. * gcc/testsuite/gfortran.dg/label_4.f90: Delete the temporary file. * gcc/testsuite/gfortran.dg/direct_io_2.f90: Add a FILE= specifier. * gcc/testsuite/gfortran.dg/iomsg_1.f90: Add check for compile-time warning. From-SVN: r117685
2006-10-13re PR c/28419 (ICE using __FUNCTION__ in invalid code)Jan Hubicka4-2/+24
PR c/28419 * c-decl.c (c_make_fname_decl): Do not segfault in case where current_function_decl is set but current_function_scope is not. * gcc.dg/pr28319.c: New test. From-SVN: r117684
2006-10-13re PR c++/29318 (ICE: type_info of pointer to VLA)Mark Mitchell4-3/+34
PR c++/29318 * rtti.c (get_tinfo_decl): Refuse to create type info objects for variably modified types. PR c++/29318 * g++.dg/ext/vla4.C: New test. From-SVN: r117683
2006-10-13Daily bump.GCC Administrator1-1/+1
From-SVN: r117681
2006-10-12intrinsic.texi (STAT): Fixed a format typo in sample code.Brooks Moses2-1/+5
* intrinsic.texi (STAT): Fixed a format typo in sample code. From-SVN: r117676
2006-10-12intrinsic.texi (STAT): Shortened lines in sample code.Brooks Moses2-15/+19
* intrinsic.texi (STAT): Shortened lines in sample code. From-SVN: r117675
2006-10-12re PR c++/27961 (ICE on invalid template declaration)Lee Millward1-0/+9
PR c++/27961 * g++.dg/template/crash60.C: New test. From-SVN: r117672
2006-10-12re PR c++/27961 (ICE on invalid template declaration)Lee Millward7-7/+28
PR c++/27961 * decl.c (start_decl): Return error_mark_node if a function is initialized like a variable. (check_var_type): If a variable of field is declared void, set the type to error_mark_node. (grokdeclarator): Check the return type of check_var_type. * class.c (finish_struct_1): Robustify. * g++.dg/template/crash60.C: New test. * g++.dg/other/large-size-array.C: Adjust error markers. * g++.dg/parse/crash27.C: Likewise. * g++.dg/template/crash1.C: Likewise. From-SVN: r117671
2006-10-12re PR testsuite/29093 (gcc.dg/debug/dwarf2/dwarf-file1.c fails on targets ↵Steve Ellcey2-2/+11
that have .loc) PR testsuite/29093 * gcc.dg/debug/dwarf2/dwarf-file1.c: Check for ".file". From-SVN: r117667
2006-10-12re PR preprocessor/28709 (Bad diagnostic pasting tokens with ##)Jakub Jelinek2-0/+12
PR preprocessor/28709 * macro.c (paste_tokens): Do error reporting here, use BUF with the spelled LHS token as opposed to spelling it again. (paste_all_tokens): Don't report errors here, just break on failure. * gcc.dg/cpp/paste14.c: New test. From-SVN: r117664
2006-10-12bfin.md (eh_return): Call emit_jump_insn instead of emit_insn to emit ↵Jie Zhang2-2/+9
eh_return_internal instruction. * config/bfin/bfin.md (eh_return): Call emit_jump_insn instead of emit_insn to emit eh_return_internal instruction. (eh_return_internal): Explicitly set pc. From-SVN: r117662
2006-10-12re PR c++/29175 (ICE on invalid C++ variable length array)Mark Mitchell4-17/+49
PR c++/29175 * decl.c (check_initializer): Issue errors about trying to initialize arrays whose elements have variable size. PR c++/29175 * g++.dg/init/array24.C: New test. From-SVN: r117658
2006-10-12builtins-config.h: Move Solaris section after inclusion of <sys/types.h>.Kaveh R. Ghazi2-9/+14
* gcc.dg/builtins-config.h: Move Solaris section after inclusion of <sys/types.h>. From-SVN: r117656
2006-10-12Daily bump.GCC Administrator1-1/+1
From-SVN: r117653
2006-10-12gfortran.h (gfc_show_actual_arglist, [...]): Add prototypes.Tobias Schlüter3-18/+39
* gfortran.h (gfc_show_actual_arglist, gfc_show_array_ref, gfc_show_array_spec, gfc_show_attr, gfc_show_code, gfc_show_components, gfc_show_constructor, gfc_show_equiv, gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol, gfc_show_typespec): Add prototypes. * dump-parse-tree.c (gfc_show_actual_arglist, gfc_show_array_ref, gfc_show_array_spec, gfc_show_attr, gfc_show_code, gfc_show_components, gfc_show_constructor, gfc_show_equiv, gfc_show_expr, gfc_show_namelist, gfc_show_ref, gfc_show_symbol, gfc_show_typespec): Remove 'static' from declaration. From-SVN: r117646
2006-10-11add missing test for "typedef auto"Lee Millward1-0/+5
From-SVN: r117642
2006-10-11re PR c++/29024 (storage class specifier accepted for typedef (clause 7.1.1 ↵Lee Millward7-6/+44
; 1)) PR c++/29024 * cp-tree (struct cp_decl_specifier_seq): Rename to conflicting_specifiers_p * parser.c (cp_parser_set_storage_class): Set conflicting_specifiers_p for the input decl specifier if a typedef specifier is present. Rename uses of multiple_specifiers_p to conflicting_specifiers_p. (cp_parser_decl_specifier_seq) <RID_TYPEDEF>: If a storage class specifier has already been set for this declaration, set conflicting_specifiers_p to true on the decl_specs. * decl.c (grokdeclarator): Rename uses of multiple_specifiers_p to conflicting_specifiers_p. * g++.dg/parse/typedef8.C: New test. * g++.dg/other/mult-stor1.C: Adjust error markers. From-SVN: r117641
2006-10-11re PR tree-optimization/28230 (-O2 -fwrapv miscompiles gcc, binutils, gzip.)Richard Guenther4-5/+34
2006-10-11 Richard Guenther <rguenther@suse.de> PR tree-optimization/28230 * tree-vrp.c (vrp_int_const_binop): Move flag_wrapv handling to the correct place. * gcc.dg/torture/pr28230.c: New testcase. From-SVN: r117637
2006-10-11re PR inline-asm/29119 (Internal compiler error while adding __asm__ statement)Richard Guenther4-1/+19
2006-10-11 Richard Guenther <rguenther@suse.de> PR inline-asm/29119 * gimplify.c (gimplify_asm_expr): Mark the gimplified lvalue addressable. * gcc.dg/torture/pr29119.c: New testcase. From-SVN: r117633
2006-10-10invoke.texi, [...]: Corrected erronous dashes.Brooks Moses3-5/+9
2006-10-10 Brooks Moses <bmoses@stanford.edu> * invoke.texi, gfortran.texi: Corrected erronous dashes. From-SVN: r117628
2006-10-11Daily bump.GCC Administrator1-1/+1
From-SVN: r117622
2006-10-10--(top level)--------------------------------------------Brooks Moses16-12/+77
2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.def: Added pdf target handling. * Makefile.tpl: Added pdf target handling. * Makefile.in: Regenerated. ---fixincludes-------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---gcc---------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * configure.ac: Added pdf to "Make-hooks" * Makefile.in: Added TEXI2PDF definition, and various pdf-file targets and *.pdf file patterns in cleanup targets. * configure: Regenerated. ---gcc/cp------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "c++.pdf" target support. ---gcc/fortran-------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target support. ---gcc/java----------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "java.pdf", "gcj.pdf" target support. ---gcc/objc----------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added empty "objc.pdf" target. ---gcc/objcp---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added empty "obj-c++.pdf" target. ---gcc/treelang------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "treelang.pdf" target support. ---gnattools---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libcpp------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libdecnumber------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libiberty---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added "pdf", "libiberty.pdf" target support. * testsuite/Makefile.in: Added empty "pdf" target. ---libobjc------------------------------------------------ 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. From-SVN: r117618
2006-10-11re PR target/26504 (compute_frame_pointer_to_cfa_displacement error for avr ↵Anatoly Sokolov3-67/+153
target with --with-dwarf2) * config/avr/predicates.md: New file. * config/avr/avr.md: Include it. (REG_SP): New constant. (peepholes): Use predicates. (sbrx_branch, sbrx_and_branchhi, sbrx_and_branchsi, branch, rvbranch, difficult_branch, difficult_rvbranch, cbi, sbi, sbix_branch, sbix_branch_bit7, sbix_branch_tmp, sbix_branch_tmp_bit7): Ditto. PR target/26504 * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define. From-SVN: r117616
2006-10-10re PR fortran/19292 ([meta-bug] g77 features lacking in gfortran)Daniel Franke2-63/+340
2006-10-10 Daniel Franke <franke.daniel@gmail.com> * intrinsic.texi: added documentation for FSTAT, GETARG,GET_COMMAND, GET_COMMAND_ARGUMENT, GETENV, GET_ENVIRONMENT_VARIABLE, IAND, IARGC, LSTAT and STAT, removed the reference to PR19292 from ACCESS, CHMOD, GMTIME, LSHIFT, LTIME, RSHIFT. From-SVN: r117609
2006-10-10gfortran.texi (Standards): Update to current status.Brooks Moses2-12/+12
2006-10-10 Brooks Moses <bmoses@stanford.edu> * gfortran.texi (Standards): Update to current status. From-SVN: r117608
2006-10-10mips.c (mips_save_restore_reg): Use gen_frame_mem to avoid alias set 0.Adam Nemet2-1/+6
* config/mips/mips.c (mips_save_restore_reg): Use gen_frame_mem to avoid alias set 0. From-SVN: r117607
2006-10-10re PR middle-end/29272 (memcpy optimization causes wrong-code)Jakub Jelinek4-0/+63
PR middle-end/29272 * builtins.c (var_decl_component_p): New function. (fold_builtin_memset, fold_builtin_memory_op): Restrict single entry optimization to variables and components thereof. * gcc.c-torture/execute/20060930-2.c: New test. From-SVN: r117599
2006-10-10re PR rtl-optimization/29323 (set_nothrow_function_flags does invalid ↵Richard Guenther4-1/+17
analysis on weak functions) 2006-10-10 Richard Guenther <rguenther@suse.de> PR rtl-optimization/29323 * except.c (set_nothrow_function_flags): For functions that do not bind local bail out early. * decl.c (finish_function): Set TREE_NOTHROW only for functions that bind local. From-SVN: r117598
2006-10-10* Add new port for score.Chen Liqin21-1/+5266
From-SVN: r117597
2006-10-10invoke.texi (RS/6000 and PowerPC Options): Add -m to the -mdlmzb option.Ben Elliston2-1/+6
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -m to the -mdlmzb option. From-SVN: r117596
2006-10-10Daily bump.GCC Administrator1-1/+1
From-SVN: r117593
2006-10-09Changelog: Undid erroneous tab-to-space conversion on last entry.Brooks Moses1-1/+5
2006-10-09 Brooks Moses <bmoses@stanford.edu> * Changelog: Undid erroneous tab-to-space conversion on last entry. From-SVN: r117588
2006-10-09Changelog: Added spaces after * on last two entries.Brooks Moses1-2/+6
2006-10-09 Brooks Moses <bmoses@stanford.edu> * Changelog: Added spaces after * on last two entries. From-SVN: r117587
2006-10-09Make-lang.in: Added intrinsic.texi to GFORTRAN_TEXI dependences.Brooks Moses2-0/+6
2006-10-09 Brooks Moses <bmoses@stanford.edu> *Make-lang.in: Added intrinsic.texi to GFORTRAN_TEXI dependences. From-SVN: r117586
2006-10-09intrinsic.texi: (MOVE_ALLOC) changed "Options" to "Standards".Brooks Moses2-2/+6
2006-10-09 Brooks Moses <bmoses@stanford.edu> *intrinsic.texi: (MOVE_ALLOC) changed "Options" to "Standards". From-SVN: r117585