Commit Graph

55567 Commits

Author SHA1 Message Date
Olga Rodimina
b123101753 GdkGraphics2D.java: Implemented rendering hints related methods.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java:
	Implemented rendering hints related methods.
	(getDefaultHints): New helper method. Returns
	default rendering hints.
	(walkPath): changed to normalize path if
	the KEY_STROKE_CONTROL key is in "normalize" mode.
	(draw3DRect): changed coordinates of rectangle by +0.5
	if in "normalize" mode.

From-SVN: r75943
2004-01-15 22:00:01 +00:00
Kazu Hirata
340f649410 coff.h: Replace Hitachi with Renesas.
* config/h8300/coff.h: Replace Hitachi with Renesas.
	* config/h8300/elf.h: Likewise.
	* config/h8300/h8300-protos.h: Likewise.
	* config/h8300/h8300.c: Likewise.
	* config/h8300/h8300.h: Likewise.
	* config/h8300/h8300.md: Likewise.
	* config/h8300/lib1funcs.asm: Likewise.

From-SVN: r75941
2004-01-15 19:49:41 +00:00
Andrew Pinski
c954844a8b rs6000.c (uses_TOC): Wrap #if TARGET_ELF around it.
2004-01-15  Andrew Pinski  <apinski@apple.com>

        * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
        around it.

From-SVN: r75940
2004-01-15 11:37:24 -08:00
Stefan Olsson
2913770f6f mt_allocator.h: Reuse thread id's as soon as possible by changing the behaviour of...
2004-01-15  Stefan Olsson  <stefan@snon.net>

	* include/ext/mt_allocator.h: Reuse thread id's as soon as
	possible by changing the behaviour of thread_freelist to do
	push_front when threads die instead of push_back.

From-SVN: r75939
2004-01-15 19:18:35 +00:00
Kazu Hirata
ecc748322b * gcc.dg/sibcall-3.c: Replace mn10?00 with mn10300.
From-SVN: r75936
2004-01-15 18:35:32 +00:00
Tom Tromey
e18243dd1d Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
	(%.lo: %.java) Filter out StackTrace.lo.

From-SVN: r75934
2004-01-15 18:29:29 +00:00
Kazu Hirata
34bf1fe3ad h8300.c (h8300_return_in_memory): New.
* config/h8300/h8300.c (h8300_return_in_memory): New.
	(TARGET_STRUCT_VALUE_RTX): Likewise.
	(TARGET_RETURN_IN_MEMORY): Likewise.
	* config/h8300/h8300.h (STRUCT_VALUE): Remove.
	(RETURN_IN_MEMORY): Likewise.

From-SVN: r75933
2004-01-15 18:02:01 +00:00
Richard Earnshaw
e5396f908a re PR rtl-optimization/13375 (ICE in gcse.c)
PR optimization/13375
* gcse.c (handle_avail_expr): Just return if the source is not a
single set.

From-SVN: r75932
2004-01-15 17:29:10 +00:00
Arnaud Charlet
acd47d2a69 [multiple changes]
2004-01-15  Olivier Hainque  <hainque@act-europe.fr>

	* decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
	also when not defining if a Size clause applies. That information is
	not to be ignored.

2004-01-15  Arnaud Charlet  <charlet@act-europe.fr>

	* Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
	symbolic links for the shared gnat run time when needed.

2004-01-15  Vasiliy Fofanov  <fofanov@act-europe.fr>

	* memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
	for writing, and terminate with an error message if not.

2004-01-15  Ed Schonberg  <schonberg@gnat.com>

	* sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
	warning on an access to subprogram in an instance, when the target
	type is declared in the same generic unit.
	(Eval_Attribute): If 'access is known to fail accessibility check,
	rewrite as a raise statement.

2004-01-15  GNAT Script  <nobody@gnat.com>

	* Make-lang.in: Makefile automatically updated

