Commit Graph

79949 Commits

Author SHA1 Message Date
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
Paolo Carlini
7558d8101e fstream.tcc (basic_filebuf<>::underflow): Don't call codecvt::in at all if _M_ext_next >= _M_ext_end.
2007-03-27  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/fstream.tcc (basic_filebuf<>::underflow):
	Don't call codecvt::in at all if _M_ext_next >= _M_ext_end.
	* testsuite/27_io/basic_filebuf/underflow/char/3.cc: New.

From-SVN: r123260
2007-03-27 15:51:41 +00:00
Richard Guenther
c21c775aeb tree-dfa.c (get_ref_base_and_extent): Replace bit_offset and computations with it with a HOST_WIDE_INT variable.
2007-03-27  Richard Guenther  <rguenther@suse.de>

	* tree-dfa.c (get_ref_base_and_extent): Replace bit_offset and
	computations with it with a HOST_WIDE_INT variable.

From-SVN: r123259
2007-03-27 15:40:09 +00:00
Daniel Jacobowitz
3761d39ce4 * gcc.target/powerpc/ppc-stackalign-1.c: Run for powerpc-eabi.
From-SVN: r123256
2007-03-27 12:34:51 +00:00
Uros Bizjak
3e860bcdfa target-supports.exp (check_effective_target_fortran_large_real): Delete created executable test file.
* lib/target-supports.exp (check_effective_target_fortran_large_real):
	Delete created executable test file.
	(check_effective_target_fortran_large_int): Ditto.
	(check_effective_target_static_libgfortran): Ditto.

From-SVN: r123255
2007-03-27 09:00:13 +02:00
Tom Tromey
d2bbc9523d Index: gcc/java/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* Make-lang.in (JAVA_MANFILES): Removed grmiregistry.1.
	(java.maintainer-clean): Likewise.
	(java.install-man): Likewise.
	(.INTERMEDIATE): Removed grmiregistry.pod.
	(grmiregistry.pod): Removed.
	* gcj.texi (Invoking gcjh): Removed.
	(Invoking gjnih): Likewise.
	(Invoking grmiregistry): Likewise.
	(direntry): Updated.
	(Top): Likewise.
	(which-gcj): Removed.

Index: libjava/classpath/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* doc/cp-tools.texinfo (gcjh Tool): Added more text.
	(rmid Tool): Likewise.

2007-03-25  Dalibor Topic  <robilad@kaffe.org>

	* doc/cp-tools.texinfo: Fix node ordering.

2007-03-19  Matthias Klose  <doko@ubuntu.com>

	* doc/Makefile.am: Build a gcjh(1) man page.
	* doc/cp-tools.texinfo: Add documentation for gcjh.

From-SVN: r123253
2007-03-27 01:37:34 +00:00
Mike Stump
6b692a83a1 darwin.h (DARWIN_MINVERSION_SPEC): Add objective-c-header, objective-c++-header and objc++-cpp-output support.
* config/rs6000/darwin.h (DARWIN_MINVERSION_SPEC): Add
	objective-c-header, objective-c++-header and objc++-cpp-output
	support.
	* config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Likewise.

From-SVN: r123252
2007-03-27 01:04:30 +00:00
Brooks Moses
52f2f1d754 gfc-internals.texi: New file,
* gfc-internals.texi: New file,
* Make-lang.in: Add rules to convert it to dvi, pdf, and info.

From-SVN: r123251
2007-03-26 17:41:27 -07:00
Richard Henderson
24bfafbc9d re PR target/31361 (SSE2 generation bug with shifts)
PR target/31361
        * config/i386/i386.c (IX86_BUILTIN_PSLLDQ128, IX86_BUILTIN_PSLLW128,
        IX86_BUILTIN_PSLLD128, IX86_BUILTIN_PSLLQ128, IX86_BUILTIN_PSRAW128,
        IX86_BUILTIN_PSRAD128, IX86_BUILTIN_PSRLW128, IX86_BUILTIN_PSRLD128,
        IX86_BUILTIN_PSRLQ128): New.
        (ix86_init_mmx_sse_builtins): Add them.
        (ix86_expand_builtin): Expand them.
        * config/i386/sse.md (ashr<mode>3, lshr<mode>3, ashl<mode>3): Make
        operand 2 be TImode.
        * config/i386/emmintrin.h (_mm_slli_epi64, _mm_srai_epi16,
        _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
        _mm_srli_epi64): Mark __B const.
        (_mm_srli_si128, _mm_srli_si128): Fix disabled inline versions.
        (_mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64, _mm_sra_epi16,
        _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32, _mm_srl_epi64): Use 
        new two-vector shift builtins.

From-SVN: r123250
2007-03-26 17:30:32 -07:00
Dirk Mueller
df12b78f89 parser.c (cp_parser_member_declaration): Pedwarn about stray semicolons after member declarations.
2007-03-26  Dirk Mueller  <dmueller@suse.de>

       * parser.c (cp_parser_member_declaration): Pedwarn
       about stray semicolons after member declarations.

From-SVN: r123249
2007-03-27 00:15:29 +00:00
GCC Administrator
196a935a31 Daily bump.
From-SVN: r123247
2007-03-26 23:16:59 +00:00
Brooks Moses
7b0930d9cc * error.c (show_locus): Remove always-false test.
From-SVN: r123244
2007-03-26 15:59:33 -07:00
DJ Delorie
2aeb72e996 Revert accidental commit.
From-SVN: r123243
2007-03-26 18:50:13 -04:00
Zack Weinberg
703d89ab91 Add file left out of prior commit, and regenerate the proper configure script
From-SVN: r123242
2007-03-26 22:23:50 +00:00
Stepan Kasal
596438ca81 Main.java (cniOrJniSeen): New field.
2007-03-26  Stepan Kasal  <skasal@redhat.com>

	* tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
	field.
	(getParser): Use new field.

From-SVN: r123240
2007-03-26 22:15:14 +00:00
Paolo Carlini
7cf2045de1 re PR c++/30500 (pragma GCC system_header vs templates)
2007-03-26  Paolo Carlini  <pcarlini@suse.de>

	PR c++/30500
	* pt.c (instantiate_decl): Set in_system_header.

2007-03-26  Paolo Carlini  <pcarlini@suse.de>

	PR c++/30500
	* g++.dg/warn/pragma-system_header1.C: New test.
	* g++.dg/warn/pragma-system_header2.C: New test.
	* g++.dg/warn/pragma-system_header1.h. New.
	* g++.dg/warn/pragma-system_header2.h. New.

From-SVN: r123239
2007-03-26 21:55:19 +00:00
Paolo Carlini
912291cac3 re PR c++/30500 (pragma GCC system_header vs templates)
2007-03-26  Paolo Carlini  <pcarlini@suse.de>

	PR c++/30500
	* pt.c (instantiate_decl): Set in_system_header.

2007-03-26  Paolo Carlini  <pcarlini@suse.de>

	PR c++/30500
	* g++.dg/warn/pragma-system_header1.C: New test.
	* g++.dg/warn/pragma-system_header2.C: New test.
	* g++.dg/warn/pragma-system_header1.h. New.
	* g++.dg/warn/pragma-system_header2.h. New.

From-SVN: r123238
2007-03-26 21:55:03 +00:00