1. 21 Aug, 2003 20 commits
    • * gcc_build: Fix handling of -t option. Add -x option. · 9d3d50d2
      From-SVN: r70658
      Mark Mitchell committed
    • Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java. · c79c6c5b
      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
      Scott Gilbertson committed
    • m68k.c (m68k_rtx_costs): Adjust mul/div costs for ColdFire cores. · eb849993
      	* 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
      Bernardo Innocenti committed
    • re PR c++/11551 (g++ accepts typedef as destructor name) · f3c2dfc6
      	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
      Mark Mitchell committed
    • Makefile.in (INCLUDES): Remove -I$(srcdir)/config. · ca11c37c
      	* 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
      Zack Weinberg committed
    • cppfiles.c (stack_file): Correctly pass return_at_eof parameter to cpp_push_buffer. · ac650a0a
      
      	* 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
      Per Bothner committed
    • configure.in: Fix detection of gcj when building with newlib. · 17fdfd9f
      * configure.in: Fix detection of gcj when building with newlib.
      * configure: Regenerated.
      
      From-SVN: r70644
      Richard Earnshaw committed
    • re PR target/11805 ([H8300] ICE) · 43c446b8
      	PR target/11805
      	* config/h8300/h8300.md (two anonymous patterns): Remove.
      	* testsuite/gcc.c-torture/compile/20030821-1.c: New.
      
      From-SVN: r70643
      Kazu Hirata committed
    • mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause. · 7bc22451
      	* 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
      Richard Sandiford committed
    • re PR c++/11834 (template specialization not matched) · 35c18a20
      	PR c++/11834
      	* pt.c (more_specialized): Bump processing_template_decl.
      
      	PR c++/11834
      	* g++.dg/template/deduce2.C: New test.
      
      From-SVN: r70639
      Mark Mitchell committed
    • Test from http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01198.html · c4c83fff
      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
      Josef Zlomek committed
    • fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0 and similarly in… · ed6f90f7
      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
    • re PR c++/11614 (Incorrect handling of pointers to arrays) · 01bf0f3e
              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. · 9eeb200f
              * 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
    • Index: ChangeLog · e50084fa
      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. · b348267b
      	* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for
      	make, shell, etc.
      	(baseargs): Likewise.
      	* configure: Regenerate.
      
      From-SVN: r70633
      Geoffrey Keating committed
    • * longlong.h (umul_ppmm): Add ColdFire support. · bab4470d
      From-SVN: r70631
      Peter Barada committed
    • m68k-none.h: Introduce new ColdFire archs. · 9425fb04
      	* 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
    • Daily bump. · 03d4ad27
      From-SVN: r70628
      GCC Administrator committed
    • m68k.c: Strip away code depending on NO_ADDSUB_Q definition. · d1b87863
      	* config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
      	* config/m68k/m68k.md: Likewise.
      
      From-SVN: r70626
      Bernardo Innocenti committed
  2. 20 Aug, 2003 20 commits