From-SVN: r75931
2004-01-15 18:24:17 +01:00
Richard Earnshaw
46049cff4f Richard Earnshaw <rearnsha@arm.com>
Daniel Jacobowitz  <drow@mvista.com>

* arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
(EQUIV): Define.
(ARM_FUNC_ALIAS): New macro.
* arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
* arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.

Co-Authored-By: Daniel Jacobowitz <drow@mvista.com>

From-SVN: r75930
2004-01-15 16:56:34 +00:00
Kazu Hirata
4e394293bf * strdup.c (strdup): Constify the argument.
From-SVN: r75929
2004-01-15 16:28:04 +00:00
Alexandre Oliva
faa5faee49 add copyright 2004
From-SVN: r75927
2004-01-15 15:00:34 +00:00
John David Anglin
2fabc3d68e re PR rtl-optimization/12372 (miscompilation of execute/20030307-1.c at -O2 and -Os)
PR optimization/12372
	* calls.c (expand_call): Add call_fusage data for stack arguments in
	constant calls.

From-SVN: r75926
2004-01-15 14:58:06 +00:00
Alexandre Oliva
2ff3688d31 add copyright 2004
From-SVN: r75925
2004-01-15 14:49:56 +00:00
Alexandre Oliva
d905ed80d5 re PR c++/13659 (error: no matching function for call to)
PR c++/13659
* g++.dg/lookup/strong-using-3.C: New.
* g++.dg/lookup/using-10.C: New.

From-SVN: r75924
2004-01-15 14:46:01 +00:00
Alexandre Oliva
ed5f054faa re PR c++/13659 (error: no matching function for call to)
PR c++/13659
* name-lookup.c (validate_nonmember_using_decl): Take scope and
name by value, instead of computing them.
(do_local_using_decl, do_toplevel_using_decl): Add scope and name
arguments.  Pass them to validate_nonmember_using_decl.
* name-lookup.h (do_local_using_decl): Adjust.
(do_toplevel_using_decl): Likewise.
* parser.c (cp_parser_using_declaration): Likewise.
* pt.c (tsubst_expr): Likewise.

From-SVN: r75923
2004-01-15 14:45:15 +00:00
Alexandre Oliva
693ec7e1f2 re PR c++/13594 (namespace association vs. templates part two)
PR c++/13594
* g++.dg/lookup/strong-using-2.C: New.

From-SVN: r75922
2004-01-15 14:42:13 +00:00
Alexandre Oliva
dc55c941ab re PR c++/13594 (namespace association vs. templates part two)
PR c++/13594
PR c++/13658
* name-lookup.c (qualified_lookup_using_namespace): Search
strongly-associated namespaces first, and only then try other
namespaces.

From-SVN: r75921
2004-01-15 14:41:48 +00:00
Steven Bosscher
b5eb5a5eb8 * Update my email address.
From-SVN: r75919
2004-01-15 14:24:19 +00:00
Alan Modra
3c9eb5f4bb rs6000.c (uses_TOC): Correct comment.
* config/rs6000/rs6000.c (uses_TOC): Correct comment.  Make static.
	(rs6000_elf_declare_function_name): Formatting.
	* config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.

From-SVN: r75917
2004-01-16 00:09:23 +10:30
Marcus Comstedt
2ae8ea28cc re PR target/9365 ([SH] segfault in gen_far_branch (config/sh/sh.c))
2004-01-15  Marcus Comstedt <marcus@mc.pp.se>
	    Dan Kegel <dank@kegel.com>
	    J"orn Rennecke <joern.rennecke@superh.com>

	PR target/9365
	* gcc.dg/pr9365-1.c: New test.

Co-Authored-By: Dan Kegel <dank@kegel.com>
Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com>

From-SVN: r75916
2004-01-15 12:40:05 +00:00
Jan Hubicka
c78661545d re PR bootstrap/13692 (ICE in schedule_insns, at sched-rgn.c:2743 with stage1 compiler compiling crtstuff.c)
PR bootstrap/13692
	* sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
	previous patch.

