- 15 Feb, 2007 26 commits
-
-
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 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, 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 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. From-SVN: r122011
Aldy Hernandez committed -
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 -
* 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 -
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 -
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 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 -
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 -
2007-02-15 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement. From-SVN: r121997
Kyle Galloway committed -
* 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 -
* 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 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 -
From-SVN: r121991
Uros Bizjak committed -
* javax/management/ObjectName.java (toString): Return this item's canonical name. From-SVN: r121989
Gary Benson committed -
2007-02-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.fortran-torture/execute/math.f90: Fix typo. From-SVN: r121984
Jerry DeLisle committed -
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 -
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 -
* 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 -
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 -
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 -
* g++.dg/tree-ssa/nothrow-1.C: Skip test if -fpic/-fPIC is used. From-SVN: r121976
Kaveh R. Ghazi committed -
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 -
From-SVN: r121972
GCC Administrator committed
-
- 14 Feb, 2007 14 commits
-
-
* emit-rtl.c (set_mem_attributes_minus_bitpos): Treat complex types as aggregates not scalars. * function.c (assign_stack_temp_for_type): Likewise. testsuite: * gcc.dg/torture/complex-alias-1.c: New test. From-SVN: r121968
Joseph Myers committed -
* tree-dump.c (dump_switch_p_1): Require exact match of the option name. * gcc.dg/tree-prof/update-tailcall.c: Use -fdump-tree-tailc instead of -fdump-tree-tailcall. From-SVN: r121967
Zdenek Dvorak committed -
* passes.c (next_pass_1): Clear the next field of the copied pass structure. From-SVN: r121966
Zdenek Dvorak committed -
PR middle-end/30768 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Xfail ICE for cris-*-*. From-SVN: r121959
Hans-Peter Nilsson committed -
From-SVN: r121958
Steven G. Kargl committed -
2007-02-14 Jakub Jelinek <jakub@redhat.com> Andrew Haley <aph@redhat.com> * java/util/TimeZone.java (getDateParams): Negate dayOfWeek. From-SVN: r121957
Jakub Jelinek committed -
From-SVN: r121956
Brooks Moses committed -
2007-02-14 Jakub Jelinek <jakub@redhat.com> Andrew Haley <aph@redhat.com> * java/util/TimeZone.java (getDateParams): Negate dayOfWeek. Co-Authored-By: Andrew Haley <aph@redhat.com> From-SVN: r121955
Jakub Jelinek committed -
* tree-sra.c (early_sra): New. (decl_can_be_decomposed_p): Deny va_list if early_sra. (tree_sra_early, pass_sra_early): New. * tree-pass.h (pass_sra_early): Declare. * passes.c (init_optimization_passes): Use it. From-SVN: r121953
Richard Henderson committed -
2007-02-14 Richard Guenther <rguenther@suse.de> * flags.h (issue_strict_overflow_warning): Convert to a macro. From-SVN: r121951
Richard Biener committed -
PR tree-optimization/30771 * tree-vect-analyze.c (vect_determine_vectorization_factor): Traverse also phi nodes. (vect_analyze_operations): Induction phis can now be marked as used_in_loop. (vect_mark_stmts_to_be_vectorized): No special treatment for phis. Update documentation accordingly. From-SVN: r121950
Dorit Nuzman committed -
From-SVN: r121948
Gerald Pfeifer committed -
2007-02-14 Benjamin Kosnik <bkoz@redhat.com> * configure.ac: Move AM_ICONV to native-only, add HAVE_ICONV for newlib. * configure: Regenerate. From-SVN: r121947
Benjamin Kosnik committed -
* builtin-types.def (DEF_FUNCTION_TYPE_x): Do not imply that at most 3 arguments are supported. (DEF_FUNCTION_TYPE_VAR_5): Fix typo in its description. From-SVN: r121946
Nick Clifton committed
-