Commit Graph

79965 Commits

Author SHA1 Message Date
Mike Stump
ab1da110d0 * config/rs6000/darwin.h (ASM_OUTPUT_ALIGNED_COMMON): Removed #undef.
From-SVN: r123337
2007-03-29 16:17:42 +00:00
Zack Weinberg
311e3ff0b6 gengtype.c (oprintf): Mostly revert changes from 2007-03-26...
* gengtype.c (oprintf): Mostly revert changes from 2007-03-26;
	add comment explaining why vsnprintf cannot be used.

From-SVN: r123332
2007-03-29 14:59:52 +00:00
Douglas Gregor
e89886a0ea re PR middle-end/30666 (warning: canonical types differ for identical types double __complex__ and double __complex__)
2007-03-29  Douglas Gregor  <doug.gregor@gmail.com>

	PR tree-optimization/30666
	* tree.c (build_complex_type): When creating type names for DWARF2
	debug info, create TYPE_DECLs for TYPE_NAME instead of
	IDENTIFIER_NODEs.
	(build_common_tree_nodes_2): Use build_complex_type when building
	predefined complex types, to preserve canonical types.

From-SVN: r123330
2007-03-29 14:11:28 +00:00
Richard Guenther
2a42f4aa19 tree.c (cp_walk_subtrees): Do not set input_location.
2007-03-29  Richard Guenther  <rguenther@suse.de>

	* tree.c (cp_walk_subtrees): Do not set input_location.

From-SVN: r123329
2007-03-29 12:55:14 +00:00
Steven Bosscher
cab6e7717e ifcvt.c (struct noce_if_info): Add then_else_reversed field.
* ifcvt.c (struct noce_if_info): Add then_else_reversed field.
	(noce_get_alt_condition): Look at it to determine whether to
	reverse the condition or not.
	(noce_get_condition): Substitute the truth for lies.
	(noce_find_if_block): Set the then_else_reversed field.

From-SVN: r123327
2007-03-29 12:04:09 +00:00
Lars Poeschel
ed31d14caf fr30.md (movdi): Do not accept immediates as the destination of this insn.
* config/fr30/fr30.md (movdi): Do not accept immediates as the destination of this insn.
* config/fr30/fr30.c (fr30_move_double): Use emit_move_insn rather than calling gen_rtx_SET directly.
  Use r0 to hold the value of 'address + 4' rather than a stack based temporary which can be
  mis-optimized away.

From-SVN: r123326
2007-03-29 10:23:27 +00:00
Andreas Krebbel
833cd70a0c s390.c (s390_secondary_input_reload_class, [...]): Functions removed.
2007-03-29  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.c (s390_secondary_input_reload_class,
	s390_secondary_output_reload_class): Functions removed.
	(s390_secondary_reload): New function.
	(TARGET_SECONDARY_RELOAD): Target macro defined.
	* config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS,
	SECONDARY_OUTPUT_RELOAD_CLASS): Macro definitions removed.
	* config/s390/s390.md ("reload_outti", "reload_outdi",
	"reload_indi", "reload_insi", "reload_out<mode>", "reload_in<mode>",
	"reload_out<mode>"): Expanders removed.
	("reload<mode>_plus", "reload<mode>_nonoffmem_in",
	"reload<mode>_nonoffmem_out"): Expanders added.

From-SVN: r123324
2007-03-29 06:58:42 +00:00
Andreas Krebbel
040f69ebaa regmove.c (optimize_reg_copy_1): Don't perform DEST->SRC repair action if SRC->DEST replacement failed anyway.
2007-03-29  Andreas Krebbel  <krebbel1@de.ibm.com>

	* regmove.c (optimize_reg_copy_1): Don't perform DEST->SRC repair action if
	SRC->DEST replacement failed anyway.

From-SVN: r123323
2007-03-29 06:57:42 +00:00
Mike Stump
4beb5c4bd1 darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Add.
* config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Add.
	* config/darwin.h (MAX_OFILE_ALIGNMENT): Fix.

testsuite:
	* gcc.dg/darwin-comm.c: Add.

