- 21 Aug, 2003 9 commits
-
-
fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0 and similarly in (A | C) == D where C... * fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0 and similarly in (A | C) == D where C & ~D != 0. From-SVN: r70637
Josef Zlomek committed -
PR c++/11614 * decl.c (grokdeclarator): Recognize a flexible array based on the type, not the form of the declarator. From-SVN: r70636
Jason Merrill committed -
* semantics.c (simplify_aggr_init_expr): Split out from simplify_aggr_init_exprs_r. Convert slot address to match the return type. * cp-tree.h: Declare it. * tree.c (cp_copy_res_decl_for_inlining): Don't clobber the DECL_NAME of a user variable. From-SVN: r70635
Jason Merrill committed -
2003-08-20 Geoffrey Keating <geoffk@apple.com> PR 8180 * configure.in: When testing with_libs and with_headers, treat 'no' as unset. Based on a patch by Dan Kegel <dank@kegel.com>. * configure: Regenerate. Index: gcc/ChangeLog 2003-08-20 Geoffrey Keating <geoffk@apple.com> PR 8180 * configure.in: When testing with_libs and with_headers, treat 'no' as unset. Based on a patch by Dan Kegel <dank@kegel.com>. * configure: Regenerate. From-SVN: r70634
Geoffrey Keating committed -
* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for make, shell, etc. (baseargs): Likewise. * configure: Regenerate. From-SVN: r70633
Geoffrey Keating committed -
From-SVN: r70631
Peter Barada committed -
* config/m68k/m68k-none.h: Introduce new ColdFire archs. * config/m68k/m68k.h: Likewise. * config/m68k/lb1sf68.asm: Rename __mcf5200__ to __mcoldfire__. * config/m68k/coff.h: Rename TARGET_5200 to TARGET_COLDFIRE. * config/m68k/linux.h: Likewise. * config/m68k/m68k.c: Likewise. * config/m68k/m68k.md: Likewise. * config/m68k/m68kelf.h: Likewise. * config/m68k/netbsd-elf.h: Likewise. * config/m68k/t-m68kelf: Add multilib targets for new ColdFire archs. Co-Authored-By: Bernardo Innocenti <bernie@develer.com> From-SVN: r70630
Peter Barada committed -
From-SVN: r70628
GCC Administrator committed -
* config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition. * config/m68k/m68k.md: Likewise. From-SVN: r70626
Bernardo Innocenti committed
-
- 20 Aug, 2003 29 commits
-
-
PR java/11996 Revert this change: 2003-08-19 Mark Mitchell <mark@codesourcery.com> * c-common.c (c_common_signed_or_unsigned_type): Correctly handle types with precisions other than those given by native machine modes. From-SVN: r70625
Mark Mitchell committed -
From-SVN: r70623
Bernardo Innocenti committed -
* config/m68k/m68k.md (anonymous define_insn): remove obsolete code selected by FSGLMUL_USE_S and FSGLDIV_USE_S * config/m68k/m68k.c (output_move_himode): remove SGS_NO_LI check * config/m68k/m68k.md (anonymous define_insn): Likewise * config/m68k/m68k.md (anonymous define_insn): remove ISI_OV check * config/m68k/m68k.c (standard_68881_constant_p): remove obsolete code selected by NO_ASM_FMOVECR From-SVN: r70622
Gunther Nikl committed -
* config/m68k/m68k.c (output_move_const_into_data_reg, output_move_himode): unify MOTOROLA/MIT handling of moveq * config/m68k/m68k.md (movsi_const0, anonymous define_insn): Likewise From-SVN: r70621
Gunther Nikl committed -
* config/m68k/m68k.c (m68k_output_function_prologue): use %U in label name * config/m68k/m68k.c (m68k_output_function_epilogue): replace HOST_WIDE_INT_PRINT_DEC with %wd From-SVN: r70620
Gunther Nikl committed -
* config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle redefine warning. From-SVN: r70619
Loren J. Rittle committed -
PR middle-end/11984 * fold-const.c (fold <PLUS_EXPR>): Check for integer constant operands before calling tree_int_cst_lt when performing associative transformations. * gcc.dg/20030820-1.c: New test case. From-SVN: r70618
Roger Sayle committed -
* tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'. (EXPR_CHECK): Don't check for 'r' or 's' if we're checking IS_EXPR_CODE_CLASS. * calls.c (calls_function_1): Likewise. * fold-const.c (fold): Likewise. * tree.c (iterative_hash_expr): Likewise. * tree-inline.c (walk_tree, copy_tree_r): Likewise. From-SVN: r70617
Jason Merrill committed -
* config/m68k/m68k.c (m68k_output_mi_thunk): delete obsolete code depending on MOTOROLA_BSR * config/m68k/m68k.md (anonymous define_insn): Likewise From-SVN: r70616
Gunther Nikl committed -
2003-08-20 Graydon Hoare <graydon@redhat.com> * jni.cc: Replace "cheating" pointer-casting code with extract_from_jvalue<> template. From-SVN: r70613
Graydon Hoare committed -
From-SVN: r70612
Jason Merrill committed -
* builtins.c (expand_builtin_mathfn): Use get_callee_fndecl. (expand_builtin_mathfn2, expand_builtin, builtin_mathfn_code, fold_trunc_transparent_mathfn, fold_builtin): Likewise. * dojump.c (do_jump): Likewise. * fold-const.c (operand_equal_p, fold): Likewise. (tree_expr_nonnegative_p): Likewise. From-SVN: r70611
Jason Merrill committed -
cp: PR c++/11945 * pt.c (build_non_dependent_expr): Look inside COND_EXPR and COMPOUND_EXPR. * semantics.c (finish_expr_stmt): Always convert to void. * typeck.c (build_x_compound_exp): Always convert to void. testsuite: PR c++/11945 * g++.dg/warn/noeffect2.C: New test. From-SVN: r70606
Nathan Sidwell committed -
2003-01-31 Andrew Haley <aph@redhat.com> * except.c (prepare_eh_table_type): Use new encoding for exception handlers when using -fno-assume-compiled. 2003-08-20 Andrew Haley <aph@redhat.com> * gnu/gcj/runtime/StackTrace.java (getClass): New method. * gnu/gcj/runtime/natStackTrace.cc (getClass): New method. (classAt): Break out class lookup function into getClass(). * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception handlers when using -fno-assume-compiled. From-SVN: r70605
Andrew Haley committed -
From-SVN: r70604
Andrew Haley committed -
* gcj.texi (Extensions): Added xref. (libgcj Runtime Properties): Document gnu.gcj.runtime.VMClassLoader.library_control. From-SVN: r70601
Tom Tromey committed -
Fix for PR libgcj/9125: * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime object outside of loop. Respect lib_control setting. * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New field. (lib_control): New field. (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants. (VMClassLoader): Initialize new field. From-SVN: r70600
Tom Tromey committed -
natReference.cc (finalize_referred_to_object): Set `list->reference' to DELETED_REFERENCE when removing dead object. * java/lang/ref/natReference.cc (finalize_referred_to_object): Set `list->reference' to DELETED_REFERENCE when removing dead object. (find_slot): Added an assert. (DELETED_REFERENCE): New define. (add_to_hash): Check for DELETED_REFERENCE. (remove_from_hash): Just return if found slot isn't ours. From-SVN: r70599
Tom Tromey committed -
2003-08-19 Andrew Haley <aph@redhat.com> * prims.cc (unblock_signal): New function. (SIGNAL_HANDLER): Use it. (SIGNAL_HANDLER): Likewise. From-SVN: r70598
Andrew Haley committed -
* stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from TYPE_USER_ALIGN for FIELD_DECLs. * attribs.c (decl_attributes): Rebuild the function pointer type after changing the target type. * tree.c (get_qualified_type): Also check that the attributes match. From-SVN: r70597
Jason Merrill committed -
* Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ... * objc/config-lang.in (stagestuff): ... to here. From-SVN: r70596
Matt Kraai committed -
From-SVN: r70594
Mark Mitchell committed -
PR c++/11946 * convert.c (convert_to_integer): Use CONVERT_EXPR (instead of NOP_EXPR) when necessary. * c-common.c (c_common_signed_or_unsigned_type): Correctly handle types with precisions other than those given by native machine modes. PR c++/11684 * cp-tree.h (grok_op_properties): Change prototype. * decl.c (grok_op_properties): Add complain parameter. (grokfndecl): Pass it. * pt.c (tsubst_decl): Adjust accordingly. PR c++/10926 * decl.c (start_method): Return immediately if push_template_decl does not like the declaration. * pt.c (push_template_decl_real): Disallow member template destructors. PR c++/11036.C * cp-tree.h (add_binding): Add prototype. * class.c (add_method): Set TYPE_HAS_DESTRUCTOR if appropriate. (maybe_warn_about_overly_private_class): Use CLASSTYPE_DESTRUCTORS. (pushclass): Adjust call to set_identifier_type_value. * decl.c (add_binding): Give it external linkage. (push_local_binding): Adjust call to add_binding. (push_class_binding): Likewise. (set_identifier_type_value_with_scope): Change prototype. Use add_binding for global bindings. (set_identifier_type_value): Adjust accordingly. (pushtag): Likewise. (pushdecl): Use set_identifier_type_value, not set_identifier_type_value_with_scope. (pushdecl_namespace_level): Adjust calls to SET_IDENTIFIER_TYPE_VALUE to pass a DECL. (pushdecl_class_level): Likewise. (lookup_tag): Use select_decl. (select_decl): Improve comment. (record_builtin_type): Do not call pushdecl. (cxx_init_decl_processing): Do not call xref_tag for bad_alloc. (cp_finish_decl): Adjust call to set_identifier_type_value. (check_elaborated_type_specifier): Improve checks for invalid uses of typedefs. (xref_tag): Adjust call to check_elaborated_type_specifier. * decl2.c (grokclassfn): Do not set TYPE_HAS_DESTRUCTOR. * name-lookup.c (set_namespace_binding): Use add_binding. * parser.c (cp_parser_simple_type_specifier): Return a TYPE_DECL, rather than an IDENTIFIER_NODE, to represent built-in types, if requested by the caller. (cp_parser_postfix_expression): Adjust call. (cp_parser_type_specifier): Likewise. (cp_parser_elaborated_type_specifier): Adjust call to check_elaborated_type_specifier. * typeck2.c (build_functional_cast): Do not perform name lookups. PR c++/10717 * decl.c (expand_static_init): Remove unncessary code. PR c++/10926 * g++.dg/template/dtor2.C: New test. PR c++/11684 * g++.dg/template/operator1.C: New test. * g++.dg/parse/operator4.C: New test. PR c++/11946.C * g++.dg/expr/enum1.C: New test. * gcc.dg/c99-bool-1.c: Remove bogus warning. PR c++/11036.C * g++.dg/parse/elab2.C: New test. * g++.dg/parse/typedef4.C: Change error message. * g++.old-deja/g++.robertl/eb133.C: Remove bogus error markers. * g++.old-deja/g++.robertl/eb133a.C: Remove bogus error markers. * g++.old-deja/g++.robertl/eb133b.C: Remove bogus error markers. From-SVN: r70593
Mark Mitchell committed -
2003-08-19 Geoffrey Keating <geoffk@apple.com> * cpppch.c (cpp_valid_state): Re-add warning about PCH not used because some macro is defined. Index: testsuite/ChangeLog 2003-08-19 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/warn-1.c: New. * gcc.dg/pch/warn-1.hs: New. * lib/dg-pch.exp (dg-pch): Use 'return' not 'continue' to skip not-tested file. From-SVN: r70592
Geoffrey Keating committed -
* crossconfig.m4 (*-darwin*): Add a large and boring stanza for crosses to Darwin targets. * configure: Regenerate. From-SVN: r70590
Geoffrey Keating committed -
* config/darwin.h (LINK_COMMAND_SPEC): Add -arch and -arch_only options. * config/i386/darwin.h (ASM_SPEC): New. (SUBTARGET_EXTRA_SPECS): New. * config/rs6000/darwin.h (ASM_SPEC): New. (SUBTARGET_EXTRA_SPECS): New. * configure.in: Don't set CROSS or SYSTEM_HEADER_DIR when building a cross-compiler between two different processors on Darwin. * configure: Regenerate. From-SVN: r70589
Geoffrey Keating committed -
From-SVN: r70588
Andrew Pinski committed -
* configure.in: Disable libgcj for darwin not on powerpc. * configure: Rebuild. From-SVN: r70587
Geoffrey Keating committed -
From-SVN: r70585
GCC Administrator committed
-
- 19 Aug, 2003 2 commits
-
-
* builtins.c: Fix comment typos. * c-common.c: Likewise. * c-decl.c: Likewise. * c-pretty-print.c: Likewise. * cfgbuild.c: Likewise. * cfglayout.c: Likewise. * cfgloopanal.c: Likewise. * cgraphunit.c: Likewise. * cppfiles.c: Likewise. * dwarfout.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * gcse.c: Likewise. * ggc-page.c: Likewise. * haifa-sched.c: Likewise. * pretty-print.c: Likewise. * tree.c: Likewise. * tree.h: Likewise. * value-prof.c: Likewise. From-SVN: r70583
Kazu Hirata committed -
From-SVN: r70581
Andrew Pinski committed
-