Commit Graph

55181 Commits

Author SHA1 Message Date
Kriang Lerdsuwanakij 5b4acce124 parser.c (cp_parser_template_argument): Don't call make_unbound_class_template directly.
* parser.c (cp_parser_template_argument): Don't call
	make_unbound_class_template directly.
	(cp_parser_lookup_name): Don't extract TEMPLATE_DECL from
	UNBOUND_CLASS_TEMPLATE tree node.

From-SVN: r75356
2004-01-03 08:25:38 +00:00
Dan Nicolaescu 86d7b5621f *** empty log message ***
From-SVN: r75353
2004-01-03 01:52:03 +00:00
Richard Henderson b87cfcfbe3 i386.md (fp constant pool splitter): Reorg suppression for sse and 387; add suppression for mmx.
* config/i386/i386.md (fp constant pool splitter): Reorg suppression
        for sse and 387; add suppression for mmx.

From-SVN: r75349
2004-01-02 16:40:31 -08:00
GCC Administrator af4490a4c8 Daily bump.
From-SVN: r75344
2004-01-03 00:16:07 +00:00
Andrew Pinski 9d85830f7e loop.c (loop_optimize): Free all loops_info's mems.
2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * loop.c (loop_optimize): Free all loops_info's mems.

From-SVN: r75339
2004-01-02 15:14:41 -08:00
Andrew Pinski 2f89bbc185 Update forgotten updated copy right years.
From-SVN: r75338
2004-01-02 14:44:27 -08:00
Andrew Pinski 36579663a4 c-typeck.c (finish_init): Free spelling_base before setting it again.
2004-01-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * c-typeck.c (finish_init): Free spelling_base before
        setting it again.

        * cfgloop.c (flow_loops_find): Always free the sbitmap
        headers.

        * predict.c (estimate_probability): Free bbs after being
        done with it.

From-SVN: r75337
2004-01-02 14:42:31 -08:00
Ian Lance Taylor e4796f1c88 cp-demangle.c (d_encoding): When DMGL_PARAMS is not set...
* cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
	CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
	* cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
	demangling template parameters.
	* testsuite/test-demangle.c (fail): New static function.
	(main): Support new options in input file: --no-params,
	--is-v3-ctor, and --is-v3-dtor.
	* testsuite/demangle-expected: Add --no-params to most tests, and
	add the correct result when parameters are not demangled.  Add
	some simple tests for V3 constructor/destructor recognition.

From-SVN: r75336
2004-01-02 20:33:55 +00:00
Kazu Hirata 3864b6fe3d mn10300.h (PREDICATE_CODES): Add const_8bit_operand and call_address_operand.
* config/mn10300/mn10300.h (PREDICATE_CODES): Add
	const_8bit_operand and call_address_operand.

From-SVN: r75334
2004-01-02 18:23:10 +00:00
Jan Hubicka 8b6bd5d717 cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls when there is nothing to inline but warnings are...
* cgraphunit.c (cgraph_optimize_function):  Call optimize_inline_calls
	when there is nothing to inline but warnings are requested.
	(cgraph_decide_inlining):  Fix memory leak.

From-SVN: r75333
2004-01-02 18:06:16 +00:00
Kazu Hirata fa0e53a48a Add Steven's entry.
From-SVN: r75331
2004-01-02 17:57:54 +00:00
Kazu Hirata 1e5c54affe Add a missing ChangeLog entry.
From-SVN: r75330
2004-01-02 17:51:13 +00:00
Kazu Hirata cabb656445 Add a missing ChangeLog entry.
From-SVN: r75329
2004-01-02 17:42:05 +00:00
Jan Hubicka 9b9bd3b207 * expr.c (store_constructor): Fix pasto in previous patch.
From-SVN: r75327
2004-01-02 16:13:14 +00:00
Richard Sandiford 71af26210f Add 2004 to copyright after last commit.
From-SVN: r75326
2004-01-02 15:57:16 +00:00
Richard Sandiford 8748dc22ae re PR c++/12729 (mipsisa64-elf regressions: g++.old-deja/g++.jason/thunk1.C, thunk2.C)
PR target/12729
	* method.c (use_thunk): Pass the CALL_EXPR through force_target_expr.