From-SVN: r123321
2007-03-29 01:44:26 +00:00
GCC Administrator
77da2b7671 Daily bump.
From-SVN: r123317
2007-03-28 23:17:23 +00:00
Eric Christopher
34520c98a1 target-supports.exp (check_effective_target_fstack_protector): New.
2007-03-28  Eric Christopher  <echristo@apple.com>

        * lib/target-supports.exp (check_effective_target_fstack_protector): New.
        * gcc.dg/ssp-1.c: Use.
        * gcc.dg/ssp-2.c: Ditto.

From-SVN: r123314
2007-03-28 23:08:26 +00:00
Dwarakanath Rajagopal
aafc814c7b Adding barcelona as a variant of amdfam10 architecture
From-SVN: r123313
2007-03-28 21:44:56 +00:00
Simon Martin
71aea5f2e0 re PR c++/29077 (Incorrect error message for destructor in wrong namespace)
2007-03-28  Simon Martin  <simartin@users.sourceforge.net>

	PR c++/29077
	* decl.c (grokfndecl): Properly setup decl if it is a constructor or a
	destructor.

From-SVN: r123312
2007-03-28 21:06:01 +00:00
Eric Botcazou
8975ae2285 tree-dfa.c (get_ref_base_and_extent): Do not expect positive offsets for BIT_FIELD_REF and COMPONENT_REF.
* tree-dfa.c (get_ref_base_and_extent): Do not expect positive
	offsets for BIT_FIELD_REF and COMPONENT_REF.

From-SVN: r123311
2007-03-28 20:11:20 +00:00
Tobias Schlüter
7fc100eb81 gfc-internals.texi: Fix output filename.
2007-03-28  Tobias Schlter  <tobi@gcc.gnu.org>

* gfc-internals.texi: Fix output filename.  Merge type index into
concept index.  Start documentation of gfc_code structure.

From-SVN: r123309
2007-03-28 20:57:14 +02:00
Casey Marshall
5a953bf101 ClientHandshake.java (RSAGen.implRun): check keyEncipherment bit of the certificate...
2007-03-28  Casey Marshall  <csm@gnu.org>

	* gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
	check keyEncipherment bit of the certificate, and just pass the public
	key to the cipher.

From-SVN: r123307
2007-03-28 18:25:07 +00:00
Dwarakanath Rajagopal
8eced3a2a9 Added <dwarak.rajagopal@amd.com> to MAINTAINERS file with Write After Approval access
From-SVN: r123306
2007-03-28 16:29:21 +00:00
Richard Guenther
1c2e50d8fa tree.c (is_global_var): Move ...
2007-03-28  Richard Guenther  <rguenther@suse.de>

	* tree.c (is_global_var): Move ...
	* tree-flow-inline.h (is_global_var): ... here.
	* tree.h (is_global_var): Remove declaration.

