aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-08-22GdkGraphics.java (drawString): Pass font name, not XLFD, to native drawString.Thomas Fitzsimmons4-13/+33
2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font name, not XLFD, to native drawString. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): Replace XLFD-based implementation with Pango-based implementation. From-SVN: r70698
2003-08-22* g++.dg/other/packed1.C: Add XFAIL marker for ia64-hp-hpux*.Mark Mitchell2-1/+5
From-SVN: r70695
2003-08-22ia64.md (*ptr_extend_plus_1): Rename to ...Mark Mitchell3-15/+50
* config/ia64/ia64.md (*ptr_extend_plus_1): Rename to ... (ptr_extend_plus_imm): ... this. * config/ia64/ia64.c (addp4_optimize_ok): Do not disable addp4 optimization in C++. (ia64_output_mi_thunk): Support ILP32 mode. From-SVN: r70692
2003-08-22Index: ChangeLogGeoffrey Keating1-36/+37
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: r70691
2003-08-22m68k.c (m68k_coff_asm_named_section): remove unused function.Bernardo Innocenti2-33/+6
* gcc/config/m68k/m68k.c (m68k_coff_asm_named_section): remove unused function. * gcc/config/m68k/m68k.c (-m68k_svr3_asm_out_constructor): likewise. From-SVN: r70690
2003-08-22i386.c (const_int_1_operand): Simplify an integer comparison.Kazu Hirata2-1/+6
* config/i386/i386.c (const_int_1_operand): Simplify an integer comparison. From-SVN: r70689
2003-08-22GtkWindowPeer.java: Remove GTK_WINDOW_DIALOG.Thomas Fitzsimmons3-5/+9
2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1. From-SVN: r70688
2003-08-22fp-bit.c: Specify config/ dir for include of fp-bit.h.Alan Modra3-2/+7
* config/fp-bit.c: Specify config/ dir for include of fp-bit.h. * config/rs6000/ppc64-fp.c: Likewise. From-SVN: r70679
2003-08-22cfgcleanup.c: Fix comment typos.Kazu Hirata7-7/+16
* cfgcleanup.c: Fix comment typos. * emit-rtl.c: Likewise. * optabs.c: Likewise. * ra-build.c: Likewise. * rtlanal.c: Likewise. * tree.h: Likewise. From-SVN: r70678
2003-08-22c-decl.c: Fix comment formatting.Kazu Hirata15-19/+36
* c-decl.c: Fix comment formatting. * cfgrtl.c: Likewise. * combine.c: Likewise. * convert.c: Likewise. * dominance.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * expmed.c: Likewise. * fold-const.c: Likewise. * gcov.c: Likewise. * genattrtab.c: Likewise. * ggc-common.c: Likewise. * mips-tfile.c: Likewise. * regmove.c: Likewise. From-SVN: r70677
2003-08-22builtin-attrs.def: Fix comment formatting.Kazu Hirata8-12/+22
* builtin-attrs.def: Fix comment formatting. * c-pretty-print.c: Likewise. * diagnostic.h: Likewise. * langhooks.h: Likewise. * recog.c: Likewise. * simplify-rtx.c: Likewise. * tree.def: Likewise. From-SVN: r70676
2003-08-22m68k-protos.h: Convert to ISO C90.Bernardo Innocenti3-200/+127
* config/m68k/m68k-protos.h: Convert to ISO C90. * config/m68k/m68k.c: Likewise. From-SVN: r70675
2003-08-22Daily bump.GCC Administrator2-2/+2
From-SVN: r70671
2003-08-21re PR libgcj/12013 (Calling Reference.clear() can cause runtime to crash.)David Daney3-9/+25
2003-08-21 David Daney <ddaney@avtrex.com> Fix for PR libgcj/12013: * java/lang/ref/natReference.cc (finalize_referred_to_object): Check `cleared' field. * java/lang/ref/Reference.java (copy): Updated comments. (cleared): New field. (clear): Rewrote. From-SVN: r70668
2003-08-21re PR c++/11283 (ICE in build_conditional_expr)Jason Merrill3-2/+31
PR c++/11283 * call.c (build_conditional_expr): Ignore cv-qual differences for non-class types. From-SVN: r70667
2003-08-21* gcc_build: Fix handling of -t option. Add -x option.Mark Mitchell2-4/+12
From-SVN: r70658
2003-08-21Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java.Scott Gilbertson9-106/+169
2003-08-21 Scott Gilbertson <scottg@mantatest.com> Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java. Remove gnu/java/awt/GLightweightPeer.java. * gnu/java/awt/GLightweightPeer.java: Remove file. * gnu/java/awt/peer/GLightweightPeer.java: New file. * java/awt/Component.java (getToolkit): Add comment about lightweight components. * java/awt/Toolkit.java (createComponent): Return gnu.java.awt.peer.GLightweightPeer. Co-Authored-By: Thomas Fitzsimmons <fitzsim@redhat.com> From-SVN: r70657
2003-08-21m68k.c (m68k_rtx_costs): Adjust mul/div costs for ColdFire cores.Bernardo Innocenti2-6/+20
* config/m68k/m68k.c (m68k_rtx_costs): Adjust mul/div costs for ColdFire cores. Co-Authored-By: Paul Dale <pauli@snapgear.com> Co-Authored-By: Peter Barada <peter@baradas.org> From-SVN: r70653
2003-08-21re PR c++/11551 (g++ accepts typedef as destructor name)Mark Mitchell8-50/+127
PR c++/11551 * parser.c (cp_parser_id_expression): Add declarator_p parameter. (cp_parser_primary_expression): Adjust call to cp_parser_id_expression. (cp_parser_unqualified_id): Complain about the use of typedef-names in a destructor declarator. (cp_parser_postfix_expression): Adjust call to cp_parser_id_expression. (cp_parser_type_parameter): Likewise. (cp_parser_template_argument): Likewise. (cp_parser_declarator_id): Likewise. PR c++/11919 * call.c (standard_conversion): Use same_type_p, not pointer equality, to compare types. PR c++/10762 * parser.c (cp_parser_using_declaration): Check for invalid uses of template-ids here... * decl2.c (do_class_using_decl): ... rather than here. PR c++/11919 * g++.dg/overload/prom1.C: New test. PR c++/11551 * g++.dg/parse/dtor2.C: New test. PR c++/10762 * g++.dg/parse/using2.C: New test. From-SVN: r70652
2003-08-21Makefile.in (INCLUDES): Remove -I$(srcdir)/config.Zack Weinberg44-446/+332
* Makefile.in (INCLUDES): Remove -I$(srcdir)/config. * config.gcc (*-*-openbsd): Don't set tm_file. (alpha*-*-openbsd, arm*-*-coff*, arm*-wince-pe*, arm-*-pe*, avr-*-*, h8300-*-rtems*, h8300-*-elf*, h8300-*-*, hppa*-*-osf*, hppa*-*-bsd*, hppa*-*-hpux*, i370-*-opened*, i370-*-mvs*, i370-*-linux*, i?86-*-openbsd*, i?86-*-lynxos, i?86-*-nto-qnx*, iq2000*-*-elf*, m68000-hp-hpux*, m68k-hp-hpux*, m68k-*-aout*, m68k-*-coff*, m68020-*-elf*, m68k-*-elf*, m68k*-*-netbsd*, m68k*-*-openbsd*, m68k-*-sysv4*, m68k-*-linux*, m68k-*-rtems*, mcore-*-pe*, mips*-*-netbsd*, mips*-*-openbsd*, rs6000-*-lynxos*, sh*-*-elf*, sh*-*-ka, sh-*-rtemself, sparc-*-openbsd*, strongarm-*-pe, vax-*-openbsd*, xscale-*-coff): Use explicit and complete lists of target headers to include. Move definitions to tm_defines where appropriate. (hppa*-*-openbsd*, powerpc-*-openbsd*): Comment out stanza for not-yet-contributed configuration. * config/lynx.h, config/alpha/openbsd.h, config/arm/coff.h * config/avr/avr.h, config/frv/frv.h, config/h8300/elf.h * config/i370/linux.h, config/i370/mvs.h, config/i370/oe.h * config/i386/nto.h, config/iq2000/iq2000.h, * config/m68k/coff.h, config/m68k/hp310.h, config/m68k/hp320.h * config/m68k/linux.h, config/m68k/m68k-aout.h * config/m68k/m68k-none.h, config/m68k/m68kv4.h * config/m68k/netbsd.h, config/m68k/openbsd.h * config/m68k/sgs.h, config/mcore/mcore-pe.h, * config/mips/netbsd.h, config/mips/openbsd.h, config/pa/pa.h, * config/rs6000/lynx.h, config/sh/embed-elf.h, config/sparc/openbsd.h: Remove includes of other target config headers, and definitions of macros moved to tm_defines lists. Add #undefs where now necessary to prevent redefinition warnings. * config/h8300/coff.h: New file split out of... * config/h8300/elf.h: ...here. * config/m68k/hp320base.h: New file split out of... * config/m68k/hp320.h: ...here. * config/rs6000/lynxbase.h: New file split out of... * config/rs6000/lynx.h: ...here. * config/m68k/hp310g.h, config/m68k/hp320g.h, config/m68k/hpux7.h * config/m68k/m68k-coff.h, config/mips/openbsd-be.h: Delete file. * config/sol2.h: Remove #if 0-ed #include of sys/mman.h. * config/m68k/m68kelf.h: Remove commented out #include of m68k/sgs.h. * config/mcore/mcore.h: Don't include hwint.h nor machmode.h. Remove unnecessary #ifndef. * config/s390/s390.h: Prefix #include of s390/fixdfdi.h [under IN_LIBGCC2] with config/. From-SVN: r70651
2003-08-21cppfiles.c (stack_file): Correctly pass return_at_eof parameter to ↵Per Bothner3-4/+9
cpp_push_buffer. * cppfiles.c (stack_file): Correctly pass return_at_eof parameter to cpp_push_buffer. * cpplex.c (_cpp_get_fresh_line): Don't buffer->prev - handled by return_at_eof check. Always call _cpp_pop_buffer at end. From-SVN: r70646
2003-08-21configure.in: Fix detection of gcj when building with newlib.Richard Earnshaw3-10/+15
* configure.in: Fix detection of gcj when building with newlib. * configure: Regenerated. From-SVN: r70644
2003-08-21re PR target/11805 ([H8300] ICE)Kazu Hirata4-37/+34
PR target/11805 * config/h8300/h8300.md (two anonymous patterns): Remove. * testsuite/gcc.c-torture/compile/20030821-1.c: New. From-SVN: r70643
2003-08-21mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause.Richard Sandiford3-27/+12
* config/mips/mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause. * config/mips/mips.c (function_arg_pass_by_reference): Never return true for n32 & n64. From-SVN: r70641
2003-08-21re PR c++/11834 (template specialization not matched)Mark Mitchell4-0/+45
PR c++/11834 * pt.c (more_specialized): Bump processing_template_decl. PR c++/11834 * g++.dg/template/deduce2.C: New test. From-SVN: r70639
2003-08-21Test from http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01198.htmlJosef Zlomek2-0/+20
Test from http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01198.html * gcc.c-torture/execute/20030821-1.c: New test. From-SVN: r70638
2003-08-21fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0 and similarly ↵Josef Zlomek2-2/+7
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
2003-08-21re PR c++/11614 (Incorrect handling of pointers to arrays)Jason Merrill2-13/+15
PR c++/11614 * decl.c (grokdeclarator): Recognize a flexible array based on the type, not the form of the declarator. From-SVN: r70636
2003-08-20semantics.c (simplify_aggr_init_expr): Split out from ↵Jason Merrill4-26/+56
simplify_aggr_init_exprs_r. * 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
2003-08-21Index: ChangeLogGeoffrey Keating5-7/+20
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
2003-08-21configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for make, shell, ↵Geoffrey Keating3-65/+102
etc. * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for make, shell, etc. (baseargs): Likewise. * configure: Regenerate. From-SVN: r70633
2003-08-21* longlong.h (umul_ppmm): Add ColdFire support.Peter Barada2-2/+41
From-SVN: r70631
2003-08-21m68k-none.h: Introduce new ColdFire archs.Peter Barada11-413/+533
* 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
2003-08-21Daily bump.GCC Administrator2-2/+2
From-SVN: r70628
2003-08-21m68k.c: Strip away code depending on NO_ADDSUB_Q definition.Bernardo Innocenti3-101/+11
* config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition. * config/m68k/m68k.md: Likewise. From-SVN: r70626
2003-08-20re PR middle-end/11996 (Compiling libjava ICE's.)Mark Mitchell2-10/+10
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
2003-08-21* MAINTAINERS (Write After Approval): Add myself.Bernardo Innocenti2-0/+5
From-SVN: r70623
2003-08-21m68k.md (anonymous define_insn): remove obsolete code selected by ↵Gunther Nikl3-27/+10
FSGLMUL_USE_S and FSGLDIV_USE_S * 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
2003-08-21m68k.c (output_move_const_into_data_reg, [...]): unify MOTOROLA/MIT handling ↵Gunther Nikl3-36/+7
of moveq * 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
2003-08-21m68k.c (m68k_output_function_prologue): use %U in label nameGunther Nikl2-5/+11
* 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
2003-08-20freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle redefine warning.Loren J. Rittle2-0/+6
* config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle redefine warning. From-SVN: r70619
2003-08-20re PR middle-end/11984 (ICE with -ffast_math: expected integer_cst, have ↵Roger Sayle4-1/+28
real_cst) 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
2003-08-20tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.Jason Merrill6-14/+19
* 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
2003-08-20m68k.c (m68k_output_mi_thunk): delete obsolete code depending on MOTOROLA_BSRGunther Nikl3-14/+6
* 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
2003-08-20jni.cc: Replace "cheating" pointer-casting code with extract_from_jvalue<> ↵Graydon Hoare2-5/+20
template. 2003-08-20 Graydon Hoare <graydon@redhat.com> * jni.cc: Replace "cheating" pointer-casting code with extract_from_jvalue<> template. From-SVN: r70613
2003-08-20update bubblestrap docsJason Merrill1-8/+8
From-SVN: r70612
2003-08-20builtins.c (expand_builtin_mathfn): Use get_callee_fndecl.Jason Merrill4-91/+93
* 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
2003-08-20re PR c++/11945 (Incorrect warnings issued for comma-expressions inside ↵Nathan Sidwell6-5/+51
templates) 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
2003-08-20[multiple changes]Andrew Haley5-15/+69
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
2003-08-20Fix typo.Andrew Haley1-2/+2
From-SVN: r70604