From-SVN: r75325
2004-01-02 15:54:08 +00:00
Kazu Hirata 43f3a59d9f cygming.h: Fix comment formatting.
* config/i386/cygming.h: Fix comment formatting.
	* config/i386/djgpp.h: Likewise.
	* config/i386/gthr-win32.c: Likewise.
	* config/i386/i386-interix.h: Likewise.
	* config/i386/i386.c: Likewise.
	* config/i386/i386.h: Likewise.
	* config/i386/openbsd.h: Likewise.
	* config/i386/winnt.c: Likewise.
	* config/i386/xm-mingw32.h: Likewise.

From-SVN: r75324
2004-01-02 15:30:43 +00:00
Kriang Lerdsuwanakij b0bc6e8e6c re PR c++/13520 (gcc crashes with inheritance + default template parameter of nested template type)
PR c++/13520
	* cp-tree.h (DECL_UNBOUND_CLASS_TEMPLATE_P): New macro.
	(DECL_FUNCTION_TEMPLATE_P): Use it.
	(DECL_CLASS_TEMPLATE_P): Likewise.
	* parser.c (cp_parser_lookup_name): Add is_template parameter.
	(cp_parser_type_parameter): Adjust call to cp_parser_lookup_name.
	(cp_parser_template_name): Likewise.
	(cp_parser_elaborated_type_specifier): Likewise.
	(cp_parser_namespace_name): Likewise.
	(cp_parser_class_name): Likewise.
	(cp_parser_lookup_name_simple): Likewise.

	* g++.dg/template/qualttp22.C: New test.

From-SVN: r75321
2004-01-02 11:41:51 +00:00
Joseph Myers daef8bbd72 gcc.texi, [...]: Update copyright and last modification dates.
* doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
	copyright and last modification dates.

From-SVN: r75319
2004-01-02 10:58:43 +00:00
Andreas Jaeger 7e081a0cf3 install.texi (Specific): Mention x86_64.
2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>

	* doc/install.texi (Specific): Mention x86_64.

From-SVN: r75317
2004-01-02 10:42:10 +01:00
Gerald Pfeifer 67a1d89df9 update_version: Add some documentation.
* update_version: Add some documentation.

	* update_version (ADD_BRANCHES): Add lno-branch.

From-SVN: r75316
2004-01-02 08:36:59 +00:00
GCC Administrator 85da5487a5 Daily bump.
From-SVN: r75313
2004-01-02 00:16:07 +00:00
Hans-Peter Nilsson ac3f5df709 builtins.c (expand_builtin_apply_args_1): Call force_operand on plus_constant result.
* builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
	Call force_operand on plus_constant result.

From-SVN: r75306
2004-01-01 17:17:00 +00:00
Jan Hubicka 997404de62 expmed.c (store_bit_field, [...]): Use new named patterns
* expmed.c (store_bit_field, extract_bit_field): Use new named patterns
	* expr.c (store_constructor): Use vec_init pattern.
	* genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
	* optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
	(vec_set_optab, vec_extract_optab, vec_init_optab): New.
	* i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
	New patterns.
	(sse2_unpc?pd): Fix pattern.
	(sse2_movlpd): Kill.
	(sse2_movsd): Deal with movlpd too.
	* i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
	(ix86_expand_vector_init): New.
	* emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
	* md.texi (vec_set, vec_extract): Document

From-SVN: r75304
2004-01-01 14:13:44 +00:00
Jan Hubicka b684a3df8e re PR rtl-optimization/13473 (cc1 segfault w/-march=pentium4)
PR opt/13473
	* recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
	ASM input operands

	PR opt/12617
	* toplev.c (dump_file_index): Reorder ce3 and bbro.
	(dump_file): Likewise.
	(rest_of_compilation): Likewise.

	PR debug/13367
	* cgraph.c (cgraph_function_possibly_inlined):  Even with
	flag_really_no_inline we inline always_inline functions.
	* cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
	for non-always_inline functions when there is flag_really_no_inline.
	(cgraph_decide_inlining): Limit work done when not inlining.
	(cgraph_decide_inlining_incrementally): Likewise.
	(cgraph_optimize_function): Check whether something got inlined.
	* c-objc-common.c (c_disregard_inline_limits): Do not always inline
	extern inline functions when not inlining.

	* opts.c (decode_options):  Disable crossjumping at -O1
	* invoke.texi (-O1): Document change.

	* gcc.dg/debug/20031231-1.c: New.
	* gcc.c-torture/compile/20040101-1.c: New.
	* gcc.dg/dwarf-die-[1-7].c: New.

