1. 23 Aug, 2003 4 commits
    • pa.c: Replace 'GNU CC' with 'GCC'. · b7849684
      2003-08-22  Jason Eckhardt  <jle@rice.edu>
      
      	* config/pa/pa.c: Replace 'GNU CC' with 'GCC'.
      	Remove all uses of PARAMS macro.
      	Convert all function definitions to ISO C90 syntax.
      	* config/pa/elf.h: Replace 'GNU CC' with 'GCC'.
      	* config/pa/fptr.c: Likewise.
      	* config/pa/lib2funcs.asm: Likewise.
      	* config/pa/long_double.h: Likewise.
      	* config/pa/milli64.S: Likewise.
      	* config/pa/pa-64.h: Likewise.
      	* config/pa/pa-hpux.h: Likewise.
      	* config/pa/pa-hpux10.h: Likewise.
      	* config/pa/pa-hpux11.h: Likewise.
      	* config/pa/pa-linux.h: Likewise.
      	* config/pa/pa-modes.def: Likewise.
      	* config/pa/pa-osf.h: Likewise.
      	* config/pa/pa-pro-end.h: Likewise.
      	* config/pa/pa.md: Likewise.
      	* config/pa/pa32-linux.h: Likewise.
      	* config/pa/pa64-linux.h: Likewise.
      	* config/pa/pa64-hpux.h: Likewise.
      	* config/pa/pa64-regs.h: Likewise.
      	* config/pa/quadlib.c: Likewise.
      	* config/pa/rtems.h: Likewise.
      	* config/pa/pa-protos.h: Replace 'GNU CC' with 'GCC' and remove
      	all uses of the PARAMS macro.
      	* config/pa/pa.h: Likewise.
      	* config/pa/som.h: Likewise.
      
              * config/iq2000/iq2000.c: Replace 'GNU CC' with 'GCC'.
              Remove all uses of PARAMS macro.
              Convert all function definitions to ISO C90 syntax.
      	* config/iq2000-protos.h: Replace 'GNU CC' with 'GCC'.
              Remove all uses of PARAMS macro.
      	* config/iq2000.h: Remove all uses of PARAMS macro.
              * config/iq2000/iq2000.md: Replace 'GNU CC' with 'GCC'.
      
      From-SVN: r70715
      Jason Eckhardt committed
    • s390-protos.h (s390_output_pool_entry): Declare. · 416cf582
      	* config/s390/s390-protos.h (s390_output_pool_entry): Declare.
      	* config/s390/s390.c (gen_consttable): Remove.
      	(s390_dump_pool): Use UNSPECV_POOL_ENTRY for pool entry insns.
      	(s390_output_pool_entry): New function.
      	* config/s390/s390.md (UNSPECV_POOL_QI, UNSPECV_POOL_HI,
      	UNSPECV_POOL_SI, UNSPECV_POOL_DI, UNSPECV_POOL_TI,
      	UNSPECV_POOL_SF, UNSPECV_POOL_DF): Remove, replace by ...
      	(UNSPECV_POOL_ENTRY): ... this new constant.
      	("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
      	"consttable_ti", "consttable_sf", "consttable_df"): Remove ...
      	("*pool_entry"): ... and replace by this new insn.
      	("literal_pool_31"): Do not emit anchor label if pool empty.
      
      	* config/s390/s390.c (struct machine_function): Add save_return_addr_p.
      	(s390_optimize_prolog): Save RETURN_REGNUM if save_return_addr_p.
      	(s390_fixup_clobbered_return_reg): Remove.
      	(s390_reorg): Don't call s390_fixup_clobbered_return_reg.
      	(s390_return_addr_rtx): Always retrieve return address from save area
      	slot.  Use save_return_addr_p to force slot to be filled.
      	(s390_emit_prologue): Remove has_hard_reg_initial_val test.
      
      From-SVN: r70714
      Ulrich Weigand committed
    • Daily bump. · 27a9da79
      From-SVN: r70712
      GCC Administrator committed
  2. 22 Aug, 2003 18 commits
  3. 21 Aug, 2003 18 commits
    • re PR libgcj/12013 (Calling Reference.clear() can cause runtime to crash.) · c9a61d5a
      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
      David Daney committed
    • re PR c++/11283 (ICE in build_conditional_expr) · aa779cf3
              PR c++/11283
              * call.c (build_conditional_expr): Ignore cv-qual differences for
              non-class types.
      
      From-SVN: r70667
      Jason Merrill committed
    • * 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