1. 15 Feb, 2007 26 commits
    • re PR c/26494 (-pedantic-errors can be overridden by -W*) · dc90f45b
      2007-02-15  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c/26494
      	* doc/invoke.texi (Warning Options): Remove
      	-Werror-implicit-function-declaration.
      	(Wimplicit-function-declaration): Update description.
      	* opts.c (common_handle_option): Move handling of -Werror=* to...
      	(enable_warning_as_error): ...here.
      	* opts.h (enable_warning_as_error): Declare.
      	* c-decl.c (implicit_decl_warning): Unless
      	-Wno-implicit-function-declaration is given, emit a pedwarn if
      	-std=c99 or emit a warning if -Wimplicit-function-declaration.
      	* c.opt (Wimplicit-function-declaration): Replace
      	mesg_implicit_function_declaration with
      	warn_implicit_function_declaration.
      	* c-opts.c (c_common_handle_option):
      	-Werror-implicit-function-declaration is exactly equal as
      	-Werror=implicit-function-declaration.
      	(set_Wimplicit): Replace mesg_implicit_function_declaration with
      	warn_implicit_function_declaration.
      	(c_common_post_options): -Wimplict-function-declaration is enabled
      	by default by -std=c99, otherwise is disabled by default.
      	* c-objc-common.c (c_objc_common_init): Remove flawed logic.
      testsuite/
      	* gcc.dg/Wimplicit-function-declaration-c89.c: New.
      	* gcc.dg/Wimplicit-function-declaration-c89-default.c: New.
      	* gcc.dg/Wimplicit-function-declaration-c89-pedantic.c: New.
      	* gcc.dg/Wimplicit-function-declaration-c99.c: New.
      	* gcc.dg/Wimplicit-function-declaration-c99-pedantic.c: New.
      	* gcc.dg/Werror-implicit-function-declaration.c: New.
      
      From-SVN: r122017
      Manuel López-Ibáñez committed
    • re PR c++/28943 (Unusable error message when using a conditional-expression with… · 21493102
      re PR c++/28943 (Unusable error message when using a conditional-expression with multiple type arguments)
      
      2007-02-15  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c++/28943
      cp/
      	* call.c (build_conditional_expr): Improve error message.
      testsuite/
      	* g++.dg/warn/pr28943.C: New.
      
      From-SVN: r122016
      Manuel López-Ibáñez committed
    • gimplify.c (gimplify_modify_expr): During gimplification... · f173837a
      	* gimplify.c (gimplify_modify_expr): During gimplification, attach a
      	DECL on the rhs to a DECL on the lhs for debug info purposes if the
      	former is ignored but not the latter.
      
      From-SVN: r122015
      Eric Botcazou committed
    • expr.c (expand_expr_real_1): If a temporary is made and the reference doesn't… · befdad07
      expr.c (expand_expr_real_1): If a temporary is made and the reference doesn't use the alias set of its type...
      
      	* expr.c (expand_expr_real_1) <normal_inner_ref>: If a temporary
      	is made and the reference doesn't use the alias set of its type,
      	do not create the temporary using that type.
      
      From-SVN: r122014
      Eric Botcazou committed
    • jump.c: Remove prototypes for delete_computation and delete_prior_computation. · eab79d78
      	* jump.c: Remove prototypes for delete_computation and
      	delete_prior_computation.
      
      From-SVN: r122011
      Aldy Hernandez committed
    • Make-lang.in (JAVA_MANFILES): Add doc/gc-analyze.1. · 7f40378f
      gcc/java:
      2007-02-15  David Daney  <ddaney@avtrex.com>
      
      	* Make-lang.in (JAVA_MANFILES): Add doc/gc-analyze.1.
      	(java.maintainer-clean):Add gc-analyze.1.
      	(.INTERMEDIATE): Add gc-analyze.pod.
      	(gc-analyze.pod): New rule.
      	(java.install-man): Install gc-analyze.1
      	* gcj.texi: Add new section for the gc-analyze program.
      
      libjava:
      2007-02-15  Johannes Schmidt  <jschmidt@avtrex.com>
      	David Daney  <ddaney@avtrex.com>
      
      	* configure.ac: Create vm-tools-packages file.  Add 
      	gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
      	Check for /proc/self/maps.
      	* Makefile.am (bin_PROGRAMS): Added gc-analyze.
      	(gc_analyze_SOURCES): New.
      	(gc_analyze_LDFLAGS): New.
      	(gc_analyze_LINK): New.
      	(gc_analyze_LDADD): New.
      	(gc_analyze_DEPENDENCIES): New.
      	(nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
      	* Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* include/config.h.in: Regenerated.
      	* sources.am: Regenerated.
      	* scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
      	* gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
      	* gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
      	* gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
      	* gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
      	* gnu/gcj/tools/gc_analyze/BlockMap.java: New.
      	* gnu/gcj/tools/gc_analyze/BytePtr.java: New.
      	* gnu/gcj/tools/gc_analyze/ItemList.java: New.
      	* gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
      	* gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
      	* gnu/gcj/util/GCInfo.java: New.
      	* gnu/gcj/util/GCInfo.h: New.
      	* gnu/gcj/util/natGCInfo.cc: New.
      	* gnu/gcj/util/UtilPermission.java: New.
      	* gnu/gcj/util/UtilPermission.h: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
      	* classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
      	* classpath/lib/gnu/gcj/util/GCInfo.class: New.
      	* classpath/lib/gnu/gcj/util/UtilPermission.class: New.
      
      libjava/classpath:
      2007-02-15  David Daney  <ddaney@avtrex.com>
      
      	* tools/Makefile.am (TOOLS_ZIP): Add classes from vm-tools-packages.
      	* tools/Makefile.in: Regenerated.
      
      From-SVN: r122007
      David Daney committed
    • PlainSocketImpl.h: Regenerate. · 31429fbc
      	* gnu/java/net/PlainSocketImpl.h: Regenerate.
      	* gnu/classpath/jdwp/VMVirtualMachine.h: Same.
      	* gnu/classpath/jdwp/VMFrame.h: Same.
      	* java/net/Socket.h: Same.
      	* java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
      
      From-SVN: r122006
      David Daney committed
    • AttributeList.java: Updated. · b697e623
      2007-02-15  Gary Benson  <gbenson@redhat.com>
      
      	* javax/management/AttributeList.java: Updated.
      	* javax/management/MBeanServerDelegate.java: Likewise.
      	* javax/management/MBeanServerFactory.java: Likewise.
      	* javax/management/StandardMBean.java: Likewise.
      
      From-SVN: r122004
      Gary Benson committed
    • jump.c (get_label_after): Delete. · c47277a6
      2007-02-15  Paolo Bonzini  <bonzini@gnu.org>
      
      	* jump.c (get_label_after): Delete.
      	(get_label_before, delete_computation, delete_jump,
      	delete_prior_computation, follow_jumps): Move...
      	* reorg.c (delete_computation, delete_prior_computation): ... here...
      	(get_label_before, delete_jump): ... making these static ...
      	(follow_jumps): ... and simplifying this since it only runs after
      	reload.
      	* rtl.h (get_label_after, get_label_before, delete_jump,
      	follow_jumps): Delete prototypes.
      
      From-SVN: r122003
      Paolo Bonzini committed
    • defineclass.cc (_Jv_ClassReader::read_one_code_attribute): Added… · fe60528e
      defineclass.cc (_Jv_ClassReader::read_one_code_attribute): Added LocalVariableTable attribute handling.
      
      2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
      
      	* defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
          Added LocalVariableTable attribute handling.
          (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
          * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
          * include/java-interp.h: Added local_var_table and
          local_var_table_len fields to _Jv_InterpMethod.
          (_Jv_InterpMethod::get_local_var_table): New method.
          * testsuite/libjava.jvmti/interp/getlocalvartable.java: New
          test.
          * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
          * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
          for new test.
          * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
          * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New
          test.
      
      From-SVN: r121999
      Kyle Galloway committed
    • caller-save.c (save_call_clobbered_regs): Do not process sibcalls. · ed765125
      2007-02-15  Paolo Bonzini  <bonzini@gnu.org>
      
      	* caller-save.c (save_call_clobbered_regs): Do not process sibcalls.
      
      From-SVN: r121998
      Paolo Bonzini committed
    • natVMVirtualMachine (getFrames): Implement. · fc01261a
      2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
       
         * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
      
      From-SVN: r121997
      Kyle Galloway committed
    • 2007-02-15 Gary Benson <gbenson@redhat.com> · 02bba3c4
      	* gnu/javax/management/Server.java
      	(registerMBean): Always register objects that implement the
      	MBeanRegistration interface, and check the name returned by
      	preRegister before using it.
      
      From-SVN: r121995
      Gary Benson committed
    • 2007-02-15 Gary Benson <gbenson@redhat.com> · b102a4f7
      	* javax/management/ObjectName.java:
      	(getKeyPropertyList()): Remove cast and call
      	to UnmodifiableMap.
      
      From-SVN: r121994
      Gary Benson committed
    • varasm.c (default_asm_output_anchor): Prepend * to . symbol in order to prevent… · c1a1cc5f
      varasm.c (default_asm_output_anchor): Prepend * to . symbol in order to prevent it from being munged by the target.
      
      * varasm.c (default_asm_output_anchor): Prepend * to . symbol in order to 
        prevent it from being munged by the target.
      
      From-SVN: r121992
      Nick Clifton committed
    • * config/i386/i386.md: Remove misleading comment. · 62e4530b
      From-SVN: r121991
      Uros Bizjak committed
    • 2007-02-14 Gary Benson <gbenson@redhat.com> · c8a90e81
      	* javax/management/ObjectName.java
      	(toString): Return this item's canonical name.
      
      From-SVN: r121989
      Gary Benson committed
    • math.f90: Fix typo. · 760eb3ea
      2007-02-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* gfortran.fortran-torture/execute/math.f90: Fix typo.
      
      From-SVN: r121984
      Jerry DeLisle committed
    • re PR fortran/30779 ([4.1, 4.2 only] incomplete file triggers ICE) · 4e031e7e
      2007-02-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/30779
      	* gfortran.dg/error_recovery_3.f90: New test.
      
      From-SVN: r121983
      Jerry DeLisle committed
    • re PR fortran/30779 ([4.1, 4.2 only] incomplete file triggers ICE) · 0267ffdc
      2007-02-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/30779
      	* scanner.c (gfc_next_char_literal): Add check for end of file after
      	call to advance_line.
      
      From-SVN: r121982
      Jerry DeLisle committed
    • frv.md (reload_incc, [...]): Remove invalid patterns. · f4f81a66
      * config/frv/frv.md (reload_incc, reload_outcc, reload_incc_uns,
      reload_outcc_uns, reload_incc_nz, reload_outcc_nz): Remove
      invalid patterns.
      
      From-SVN: r121981
      Alexandre Oliva committed
    • tree-sra.c (instantiate_missing_elements): Canonicalize bit-field types. · 45f94ec7
      gcc/ChangeLog:
      * tree-sra.c (instantiate_missing_elements): Canonicalize
      bit-field types.
      (sra_build_assignment): New.
      (generate_copy_inout, generate_element_copy,
      generate_element_zero, generate_one_element_init): Use it.
      gcc/testsuite/ChangeLog:
      * g++.dg/tree-ssa/sra-1.C: New.
      
      From-SVN: r121980
      Alexandre Oliva committed
    • dwarf2out.c (dwarf2out_finish): Accept namespaces as context of limbo die nodes. · db9e0d2a
      gcc/ChangeLog:
      * dwarf2out.c (dwarf2out_finish): Accept namespaces as context of
      limbo die nodes.
      gcc/testsuite/ChangeLog:
      * g++.dg/ext/interface4.C, g++.dg/ext/interface4.h: New.
      
      From-SVN: r121979
      Alexandre Oliva committed
    • nothrow-1.C: Skip test if -fpic/-fPIC is used. · 5ad17e7d
      	* g++.dg/tree-ssa/nothrow-1.C: Skip test if -fpic/-fPIC is used.
      
      From-SVN: r121976
      Kaveh R. Ghazi committed
    • primary.c (match_logical_constant): Return MATCH_ERROR on invalid kind. · eb62be44
      2007-02-14  Steven G. Kargl  <kargl@gcc.gnu.org>
      
             * primary.c (match_logical_constant): Return MATCH_ERROR on invalid kind.
             * gfortran.dg/logical_2.f90: New test.
      
      From-SVN: r121974
      Steven G. Kargl committed
    • Daily bump. · d693dd26
      From-SVN: r121972
      GCC Administrator committed
  2. 14 Feb, 2007 14 commits