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
Kazu Hirata
43c446b86f
re PR target/11805 ([H8300] ICE)
...
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-21 13:13:18 +00:00
Richard Sandiford
7bc224514a
mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause.
...
* 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-21 11:32:16 +00:00
Mark Mitchell
35c18a2035
re PR c++/11834 (template specialization not matched)
...
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-21 05:50:53 +00:00
Josef Zlomek
c4c83fff17
Test from http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01198.html
...
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-21 05:49:15 +00:00
Josef Zlomek
ed6f90f7ff
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
2003-08-21 05:47:43 +00:00
Jason Merrill
01bf0f3e3a
re PR c++/11614 (Incorrect handling of pointers to arrays)
...
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-21 01:24:02 -04:00
Jason Merrill
9eeb200f8a
semantics.c (simplify_aggr_init_expr): Split out from 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-20 23:20:54 -04:00
Geoffrey Keating
e50084fa44
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: r70634
2003-08-21 02:19:33 +00:00
Geoffrey Keating
b348267b2e
configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for make, shell, etc.
...
* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for
make, shell, etc.
(baseargs): Likewise.
* configure: Regenerate.
From-SVN: r70633
2003-08-21 02:14:45 +00:00
Peter Barada
bab4470d32
* longlong.h (umul_ppmm): Add ColdFire support.
...
From-SVN: r70631
2003-08-21 03:11:42 +02:00
Peter Barada
9425fb0472
m68k-none.h: Introduce new ColdFire archs.
...
* 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-21 03:03:37 +02:00
GCC Administrator
03d4ad277b
Daily bump.
...
From-SVN: r70628
2003-08-21 00:16:06 +00:00
Bernardo Innocenti
d1b87863da
m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
...
* config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
* config/m68k/m68k.md: Likewise.
From-SVN: r70626
2003-08-21 02:04:22 +02:00
Mark Mitchell
b6343a3395
re PR middle-end/11996 (Compiling libjava ICE's.)
...
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-20 22:36:08 +00:00
Bernardo Innocenti
ca26ffe060
* MAINTAINERS (Write After Approval): Add myself.
...
From-SVN: r70623
2003-08-21 00:24:34 +02:00
Gunther Nikl
bf4563cbf1
m68k.md (anonymous define_insn): remove obsolete code selected by 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-21 00:15:57 +02:00
Gunther Nikl
0fb8241d37
m68k.c (output_move_const_into_data_reg, [...]): unify MOTOROLA/MIT handling 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-21 00:10:42 +02:00
Gunther Nikl
c23b0b90ee
m68k.c (m68k_output_function_prologue): use %U in label name
...
* 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-21 00:02:53 +02:00
Loren J. Rittle
9e68a9dc75
freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle redefine warning.
...
* config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle
redefine warning.
From-SVN: r70619
2003-08-20 22:00:26 +00:00
Roger Sayle
2cf099a553
re PR middle-end/11984 (ICE with -ffast_math: expected integer_cst, have 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-20 21:55:01 +00:00
Jason Merrill
68ad9159aa
tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
...
* 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-20 17:46:48 -04:00
Gunther Nikl
c8e60672ef
m68k.c (m68k_output_mi_thunk): delete obsolete code depending on MOTOROLA_BSR
...
* 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-20 23:21:21 +02:00
Graydon Hoare
4d6a988ac5
jni.cc: Replace "cheating" pointer-casting code with extract_from_jvalue<> 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-20 19:37:21 +00:00
Jason Merrill
13bef471ea
update bubblestrap docs
...
From-SVN: r70612
2003-08-20 15:33:43 -04:00
Jason Merrill
2f5030259c
builtins.c (expand_builtin_mathfn): Use get_callee_fndecl.
...
* 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-20 15:27:49 -04:00
Nathan Sidwell
47d4c81198
re PR c++/11945 (Incorrect warnings issued for comma-expressions inside 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 18:00:09 +00:00
Andrew Haley
f2f3f409f6
[multiple changes]
...
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-20 17:27:56 +00:00
Andrew Haley
3e6d83ec9c
Fix typo.
...
From-SVN: r70604
2003-08-20 16:26:27 +00:00
Tom Tromey
b7d6f12a4f
gcj.texi (Extensions): Added xref.
...
* gcj.texi (Extensions): Added xref.
(libgcj Runtime Properties): Document
gnu.gcj.runtime.VMClassLoader.library_control.
From-SVN: r70601
2003-08-20 15:33:28 +00:00
Tom Tromey
3f1923dcc1
re PR libgcj/9125 (VMClassLoader should cache the result of Runtime.(internal)loadLibrary())
...
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
2003-08-20 15:32:23 +00:00
Tom Tromey
9c6f74cd3f
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
2003-08-20 15:30:04 +00:00
Andrew Haley
2510de8d0b
prims.cc (unblock_signal): New function.
...
2003-08-19 Andrew Haley <aph@redhat.com>
* prims.cc (unblock_signal): New function.
(SIGNAL_HANDLER): Use it.
(SIGNAL_HANDLER): Likewise.
From-SVN: r70598
2003-08-20 14:32:16 +00:00
Jason Merrill
3acef2ae63
stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from TYPE_USER_ALIGN for FIELD_DECLs.
...
* 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
2003-08-20 08:24:18 -04:00
Matt Kraai
8f7d850c97
Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ...
...
* Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ...
* objc/config-lang.in (stagestuff): ... to here.
From-SVN: r70596
2003-08-20 10:50:20 +00:00
Mark Mitchell
b2c9df9318
Fix typo in ChangeLog
...
From-SVN: r70594
2003-08-20 07:14:37 +00:00