OSDN Git Service
bkoz [Sun, 17 Oct 2004 15:22:03 +0000 (15:22 +0000)]
2004-10-17 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h (__pool::_M_get_align): New.
(__mt_alloc::allocate): Use it.
* src/mt_allocator.cc (__pool::_M_reclaim_block): Use it.
(__pool::_M_reserve_block): Simplify block allocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89171
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 17 Oct 2004 14:46:29 +0000 (14:46 +0000)]
2004-10-17 Dhruv Matani <dhruvbird@gmx.net>
Paolo Carlini <pcarlini@suse.de>
* include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this
makes the code 64-bit correct and also fixes (together with using at
the beginning a bitmap 2 * size_t bytes wide) alignment issues: now
8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES.
Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor.
* src/bitmap_allocator.cc: Change to size_t.
* config/linker-map.gnu: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89170
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sun, 17 Oct 2004 08:29:57 +0000 (08:29 +0000)]
2004-10-17 Michael Koch <konqueror@gmx.de>
* java/net/BindException.java,
java/net/ConnectException.java,
java/net/ContentHandler.java,
java/net/ContentHandlerFactory.java,
java/net/DatagramPacket.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/DatagramSocketImplFactory.java,
java/net/FileNameMap.java,
java/net/HttpURLConnection.java,
java/net/MalformedURLException.java,
java/net/MulticastSocket.java,
java/net/NetworkInterface.java,
java/net/NoRouteToHostException.java,
java/net/PasswordAuthentication.java,
java/net/PortUnreachableException.java,
java/net/ProtocolException.java,
java/net/ServerSocket.java,
java/net/Socket.java,
java/net/SocketException.java,
java/net/SocketImpl.java,
java/net/SocketImplFactory.java,
java/net/SocketOptions.java,
java/net/SocketPermission.java,
java/net/SocketTimeoutException.java,
java/net/URI.java,
java/net/URISyntaxException.java,
java/net/URL.java,
java/net/URLDecoder.java,
java/net/URLEncoder.java,
java/net/URLStreamHandler.java,
java/net/URLStreamHandlerFactory.java,
java/net/UnknownHostException.java,
java/net/UnknownServiceException.java:
Big import statement and @author tag cleanup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89168
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sun, 17 Oct 2004 08:00:11 +0000 (08:00 +0000)]
2004-10-17 Michael Koch <konqueror@gmx.de>
* gnu/java/security/OID.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/x509/X500DistinguishedName.java,
gnu/java/security/x509/X509CRL.java:
Import statements cleaned up.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89166
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 17 Oct 2004 07:15:53 +0000 (07:15 +0000)]
* pointer-set.c (hash1): Use integer part of 2^64 / phi
instead 2^32 / phi if long is 64-bit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89165
138bc75d-0d04-0410-961f-
82ee72b054a4
giovannibajo [Sun, 17 Oct 2004 04:39:46 +0000 (04:39 +0000)]
PR c++/17743
* decl2.c (grokfield): Apply attributes also to TYPE_DECLs.
PR c++/17743
* g++.dg/ext/attrib17.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89164
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 17 Oct 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89162
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 17 Oct 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89161
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 16 Oct 2004 23:20:42 +0000 (23:20 +0000)]
Fix typo in last entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89159
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 16 Oct 2004 23:19:07 +0000 (23:19 +0000)]
* c-common.c (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and
RID_PTRVALUE.
* c-parse.in (PTR_VALUE, PTR_BASE, PTR_EXTENT): Remove %token
declarations.
(reswords): Remove __ptrbase, __ptrbase__, __ptrextent,
__ptrextent__, __ptrvalue and __ptrvalue__.
(rid_to_yy): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE
entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89158
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Sat, 16 Oct 2004 22:58:45 +0000 (22:58 +0000)]
2004-10-16 Dale Johannesen <dalej@apple.com>
* c-common.c (c_common_get_alias_set): Use GGC for type_hash_table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89156
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 16 Oct 2004 18:32:21 +0000 (18:32 +0000)]
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/NIODatagramSocket.java,
gnu/java/nio/ServerSocketChannelImpl.java:
Reorganized import statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89154
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 16 Oct 2004 18:27:51 +0000 (18:27 +0000)]
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/RMIMarshalledObjectOutputStream.java
gnu/java/rmi/rmic/RMIC.java,
gnu/java/rmi/server/RMIHashes.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/rmi/server/RMIObjectOutputStream.java,
gnu/java/rmi/server/UnicastConnection.java,
gnu/java/rmi/server/UnicastConnectionManager.java,
gnu/java/rmi/server/UnicastRemoteCall.java,
gnu/java/rmi/server/UnicastServer.java,
gnu/java/rmi/server/UnicastServerRef.java,
java/rmi/MarshalledObject.java,
java/rmi/Naming.java,
java/rmi/RMISecurityManager.java,
java/rmi/Remote.java,
java/rmi/activation/Activatable.java,
java/rmi/activation/ActivationDesc.java,
java/rmi/activation/ActivationGroup.java,
java/rmi/activation/ActivationGroupDesc.java,
java/rmi/activation/ActivationGroupID.java,
java/rmi/activation/ActivationID.java,
java/rmi/activation/ActivationInstantiator.java,
java/rmi/activation/ActivationMonitor.java,
java/rmi/activation/ActivationSystem.java,
java/rmi/activation/Activator.java,
java/rmi/dgc/DGC.java,
java/rmi/dgc/Lease.java,
java/rmi/dgc/VMID.java,
java/rmi/registry/LocateRegistry.java,
java/rmi/registry/Registry.java,
java/rmi/registry/RegistryHandler.java,
java/rmi/server/LoaderHandler.java,
java/rmi/server/LogStream.java,
java/rmi/server/ObjID.java,
java/rmi/server/Operation.java,
java/rmi/server/RMIClassLoader.java,
java/rmi/server/RMIClassLoaderSpi.java,
java/rmi/server/RMIClientSocketFactory.java,
java/rmi/server/RMIFailureHandler.java,
java/rmi/server/RMIServerSocketFactory.java,
java/rmi/server/RMISocketFactory.java,
java/rmi/server/RemoteCall.java,
java/rmi/server/RemoteObject.java,
java/rmi/server/RemoteRef.java,
java/rmi/server/RemoteServer.java,
java/rmi/server/RemoteStub.java,
java/rmi/server/ServerRef.java,
java/rmi/server/Skeleton.java,
java/rmi/server/SkeletonMismatchException.java,
java/rmi/server/UID.java,
java/rmi/server/UnicastRemoteObject.java,
java/rmi/server/Unreferenced.java:
File headers and import statements cleaned up.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89153
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 16 Oct 2004 18:27:32 +0000 (18:27 +0000)]
* expr.c (expr_add_location): Move declaration to before all
statements.
* parse.y (java_expand_classes): Ditto.
* lex.c (java_peek_unicode): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89152
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 16 Oct 2004 18:06:03 +0000 (18:06 +0000)]
2004-10-16 Michael Koch <konqueror@gmx.de>
* libjava/gnu/java/nio/charset/UTF_16.java,
libjava/gnu/java/nio/charset/UTF_16BE.java,
libjava/gnu/java/nio/charset/UTF_16LE.java,
libjava/java/nio/ByteOrder.java,
libjava/java/nio/MappedByteBuffer.java,
libjava/java/nio/channels/Channels.java,
libjava/java/nio/channels/spi/SelectorProvider.java,
libjava/java/nio/charset/Charset.java:
Cleanup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89151
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 16 Oct 2004 17:58:01 +0000 (17:58 +0000)]
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/charset/UTF_16Encoder.java
(UTF_16Encoder): Fixed maxBytesPerChar handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89150
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 16 Oct 2004 17:51:45 +0000 (17:51 +0000)]
2004-10-16 Michael Koch <konqueror@gmx.de>
* java/math/BigDecimal.java, java/math/BigInteger.java:
Reorganized import statements, removed redundant and
reorganized modifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89149
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 16 Oct 2004 17:48:57 +0000 (17:48 +0000)]
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/beans/ExplicitBeanInfo.java:
Explicitely import java.awt.Image.
(getIcon): Fixed off-by-one error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89148
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 16 Oct 2004 16:58:59 +0000 (16:58 +0000)]
PR tree-optimization/17766
* basic-block.h (enum dom_state): DOM_CONS_OK removed.
(dom_info_available_p): Declare.
* cfghooks.c (split_block, make_forwarder_block): Use
dom_info_available_p.
* dominance.c (compute_dom_fast_query, calculate_dominance_info,
free_dominance_info, verify_dominators): Ditto.
(dom_info_available_p): New function.
* tree-cfg.c (cleanup_control_expr_graph): Free dominance information.
(thread_jumps): Use dom_info_available_p.
* tree-complex.c (expand_complex_div_wide): Ditto.
* tree-mudflap.c (mf_build_check_statement_for): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89147
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 16 Oct 2004 16:49:53 +0000 (16:49 +0000)]
* tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.
(find_best_candidate): Take also important candidates into account.
(find_optimal_iv_set): Initialize important_candidates bitmap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89146
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 16 Oct 2004 16:45:38 +0000 (16:45 +0000)]
PR tree-optimization/17560
* predict.c (tree_estimate_probability): Mark irreducible
loops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89145
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 16 Oct 2004 16:42:31 +0000 (16:42 +0000)]
PR rtl-optimization/17723
* cfgcleanup.c (merge_memattrs): Handle case when
MEM_SIZE == NULL_RTX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89144
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 16 Oct 2004 13:48:34 +0000 (13:48 +0000)]
2004-10-16 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/array: Don't use layout_type.
2004-10-16 Sashan Govender <sashang@gmail.com>
* include/tr1/array (array::end const): Fix casting from iterator
to const_iterator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89139
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 16 Oct 2004 11:47:46 +0000 (11:47 +0000)]
* gcc.dg/bf-spl1.c: Use 'float' as the base type for FP types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89136
138bc75d-0d04-0410-961f-
82ee72b054a4
giovannibajo [Sat, 16 Oct 2004 11:04:58 +0000 (11:04 +0000)]
PR c++/10479
* parser.c (cp_parser_parenthesized_expression_list): Fold
non-dependent expressions in attribute lists.
PR c++/10479
* g++.dg/ext/attrib16.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89135
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sat, 16 Oct 2004 00:57:01 +0000 (00:57 +0000)]
2004-10-15 Andrew Pinski <pinskia@physics.uc.edu>
* toplev.c (dump_file_name): Change type to be const.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89131
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 16 Oct 2004 00:16:22 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89127
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 16 Oct 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89126
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 15 Oct 2004 21:32:03 +0000 (21:32 +0000)]
* c-typeck.c (build_compound_expr, build_c_cast): Don't try to use
non_lvalue to stop something being a null pointer constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89120
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 15 Oct 2004 21:18:07 +0000 (21:18 +0000)]
PR c++/17042
* decl.c (declare_global_var): Use the return value from pushdecl.
PR c++/14667
* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
type names if we have already found a valid type.
(cp_parser_member_declaration): Likewise.
PR c++/17852
* parser.c (cp_parser_member_specification_opt): Handle
CPP_PRAGMA.
PR c++/17042
* g++.dg/init/dso_handle1.C: New test.
PR c++/17852
* g++.dg/parse/pragma1.C: New test.
PR c++/14667
* g++.dg/parse/typedef6.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89119
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 15 Oct 2004 21:11:50 +0000 (21:11 +0000)]
PR c++/17042
* decl.c (declare_global_var): Use the return value from pushdecl.
PR c++/14667
* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
type names if we have already found a valid type.
(cp_parser_member_declaration): Likewise.
PR c++/17852
* parser.c (cp_parser_member_specification_opt): Handle
CPP_PRAGMA.
PR c++/17042
* g++.dg/init/dso_handle1.C: New test.
PR c++/17852
* g++.dg/parse/pragma1.C: New test.
PR c++/14667
* g++.dg/parse/typedef6.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89118
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 15 Oct 2004 19:25:59 +0000 (19:25 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Disable on powerpc-*-*spe.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89113
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 15 Oct 2004 18:50:55 +0000 (18:50 +0000)]
* config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only
available for TARGET_FPRS.
(FUNCTION_VALUE_REGNO_P): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89112
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 15 Oct 2004 18:46:52 +0000 (18:46 +0000)]
* doc/invoke.texi (RS/6000 and PowerPC Options): Document
-maltivec in same style as other ISA options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89111
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Fri, 15 Oct 2004 18:43:10 +0000 (18:43 +0000)]
* parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and
rename parameter 'msg' to 'msgid' in function declaration.
(issue_warning_error_from_context): Likewise.
(yyerror): Rename parameter 'msg' to 'msgid'.
(all over): Use new quoting style for diagnostics.
* check-init.c: Use %<, %> and %q for quoting in diagnostics,
if possible, else convert `foo' to 'foo'.
* class.c: Likewise.
* decl.c: Likewise.
* expr.c: Likewise.
* jcf-io.c: Likewise.
* jcf-parse.c: Likewise.
* lang.c: Likewise.
* lex.c: Likewise.
* parse.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89110
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Fri, 15 Oct 2004 17:22:41 +0000 (17:22 +0000)]
* gcc.dg/compat/struct-layout-1_generate.c (switchfiles): Use
-fno-common when on HPPA HP-UX platforms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89107
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 15 Oct 2004 17:22:02 +0000 (17:22 +0000)]
2004-10-15 Jon Grimm <jgrimm2@us.ibm.com>
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__
definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89106
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Fri, 15 Oct 2004 17:02:58 +0000 (17:02 +0000)]
other/16820
* gcc.dg/compat/struct-layout-1.h: Don't include complex.h nor
stdint.h.
* gcc.dg/compat/struct-layout-1_x1.h (TX): Cast to long instead of
uintptr_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89105
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 15 Oct 2004 17:01:19 +0000 (17:01 +0000)]
2004-10-15 Andrew Haley <aph@redhat.com>
* Makefile.am (nat_files, xlib_nat_files): New.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89104
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 15 Oct 2004 14:55:00 +0000 (14:55 +0000)]
* boehm.c, builtins.c, java-except.h, jcf-io.c, jcf-path.c,
jcf.h, lang-specs.h, lex.c, lex.h, resource.c, win32-host.c:
Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89100
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 15 Oct 2004 14:49:30 +0000 (14:49 +0000)]
* dump.c, g++spec.c, repo.c: Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89098
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 15 Oct 2004 14:47:12 +0000 (14:47 +0000)]
* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
predict.def, predict.h, protoize.c, reload.h, resource.h,
rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
unwind-sjlj.c, value-prof.h: Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89097
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 15 Oct 2004 14:39:24 +0000 (14:39 +0000)]
* decl.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89095
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 15 Oct 2004 14:36:32 +0000 (14:36 +0000)]
* pointer-set.c, tree-vectorizer.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89094
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 15 Oct 2004 14:30:21 +0000 (14:30 +0000)]
2004-10-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/16301
* name-lookup.c (parse_using_directive): If we have a
error_mark_node, do not set the decl namespace associations
on it.
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/16301
* g++.dg/lookup/strong-using-4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89093
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 15 Oct 2004 13:49:02 +0000 (13:49 +0000)]
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/16567
* gcc.c-torture/compile/nested-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89092
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 15 Oct 2004 10:54:57 +0000 (10:54 +0000)]
2004-10-15 Paolo Carlini <pcarlini@suse.de>
* include/ext/bitmap_allocator.h: Qualify ::operator delete.
* src/bitmap_allocator.cc: Likewise.
* src/mt_allocator.cc: Use ::operator delete, not delete,
consistently with ::operator new.
* include/ext/bitmap_allocator.h (deallocate): Check for null
pointer.
* testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
* testsuite/testsuite_allocator.h (check_deallocate_null): Add test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89089
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Fri, 15 Oct 2004 09:45:45 +0000 (09:45 +0000)]
* testsuite/gcc.dg/vect/vect-44.c: xfail on i?86-*-*, x86_64-*-*,
and mipsisa64*-*-* (until support for misaligned loads is added).
* testsuite/gcc.dg/vect/vect-50.c: Likewise.
* testsuite/gcc.dg/vect/vect-52.c: Likewise.
* testsuite/gcc.dg/vect/vect-54.c: Likewise.
* testsuite/gcc.dg/vect/vect-58.c: Likewise.
* testsuite/gcc.dg/vect/vect-60.c: Likewise.
* testsuite/gcc.dg/vect/vect-80.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89088
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Fri, 15 Oct 2004 07:58:38 +0000 (07:58 +0000)]
2004-08-14 Paolo Bonzini <bonzini@gnu.org>
PR other/17991
* Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
Update copyright year.
* fixfixes.c (main): Call initialize_opts from fixopts.c.
* fixincl.c (initialize): Call initialize_opts from fixopts.c,
do not include code for parsing options (environment vars).
(fix_with_system): Use a search path for applyfix, so that you
can run the test suite with two-process fixincludes.
* fixopts.c: New file.
* configure.ac: Add --enable-twoprocess. Export ac_exeext
to config.h. Default to --enable-twoprocess for MinGW32.
* config.h.in: Regenerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89087
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 15 Oct 2004 05:00:37 +0000 (05:00 +0000)]
* tree-optimize.c (execute_one_pass): Stop timer right after
executing the pass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89086
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 15 Oct 2004 04:18:01 +0000 (04:18 +0000)]
PR c++/17976
* decl.c (cp_finish_decl): Do not call expand_static_init more
than once for a single variable.
PR c++/17976
* g++.dg/init/dtor3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89081
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 15 Oct 2004 04:15:43 +0000 (04:15 +0000)]
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
Revert:
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17967
Revert:
* tree-cfg.c (remove_usless_stmts_cond): Fold statement.
(remove_useless_stmts_1): Fold trees we know how to fold.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89080
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 15 Oct 2004 02:26:15 +0000 (02:26 +0000)]
* configure.ac: Add .machine power4 directive when testing for
mfcr field.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89076
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 15 Oct 2004 01:28:31 +0000 (01:28 +0000)]
* config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Don't define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89075
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 15 Oct 2004 00:35:21 +0000 (00:35 +0000)]
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
* tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor
always.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89074
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 15 Oct 2004 00:16:48 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89072
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 15 Oct 2004 00:16:44 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89071
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Fri, 15 Oct 2004 00:04:54 +0000 (00:04 +0000)]
* gcc.dg/ppc-stackalign-1.c: Set dg-options to {}.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89068
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Thu, 14 Oct 2004 23:47:14 +0000 (23:47 +0000)]
* config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS
for 'f' if !TARGET_FPRS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89067
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 2004 23:30:18 +0000 (23:30 +0000)]
PR debug/14492
* dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89066
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 14 Oct 2004 23:20:58 +0000 (23:20 +0000)]
PR c/17023
* c-decl.c (store_parm_decls_oldstyle): Care for parameter type
as error_mark_node.
* c-parse.in (compstmt_primary_start): Check cur_stmt_list non-null
instaed of current_function_decl non-null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89063
138bc75d-0d04-0410-961f-
82ee72b054a4
austern [Thu, 14 Oct 2004 23:15:29 +0000 (23:15 +0000)]
Speed up walk_tree by introducing a special-purpose hash table.
* pointer-set.c: New file, special-purpose hash table.
* pointer-set.h: New file.
* tree.h (struct pointer_set_t): Declare as opaque type.
(tree_walk): Last argument is pointer_set_t* now.
* tree-inline.c (WALK_SUBTREE): Convert from htab to pset.
(walk_type_fields):
(walk_tree): Convert from htab_t to pointer_set_t for keeping
track of which nodes have already been visited.
(walk_tree_without_duplicates): Convert from htab_t to pointer_set_t.
* cgraphunit.c (cgraph_create_edges): Likewise.
(cgraph_characterize_statics_local): Likewise.
* tree-dfa.c (collect_dfa_stats): Likewise.
* langhooks-def.h (lhd_tree_inlining_walk_subtrees): Last arg is
pointer_set_t* now.
* langhooks.c (lhd_tree_inlining_walk_subtrees): Likewise.
* langhooks.h (struct lang_hooks_for_tree_inlining): Last arg type
of walk_subtrees is pointer_set_t* now.
* Makefile.in (OBJS-common): add pointer-set.o
(tree-inline.o): Depends on pointer-set.h
(tree-dfa.o): Likewise
(cgraphunit.o): Likewise
* cp/Make-lang.in (pt.o): depends on pointer-set.h
* cp/cp-tree.h (cp_walk_subtrees): Last argument is pointer_set_t* now.
* cp/pt.c (struct pair_fn_data): Use pointer_set_t, not htab_t
(for_each_template_parm): Convert from htab_t to pointer_set_t.
* cp/tree.c (cp_walk_subtrees): Last argument is pointer_set_t* now.
* java/lang.c (java_tree_inlining_walk_subtrees): Last arg is struct
pointer_set_t* now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89062
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 14 Oct 2004 23:03:26 +0000 (23:03 +0000)]
2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
null pointer.
* include/ext/pool_allocator.h (debug_allocator::deallocate):
Check pointer value.
* include/ext/debug_allocator.h (debug_allocator::deallocate):
Throw exceptions, don't abort.
* include/ext/array_allocator.h
(array_allocator_base::deallocate): Remove unused parameters.
* testsuite/testsuite_allocator.h (check_deallocate_null): New.
* testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
* testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
* testsuite/ext/array_allocator/check_deallocate_null.cc: New.
* testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
* testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
* testsuite/ext/new_allocator/check_deallocate_null.cc: New.
* testsuite/ext/pool_allocator/check_deallocate_null.cc: New.
* testsuite/testsuite_allocator.h (check_new): Add instance argument.
* testsuite/ext/array_allocator/check_new.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89060
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 14 Oct 2004 22:30:47 +0000 (22:30 +0000)]
2004-10-14 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/darwin.h (ASM_SPEC): Delete.
(TARGET_ASM_FILE_START): Define.
* config/darwin.h (ASM_SPEC): Define.
* config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Don't supply
-mlong-double-128, it's the default. Update comment about reason
for force_cpusubtype_ALL.
* config/rs6000/darwin-vecsave.asm: Supply .machine.
* config/rs6000/darwin-world.asm: Likewise.
* config/rs6000/rs6000.c (rs6000_darwin_file_start): New.
(symbolic_operand): Delete #if 0ed code.
Index: testsuite/ChangeLog
2004-10-14 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-misaligned.c: Don't supply -force_cpusubtype_ALL.
* gcc.dg/macho-lo-sum.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89059
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 14 Oct 2004 22:01:45 +0000 (22:01 +0000)]
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
* stmt.c (add_case_node): Make sure that we have integer
constant before calling tree_int_cst_compare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89058
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 14 Oct 2004 22:00:04 +0000 (22:00 +0000)]
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17967
Revert:
* tree-cfg.c (remove_usless_stmts_cond): Fold statement.
(remove_useless_stmts_1): Fold trees we know how to fold.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89057
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 14 Oct 2004 21:44:13 +0000 (21:44 +0000)]
2004-10-14 Paolo Carlini <pcarlini@suse.de>
* include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block):
Rename __unused to __M_unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89056
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 14 Oct 2004 21:34:52 +0000 (21:34 +0000)]
2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/ext/headers.cc: Add includes, compile only.
* testsuite/ext/hash_map.cc: Move to...
* testsuite/ext/hash_map/1.cc: ...here.
* testsuite/ext/14648.cc: Move to...
* testsuite/ext/hash_map/14648.cc: ...here.
* testsuite/ext/hash_map/instantiate.cc: Add.
* testsuite/ext/hash_set.cc: Move to...
* testsuite/ext/hash_set/1.cc: ...here.
* testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
* testsuite/ext/hash_set/instantiate.cc: ...here.
* testsuite/ext/hash_check_construct_destroy.cc: Move to...
* testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
* testsuite/ext/slist_check_construct_destroy.cc: Move to...
* testsuite/ext/slist/check_construct_destroy.cc: ...here.
* testsuite/ext/slist_explicit_instantiation.cc: Move to...
* testsuite/ext/slist/instantiate.cc: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89054
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 14 Oct 2004 21:05:24 +0000 (21:05 +0000)]
2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h: Tweaks.
* src/mt_allocator.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89052
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 14 Oct 2004 20:36:37 +0000 (20:36 +0000)]
* jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89051
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 14 Oct 2004 19:49:34 +0000 (19:49 +0000)]
* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS),
config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow
-m64.
testsuite:
* gcc.dg/ppc-spe64-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89048
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 14 Oct 2004 18:32:04 +0000 (18:32 +0000)]
* reload.c (find_reloads): When reloading a PLUS with constant
operand, make sure the constant is pushed to the constant pool
if required.
* config/s390/s390.c (s390_secondary_input_reload_class): Remove
reload bug workaround.
(s390_expand_plus_operand): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89047
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 14 Oct 2004 18:29:17 +0000 (18:29 +0000)]
* opts.c (common_handle_option): Do not enable
flag_speculative_prefetching for -fprofile-generate/use.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89046
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Thu, 14 Oct 2004 18:19:47 +0000 (18:19 +0000)]
* tree-if-conv.c (process_phi_nodes): Process latch block.
(combine_blocks): Process latch block and update loop structure.
* gcc.dg/pr17635.c : New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89045
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 14 Oct 2004 17:52:18 +0000 (17:52 +0000)]
2004-10-14 Dhruv Matani <dhruvbird@gmx.net>
* ext/bitmap_allocator.h: Clean-up add/remove functions.
* src/bitmap_allocator.cc: New file. Contains the out-of-line
function definitions, static initialization of variables, and
explicit instantiations needed for the allocator.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
* config/linker.map.gnu: Add the necessary symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89042
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Thu, 14 Oct 2004 17:21:35 +0000 (17:21 +0000)]
2004-10-14 Olga Golovanevsky <olga@il.ibm.com>
* tree-vectorizer.c (vect_generate_tmps_on_preheader):
(vect_update_ivs_after_vectorizer):
(vect_transform_for_unknown_loop_bound):
(tree_duplicate_loop_to_edge):
(allocate_new_names):
(rename_use_op):
(rename_def_op):
(rename_variables_in_bb):
(free_new_names):
(rename_variables_in_loop):
(copy_phi_nodes):
(update_phis_for_duplicate_loop):
(update_phi_nodes_for_guard):
(make_loop_iterate_ntimes):
(tree_duplicate_loop_to_edge_cfg):
(add_loop_guard):
(vect_analyze_loop_with_symbolic_num_of_iters):
(verify_loop_for_duplication):
(vect_gen_niters_for_prolog_loop):
(vect_update_niters_after_peeling):
(vect_update_inits_of_dr):
(vect_update_inits_of_drs):
(vect_build_loop_niters):
(vect_do_peeling_for_alignment): New functions.
(vect_transform_loop): Add unknown and known but indivisible loop
bound support; add peeling for unalignment support.
(vect_analyze_loop_form): Support symbolic number of iterations.
(vect_transform_loop_bound): New input parameter.
(vect_get_loop_niters): Change input parameter type.
(new_loop_vec_info): LOOP_VINFO_NITERS is tree now.
(vectorizable_store): Allow unaligned access.
(vectorize_loops): Add rewrite_into_loop_closed_ssa.
(vect_analyze_data_refs_alignment): Allowed one unaligned
store.
* tree-vectorizer.h (LOOP_VINFO_NITERS_KNOWN_P): Redefined
to use tree.
(LOOP_VINFO_INT_NITERS): New macro.
(MAX_NUMBER_OF_UNALIGNED_DATA_REFS): New define.
(do_peeling_for_alignment):
(unaligned_drs): New members of _loop_vec_info.
(LOOP_DO_PEELING_FOR_ALIGNMENT): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89040
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Thu, 14 Oct 2004 16:44:43 +0000 (16:44 +0000)]
* tree.h (TREE_STRING_POINTER): Wrap in "const char *".
(struct tree_string): Remove "const" qualifier for "str".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89039
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Thu, 14 Oct 2004 16:39:07 +0000 (16:39 +0000)]
2004-10-14 Ira Rosen <irar@il.ibm.com>
* tree-vectorizer.c (vect_analyze_data_refs): Call
vect_get_base_and_bit_offset to get memory tag for array ref.
(vect_create_addr_base_for_vector_ref): Remove redundant checks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89038
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Thu, 14 Oct 2004 15:21:13 +0000 (15:21 +0000)]
2004-10-13 Andrew Haley <aph@redhat.com>
* interpret.cc (_Jv_InterpMethod::run): Initialize
_Jv_StartOfInterpreter.
(_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
(_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
* gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
_Unwind_FindEnclosingFunction to discover whether PC is within the
interpreter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89037
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 14 Oct 2004 13:10:56 +0000 (13:10 +0000)]
* configure.ac: Use $LN_S for creating symlinks (not $LN).
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89036
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 14 Oct 2004 12:18:15 +0000 (12:18 +0000)]
* doc/install.texi (*-*-solaris2*): Update with info about kernel
patches to solve spurious testsuite failures.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89033
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Thu, 14 Oct 2004 08:36:09 +0000 (08:36 +0000)]
* tree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts.
Added check that vectype is VECTOR_MODE_P, instead of check for BLKmode.
(vect_analyze_operations): Make sure the vectorization factor > 1. Add
gcc_assert under ENABLE_CHECKING.
(vectorizable_operation): Remove check for VECTOR_MODE_P (moved to
get_vectype_for_scalar_type).
(vect_get_vec_def_for_operand): Remove redundant variables.
(vect_transform_loop): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89032
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 14 Oct 2004 07:37:11 +0000 (07:37 +0000)]
* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and
global for -mcaller-super-interworking.
(CALLER_INTERWORKING_SLOT_SIZE): New macro.
* config/arm/arm.c (thumb_compute_save_reg_mask): Save r11 if
CALLER_INTERWORKING_SLOT_SIZE is nonzero and the function does
not need a frame pointer.
(arm_get_frame_offsets): Add CALLER_INTERWORKING_SLOT_SIZE bytes to
the soft frame pointer offset.
(thumb_expand_prologue): Set up r11 for -mcaller-super-interworking.
* config/arm/arm.md (*call_reg_thumb, *call_value_reg_thumb): Use
_interwork_{r7,r11}_call_via_rN if some arguments are passed on
the stack. Use frame_pointer_needed to choose between them.
* config/arm/lib1funcs.asm (_arm_return_{r7,r11}): New functions.
(interwork_with_frame): New macro.
(interwork): Add _interwork_{r7,r11}_call_via_rN().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89031
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Thu, 14 Oct 2004 07:15:37 +0000 (07:15 +0000)]
PR other/17900
* diagnostic.c (trim_filename): Fix logic bug in walking backwards
up the filename looking for a previous directory separator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89029
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 14 Oct 2004 00:56:22 +0000 (00:56 +0000)]
libcpp:
* errors.c (_cpp_begin_message): Print "error: " for errors.
gcc/testsuite:
* gcc.dg/cpp/error-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89025
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 14 Oct 2004 00:34:01 +0000 (00:34 +0000)]
* c-tree.h (enum c_typespec_kind, struct c_typespec,
parser_xref_tag): New.
(struct c_declspecs): Add tag_defined_p. Adjust definition of
typedef_p.
(declspecs_add_type): Adjust prototypes.
* c-parse.in (%union): Add tstype.
(typespec_nonattr, typespec_attr, typespec_reserved_nonattr,
typespec_reserved_attr, typespec_nonreserved_nonattr,
structsp_attr, structsp_nonattr): Change to tstype. Update
actions.
* c-decl.c (build_null_declspecs): Initialize tag_defined_p.
(declspecs_add_type): Update to take struct c_typespec argument.
Set tag_defined_p and typedef_p as appropriate.
(xref_tag): Rename to parser_xref_tag and replace by wrapper.
Update to return struct c_typespec.
(shadow_tag_warned): Don't let empty declarations with qualifiers
or storage class specifiers redeclare a tag if a previous
declaration is visible.
testsuite:
* gcc.dg/c99-tag-3.c, gcc.dg/declspec-14.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89021
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 14 Oct 2004 00:16:29 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89019
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 14 Oct 2004 00:16:22 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89018
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 13 Oct 2004 23:43:56 +0000 (23:43 +0000)]
PR debug/15860
* dwarf2out.c (rtl_for_decl_location): Apply big-endian correction
for DECL_INCOMING_RTL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89012
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 13 Oct 2004 23:35:03 +0000 (23:35 +0000)]
PR target/17984
* config/cris/cris.md (asrandb, asrandw, lsrandb, lsrandw): Apply
trunc_int_for_mode for constants used in shortened mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89011
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 13 Oct 2004 23:32:15 +0000 (23:32 +0000)]
PR target/17984
* gcc.dg/cris-peep2-xsrand2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89010
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 13 Oct 2004 23:31:23 +0000 (23:31 +0000)]
PR c/17384
* c-common.c (handle_mode_attribute): Disallow mode changes that
alter the CODE of the top-level type.
* crtstuff.c (__FRAME_END__): Remove mode attribute. Find 32-bit
integer from internal limits macros.
* config/i386/mm3dnow.h (__v2sf): Fix base type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89009
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 13 Oct 2004 23:25:13 +0000 (23:25 +0000)]
PR debug/13841
* function.c (instantiate_decl): Recurse for CONCAT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89007
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 13 Oct 2004 22:41:36 +0000 (22:41 +0000)]
(extzvdi_internal1): Add attribute "compare".
(extzvdi_internal2): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89004
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 13 Oct 2004 22:37:12 +0000 (22:37 +0000)]
* trans-decl.c (generate_local_decl): Simplify logic, fix comment
typo.
(gfc_generate_function_code): Fix formatting issue.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89003
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 13 Oct 2004 22:20:24 +0000 (22:20 +0000)]
* config/rs6000/rs6000.md (andsi3): Add attribute "compare" for
andi./andis.
(anddi3): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89002
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 13 Oct 2004 20:53:43 +0000 (20:53 +0000)]
* doc/md.texi (Insn Canonicalizations): Removed extraneous quote.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89001
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Wed, 13 Oct 2004 19:14:44 +0000 (19:14 +0000)]
2004-10-13 Dale Johannesen <dalej@apple.com>
* doc/extend.texi (Extended Asm): Rewrite asm volatile description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88999
138bc75d-0d04-0410-961f-
82ee72b054a4
fche [Wed, 13 Oct 2004 18:27:16 +0000 (18:27 +0000)]
2004-10-12 Frank Ch. Eigler <fche@redhat.com>
* configure.ac: Check for more headers, functions.
* mf-hooks2.c (mkbuffer, unmkbuffer): New helper functions for
tracking overridden FILE buffers.
(fopen, setvbuf): New/revised hook functions for buffer overriding.
(setbuf,setlinebuf,fdopen,freopen,fopen64,freopen64,fclose): Ditto.
(fflush): Accept given NULL stream (means "all streams").
* mf-runtime.h.in:
* mf-runtime.c (__mfu_check): Accept accesses that span adjacent
HEAP/GUESS objects.
(LOOKUP_CACHE_SIZE_MAX): Raise to 64K entries tentatively.
(__mf_adapt_cache): Use them all.
* testsuite/libmudflap.c/pass35-frag.c: Update warning message.
* testsuite/libmudflap.c++/ctors.exp: Ditto.
* testsuite/libmudflap.c/{pass51,pass52}-frag.c: New tests.
* configure, config.h.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88996
138bc75d-0d04-0410-961f-
82ee72b054a4
fche [Wed, 13 Oct 2004 18:18:18 +0000 (18:18 +0000)]
2004-10-13 Frank Ch. Eigler <fche@redhat.com>
* toplev.c (compile_file): Call mudflap_finish_file from here ...
* c-decl.c (c_write_global_declarations): ... instead of here ...
* cp/decl.c (cp_finish_file): ... and here.
* tree-mudflap.c (mudflap_enqueue_decl): Reword a warning message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88995
138bc75d-0d04-0410-961f-
82ee72b054a4