From-SVN: r75915
2004-01-15 10:47:01 +00:00
Michael Chastain
71e6838406 class.c (gen_indirect_dispatch_tables): Fix string length calculations.
2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>

        * class.c (gen_indirect_dispatch_tables): Fix string length
        calculations.

From-SVN: r75913
2004-01-15 10:24:25 +00:00
Richard Henderson
ad5d827dc7 alpha.h (REG_ALLOC_ORDER): Reorder fp regs after integer regs of the same call-savedness.
* config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
        integer regs of the same call-savedness.

From-SVN: r75911
2004-01-15 01:51:19 -08:00
Andreas Schwab
66e07510bb re PR bootstrap/13562 (bootstrap failure on m68k-linux)
PR bootstrap/13562
* config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
status for NOTB/NOTW/NEGW methods.

From-SVN: r75909
2004-01-15 09:37:34 +00:00
Kazu Hirata
7c12f3882f * doc/invoke.texi: Update dump file names. Fix a typo.
From-SVN: r75908
2004-01-15 08:01:01 +00:00
Kazu Hirata
4a7bb5505f builtins.c (expand_builtin_va_end): Don't use EXPAND_BUILTIN_VA_END.
* builtins.c (expand_builtin_va_end): Don't use
	EXPAND_BUILTIN_VA_END.
	* system.h (EXPAND_BUILTIN_VA_END): Poison.
	* config/d30v/d30v.h: Remove a commented-out definition of
	EXPAND_BUILTIN_VA_END.
	* config/stormy16/stormy16.h: Likewise.

From-SVN: r75906
2004-01-15 07:25:23 +00:00
Kazu Hirata
430fff02ae system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
* system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
	* targhooks.c (default_struct_value_rtx): Don't use
	STRUCT_VALUE_INCOMING_REGNUM.

