aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-10-18Makefile.in (loop-unroll.o): Add VARRAY_H dependency.Revital Eres7-176/+636
2004-10-18 Revital Eres <eres@il.ibm.com> * Makefile.in (loop-unroll.o): Add VARRAY_H dependency. * loop-unroll.c: Include varray.h. (struct var_to_expand, struct opt_info): Rename split_ivs_info to opt_info and expand it to support variable expansion. (analyze_insns_in_loop): Rename analyze_ivs_to_split and expand it to support variable expansion. (pt_info_start_duplication): Rename si_info_start_duplication. (apply_opt_in_copies): Rename split_ivs_in_copies and add support to the variable expansion optimization. (free_opt_info): Rename free_si_info. (analyze_insn_to_expand_var, referenced_in_one_insn_in_loop_p, expand_var_during_unrolling, insert_var_expansion_initialization, combine_var_copies_in_loop_exit, release_var_copies, get_expansion): New functions. (peel_loop_completely, unroll_loop_constant_iterations, unroll_loop_runtime_iterations, peel_loop_simple, unroll_loop_stupid): Change uses of struct si_info to struct opt_info and add uses of fvariable-expansion-in-unroller flag. * params.def: Add parameter to restrict the number of expansions. * params.h: (MAX_VARIABLE_EXPANSIONS): New define to restrict the number of expansions. * common.opt: (fvariable-expansion-in-unroller): New flag. * doc/invoke.texi: (fvariable-expansion-in-unroller): Document. From-SVN: r89197
2004-10-18cygming.h (TARGET_OS_CPP_BUILTINS): Define __GXX_MERGED_TYPEINFO_NAMES to 0.Danny Smith2-0/+8
* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define __GXX_MERGED_TYPEINFO_NAMES to 0. From-SVN: r89196
2004-10-18ppc-sdata-1.c: Update to consider the possibility of the compiler referring ↵Ben Elliston2-2/+8
to register 0 when... * gcc.dg/ppc-sdata-1.c: Update to consider the possibility of the compiler referring to register 0 when accessing sdata. The linker now patches things up. From-SVN: r89195
2004-10-18cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb...Hans-Peter Nilsson3-1/+14
* cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb, handle barriers in a bb by checking that it points to a NULL bb. * emit-rtl.c (emit_barrier_before): Set BLOCK_FOR_INSN to NULL. (emit_barrier_after, emit_barrier): Ditto. From-SVN: r89193
2004-10-18extend.texi (Attribute Syntax): Clarify details of attributes on parameters.Joseph Myers2-0/+14
* doc/extend.texi (Attribute Syntax): Clarify details of attributes on parameters. From-SVN: r89190
2004-10-18Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89188.2
2004-10-18Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89187.2
2004-10-17tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Move checking out of loop.Zdenek Dvorak2-7/+12
* tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Move checking out of loop. From-SVN: r89185
2004-10-17class.c (ident_subst): Always alloca buffer.Steven Bosscher8-10/+31
* class.c (ident_subst): Always alloca buffer. * java-opcodes.h (LAST_AND_UNUSED_JAVA_OPCODE): Add this dummy opcode after including javaop.def. * jcf-dump.c (CHECK_PC_IN_RANGE): Return 0 from the arm of the conditional expression that exits, to avoid warnings. * verify.c (CHECK_PC_IN_RANGE): Mark the __GNUC__ definition as a user of an extension. * win32-host.c: Move check down to have non-empty file when WIN32 is not defined. * Make-lang.in (java-warn): Add STRICT_WARN. (java/jcf-io.o-warn): Don't have Werror for this file. * jcf-io.c (caching_stat): Add FIXME for non-POSIX scandir use. From-SVN: r89184
2004-10-17revert: c-typeck.c (default_function_array_conversion): Always create &a[0] ↵Andrew Pinski2-3/+25
for array types. 2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> Revert: 2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> * c-typeck.c (default_function_array_conversion): Always create &a[0] for array types. (build_unary_op): Do not fold &a[x] into a + x. From-SVN: r89183
2004-10-17re PR middle-end/17925 (Gotos loses their locations)Andrew Pinski2-0/+13
2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17925 * cfgexpand.c (expand_gimple_cond_expr): Emit line notes for next basic block if there is a goto with a locus. From-SVN: r89182
2004-10-17elfos.h, [...]: Update copyright.Kazu Hirata61-60/+100
* config/elfos.h, config/gofast.h, config/interix.h, config/netbsd.h, config/svr3.h, config/vxworks.h, config/alpha/alpha-modes.def, config/alpha/alpha-protos.h, config/alpha/ev4.md, config/alpha/ev5.md, config/alpha/ev6.md, config/alpha/netbsd.h, config/arm/arm-modes.def, config/arm/unknown-elf.h, config/c4x/c4x-modes.def, config/cris/aout.h, config/frv/frv-modes.def, config/i386/beos-elf.h, config/i386/gas.h, config/i386/i386-coff.h, config/i386/i386-modes.def, config/i386/linux.h, config/i386/linux64.h, config/i386/mingw32.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h, config/i386/sco5.h, config/i386/sol2.h, config/i386/uwin.h, config/i860/i860.md, config/ia64/ia64-modes.def, config/ia64/itanium1.md, config/ia64/itanium2.md, config/m68k/m68k-modes.def, config/mips/mips-modes.def, config/mips/sdb.h, config/mips/vr.h, config/mips/vxworks.h, config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa32-linux.h, config/rs6000/40x.md, config/rs6000/7450.md, config/rs6000/8540.md, config/rs6000/linuxspe.h, config/rs6000/power4.md, config/rs6000/rs6000-modes.def, config/rs6000/rtems.h, config/rs6000/spe.h, config/s390/2064.md, config/s390/linux.h, config/s390/s390-modes.def, config/sh/elf.h, config/sh/sh-modes.def, config/sh/sh64.h, config/sparc/ultra1_2.md, config/sparc/ultra3.md, config/stormy16/stormy16.md, config/v850/v850-protos.h, config/vax/vax.md: Update copyright. From-SVN: r89179
2004-10-17re PR tree-optimization/17529 (ICE in get_indirect_ref_operands)Andrew Pinski2-0/+18
2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> PR c/17529 * gcc.c-torture/compile/pr17529.c: New test. From-SVN: r89175
2004-10-17* expr.c (expand_expr_real_1): Remove an obsolete comment.Kazu Hirata2-8/+4
From-SVN: r89174
2004-10-17c-typeck.c (default_function_array_conversion): Always create &a[0] for ↵Andrew Pinski2-16/+9
array types. 2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> * c-typeck.c (default_function_array_conversion): Always create &a[0] for array types. (build_unary_op): Do not fold &a[x] into a + x. From-SVN: r89173
2004-10-17Make-lang.in (F95_ADDITIONAL_OBJS): Kill.Andrew Pinski2-12/+9
2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> * Make-lang.in (F95_ADDITIONAL_OBJS): Kill. (f951): Do not depend on F95_ADDITIONAL_OBJS and don't link it in. From-SVN: r89172
2004-10-17mt_allocator.h (__pool::_M_get_align): New.Benjamin Kosnik3-51/+63
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. From-SVN: r89171
2004-10-17bitmap_allocator.h: Change unsigned int -> size_t...Dhruv Matani4-101/+116
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. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r89170
2004-10-17BindException.java, [...]: Big import statement and @author tag cleanup.Michael Koch35-111/+140
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. From-SVN: r89168
2004-10-17OID.java, [...]: Import statements cleaned up.Michael Koch6-65/+48
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. From-SVN: r89166
2004-10-17pointer-set.c (hash1): Use integer part of 2^64 / phi instead 2^32 / phi if ↵Jakub Jelinek2-3/+16
long is 64-bit. * pointer-set.c (hash1): Use integer part of 2^64 / phi instead 2^32 / phi if long is 64-bit. From-SVN: r89165
2004-10-17re PR c++/17743 (dependent expressions in attributes)Giovanni Bajo4-0/+32
PR c++/17743 * decl2.c (grokfield): Apply attributes also to TYPE_DECLs. PR c++/17743 * g++.dg/ext/attrib17.C: New test. From-SVN: r89164
2004-10-17Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89162.2
2004-10-17Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89161.2
2004-10-17Fix typo in last entry.Joseph Myers1-1/+1
From-SVN: r89159
2004-10-17c-common.c (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE.Joseph Myers3-12/+13
* 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. From-SVN: r89158
2004-10-16c-common.c (c_common_get_alias_set): Use GGC for type_hash_table.Dale Johannesen2-2/+7
2004-10-16 Dale Johannesen <dalej@apple.com> * c-common.c (c_common_get_alias_set): Use GGC for type_hash_table. From-SVN: r89156
2004-10-16NIODatagramSocket.java, [...]: Reorganized import statements.Michael Koch3-6/+7
2004-10-16 Michael Koch <konqueror@gmx.de> * gnu/java/nio/NIODatagramSocket.java, gnu/java/nio/ServerSocketChannelImpl.java: Reorganized import statements. From-SVN: r89154
2004-10-16RMIMarshalledObjectOutputStream.java [...]: File headers and import ↵Michael Koch52-194/+211
statements cleaned up. 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. From-SVN: r89153
2004-10-16expr.c (expr_add_location): Move declaration to before all statements.Hans-Peter Nilsson4-5/+14
* expr.c (expr_add_location): Move declaration to before all statements. * parse.y (java_expand_classes): Ditto. * lex.c (java_peek_unicode): Ditto. From-SVN: r89152
2004-10-16UTF_16.java, [...]: Cleanup.Michael Koch9-19/+29
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. From-SVN: r89151
2004-10-162004-10-16 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+6
* gnu/java/nio/charset/UTF_16Encoder.java (UTF_16Encoder): Fixed maxBytesPerChar handling. From-SVN: r89150
2004-10-16BigDecimal.java, [...]: Reorganized import statements, removed redundant and ↵Michael Koch3-38/+40
reorganized modifiers. 2004-10-16 Michael Koch <konqueror@gmx.de> * java/math/BigDecimal.java, java/math/BigInteger.java: Reorganized import statements, removed redundant and reorganized modifiers. From-SVN: r89149
2004-10-16ExplicitBeanInfo.java: Explicitely import java.awt.Image.Michael Koch2-6/+13
2004-10-16 Michael Koch <konqueror@gmx.de> * gnu/java/beans/ExplicitBeanInfo.java: Explicitely import java.awt.Image. (getIcon): Fixed off-by-one error. From-SVN: r89148
2004-10-16re PR tree-optimization/17766 (cc1 hangs in with -O3, works with -O2)Zdenek Dvorak7-18/+35
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. From-SVN: r89147
2004-10-16tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.Zdenek Dvorak2-1/+22
* 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. From-SVN: r89146
2004-10-16re PR tree-optimization/17560 (Infinite recursion in tree-scalar-evolution ↵Zdenek Dvorak2-0/+7
with -Os) PR tree-optimization/17560 * predict.c (tree_estimate_probability): Mark irreducible loops. From-SVN: r89145
2004-10-16re PR rtl-optimization/17723 (gcc segfaults with -O2)Zdenek Dvorak2-4/+18
PR rtl-optimization/17723 * cfgcleanup.c (merge_memattrs): Handle case when MEM_SIZE == NULL_RTX. From-SVN: r89144
2004-10-16[multiple changes]Benjamin Kosnik2-3/+11
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. From-SVN: r89139
2004-10-16* gcc.dg/bf-spl1.c: Use 'float' as the base type for FP types.Eric Botcazou2-2/+6
From-SVN: r89136
2004-10-16re PR c++/10479 (alignof and sizeof (and other expressions) in attributes ↵Giovanni Bajo4-0/+23
does not compile inside template classes) 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. From-SVN: r89135
2004-10-15toplev.c (dump_file_name): Change type to be const.Andrew Pinski2-1/+5
2004-10-15 Andrew Pinski <pinskia@physics.uc.edu> * toplev.c (dump_file_name): Change type to be const. From-SVN: r89131
2004-10-16Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89127.2
2004-10-16Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89126.2
2004-10-15c-typeck.c (build_compound_expr, [...]): Don't try to use non_lvalue to stop ↵Joseph Myers2-10/+5
something being a null pointer constant. * c-typeck.c (build_compound_expr, build_c_cast): Don't try to use non_lvalue to stop something being a null pointer constant. From-SVN: r89120
2004-10-15re PR c++/17042 (Duplicated symbol in assembly output)Mark Mitchell3-5/+5
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. From-SVN: r89119
2004-10-15re PR c++/17042 (Duplicated symbol in assembly output)Mark Mitchell7-3/+65
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. From-SVN: r89118
2004-10-15* gcc.c-torture/execute/ieee/ieee.exp: Disable on powerpc-*-*spe.Aldy Hernandez2-2/+6
From-SVN: r89113
2004-10-15rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only available for TARGET_FPRS.Aldy Hernandez2-2/+8
* config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only available for TARGET_FPRS. (FUNCTION_VALUE_REGNO_P): Same. From-SVN: r89112
2004-10-15invoke.texi (RS/6000 and PowerPC Options): Document -maltivec in same style ↵Geoffrey Keating2-2/+8
as other ISA options. * doc/invoke.texi (RS/6000 and PowerPC Options): Document -maltivec in same style as other ISA options. From-SVN: r89111