Jason Eckhardt
edf11bdaab
calls.c (emit_library_call_value_1): Remove code related to LIBGCC_NEEDS_DOUBLE.
...
2003-08-23 Jason Eckhardt <jle@rice.edu>
* calls.c (emit_library_call_value_1): Remove code related
to LIBGCC_NEEDS_DOUBLE.
* config/stormy16/stormy16.h: Remove mention of LIBGCC_NEEDS_DOUBLE.
* doc/tm.texi: Likewise.
* system.h: Poison the LIBGCC_NEEDS_DOUBLE macro.
From-SVN: r70740
2003-08-23 18:03:06 +00:00
Richard Sandiford
e2a188b234
* config/mips/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
...
From-SVN: r70739
2003-08-23 17:14:11 +00:00
Richard Sandiford
520d96c621
mips.c (mips_setup_incoming_varargs): Handle o32 and o64 as well.
...
* config/mips/mips.c (mips_setup_incoming_varargs): Handle o32 and o64
as well. Put memory references in the varargs alias set.
(mips_expand_prologue): Remove varargs handling from here.
From-SVN: r70738
2003-08-23 17:10:52 +00:00
Ulrich Weigand
4779869270
s390.c (s390_expand_movstr, [...]): Use ISO C syntax for function pointer calls.
...
* config/s390/s390.c (s390_expand_movstr, s390_expand_clrstr,
s390_expand_cmpmem, s390_output_constant_pool, s390_build_va_list,
s390_function_profiler, s390_output_mi_thunk): Use ISO C syntax
for function pointer calls.
* config/s390/s390.md ("*negdi2_31"): Likewise.
From-SVN: r70735
2003-08-23 15:39:18 +00:00
Roger Sayle
a0209ac28f
* combine.c (apply_distributive_law): Correct comment.
...
From-SVN: r70734
2003-08-23 14:46:22 +00:00
Kriang Lerdsuwanakij
a653d067f7
re PR c++/3765 (member using declaration can't change access from public)
...
PR c++/3765
* search.c (dfs_access_in_type): Fix typo in comment.
(dfs_accessible_queue_p): Likewise.
(dfs_accessible_p): Only terminate when a friend is found.
(accessible_p): Return immediately if access_in_type allows
access.
* g++.dg/parse/access6.C: New test.
From-SVN: r70733
2003-08-23 13:02:17 +00:00
Kriang Lerdsuwanakij
19db77cefe
PR c++/641, c++/11876
...
PR c++/641, c++/11876
* friend.c (add_friend): Add complain parameter.
(make_friend_class): Likewise.
(do_friend): Adjust add_friend call.
* decl.c (grokdeclarator): Adjust make_friend_class call.
* parser.c (cp_parser_member_declaration): Likewise.
(cp_parser_template_declaration_after_exp): Likewise.
* pt.c (instantiate_class_template): Adjust make_friend_class
and add_friend call.
* cp-tree.h (make_friend_class): Adjust declaration.
(add_friend): Likewise.
* g++.dg/template/friend22.C: New test.
* g++.dg/template/friend23.C: Likewise.
From-SVN: r70732
2003-08-23 12:53:48 +00:00
Jason Eckhardt
fe23226319
i860.h: Remove comment mentioning LIBGCC_NEEDS_DOUBLE.
...
2003-08-23 Jason Eckhardt <jle@rice.edu>
* config/i860/i860.h: Remove comment mentioning LIBGCC_NEEDS_DOUBLE.
From-SVN: r70731
2003-08-23 05:56:51 +00:00
Andreas Tobler
0099b66d36
re PR libgcj/8823 (gij doesn't handle "Miranda methods" (abstract class that implements interface but doesn't define all methods))
...
2003-08-23 Andreas Tobler <a.tobler@schweiz.ch>
PR libgcj/8823
* libjava.lang/pr8823.xfail: Removed.
From-SVN: r70730
2003-08-23 07:31:36 +02:00
Jason Eckhardt
5dab8d924c
i860.c (i860_build_va_list): Create the va_decl declaration.
...
2003-08-22 Jason Eckhardt <jle@rice.edu>
* config/i860/i860.c (i860_build_va_list): Create the va_decl
declaration. Document the va_list structure.
(i860_va_start): Initialize the va_list structure.
(i860_va_arg): Rewrite completely.
* config/i860/i860.h (LIBGCC_NEEDS_DOUBLE): Don't define.
* config/i860/varargs.asm: Do not allocate or initialize
a va_list. Return the address of the register save area.
From-SVN: r70729
2003-08-23 04:20:02 +00:00
Phil Edwards
415d7ef97d
configure.in: Use newline instead of semicolon when assuming shell arguments in a for loop.
...
2003-08-23 Phil Edwards <pme@gcc.gnu.org>
* configure.in: Use newline instead of semicolon when assuming
shell arguments in a for loop.
* configure: Regenerated.
From-SVN: r70728
2003-08-23 04:17:04 +00:00
Kazu Hirata
2cac216be3
iq2000.c: Fix comment typos.
...
* config/iq2000/iq2000.c: Fix comment typos.
* config/iq2000/iq2000.md: Likewise.
From-SVN: r70727
2003-08-23 02:59:37 +00:00
Kazu Hirata
4375e09001
iq2000.c: Follow spelling conventions.
...
* config/iq2000/iq2000.c: Follow spelling conventions.
* config/iq2000/iq2000.h: Likewise.
* config/mn10300/mn10300.c: Likewise.
From-SVN: r70726
2003-08-23 02:51:23 +00:00
Jason Eckhardt
a36b8cb840
i860.c (output_move_double): Don't set latehalf to zero for CONST_INT (since it could be, e.g., -1).
...
2003-08-22 Jason Eckhardt <jle@rice.edu>
* config/i860/i860.c (output_move_double): Don't set latehalf
to zero for CONST_INT (since it could be, e.g., -1).
* config/i860/i860.h (REMSI3_LIBCALL): Replace this macro...
(MODSI3_LIBCALL): ...with this one.
(UREMSI3_LIBCALL): Replace this macro...
(UMODSI3_LIBCALL): ...with this one.
From-SVN: r70725
2003-08-23 02:46:12 +00:00
Jason Eckhardt
89520fd7cb
i860-protos.h (output_delay_insn): Remove prototype.
...
2003-08-22 Jason Eckhardt <jle@rice.edu>
* config/i860/i860-protos.h (output_delay_insn): Remove prototype.
(output_delayed_branch): Remove prototype.
(single_insn_src_p): Remove prototype.
* config/i860/i860.c (single_insn_src_p): Remove function.
(output_delayed_branch): Remove function.
(output_delay_insn): Remove function.
(va_start): Remove unconditional test and dead code, re-format.
Fix coding style and spelling problems in various comments.
* config/i860/i860.md (UNSPECV_BLOCKAGE): Define constant...
(blockage pattern): ...and use it here.
(all define_peephole patterns related to delayed branches): Remove.
Fix coding style and spelling problems in various comments.
From-SVN: r70724
2003-08-23 02:30:35 +00:00
Jason Eckhardt
8274e603cf
i860.c: Replace all occurrences of 'GNU CC' with 'GCC'.
...
2003-08-22 Jason Eckhardt <jle@rice.edu>
* config/i860/i860.c: Replace all occurrences of 'GNU CC' with 'GCC'.
Remove all uses of the PARAMS macro. Remove superflous prototypes.
Convert all function definitions from traditional to ISO C90 syntax.
* config/i860/i860-protos.h: Replace all occurrences of 'GNU CC'
with 'GCC'. Remove all uses of the PARAMS macro.
* config/i860/i860.h: Replace all occurrences of 'GNU CC' with 'GCC'.
* config/i860/i860.md: Likewise.
* config/i860/sysv4.h: Likewise.
* config/i860/varargs.asm: Likewise.
From-SVN: r70723
2003-08-23 02:24:14 +00:00
Jason Eckhardt
cfbdb83034
i860-protos.h (i860_va_start): Remove 'stdarg_p' argument.
...
2003-08-22 Jason Eckhardt <jle@rice.edu>
* config/i860/i860-protos.h (i860_va_start): Remove 'stdarg_p'
argument.
(tdesc_section): Add prototype.
Update copyright dates.
* config/i860/i860.c: Include coretypes.h, tm.h, and toplev.h.
(TARGET_ASM_FUNCTION_PROLOGUE): Move definition to end of file.
(TARGET_ASM_FUNCTION_EPILOGUE): Likewise.
(targetm): Likewise.
(i860_output_function_prologue): Substitute HOST_WIDE_INT_PRINT_DEC
for '%d' where necessary.
(i860_va_start): Remove 'stdarg_p' argument. Make conditional checks
on 'stdarg_p' unconditional. Divide current_function_args_info.ints
by UNITS_PER_WORD when referencing (likewise for .floats).
(I860_SVR4_VARARGS): Rename...
(I860_SVR4_VA_LIST): ...to this.
Call build() with 't' rather than 'field'.
(i860_rtx_costs): New function.
(TARGET_RTX_COSTS): Define.
(i860_internal_label): New function.
(TARGET_ASM_INTERNAL_LABEL): Define.
(i860_file_start): New function.
Update copyright dates.
* config/i860/i860.h (CPP_PREDEFINES): Remove.
(TARGET_CPU_CPP_BUILTINS): Define.
(EXPAND_BUILTIN_VA_START): Remove 'stdarg' argument.
(CONST_COSTS): Remove (and move code to i860_rtx_costs).
(ASM_FILE_START): Remove.
(ASM_FILE_START_1): Remove.
(ASM_GLOBALIZE_LABEL): Remove.
(ASM_OUTPUT_INTERNAL_LABEL): Remove.
(ASM_OUTPUT_CASE_LABEL): Replace call of ASM_OUTPUT_INTERNAL_LABEL
with targetm.asm_out.internal_label.
Update copyright dates.
* config/i860/sysv4.h (USER_LABEL_PREFIX): Define.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
(GLOBAL_ASM_OP): Define.
(ASM_FILE_START): Remove.
(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Define.
(TARGET_ASM_FILE_START): Define.
Update copyright dates.
From-SVN: r70722
2003-08-23 02:11:38 +00:00
Mark Mitchell
35f73a73cc
linkage.exp: Treat all HP-UX platforms identically.
...
* gcc.misc-tests/linkage.exp: Treat all HP-UX platforms
identically.
From-SVN: r70721
2003-08-23 02:03:16 +00:00
Jason Eckhardt
e156735260
MAINTAINERS: Resurrect the i860 maintainer.
...
2003-08-22 Jason Eckhardt <jle@rice.edu>
ChangeLog
* MAINTAINERS: Resurrect the i860 maintainer.
gcc/ChangeLog:
* gcc/config.gcc (i860-*-sysv4*): Add target.
* config/i860/i860-protos.h: New.
* config/i860/i860.c: New.
* config/i860/i860.h: New.
* config/i860/i860.md: New.
* config/i860/sysv4.h: New.
* config/i860/varargs.asm: New.
* config/i860/x-sysv4: New.
From-SVN: r70719
2003-08-23 02:02:18 +00:00
Mark Mitchell
6560773ad4
* g++.old-deja/g++.ext/attrib5.C: XFAIL on hppa2*-hp-hpux11*.
...
From-SVN: r70717
2003-08-23 01:53:28 +00:00
Jason Eckhardt
b7849684fa
pa.c: Replace 'GNU CC' with 'GCC'.
...
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
2003-08-23 01:32:59 +00:00
Ulrich Weigand
416cf582d3
s390-protos.h (s390_output_pool_entry): Declare.
...
* 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
2003-08-23 00:17:35 +00:00
GCC Administrator
27a9da797e
Daily bump.
...
From-SVN: r70712
2003-08-23 00:16:07 +00:00
Chris Demetriou
beadc644df
mips.h (MASK_FIX_SB1, [...]): New defines.
...
2003-08-22 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.h (MASK_FIX_SB1, TARGET_FIX_SB1): New defines.
(TARGET_SWITCHES): Add -mfix-sb1 and -mno-fix-sb1.
* config/mips/mips.md (divdf3, divsf3, sqrtdf2, sqrtsf2): Work
around SB-1 errata if TARGET_FIX_SB1 is set.
(recip.d insn, recip.s insn, rsqrt.d insn, rsqrt.s insn): Likewise.
* doc/invoke.texi: Document MIPS -mfix-sb1 and -mno-fix-sb1.
From-SVN: r70707
2003-08-22 15:36:42 -07:00
Roger Sayle
4ae2e3e922
hashtable.c (ht_expand): Avoid calculating rehash for the common case that the first probe hits an empty...
...
* hashtable.c (ht_expand): Avoid calculating rehash for the common
case that the first probe hits an empty hash table slot.
From-SVN: r70706
2003-08-22 22:29:17 +00:00
Mark Mitchell
a30f2d659c
* gcc.dg/20020313-1.c: Add "-w" to dg-options.
...
From-SVN: r70705
2003-08-22 21:54:25 +00:00
Mark Mitchell
7741796c2b
* gcc.misc-tests/linkage.exp: Add logic for ia64-hp-hpux*.
...
From-SVN: r70703
2003-08-22 21:36:00 +00:00
Mark Mitchell
74487c57fe
* config/ia64/hpux.h (SUPPORTS_INIT_PRIORITY): Define to 0.
...
From-SVN: r70701
2003-08-22 21:09:04 +00:00
Thomas Fitzsimmons
50fe737a03
GdkGraphics.java (drawString): Pass font name, not XLFD, to native drawString.
...
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 20:33:50 +00:00
Mark Mitchell
376de22592
* g++.dg/other/packed1.C: Add XFAIL marker for ia64-hp-hpux*.
...
From-SVN: r70695
2003-08-22 19:49:30 +00:00
Mark Mitchell
36c216e5d0
ia64.md (*ptr_extend_plus_1): Rename to ...
...
* 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-22 17:58:05 +00:00
Geoffrey Keating
078cfb668e
Index: 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.
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-22 17:05:20 +00:00
Bernardo Innocenti
02ac9ec6cb
m68k.c (m68k_coff_asm_named_section): remove unused function.
...
* 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-22 18:52:56 +02:00
Kazu Hirata
dac4a0ded6
i386.c (const_int_1_operand): Simplify an integer comparison.
...
* config/i386/i386.c (const_int_1_operand): Simplify an
integer comparison.
From-SVN: r70689
2003-08-22 14:44:56 +00:00
Thomas Fitzsimmons
eb2a5f91b2
GtkWindowPeer.java: Remove GTK_WINDOW_DIALOG.
...
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-22 14:34:37 +00:00
Alan Modra
65dbc87090
fp-bit.c: Specify config/ dir for include of fp-bit.h.
...
* config/fp-bit.c: Specify config/ dir for include of fp-bit.h.
* config/rs6000/ppc64-fp.c: Likewise.
From-SVN: r70679
2003-08-22 19:03:25 +09:30
Kazu Hirata
dcc2467855
cfgcleanup.c: Fix comment typos.
...
* 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-22 07:03:15 +00:00
Kazu Hirata
beb235f896
c-decl.c: Fix comment formatting.
...
* 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-22 06:45:14 +00:00
Kazu Hirata
2b72593e40
builtin-attrs.def: Fix comment formatting.
...
* 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-22 06:25:09 +00:00
Bernardo Innocenti
8a4a2253e3
m68k-protos.h: Convert to ISO C90.
...
* config/m68k/m68k-protos.h: Convert to ISO C90.
* config/m68k/m68k.c: Likewise.
From-SVN: r70675
2003-08-22 06:02:50 +02:00
GCC Administrator
896a9055f1
Daily bump.
...
From-SVN: r70671
2003-08-22 00:16:07 +00:00
David Daney
c9a61d5aa7
re PR libgcj/12013 (Calling Reference.clear() can cause runtime to crash.)
...
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-21 22:08:09 +00:00
Jason Merrill
aa779cf369
re PR c++/11283 (ICE in build_conditional_expr)
...
PR c++/11283
* call.c (build_conditional_expr): Ignore cv-qual differences for
non-class types.
From-SVN: r70667
2003-08-21 18:02:27 -04:00
Mark Mitchell
9d3d50d27e
* gcc_build: Fix handling of -t option. Add -x option.
...
From-SVN: r70658
2003-08-21 18:59:05 +00:00
Scott Gilbertson
c79c6c5b9e
Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java.
...
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-21 18:39:56 +00:00
Bernardo Innocenti
eb84999398
m68k.c (m68k_rtx_costs): Adjust mul/div costs for ColdFire cores.
...
* 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-21 19:47:41 +02:00
Mark Mitchell
f3c2dfc629
re PR c++/11551 (g++ accepts typedef as destructor name)
...
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-21 17:44:16 +00:00
Zack Weinberg
ca11c37c5d
Makefile.in (INCLUDES): Remove -I$(srcdir)/config.
...
* 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-21 17:27:29 +00:00
Per Bothner
ac650a0a32
cppfiles.c (stack_file): Correctly pass return_at_eof parameter to 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-21 08:57:51 -07:00
Richard Earnshaw
17fdfd9fc3
configure.in: Fix detection of gcj when building with newlib.
...
* configure.in: Fix detection of gcj when building with newlib.
* configure: Regenerated.
From-SVN: r70644
2003-08-21 13:25:46 +00:00