From-SVN: r75905
2004-01-15 07:21:03 +00:00
Kelley Cook
03787dfd81 re PR bootstrap/12744 (A GCC release tarball can no longer be built without bison/flex)
gcc/
2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>

	PR bootstrap/12744
	* configure.in: Revamp enable-generated-files-in-srcdir rule to define
	GENINSRC and not parsedir.  Define srcextra as a langhook.
	* configure: Regenerate.
	* Makefile.in: Suppress default .l.c rule.  Don't substitute
	parsedir and delete all references throughout.  Conditionally define
	rule for srcextra dependent on GENINSRC.
	(stmp-docobjdir): Delete.
	(c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
	(srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
	and gengtype-yacc.h back to source directory.
	(maintainer-clean): Delete all parse files in source directory.
	(distclean): Delete generated files.

	* objc/Make-lang.in (objc-parse.o): Use implicit build rule.
	(objc-parse.c, objc-parse.y): Don't use parsedir.
	(objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
	directory if requested.
	(po-generated): Don't use parsedir.
	(objc.maintainer-clean): Delete above files from source directory.

gcc/ada/
2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (ada.srcextra): Dummy entry.

gcc/cp/
2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (c++.srcextra): Dummy entry.

gcc/f/
2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (f77.srcextra): Dummy entry.

gcc/java/
2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (parse.c, parse-scan.c): Always build in doc directory.
	(java.srcextra): Copy above back to source directory if requested.
	(po-generated): Delete reference to $(parsedir).
	(java/parse.o, java/parse-scan.o): Delete reference to $(parsedir).
	Use implicit rule.

gcc/treelang/
2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
	(treelang/parse.o, treelang/lex.o): Look for sources in build
	directory.  Use implicit rule.
	(treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
	doc directory.
	(treelang.srcextra): Copy above back to source directory if requested.

From-SVN: r75903
2004-01-15 04:02:24 +00:00
Kazu Hirata
04ab46a41d * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
From-SVN: r75902
2004-01-15 03:44:19 +00:00
Kelley Cook
d5b2f1be14 configure.in: Add in AC_PREREQ(2.13)
boehm-gc/
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.in: Add in AC_PREREQ(2.13)

libf2c/
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

	* libF77/configure.in: Update to AC_PREREQ(2.13)
	* libI77/configure.in: Update to AC_PREREQ(2.13)
	* libU77/configure.in: Update to AC_PREREQ(2.13)
	* libU77/configure: Regenerate.

libffi/
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.in: Add in AC_PREREQ(2.13)

libjava/
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.in: Add in AC_PREREQ(2.13)

libjava/libltdl
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.in: Update to AC_PREREQ(2.57).  Delete FIXME comment.

zlib/
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.in: Add in AC_PREREQ(2.13)

From-SVN: r75901
2004-01-15 03:41:49 +00:00
Kazu Hirata
d624465f78 tm.texi: Replace RETURN_IN_MEMORY with TARGET_RETURN_IN_MEMORY.
* doc/tm.texi: Replace RETURN_IN_MEMORY with
	TARGET_RETURN_IN_MEMORY.

From-SVN: r75900
2004-01-15 03:33:11 +00:00
Adam Fedor
5af0e6ae63 re PR libobjc/12155 (Memory leak in libobjc(selector.c))
2004-01-14  Adam Fedor  <fedor@gnu.org>

        PR libobjc/12155
        * selector.c (__objc_register_instance_methods_to_class): Free
        new_list if not used.

From-SVN: r75899
2004-01-14 17:49:41 -08:00
Giovanni Bajo
cc8c7495d4 re PR c++/8856 (g++ accepts invalid conversion-function-id)
PR c++/8856
	* g++.dg/parse/casting-operator2.C: New test.
	* g++.old-deja/g++.pt/explicit83.C: Remove.

From-SVN: r75898
2004-01-15 01:46:11 +00:00
Giovanni Bajo
0d9564747f re PR c++/8856 (g++ accepts invalid conversion-function-id)
PR c++/8856
	* parser.c (cp_parser_template_name): Don't try to parse a
	conversion-function-id, as it cannot be a template-name.
	(cp_parser_simple_type_specifier): Check for invalid template-ids
	even after a built-in type.

From-SVN: r75897
2004-01-15 01:39:58 +00:00
GCC Administrator
38bdcc805a Daily bump.
From-SVN: r75894
2004-01-15 00:16:08 +00:00
Jan Hubicka
e1be55d0cb builtins.c (std_expand_builtin_va_arg): Align operand when needed.
* builtins.c (std_expand_builtin_va_arg): Align operand when needed.
	* i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
	functions accepting SSE arguments
	(function_arg): Warn only when asked to warn.
	* i386.h (ix86_args): Add warn_sse/warn_mmx fiels.

From-SVN: r75892
2004-01-14 23:07:04 +00:00
Joseph Myers
f560bf91ae c-parse.in (stmts_and_decls): Make label at end of compound statement a hard error.
* c-parse.in (stmts_and_decls): Make label at end of compound
	statement a hard error.

testsuite:
	* gcc.dg/label-compound-stmt-1.c: New test.
	* gcc.c-torture/compile/950922-1.c,
	gcc.c-torture/compile/20000211-3.c,
	gcc.c-torture/compile/20000518-1.c,
	gcc.c-torture/compile/20021108-1.c: Avoid labels at and of
	compound statements.

From-SVN: r75891
2004-01-14 23:03:58 +00:00
Jan Hubicka
95c755e90f cgraph.c (create_edge): Use local.redefined_extern_inline.
* cgraph.c (create_edge): Use local.redefined_extern_inline.
	* cgraph.h (cgraph_local_info): Sort fields by size; add
	redefined_extern_inline
	(cgraph_global_info): Sort fields by size.
	(cgraph_node): Likewise.
	* cgraphunit.c (cgraph_finalize_function): Se
	local.redefined_extern_inline on redefinition.
	(cgraph_analyze_function): Use it; fix formating.

From-SVN: r75890
2004-01-14 22:54:50 +00:00
Nathan Bryant
092b50e2d7 re PR libgcj/12001 (_Jv_FindClass dumps core when Oracle's classes12.zip in $CLASSPATH)
PR libgcj/12001:
	* gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
	array to superclass.
	(init): Changed interface; add URLs here.
	(initialize): New static method.
	* prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
	(_Jv_RunMain): ... not here.

Co-Authored-By: Tom Tromey <tromey@redhat.com>

From-SVN: r75889
2004-01-14 22:49:58 +00:00
Jan Hubicka
84568e14b5 sched-deps.c (trye_dependency_cache, [...]): Trun to vectors of bitmaps
* sched-deps.c (trye_dependency_cache, anti_dependency_cache,
	outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
	bitmaps
	(cache_size): New variable
	(add_dependence): Update use; canonize early memory locations
	(sched_analyze_1): Likewise.
	(sched_analyze_2): Likewise.
	(init_dependency_caches): Initialize bitmaps.
	(free_dependency_caches): Free bitmaps

From-SVN: r75888
2004-01-14 22:43:54 +00:00
Kazu Hirata
3a1797641a calls.c: Replace STRICT_ARGUMENT_NAMING in comments with...
* calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
	targetm.calls.strict_argument_naming().
	* target.h: Likewise.

From-SVN: r75886
2004-01-14 21:59:30 +00:00
Loren J. Rittle
0046e3428a * Makefile.in (distclean): Remove config.cache.
From-SVN: r75885
2004-01-14 21:27:28 +00:00
Richard Henderson
b298f00fbb re PR debug/13231 (Bad DWARF2 CFI when there is no frame pointer)
PR debug/13231
        * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
        instructions.

From-SVN: r75884
2004-01-14 13:12:02 -08:00
Richard Henderson
1bddbeb409 re PR c++/12491 (Destructor fails to compile when optimizations (inlining) are enabled)
PR c++/12491
        * except.c (struct eh_region): Add u.fixup.resolved.
        (resolve_one_fixup_region): Split out from ...
        (resolve_fixup_regions): ... here.
	* g++.dg/eh/cleanup2.C: New.

From-SVN: r75883
2004-01-14 13:01:18 -08:00
Kazu Hirata
4eb31d4f7e * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
From-SVN: r75882
2004-01-14 20:34:25 +00:00
Kazu Hirata
16f425fc89 alpha.h (STRUCT_VALUE): Remove.
* config/alpha/alpha.h (STRUCT_VALUE): Remove.
	* config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
	(STRUCT_VALUE): Remove.

From-SVN: r75881
2004-01-14 20:16:57 +00:00
Loren J. Rittle
2c4de30bbd Makefile.def (target_modules): Stage.
* Makefile.def (target_modules) [libtermcap, libiberty, zlib]: Stage.
	* Makefile.tpl (configure-target-[+module+]): Support stage.
	* Makefile.in: Rebuilt.

From-SVN: r75880
2004-01-14 20:09:37 +00:00
Steven Bosscher
616f6d8469 system.h: Poison PROMOTED_MODE
* system.h: Poison PROMOTED_MODE
	* integrate.c (expand_inline_function): Don't mention the
	PROMOTED_MODE.
	* loop.c (update_giv_derive): Same.
	* tree.h (DECL_RTL): Same.

From-SVN: r75878
2004-01-14 20:05:29 +00:00
Michael Koch
b3e5b4528d re PR libgcj/2429 (java.text.MessageFormat should usefully set text on exceptions)
2004-01-14  Michael Koch  <konqueror@gmx.de>

	* java/text/MessageFormat.java:
	Added descriptions to exceptions.
	This fixes PR libgcj/2429.

From-SVN: r75877
2004-01-14 19:45:11 +00:00