From-SVN: r123303
2007-03-28 15:01:08 +00:00
Douglas Gregor
a2ca1ab2e9 parser.c (struct cp_parser): Update comment for greater_than_is_operator_p.
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>

	* parser.c (struct cp_parser): Update comment for
	greater_than_is_operator_p.
	(cp_parser_primary_expression): In C++0x mode, a cast operator can
	be terminated with a `>>' token when !GREATER_THAN_IS_OPERATOR_P.
	(TOKEN_PRECEDENCE): In C++0x mode, `>>' is treated like `>' when
	!GREATER_THAN_IS_OPERATOR_P.
	(cp_parser_binary_expression): When -Wc++0x-compat, warn about
	`>>' operators that will become two `>' tokens in C++0x.
	(cp_parser_parameter_declaration): Treat `>>' like `>' in C++0x
	mode, allowing it to terminate default arguments.
	(cp_parser_enclosed_template_argument_list): In C++0x mode, treat
	`>>' like two consecutive `>' tokens.
	(cp_parser_skip_to_end_of_template_parameter_list): Ditto.
	(cp_parser_next_token_ends_template_argument_p): In C++0x, `>>'
	ends a template argument.


2007-03-28 Douglas Gregor <doug.gregor@gmail.com>

	* g++.dg/cpp0x/bracket1.C: New.
	* g++.dg/cpp0x/bracket2.C: New.
	* g++.dg/cpp0x/bracket3.C: New.
	* g++.dg/cpp0x/bracket4.C: New.

From-SVN: r123302
2007-03-28 14:14:33 +00:00
Uros Bizjak
a646adedf0 i386.h (X86_TUNE_PROMOTE_HIMODE_IMUL): New tuning option.
* config/i386/i386.h (X86_TUNE_PROMOTE_HIMODE_IMUL): New tuning
        option.
        (TARGET_TUNE_PROMOTE_HIMODE_IMUL): New define. Use new tuning option.
        * config/i386/i386.c (ix86_tune_features): Initialize new
        tuning option.
        * config/i386/predicates.md (promotable_binary_operator): Use
        TARGET_TUNE_PROMOTE_HIMODE_IMUL.

From-SVN: r123301
2007-03-28 16:05:48 +02:00
Douglas Gregor
9b7dd5e868 decl.c (redeclaration_error_message): Complain when redeclaring a friend function with default template arguments...
2007-03-28  Douglas Gregor  <doug.gregor@gmail.com>

	* decl.c (redeclaration_error_message): Complain when redeclaring
	a friend function with default template arguments (C++0x mode only).
	* cp-tree.h (check_default_tmpl_args): Declare.
	* pt.c (check_default_tmpl_args): In C++0x mode, permit default
	template arguments in function templates. Add support for checking
	the default template arguments of friend templates.
	(push_template_decl_real): Fix call to check_default_tmpl_args.
	(type_unification_real): If a template parameter has not been
	deduced but provides a default template argument, substitute into
	that default template argument.
	* parser.c (cp_parser_init_declarator): When declaring (but not
	defining!) a function template in C++0x mode, check for default
	template arguments.

2007-03-28  Douglas Gregor  <doug.gregor@gmail.com>

	* g++.dg/cpp0x/temp_default1.C: New.
	* g++.dg/cpp0x/temp_default3.C: New.
	* g++.dg/cpp0x/temp_default2.C: New.
	* g++.dg/cpp0x/temp_default4.C: New.

From-SVN: r123300
2007-03-28 14:05:29 +00:00
Grigory Zagorodnev
e701c05c17 re PR target/31380 ([4.1/4.2]: Typo in gcc/config/i386/sse.md)
2007-03-28  Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com>

	PR target/31380
	* config/i386/sse.md (uminv16qi3): Use UMIN instead of UMAX.

From-SVN: r123299
2007-03-28 06:38:24 -07:00
Nick Clifton
446347f9c4 Fix dates on recent entries
From-SVN: r123298
2007-03-28 12:58:02 +00:00
Lars Poeschel
0893725024 fr30.md (movsi_internal): Change destination constraint from m to V and add m to the end.
* config/fr30/fr30.md (movsi_internal): Change destination
  constraint from m to V and add m to the end.

From-SVN: r123297
2007-03-28 12:56:11 +00:00
Christian Bruel
5261837677 sh.md (movsi_i): Fix type attribute.
* config/sh/sh.md (movsi_i): Fix type attribute.

From-SVN: r123296
2007-03-28 12:52:07 +00:00
Christian Bruel
bbccf9081e sh.md (movsi_ie): Fix memory constraints attribute length.
* config/sh/sh.md (movsi_ie): Fix memory constraints attribute length.
	(movsf_ie): Likewise.

From-SVN: r123295
2007-03-28 12:37:12 +00:00
Douglas Gregor
771026dd0c [multiple changes]
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>

	PR c++/29993
	* decl.c (grokdeclarator): Deal with cv-qualified function type
	typedefs in the same way for member and non-member functions.

2007-03-28  Douglas Gregor  <doug.gregor@gmail.com>


	PR c++/29993
	* g++.dg/other/cv_func2.C: New.

From-SVN: r123294
2007-03-28 12:31:37 +00:00
Christian Bruel
27a0ce7d42 config.gcc: Add sh4-300 to multilib.
* config.gcc: Add sh4-300 to multilib.
	* config/sh/t-mlib-sh4-300: New file.

From-SVN: r123292
2007-03-28 12:18:51 +00:00
Andreas Krebbel
99cd7dd0e6 s390.md ("fix_trunc<mode>di2"): New expander.
2007-03-28  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.md ("fix_trunc<mode>di2"): New expander.
	("fix_trunc<DFP:mode>di2_dfp"): New insn definition renamed from
	fix_trunc<mode>di2.
	("fixuns_truncdddi2", "fixuns_trunctddi2"): Use 
	fix_trunc<DFP:mode>di2_dfp instead of fix_trunc<mode>di2.
	("fix_truncdfsi2", "fix_truncsfsi2", "fixuns_truncdddi2",
	"fixuns_trunctddi2"): Whitespace fix.

From-SVN: r123291
2007-03-28 08:39:03 +00:00
Kaz Kojima
e318fc8fab sh.h (CALL_COOKIE_RET_TRAMP_SHIFT): Move after the definition of struct sh_args.
* config/sh/sh.h (CALL_COOKIE_RET_TRAMP_SHIFT): Move after
	the definition of struct sh_args.
	(CALL_COOKIE_RET_TRAMP, CALL_COOKIE_STACKSEQ_SHIFT,
	CALL_COOKIE_INT_REG_GET): Likewise.

From-SVN: r123290
2007-03-28 05:18:03 +00:00
Steven Bosscher
96647293f6 ifcvt.c (cond_exec_find_if_block): Return FALSE if no transformations are applied successfully.
* ifcvt.c (cond_exec_find_if_block): Return FALSE if no
	transformations are applied successfully.

From-SVN: r123289
2007-03-28 04:13:10 +00:00
Tom Tromey
ee753a0ab1 sources.am, [...]: Rebuilt.
* sources.am, Makefile.in: Rebuilt.
	* scripts/mime.types: Removed.
	* scripts/MakeDefaultMimeTypes.java: Removed.
	* gnu/gcj/io/MimeTypes.java: Removed.
	* gnu/gcj/io/MimeTypes.h: Removed.
	* gnu/gcj/io/DefaultMimeTypes.java: Removed.
	* gnu/gcj/io/DefaultMimeTypes.h: Removed.

From-SVN: r123288
2007-03-28 02:01:01 +00:00
Douglas Gregor
00ffc97ce5 tree.c (tree_contains_struct): Permit 512 tree codes.
2007-03-27  Douglas Gregor  <doug.gregor@gmail.com>

	* tree.c (tree_contains_struct): Permit 512 tree codes.
	* tree.h (tree_contains_struct): Ditto.
	(MAX_TREE_CODES): Ditto.
	(struct tree_base): Make CODE 16 bits, instead of 8 bits. Add
	SPARE member to store remaining padding bits.

From-SVN: r123287
2007-03-28 01:56:58 +00:00
Casey Marshall
82f1c4b5fa re PR classpath/31302 (Exception in SSLSocketImpl)
2007-03-27  Casey Marshall  <csm@gnu.org>

	PR classpath/31302:
	* gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
	Always make a new socket.
	(bind, connect, getInetAddress, getLocalAddress, getPort,
	getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
	setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
	setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
	setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
	getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
	getTrafficClass, setReuseAddress, getReuseAddress, close,
	shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
	isInputShutdown, isOutputShutdown): Always use
	'underlyingSocket'.

From-SVN: r123285
2007-03-28 01:02:10 +00:00
Jerry DeLisle
f70ddc12ec re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF)
2007-03-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/31052
	* io/transfer.c (next_record_r): Do not call test_endfile if in namelist
	mode.

From-SVN: r123284
2007-03-28 00:19:39 +00:00
Janis Johnson
9f363d2ac2 func-vararg-alternate.h: New file.
* gcc.dg/dfp/func-vararg-alternate.h: New file.
	* gcc.dg/dfp/func-vararg-alternate-d32.c: New test.
	* gcc.dg/dfp/func-vararg-alternate-d64.c: New test.
	* gcc.dg/dfp/func-vararg-alternate-d128.c: New test.

From-SVN: r123282
2007-03-27 23:38:05 +00:00
GCC Administrator
acad4ce239 Daily bump.
From-SVN: r123280
2007-03-27 23:17:09 +00:00
Janis Johnson
5a3f127a19 Fix misspelled file name in ChangeLog entry.
From-SVN: r123277
2007-03-27 23:07:45 +00:00
Janis Johnson
8f9504ee00 func-vararg-mixed.c: Add optional debugging output.
* gcc.dg/dfp/func-vararg-mixed.c: Add optional debugging output.
	* gcc.dg/dfp/func-vararg-dfp.c: Ditto.

From-SVN: r123276
2007-03-27 23:05:42 +00:00
Janis Johnson
814735584b * gcc.dg/dfp/operandor-conf.c: Call init, fix typo.
From-SVN: r123275
2007-03-27 23:00:33 +00:00
Anatoly Sokolov
39418b53b8 avr.c (avr_mcu_types): Move at90usb82 device to 'avr4' architecture.
* config/avr/avr.c (avr_mcu_types): Move at90usb82 device to 'avr4' 
	architecture.

From-SVN: r123273
2007-03-28 02:44:34 +04:00
Janis Johnson
0d74c0ee2f configure.ac: Fix assembler test for powerpc*-linux decimal float.
* configure.ac: Fix assembler test for powerpc*-linux decimal float.
	* configure: Regenerate.

From-SVN: r123272
2007-03-27 22:14:02 +00:00
Janis Johnson
a3bba7679c * configure: Regenerate using the correct version of autoconf.
From-SVN: r123271
2007-03-27 22:06:52 +00:00
Janis Johnson
28e08d3cdf * lib/compat.exp (compat-execute): Fix processing of file names.
From-SVN: r123270
2007-03-27 22:06:00 +00:00
Richard Henderson
c97d6ac3ed Remove executable bit.
From-SVN: r123269
2007-03-27 14:37:34 -07:00
Tom Tromey
17e50382cc re PR xml/31303 (SAXException: org.xml.sax.driver property needs to be set?)
PR classpath/31303:
	* external/sax/org/xml/sax/helpers/XMLReaderFactory.java
	(createXMLReader): Code in Classpath default.

From-SVN: r123267
2007-03-27 19:29:54 +00:00
Keith Seitz
fd6a66a10a VMFrame.java: Update from upstream classpath.
* gnu/classpath/jdwp/VMFrame.java: Update from upstream
        classpath.
        * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
        * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
        * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
        (initialize): Fix compiler type-punning warning.
        (getAllLoadedClasses): Return empty list instead of NULL.
        (getLoadRequests): Likewise.
        * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
        * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
        * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
        * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
        * gnu/classpath/jdwp/value/CharValue.h: New file.
        * gnu/classpath/jdwp/value/LongValue.h: New file.
        * gnu/classpath/jdwp/value/ShortValue.h: New file.
        * gnu/classpath/jdwp/value/Value.h: New file.
        * gnu/classpath/jdwp/value/BooleanValue.h: New file.
        * gnu/classpath/jdwp/value/VoidValue.h: New file.
        * gnu/classpath/jdwp/value/ByteValue.h: New file.
        * gnu/classpath/jdwp/value/FloatValue.h: New file.
        * gnu/classpath/jdwp/value/ObjectValue.h: New file.
        * gnu/classpath/jdwp/value/StringValue.h: New file.
        * gnu/classpath/jdwp/value/ValueFactory.h: New file.
        * gnu/classpath/jdwp/value/IntValue.h: New file.
        * gnu/classpath/jdwp/value/DoubleValue.h: New file.
        * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
        * gnu/classpath/jdwp/id/NullObjectId.h: New file.
        * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
        * gnu/classpath/jdwp/util/NullObject.h: New file.
        * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
        * Makefile.in: Rebuilt.
        * sources.am: Rebuilt.

From-SVN: r123266
2007-03-27 18:42:49 +00:00
Keith Seitz
ab065b4d75 Classpath JDWP merge with upstream
From-SVN: r123265
2007-03-27 18:40:48 +00:00
Anatoly Sokolov
deb2378c15 Fix year in CangeLog.
From-SVN: r123264
2007-03-27 21:59:23 +04:00
Anatoly Sokolov
2cd11105ec avr.c (avr_hard_regno_mode_ok): Disallow QImode in stack pointer regs.
* config/avr/avr.c (avr_hard_regno_mode_ok): Disallow QImode in stack
	pointer regs.
	* config/avr/avr.h (REGISTER_NAMES): Rename "__SPL__" and "__SPH__"
	regs to "__SP_L__" and "__SP_H__".

From-SVN: r123263
2007-03-27 21:53:51 +04:00