summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2007-01-05 Paul Thomas <pault@gcc.gnu.org>pault2007-01-0511-25/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/23232 * decl.c (gfc_in_match_data, gfc_set_in_match_data): New functions to signal that a DATA statement is being matched. (gfc_match_data): Call gfc_set_in_match_data on entry and on exit. * gfortran.h : Add prototypes for above. * expr.c (check_init_expr): Avoid check on parameter or variable if gfc_in_match_data is true. (gfc_match_init_expr): Do not call error on non-reduction of expression if gfc_in_match_data is true. PR fortran/27996 PR fortran/27998 * decl.c (gfc_set_constant_character_len): Add boolean arg to flag array constructor resolution. Warn if string is being truncated. Standard dependent error if string is padded. Set new arg to false for all three calls to gfc_set_constant_character_len. * match.h : Add boolean arg to prototype for gfc_set_constant_character_len. * gfortran.h : Add warn_character_truncation to gfc_options. * options.c (set_Wall): Set warn_character_truncation if -Wall is set. * resolve.c (resolve_code): Warn if rhs string in character assignment has to be truncated. * array.c (gfc_resolve_character_array_constructor): Set new argument to true for call to gfc_set_constant_character_len. 2007-01-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/23232 * gfortran.dg/data_implied_do_1.f90: New test. PR fortran/27996 PR fortran/27998 * gfortran.dg/char_length_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120485 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/install.texi (Final install): Document the fact thatbrobecke2007-01-052-1/+9
| | | | | | | the GNAT runtime should not be stripped. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120484 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-04 Douglas Gregor <doug.gregor@gmail.com>dgregor2007-01-052-0/+7
| | | | | | | | * pt.c (tsubst): Propagate the need for structural equality checks when reducing the level of template parameters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120483 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-05 Richard Guenther <rguenther@suse.de>rguenth2007-01-052-1/+25
| | | | | | | | PR middle-end/28116 * g++.dg/opt/pr28116.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120482 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-inline.c (fold_marked_statements): Update operand cacheshubicka2007-01-052-1/+14
| | | | | | | and EH after folding git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120477 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/burnus2007-01-0513-65/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-05 Tobias Burnus <burnus@net-b.de> PR fortran/29624 * interface.c (compare_parameter_intent): New function. (check_intents): Support pointer intents. * symbol.c (check_conflict): Support pointer intents, better conflict_std message. * expr.c (gfc_check_assign,gfc_check_pointer_assign): Support pointer intents. * resolve.c (resolve_deallocate_expr,resolve_allocate_expr): Support pointer intents. testsuite/ 2006-01-05 Tobias Burnus <burnus@net-b.de> PR fortran/29624 * gfortran.dg/alloc_alloc_expr_1.f90: Add check for invalid deallocate. * gfortran.dg/allocatable_dummy_2.f90: Update dg-error. * gfortran.dg/protected_4.f90: Add pointer intent check. * gfortran.dg/protected_6.f90: Add pointer intent check. * gfortran.dg/pointer_intent_1.f90: New test. * gfortran.dg/pointer_intent_2.f90: New test. * gfortran.dg/pointer_intent_3.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120472 138bc75d-0d04-0410-961f-82ee72b054a4
* * crontab: Spread snapshots more evenly throughout the week, andgerald2007-01-052-4/+9
| | | | | | | in "ascending" order. Build all at the same time of the day. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120471 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.c (check_function_nonnull): Whitespace fix.ian2007-01-052-4/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120470 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-optimize.c (execute_fixup_cfg): Correct previously mistakelyhubicka2007-01-052-12/+20
| | | | | | | | | comitted older version of patch. (pass_fixup_cfg): Add TODOs to verify flow and statements, dump function, celanup cfg and collect garbage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120469 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 30371brooks2007-01-052-0/+12
| | | | | | | | * check.c (gfc_check_kill_sub): Add checks for non-scalar arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120468 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsic.texi: Minor cleanup, reflowing overlongbrooks2007-01-052-26/+51
| | | | | | | paragraphs, and correcting whitespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120467 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsic.texi (LBOUND): Add documentation.brooks2007-01-052-46/+173
| | | | | | | | | | | | | | (LGE): Add documentation. (LGT): Add documentation. (LINK): Add documentation. (LLE): Add documentation. (LLT): Add documentation. (LNBLNK): Add documentation. (UBOUND): Add documentation. (UNLINK): Add documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120466 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (mostlyclean): Don't remove libgcc anymore.mrs2007-01-052-2/+5
| | | | | | | | (clean): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120465 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2007-01-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120463 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert revision 120457.bje2007-01-052-6/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120458 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/strstream.cc (strstreambuf::seekoff): Add parentheses aroundbje2007-01-042-1/+6
| | | | | | | truth expression to eliminate a new warning from g++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120457 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Added .PHONY entry for documentation targets.brooks2007-01-042-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120456 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Add empty info, html, dvi, pdf targets.brooks2007-01-042-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120455 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-04 Eric Christopher <echristo@apple.com>echristo2007-01-043-11/+17
| | | | | | | | | * libgcc2.c (__bswapsi2): Use SItype. (__bswapdi2): Use DItype. * libgcc2.h: Update for above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120454 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-04 Paul Brook <paul@codesourcery.com>pbrook2007-01-042-13/+198
| | | | | | | | | | | | | | | | | * config/arm/arm.md (arm_mulsi3, thumb_mulsi3, mulsi3_compare0, mulsi_compare0_scratch, mulsi3addsi, mulsi3addsi_compare0, mulsi3addsi_compare0_scratch, mulsidi3adddi, mulsidi3, umulsidi3, umulsidi3adddi, smulsi3_highpart, umulsi3_highpart): Make conditional on !arm_arch6. (arm_mulsi3_v6, thumb_mulsi3_v6, mulsi3_compare0_v6, mulsi_compare0_scratch_v6, mulsi3addsi_v6, mulsi3addsi_compare0_v6, mulsi3addsi_compare0_scratch_v6, mulsidi3adddi_v6, mulsidi3_v6, umulsidi3_v6, umulsidi3adddi_v6, smulsi3_highpart_v6, umulsi3_highpart_v6): New insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120453 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsic.texi (IAND): Clarify argument specifications.brooks2007-01-042-67/+200
| | | | | | | | | | | | | | | | | (IBCLR): Add documentation. (IBITS): Add documentation. (IBSET): Add documentation. (IEOR): Add documentation. (IERRNO): Add documentation. (INDEX): Add documentation. (IOR): Add documentation. (ISHFT): Add documentation. (ISHFTC): Add documentation. (KILL): Add documentation. (LEN_TRIM): Add documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120452 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold_convert): When casting an expression to void,sayle2007-01-042-1/+11
| | | | | | | | | | fold_ignored_result may discover a GIMPLE_MODIFY_STMT which doesn't have a type. Instead of attempting to build a NOP_EXPR, return these "special" trees directly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120451 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (MAKEINFO): Remove.mrs2007-01-042-2/+5
| | | | | | | (PERL): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120450 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-04 Paolo Bonzini <bonzini@gnu.org>bonzini2007-01-044-1653/+2197
| | | | | | | | | | | * configure.ac: Add GCC_TOPLEV_SUBDIRS. * configure: Regenerate. * Makefile.in (host_subdir): Substitute it. (gcc_objdir): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120449 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/brooks2007-01-044-0/+27
| | | | | | | | | | | | | | | PR 30235 * interface.c (compare_actual_formal): check for alternate returns when iterating over non-present arguments. testsuite/ PR 30235 * gfortran.dg/altreturn_2.f90: new test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120447 138bc75d-0d04-0410-961f-82ee72b054a4
* * invoke.texi: Update manpage copyright to include 2007.brooks2007-01-042-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120445 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.texi: Update copyright to include 2007.brooks2007-01-044-3/+9
| | | | | | | | * intrinsic.texi: Update copyright to include 2007. * invoke.texi: Update copyright to include 2007. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120444 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.host (ia64*-*-linux*): Set tmake_file.drow2007-01-042-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120443 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.c (rs6000_rtx_costs): Make adjustment forjsm282007-01-042-2/+9
| | | | | | | | MULT inside MINUS as either argument. Use rs6000_cost->dmul - rs6000_cost->fp not 0 as adjustment for outer NEG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120442 138bc75d-0d04-0410-961f-82ee72b054a4
* libcpptromey2007-01-045-7/+32
| | | | | | | | | | | | | | PR preprocessor/28165: * internal.h (cpp_in_primary_file): New function. * directives.c (do_include_next): Use cpp_in_primary_file. (do_pragma_once): Likewise. (do_pragma_system_header): Likewise. gcc/testsuite PR preprocessor/28165: * gcc.dg/cpp/pr28165.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120441 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (version): Define.drow2007-01-042-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120440 138bc75d-0d04-0410-961f-82ee72b054a4
* commit changelog entry for last commitbonzini2007-01-041-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120439 138bc75d-0d04-0410-961f-82ee72b054a4
* * cgraph.c (cgraph_release_function_body): New function.hubicka2007-01-048-25/+54
| | | | | | | | | | | | | | | (cgraph_remove_node): Use it. * cgraph.h (cgraph_release_function_body): Declare. * cgraphunit.c (cgraph_expand_function): Use it. * ipa.c (cgraph_remove_unreahchable_nodes): Use it. * tree-ssa.c (delete_tree_ssa): Allow to be called before aliasing is initialized and while compilation of other function is running. * tree-optimize.c (execute_free_cfg_annotations): Move code to clear statement CFG annotations from here to ... * tree-cfg.c (delete_tree_cfg_annotations): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120437 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfgloop.h (enum li_flags): Make the constants powers of two.rakdver2007-01-042-5/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120433 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-04 Paolo Bonzini <bonzini@gnu.org>bonzini2007-01-042-3/+9
| | | | | | | | | * configure.in: Use DEV-PHASE to detect the default for --enable-werror. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120432 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-02 Tobias Burnus <burnus@net-b.de>burnus2007-01-042-5/+14
| | | | | | | | | | | | | Jakub Jelinek <jakub@redhat.com> PR fortran/30276 * scanner.c (open_included_file): Revert patch. (gfc_open_included_file): Support absolute pathnames. (gfc_open_intrinsic_module): Support absolute pathnames. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120431 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-inline.c (copy_bb): Insert new statements to statements_to_foldhubicka2007-01-043-0/+49
| | | | | | | | | | set. (fold_marked_statements): New function. (optimize_inline_calls, tree_function_versioning): Fold new statements. * tree-inline.h (copy_body_data): Add statemetns_to_fold. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120430 138bc75d-0d04-0410-961f-82ee72b054a4
* ./drow2007-01-0449-1471/+7593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.def (target_modules): Add libgcc. (lang_env_dependencies): Remove default items. Use no_c and no_gcc. * Makefile.tpl (clean-target-libgcc): Delete. (configure-target-[+module+]): Emit --disable-bootstrap dependencies on gcc even for bootstrapped modules. Rewrite handling of lang_env_dependencies to loop over target_modules. * configure.in (target_libraries): Add target-libgcc. * Makefile.in, configure: Regenerated. gcc/ * config.gcc: Mention libgcc/config.host. * Makefile.in: Update comments mentioning libgcc. (LIBGCC, INSTALL_LIBGCC, GCC_PARTS, mklibgcc): Delete. (all.cross, start.encap, rest.encap, rest.cross): Update dependencies for libgcc move. (libgcc.mk, LIBGCC_DEPS, libgcov.a, libgcc.a, stmp-multilib) (clean-target, clean-target-libgcc): Delete. (srcdirify, GCC_EXTRA_PARTS): New macros. (libgcc-support, libgcc.mvars): New rules. (distclean): Remove mention of mklibgcc. (install): Don't reference INSTALL_LIBGCC. (install-common): Don't reference EXTRA_PARTS. (install-libgcc, install-multilib): Delete rules. * mklibgcc.in: Delete file. * doc/configfiles.texi: Don't mention mklibgcc. * config/i386/t-darwin (SHLIB_VERPFX): Delete (moved to libgcc). * config/i386/t-darwin64 (SHLIB_VERPFX): Likewise. * config/rs6000/t-darwin (SHLIB_VERPFX): Likewise. * config/rs6000/t-ppccomm (TARGET_LIBGCC2_CFLAGS, SHLIB_MAPFILES) (mklibgcc, ldblspecs): Likewise. * config/i386/t-nwld (libgcc.def, libc.def, libpcre.def) (posixpre.def): Use $(T). (SHLIB_EXT, SHLIB_NAME, SHLIB_SLIBDIR_QUAL, SHLIB_DEF, SHLIB_MAP) (SHLIB_SRC, SHLIB_INSTALL): Delete. (SHLIB_LINK): Make dummy. * config/t-slibgcc-darwin: Delete contents except for dummy SHLIB_LINK. * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Clear. * config/alpha/t-crtfm: Use $(T) in rules for EXTRA_PARTS. * config/alpha/t-vms, config/alpha/t-vms64, config/fr30/t-fr30, config/i386/t-rtems-i386, config/ia64/t-ia64, config/rs6000/t-beos, config/rs6000/t-newas, config/sparc/t-elf: Likewise. * configure.ac (all_outputs): Remove mklibgcc. * configure: Regenerated. libgcc/ * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64, config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128, config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64, config/sparc/t-crtfm, config/t-slibgcc-darwin, config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk, shared-object.mk, siditi-object.mk, static-object.mk: New files. * configure: Generated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120429 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.texi (GNU Fortran and GCC): Rewritebrooks2007-01-042-43/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120428 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.texi (Introduction): Lower "Part I:brooks2007-01-043-30/+60
| | | | | | | | | | Introduction" to a chapter, renumber Parts II and III to Parts I and II. * intrinsic.texi (Introduction): Rename to "Introduction to Intrinsics" to avoid conflict with the new chapter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120427 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsic.texi (Introduction): Rewrite first paragraph.brooks2007-01-042-7/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120426 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-01 Josh Conner <jconner@apple.com>jconner2007-01-044-8/+94
| | | | | | | | | | | | | | | | PR middle-end/29683 * calls.c (compute_argument_addresses): Set stack and stack_slot for partial args, too. (store_one_arg): Use locate.size.constant for the size when generating a save_area. 2007-03-01 Josh Conner <jconner@apple.com> PR middle-end/29683 * gcc.dg/pr29683.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120425 138bc75d-0d04-0410-961f-82ee72b054a4
* * invoke.texi (OpenMP): Added index entry.brooks2007-01-043-2/+8
| | | | | | | * gfortran.texi (title page): Removed erroneous '*'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120424 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-cfg.c (tree_merge_blocks): Release SSA_NAME phi resultsian2007-01-042-4/+11
| | | | | | | whose definitions are deleted due to basic block merging. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120423 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.texi (GFORTRAN_DEFAULT_RECL): Added unitsbrooks2007-01-042-144/+178
| | | | | | | | | | | to description. (Extensions): Miscellaneous minor rewriting and copyediting. (BOZ-literal constants): Renamed from Hexadecimal constants. (Hollerith constants support): Added explanation and suggestions for standard-conforming modern equivalents. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120422 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsic.texi: Improvements to index entries; changebrooks2007-01-044-444/+458
| | | | | | | | | @findex entries to @cindex entries. * invoke.texi: Standardize and improve index entries. * gfortran.texi: Fix @code in one index entry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120421 138bc75d-0d04-0410-961f-82ee72b054a4
* * invoke.texi: Change @code-type macros to appropriatebrooks2007-01-043-38/+41
| | | | | | | | variants (@command, @option, etc.) * gfortran.texi: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120420 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2007-01-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120418 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-03 Paul Brook <paul@codesourcery.com>pbrook2007-01-042-16/+41
| | | | | | | | | | | | | | | PR target/16634 gcc/ * config/arm/arm.c (output_return_instruction): Pop PC in interrupt functions. (use_return_insn): Return 0 for Thumb interrupt functions. (print_multi_reg): Add rfe argument for IRQ returns. (arm_output_epilogue): Pop interrupt return address directly into PC. (arm_expand_prologue): Only adjust IRQ return address in Arm mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120413 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/28217jakub2007-01-033-0/+19
| | | | | | | | * g++.dg/pch/template-1.C: New test. * g++.dg/pch/template-1.Hs: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120410 138bc75d-0d04-0410-961f-82ee72b054a4