summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2006-01-31 Paolo Carlini <pcarlini@suse.de>paolo2006-01-313-6/+9
| | | | | | | | | PR libstdc++/21554 * include/tr1/array (array<>::_M_instance): Maximally align. * testsuite/ext/array_allocator/2.cc: Do not xfail for powerpc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110445 138bc75d-0d04-0410-961f-82ee72b054a4
* * arm.md (smaxsi3): Make aware of smax_m1.nico2006-01-312-1/+15
| | | | | | | (smax_m1): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110443 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/config/m68k/lb1sf68.asm: Use moveq to load small constants.nathan2006-01-312-44/+48
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110440 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-31 Richard Guenther <rguenther@suse.de>rguenth2006-01-3117-2/+384
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/invoke.texi (-msselibm): Document. * target.h (expand_library_builtin): New target hook. * builtins.c (expand_builtin): Use expand_library_builtin. (default_expand_library_builtin): New function. * gcc.c (LINK_GCC_MATH_SPEC): Define. (LINK_COMMAND_SPEC): Handle %(link_gcc_math). (link_gcc_math_spec): Declare. (static_specs): Add link_gcc_math_spec. * expr.h (default_expand_library_builtin): Declare. * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define. (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN. * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC. * config/i386/i386.opt (msselibm): New target option. * config/i386/i386.c (ix86_builtin_function_variants): New array. (ix86_init_sse_abi_builtins): New function. (ix86_expand_library_builtin): Likewise. (TARGET_EXPAND_LIBRARY_BUILTIN): Define. (override_options): Handle error conditions wrt -msselibm. (ix86_builtins): Add function codes for SSE2 ABI builtins. (ix86_init_builtins): Call ix86_init_sse_abi_builtins. * doc/extend.texi (__builtin_sse2_*): Document new target specific builtins. * gcc.target/i386/sselibm-1.c: New testcase. * gcc.target/i386/sselibm-2.c: Likewise. * gcc.target/i386/sselibm-3.c: Likewise. * gcc.target/i386/sselibm-4.c: Likewise. * gcc.target/i386/sselibm-5.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110439 138bc75d-0d04-0410-961f-82ee72b054a4
* * NEWS: Add 4.1 updates.mark2006-01-312-0/+295
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110437 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-31 Ed Smith-Rowland <3dw4rd@verizon.net>paolo2006-01-313-93/+161
| | | | | | | | | | | | * docs/html/faq/index.html ([1.0]): Replace references to CVS with appropriate references to SVN. ([1.3]): Likewise. ([1.4]): Likewise. ([2.3]): Likewise. * docs/html/faq/index.txt: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110435 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-31 Richard Guenther <rguenther@suse.de>rguenth2006-01-31106-139/+56779
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Paolo Bonzini <bonzini@gnu.org> * Makefile.def (target_modules): Add libgcc-math target module. * configure.in (target_libraries): Add libgcc-math target library. (--enable-libgcc-math): New configure switch. * Makefile.in: Re-generate. * configure: Re-generate. * libgcc-math: New toplevel directory. * doc/install.texi (--disable-libgcc-math): Document. libgcc-math/ * configure.ac: New file. * Makefile.am: Likewise. * configure: New generated file. * Makefile.in: Likewise. * aclocal.m4: Likewise. * libtool-version: New file. * include/ieee754.h: New file. * include/libc-symbols.h: Likewise. * include/math_private.h: Likewise. * i386/Makefile.am: New file. * i386/Makefile.in: New generated file. * i386/sse2.h: New file. * i386/endian.h: Likewise. * i386/sse2.map: Linker script for SSE2 ABI math intrinsics. * flt-32/: Import from glibc. * dbl-64/: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110434 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-30 Marcin Dalecki <martin@dalecki.de>dalecki2006-01-3115-225/+218
| | | | | | | | | | | | | | | | | | | | | * expr.h (expand_normal): new inline function. * builtins.c: use it, use EXPAND_NORMAL explicitely. * dojump.c: use it. * dwarf2out.c: use it. * expr.c: use it. * calls.c: use it. * expmed.c: use it. * except.c: use it. * config/sparc/sparc.c: use it. * config/i386/i386.c: use it. * config/rs6000/rs6000.c: use it. * config/arm/arm.c: use it. * config/mips/mips.c: use it. * stmt.c: use it, use EXPAND_NORMAL explicitely. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110428 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Castsayle2006-01-312-2/+7
| | | | | | | | argv to the appropriate type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110427 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Removerakdver2006-01-312-10/+6
| | | | | | | | unreachable code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110426 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/26018uweigand2006-01-312-1/+17
| | | | | | | | | | | * config/s390/s390.c (struct machine_function): New flag decomposed_literal_pool_addresses_ok_p. (s390_reorg): Set it before final stage of literal pool transforms. (s390_decompose_address): Only accept displacements of the form (minus (label_ref ...) (label_ref ...)) if that flag is set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110422 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2006-01-311-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110420 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/valarray_array.h (__valarray_default_construct):gdr2006-01-302-11/+16
| | | | | | | | | | | Replace use __is_fundamental with __is_pod. (__valarray_fill_construct): Likewise. (__valarray_copy_construct): Likewise. (__valarray_destroy_elements): Likewise. (__valarray_copy): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110414 138bc75d-0d04-0410-961f-82ee72b054a4
* * mangle.c: Comment fix.bje2006-01-302-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110413 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/eedelman2006-01-304-1/+29
| | | | | | | | | | | | | | | | | | | | 2005-01-30 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/24266 * trans-io.c (set_internal_unit): Check the rank of the expression node itself instead of its symbol. testsuite/ 2005-01-30 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/24266 * gfortran.dg/arrayio_derived_2.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110412 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/java-interp.h (insn_index): New declaration.kseitz2006-01-303-0/+99
| | | | | | | | | | (num_insn_slots): New private variable. (get_line_table): New declaration. * interpret.cc (insn_index): New function. (get_line_table): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110411 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/carlos2006-01-304-9/+48
| | | | | | | | | | | | | | | | | 2006-01-30 Carlos O'Donell <carlos@codesourcery.com> * optabs.c (prepare_cmp_insn): If unbaised and unsigned then bias the comparison routine return. gcc/testsuite/ 2006-01-30 Carlos O'Donell <carlos@codesourcery.com> * gcc.dg/unsigned-long-compare.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110409 138bc75d-0d04-0410-961f-82ee72b054a4
* * global.c (find_reg): Only evict for global regs.matz2006-01-302-4/+28
| | | | | | | Take n_refs into account and dump more info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110407 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/25318sje2006-01-303-3/+44
| | | | | | | | | | * lib/target-supports.exp (check_effective_target_freorder): Check to see if target supports -freorder-blocks-and-partition. * g++.dg/other/pr22003.C: Use "dg-require-effective-target freorder" instead of "dg-require-named-sections". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110405 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-30 Andrew Haley <aph@redhat.com>aph2006-01-302-0/+8
| | | | | | | | | PR java/21428 * parse.y: (source_start_java_method): Mark DECL_ARTIFICIAL("this"). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110400 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-30 Paolo Carlini <pcarlini@suse.de>paolo2006-01-303-36/+41
| | | | | | | | | * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Do the <inttypes.h> checks only if the <stdint.h> checks are successful. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110399 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/14798:amylaar2006-01-3018-107/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc: * sh.c (pragma_interrupt, trap_exit, sp_switch): Remove variable. (pragma_trap, pragma_nosave_low_regs): Likewise. (current_function_anonymous_args): Likewise. (sh_deferred_function_attributes): New variable. (sh_deferred_function_attributes_tail): Likewise. (print_operand): For '@', look up trap_exit attribute. (calc_live_regs): Look up trapa_handler attribute. For trapa handlers, save/restore fpscr, but don't do any other interrupt-specific saves. Don't save r0..r7 if the nosave_low_regs attribute is in effect. Fix check for partially saved registers to check for SHmedia. (sh_expand_prologue, sh_expand_epilogue): Look up sp_switch attribute. (sh_output_function_epilogue): Don't clear any of the removed variables. (sh_insert_attributes): Don't check pragma_interrupt. Insert deferred attributes. Check that interrupt attribute is present for other attributes that require its presence. (sh_attribute_table): Add new attributes trapa_handler and nosave_low_regs. (sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute): Don't check for pragma_interrupt. Don't store argument. * sh.h (pragma_interrupt, sp_switch): Don't declare. (sh_deferred_function_attributes): Declare. (sh_deferred_function_attributes_tail): Likewise. * sh.md (sp_switch_1): Add operand. Change generator caller. (sh_pr_interrupt, sh_pr_trapa, sh_pr_nosave_low_regs): Remove. (*return_i): Don't use when trap_exit attribute is in effect. (*return_trapa): New insn pattern. * sh-c.c: New file. * config.gcc (sh[123456ble]*-* | sh-*-*): New trailer stanza, setting c_target_objs and cxx_target_objs. * t-sh: Add rule for sh-c.o. gcc/testsuite: * gcc.dg/pragma-isr.c: Added target sh[1234ble]*-*-*. * gcc.dg/pragma-isr2.c, gcc.dg/pragma-isr-trapa.c: New tests. * gcc.dg/pragma-isr-trapa2.c: Likewise. * gcc.dg/pragma-isr-nosave_low_regs.c: Likewise. * gcc.dg/pragma-isr-trap_exit.c: Likewise. * gcc.dg/attr-isr.c, gcc.dg/attr-isr-trapa.c: Likewise. * gcc.dg/attr-isr-trap_exit.c: Likewise. * gcc.dg/attr-isr-nosave_low_regs.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110398 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-30 Paolo Carlini <pcarlini@suse.de>paolo2006-01-3013-46/+342
| | | | | | | | | | | | | | | | | | | | | * include/tr1/cinttypes: New. * include/Makefile.am: Add. * testsuite/tr1/8_c_compatibility/cinttypes/functions: New. * testsuite/tr1/8_c_compatibility/cinttypes/types: Likewise. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <inttypes.h> checks. * docs/html/ext/tr1.html: Update. * include/Makefile.in: Regenerate. * config.h.in: Likewise. * configure: Likewise. * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Cosmetic tweak. * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Likewise. * testsuite/tr1/8_c_compatibility/cstdint/types.cc: Fix, check in std::tr1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110397 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-30 Richard Guenther <rguenther@suse.de>rguenth2006-01-304-0/+30
| | | | | | | | | | | PR c++/23372 * gimplify.c (gimplify_target_expr): Handle easy cases without creating a temporary. * gcc.dg/pr23372-1.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110396 138bc75d-0d04-0410-961f-82ee72b054a4
* * vec.h (safe_grow): Remove duplicated line.nathan2006-01-302-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110395 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 25874dnovillo2006-01-304-11/+43
| | | | | | | | | | | | | | * omp-low.c (execute_expand_omp): Move CFG cleanup code ... (expand_omp): ... here. (expand_omp_parallel): Only remove barriers for combined parallel+workshare constructs. * gcc.dg/gomp/pr25874.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110393 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2006-01-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110390 138bc75d-0d04-0410-961f-82ee72b054a4
* fix entries orderinggdr2006-01-301-3/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110384 138bc75d-0d04-0410-961f-82ee72b054a4
* Revertebotcazou2006-01-292-24/+17
| | | | | | | | | | | | | 2005-11-09 Eric Botcazou <ebotcazou@adacore.com> * tree.c (build_qualified_type): Chain the new type to the original type's TYPE_NEXT_PTR_TO or TYPE_NEXT_REF_TO linked lists if it is a POINTER_TYPE or a REFERENCE_TYPE respectively. (build_pointer_type_for_mode): Only return unqualified types. (build_reference_type_for_mode): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110382 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2006-01-291-1/+0
| | | | | | | | * ChangeLog: Remove garbage text from one entry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110381 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (cxx_compat_warn): Set if -Wc++-compat is supported.gdr2006-01-297-132/+316
| | | | | | | | | | | | | * Makefile.in (CXX_COMPAT_WARN): Define. * configure: Regenerate. cp/ * Make-lang.in (cp-warn): Include CXX_COMPAT_WARN. * repo.c (extract_string, afgets): Use cast when converting from void *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110380 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-29 Paolo Carlini <pcarlini@suse.de>paolo2006-01-2910-5/+313
| | | | | | | | | | | | | | | | * include/tr1/cstdint: New. * include/Makefile.am: Add. * testsuite/tr1/8_c_compatibility/cstdint/types: New. * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdint.h> checks. * docs/html/ext/tr1.html: Update. * include/Makefile.in: Regenerate. * config.h.in: Likewise. * configure: Likewise. * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Cosmetic tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110378 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-opt/25911dorit2006-01-294-1/+28
| | | | | | | | | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Change assert to an if check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110377 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-29 Paul Thomas <pault@gcc.gnu.org>pault2006-01-294-0/+46
| | | | | | | | | | | | | | | | | | | | PR fortran/18578 PR fortran/18579 PR fortran/20857 PR fortran/20885 * interface.c (compare_actual_formal): Error for INTENT(OUT or INOUT) if actual argument is not a variable. 2006-01-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/18578 PR fortran/18579 PR fortran/20857 PR fortran/20885 * gfortran.dg/intent_out_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110376 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflagsgdr2006-01-293-68/+205
| | | | | | | | where supported. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110375 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c: Fix thinko.gdr2006-01-292-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110374 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-29 Paolo Carlini <pcarlini@suse.de>paolo2006-01-293-24/+35
| | | | | | | | | | PR libstdc++/26006 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten <ctype.h> and <fenv.h> checks. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110373 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (floor_log2, exact_log2): Don't define if __cplusplus.gdr2006-01-292-3/+18
| | | | | | | | (push_srcloc): Use XNEW. (init_asm_output, default_get_pch_validity): Use XNEWVEC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110372 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-29 Kenneth Zadeck <zadeck@naturalbridge.com>zadeck2006-01-292-2/+4
| | | | | | | | * df-core.c (df_set_blocks): Deleted all variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110368 138bc75d-0d04-0410-961f-82ee72b054a4
* * call.c (alloc_conversion): Use cast when converting fromgdr2006-01-2912-34/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | void *. (alloc_conversions): Likewise. (add_candidate): Likewise. (print_z_candidates): Likewise. (add_warning): Likewise. * pt.c (retrieve_local_specialization): Likewise. (process_partial_specialization): Likewise. (mangle_class_name_for_template): Likewise. (tsubst_template_args): Likewise. * typeck2.c (pat_calc_hash): Likewise. (pat_compare): Likewise. (abstract_virtuals_error): Likewise. * class.c (method_name_cmp): Likewise. (resort_method_name_cmp): Likewise. (get_vfield_name): Likewise. * decl2.c (generate_ctor_and_dtor_functions_for_priority): Likewise. * lex.c (init_reswords): Likewise. * rtti.c (create_pseudo_type_info): Likewise. * search.c (dfs_lookup_base): Likewise. (dfs_dcast_hint_pre): Likewise. (dfs_dcast_hint_post): Likewise. * tree.c (hash_tree_cons): Likewise. * repo.c (extract_string): Likewise. (afgets): Likewise. * cp-objcp-common.c (decl_shadowed_for_var_lookup): Likewise. * g++spec.c (lang_specific_driver): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110366 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-28 Paul Thomas <pault@gcc.gnu.org>pault2006-01-2910-6/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/17911 * expr.c (gfc_check_assign, gfc_check_pointer_assign): Emit error if the lvalue is a use associated procedure. PR fortran/20895 PR fortran/25030 * expr.c (gfc_check_pointer_assign): Emit error if lvalue and rvalue character lengths are not the same. Use gfc_dep_compare_expr for the comparison. * gfortran.h: Add prototype for gfc_dep_compare_expr. * dependency.h: Remove prototype for gfc_dep_compare_expr. 2006-01-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/17911 * gfortran.dg/procedure_lvalue.f90: New test. PR fortran/20895 PR fortran/25030 * gfortran.dg/char_pointer_assign_2.f90: New test. * gfortran.dg/char_result_1.f90: Correct unequal charlen pointer assignment to be consistent with standard. * gfortran.dg/char_result_2.f90: The same. * gfortran.dg/char_result_8.f90: The same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110365 138bc75d-0d04-0410-961f-82ee72b054a4
* * cgraphunit.c (cgraph_assemble_pending_functions): Callian2006-01-292-0/+8
| | | | | | | cgraph_output_pending_asms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110364 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:zack2006-01-2915-63/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c.opt: Add -W(no-)overlength-strings. * doc/invoke.texi: Document it. * c-opts.c (c_common_handle_option): -pedantic implies -Woverlength-strings, if not explicitly disabled already. (c_common_post_options): -Woverlength-strings defaults to off, and is always off for C++. * c-common.c (fix_string_type): Issue warning about strings longer than is portable only if warn_overlength_strings. Rearrange code a little for clarity. * configure.in: Check for -Wno-overlength-strings as well before enabling -pedantic in stage 1. * Makefile.in (STRICT2_WARN): Add -Wno-overlength-strings. (gcc.o-warn, insn-automata.o-warn, build/gencondmd.o-warn): Delete. * genconditions.c (write_header, write_one_condition) (write_conditions, write_writer): Consolidate very long strings that were broken up to fit in C89 portable limit. Don't use printf when fputs will do. gcc/testsuite: * gcc.dg/Woverlength-strings.c * gcc.dg/Woverlength-strings-pedantic-c89.c * gcc.dg/Woverlength-strings-pedantic-c89-no.c * gcc.dg/Woverlength-strings-pedantic-c99.c * gcc.dg/Woverlength-strings-pedantic-c99-no.c: New tests. ================================================================== git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110360 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/20060127-1.c: New test. nemet2006-01-292-0/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110359 138bc75d-0d04-0410-961f-82ee72b054a4
* * combine.c (simplify_comparison <AND>): Checknemet2006-01-293-17/+40
| | | | | | | | | | | | TRULY_NOOP_TRUNCATION before start using a subreg. * config/mips/mips.md (*branch_zero<mode>, *branch_zero<mode>_inverted, *branch_equality<mode>, *branch_equality<mode>_inverted, *branch_equality<mode>_mips16): Remove mode check from comparisons. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110358 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-28 Kenneth Zadeck <zadeck@naturalbridge.com>zadeck2006-01-292-1/+4
| | | | | | | | * config/mips/mips-protos.h (mips_set_live_on_entry): Deleted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110357 138bc75d-0d04-0410-961f-82ee72b054a4
* fix emailgdr2006-01-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110356 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2006-01-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110354 138bc75d-0d04-0410-961f-82ee72b054a4
* * hooks.c (hook_bool_rtx_int_false): Remove.kazu2006-01-283-7/+3
| | | | | | | * hooks.h: Remove the prototype for hook_bool_rtx_int_false. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110348 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c (check_bases): Likewise.gdr2006-01-283-26/+49
| | | | | | | | | | | | | | (maybe_warn_about_overly_private_class): Likewise. (check_field_decls): Likewise. (layout_empty_base): Likewise. (layout_virtual_bases): Likewise. (layout_class_type): Likewise. * call.c (joust): Pass option code to warning. Use inform for explanation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110342 138bc75d-0d04-0410-961f-82ee72b054a4