From-SVN: r75303
2004-01-01 13:59:02 +00:00
Jakub Jelinek 74aa338ad5 re PR rtl-optimization/13521 ([3.3 only] Endless loop in calculate_global_regs_live)
PR optimization/13521
	* gcc.c-torture/compile/20031231-1.c: New test.

From-SVN: r75301
2004-01-01 14:21:18 +01:00
Kazu Hirata 837b841791 Fix a typo.
From-SVN: r75291
2004-01-01 00:48:12 +00:00
Kazu Hirata 611914828d Rotate ChangeLog.
From-SVN: r75290
2004-01-01 00:43:21 +00:00
Kazu Hirata cd14f58cb8 Rotate ChangeLog
From-SVN: r75289
2004-01-01 00:32:08 +00:00
GCC Administrator 7ae892bdf9 Daily bump.
From-SVN: r75286
2004-01-01 00:16:08 +00:00
Roger Sayle 07d0a60520 configure.in (ia64*-*-hpux*): Disable building java libraries.
* configure.in (ia64*-*-hpux*): Disable building java libraries.
	* configure: Regenerated.

From-SVN: r75283
2003-12-31 23:11:21 +00:00
Richard Kenner a55f448128 print-rtl.c (print_rtx): For hard register...
* print-rtl.c (print_rtx): For hard register, write out register
	number and register name instead of calling PRINT_REG.
	* defaults.h (PRINT_REG): Deleted.
	* config/i386/i386.c (print_reg): Remove handling of CODE of -1.
	Move comments here from i386.h.
	(print_operand, print_operand_address): Call print_reg directly.
	* config/i386/i386.h (PRINT_REG): Deleted.

From-SVN: r75282
2003-12-31 18:02:44 -05:00
Roger Sayle a5a8386f2d hpux.h (TARGET_OS_CPP_BUILTINS): Define _INCLUDE_LONGLONG.
* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define
	_INCLUDE_LONGLONG.

From-SVN: r75279
2003-12-31 22:54:36 +00:00
Zack Weinberg 6a938c8d2b gcc.c (init_spec): Add -lunwind to shared case too if USE_LIBUNWIND_EXCEPTIONS.
* gcc.c (init_spec): Add -lunwind to shared case too if
	USE_LIBUNWIND_EXCEPTIONS.

From-SVN: r75276
2003-12-31 21:30:22 +00:00
Joseph Myers 81672561f5 * de.po: Update.
From-SVN: r75275
2003-12-31 21:25:15 +00:00
Joseph Myers 8a670d95c7 texinfo.tex: Update to version 2003-12-21.10.
* doc/include/texinfo.tex: Update to version 2003-12-21.10.
	* doc/gcc.texi, doc/gccint.texi: Don't set font for
	@def... commands.
	* doc/invoke.texi: Don't use empty @opindex.

From-SVN: r75274
2003-12-31 21:19:51 +00:00
Mark Mitchell 9c5c5f2cd1 c-common.c (c_expand_expr): Remove code to return a value different from that returned by expand_expr.
* c-common.c (c_expand_expr): Remove code to return a value
	different from that returned by expand_expr.
	* expr.c (store_expr): Use the validity of a target MEM, rather
	than checking DECL_RTL (exp), to figure out if a copy is
	required.

From-SVN: r75273
2003-12-31 18:41:28 +00:00
Kazu Hirata d4de0221f3 lib1funcs.asm: Fix comment formatting.
* config/v850/lib1funcs.asm: Fix comment formatting.
	* config/v850/v850.c: Likewise.
	* config/v850/v850.h: Likewise.
	* config/v850/v850.md: Likewise.

From-SVN: r75270
2003-12-31 17:22:33 +00:00
Kazu Hirata 99f296a0d9 i386.md (*movqi_insv_2): Remove AND in the set source.
* config/i386/i386.md (*movqi_insv_2): Remove AND in the
	set source.

From-SVN: r75269
2003-12-31 16:49:47 +00:00
Michael Koch 24ce9c2d97 2003-12-31 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/http/Connection.java
	(sendRequest): Dont encode output in default character encoding,
	add correct version number to HTTP user agent string.

From-SVN: r75266
2003-12-31 11:27:09 +00:00
Guilhem Lavaux eb813adf1d 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
* java/io/ObjectOutputStream.java
	(putFields): Reindented. Fixed behaviour: currentPutField should be
	null
	before calling this method.
	(writeFields): Likewise.
	(markFieldsWritten): Fixed the exception message.
	(callWriteMethod): Ensure currentPutField is null.
	(getBooleanField): Translate IllegalArgumentException into
	InvalidClassException.
	(getByteField): Likewise.
	(getCharField): Likewise.
	(getDoubleField): Likewise.
	(getFloatField): Likewise.
	(getIntField): Likewise.
	(getLongField): Likewise.
	(getShortField): Likewise.
	(getObjectField): Check the type code before returning the object.
	(getField): Translate NoSuchFieldException into InvalidClassException
	directly.

From-SVN: r75265
2003-12-31 11:04:21 +00:00
Guilhem Lavaux d415865929 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
* java/net/URL.java
	(URL): Change context path to "/" if it is empty.

From-SVN: r75264
2003-12-31 10:55:40 +00:00
Kazuhiro Inaoka ad12652102 Add support for m32r-linux target.
From-SVN: r75263
2003-12-31 10:33:02 +00:00
Michael Koch 04d1e6e212 xfails: Removed tests that pass now...
2003-12-31  Michael Koch  <konqueror@gmx.de>

	* testsuite/libjava.mauve/xfails: Removed tests that pass now:
	XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
	XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
	XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
	(number 26)
	XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
	(number 54)

From-SVN: r75262
2003-12-31 10:29:05 +00:00
Graydon Hoare 8fe7789edd configure.in: Add --enable-gtk-cairo check.
2003-12-16  Graydon Hoare  <graydon@redhat.com>

	* configure.in: Add --enable-gtk-cairo check.
	* configure: Regenerate.
	* Makefile.am: Conditionally link against cairo.
	* Makefile.in: Regenerate.
	* acinclude.m4: Include PKG_CHECK_MODULES.
	* aclocal.m4: Regenerate.
	* gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
	(getFontMetrics, getClasspathFontPeer):
	* gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
	* gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
	* gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
	* gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
	Switch behavior depending on GtkToolkit.useGraphics2D().
	* gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
	* java/awt/Font.java: Switch to peer model.
	* jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
	* jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h.

From-SVN: r75260
2003-12-31 08:58:31 +00:00
Paolo Carlini 4f0c9c8a87 locale_facets.tcc (num_get::_M_extract_int, [...]): According to 22.2.2.1.2...
2003-12-31  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (num_get::_M_extract_int,
	num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
	_first_ look for thousands_sep, then for decimal_point and
	finally for digits.
	(num_get::_M_extract_float): After the decimal_point or
	'e'/'E', decimal_point and thousands_sep just break out the
	parsing loop.
	* testsuite/22_locale/num_get/get/char/11.cc: Add tests.
	* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.

From-SVN: r75259
2003-12-31 08:28:10 +00:00
Kazu Hirata f5cb6ca267 * config/i386/i386.h: Remove an unnecessary #undef.
From-SVN: r75257
2003-12-31 05:30:59 +00:00
Roger Sayle bcad4ca247 cppfiles.c (pch_open_file): Minor tweak to work-around native HPPA compiler bug.
* cppfiles.c (pch_open_file): Minor tweak to work-around native
	HPPA compiler bug.

From-SVN: r75256
2003-12-31 05:11:44 +00:00
Kazu Hirata a3c9585fe7 aix.h: Fix comment formatting.
* config/rs6000/aix.h: Fix comment formatting.
	* config/rs6000/rs6000-modes.def: Likewise.
	* config/rs6000/rs6000.c: Likewise.
	* config/rs6000/rs6000.h: Likewise.
	* config/rs6000/rs6000.md: Likewise.

From-SVN: r75252
2003-12-31 00:25:51 +00:00
GCC Administrator c0a112d17e Daily bump.
From-SVN: r75250
2003-12-31 00:16:08 +00:00