aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-02-08re PR preprocessor/19801 (cppinternals.texi references old file names)Paolo Bonzini2-3/+9
2005-02-08 Paolo Bonzini <bonzini@gnu.org> PR preprocessor/19801 * doc/cppinternals.texi (Conventions, Lexer, Files): Adjust filenames that changed when libcpp was moved to the toplevel. From-SVN: r94737
2005-02-08cxx-pretty-print.c, [...]: Update copyright.Kazu Hirata4-3/+8
* cxx-pretty-print.c, cxx-pretty-print.h, decl.h: Update copyright. From-SVN: r94736
2005-02-08expr.c (gfc_copy_expr): Don't copy 'op1' and 'op2' for EXPR_SUBSTRING.Tobias Schlüter5-13/+36
fortran/ * expr.c (gfc_copy_expr): Don't copy 'op1' and 'op2' for EXPR_SUBSTRING. (gfc_is_constant_expr): Check 'ref' to determine if substring reference is constant. (gfc_simplify_expr): Simplify 'ref' instead of 'op1' and 'op2'. (check_init_expr, check_restricted): Check 'ref' instead of 'op1' and 'op2'. * module.c (mio_expr): Read / write 'ref' instead of 'op1' and 'op2'. testsuite/ * gfortran.dg/substr_1.f90: New test. From-SVN: r94735
2005-02-08parser.c (cp_lexer_start_debugging): Avoid arithmetic operations on boolean ↵Mark Mitchell2-2/+8
variables. * parser.c (cp_lexer_start_debugging): Avoid arithmetic operations on boolean variables. (cp_lexer_stop_debugging): Likewise. From-SVN: r94731
2005-02-08simplify-rtx.c (simplify_relational_operation_1): Avoid creating zero ↵Roger Sayle2-11/+10
extensions of BImode operands. * simplify-rtx.c (simplify_relational_operation_1): Avoid creating zero extensions of BImode operands. Call lowpart_subreg instead of gen_lowpart_common and gen_lowpart_SUBREG. From-SVN: r94730
2005-02-08Daily bump.GCC Administrator2-2/+2
From-SVN: r94725
2005-02-07re PR ada/19489 (gnat tools not buildable cross)Nathanael Nerode4-207/+127
PR ada/19489 * libada-mk.in: Use cc_for_cross_gnattools, not cc_set_by_configure. * configure.ac: Set cc_for_cross_gnattools. * configure: Regenerate. From-SVN: r94720
2005-02-075.cc: Make buf static.Loren J. Rittle3-3/+9
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static. * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and src static. From-SVN: r94719
2005-02-07gfortran.h (gfc_add_dimension, [...]): Add argument.Tobias Schlüter10-164/+233
* gfortran.h (gfc_add_dimension, gfc_add_result, gfc_add_save, gfc_add_dummy, gfc_add_generic, gfc_add_in_common, gfc_add_data, gfc_add_in_namelist, gfc_add_sequence, gfc_add_function, gfc_add_subroutine, gfc_add_access, gfc_add_flavor, gfc_add_entry, gfc_add_procedure): Add argument. * array.c (gfc_set_array_spec), decl.c (var_element, get_proc_name, gfc_match_null, match_type_spec, match_attr_spec, gfc_match_formal_arglist, match_result, gfc_match_function_decl): Update callers to match. (gfc_match_entry) : Likewise, fix comment typo. (gfc_match_subroutine, attr_decl1, gfc_add_dimension, access_attr_decl, do_parm, gfc_match_save, gfc_match_modproc, gfc_match_derived_decl): Update callers. * interface.c (gfc_match_interface): Likewise. * match.c (gfc_match_label, gfc_add_flavor, gfc_match_call, gfc_match_common, gfc_match_block_data, gfc_match_namelist, gfc_match_module, gfc_match_st_function): Likewise. * parse.c (parse_derived, parse_interface, parse_contained), primary.c (gfc_match_rvalue, gfc_match_variable): Likewise. * resolve.c (resolve_formal_arglist, resolve_entries): Update callers. * symbol.c (check_conflict, check_used): Add new 'name' argument, use when printing error message. (gfc_add_dimension, gfc_add_result, gfc_add_save, gfc_add_dummy, gfc_add_generic, gfc_add_in_common, gfc_add_data, gfc_add_in_namelist, gfc_add_sequence, gfc_add_function, gfc_add_subroutine, gfc_add_access, gfc_add_flavor, gfc_add_entry, gfc_add_procedure): Add new 'name' argument. Pass along to check_conflict and check_used. (gfc_add_allocatable, gfc_add_external, gfc_add_intrinsic, gfc_add_optional, gfc_add_pointer, gfc_add_target, gfc_add_elemental, gfc_add_pure, gfc_add_recursive, gfc_add_intent, gfc_add_explicit_interface, gfc_copy_attr): Pass NULL for new argument in calls to any of the modified functions. From-SVN: r94718
2005-02-07defineclass.cc (handleClassBegin): Use _Jv_RegisterInitiatingLoader.Tom Tromey5-15/+30
* defineclass.cc (handleClassBegin): Use _Jv_RegisterInitiatingLoader. * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare. * java/lang/natVMClassLoader.cc (resolveClass): Don't register class. Use _Jv_UnregisterInitiatingLoader. * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader): New function. From-SVN: r94717
2005-02-08re PR target/19803 (__builtin_expect does not modify branch prediction for ↵Alan Modra2-1/+6
power4/5) PR target/19803 * predict.c (PROB_VERY_UNLIKELY): Use 1% instead of 10%. From-SVN: r94714
2005-02-07Reported by Timo Lindfors <timo.lindfors@iki.fi> java/util/regex/Matcher.java...Mark Wielaard3-6/+34
2005-02-07 Mark Wielaard <mark@klomp.org> Reported by Timo Lindfors <timo.lindfors@iki.fi> java/util/regex/Matcher.java (lookingAt): Set position when match found. (matches): Implemented through lookingAt(). 2005-02-07 Mark Wielaard <mark@klomp.org> Fix suggested by Timo Lindfors <timo.lindfors@iki.fi> * java/util/regex/Pattern.java (split(CharSequence,int)): Fix while empties > 0 loops. From-SVN: r94713
2005-02-07Fix messing of the simplify_relational_operation_1 function in Roger's ↵Andrew Pinski1-1/+1
changelog. From-SVN: r94712
2005-02-07ISO_8859_1.java, [...]: Fixed canonical names and aliases according to...Robert Schuster8-26/+139
2005-02-07 Robert Schuster <thebohemian@gmx.net> * gnu/java/nio/charset/ISO_8859_1.java, gnu/java/nio/charset/US_ASCII.java, gnu/java/nio/charset/UTF_16.java, gnu/java/nio/charset/UTF_16_LE.java, gnu/java/nio/charset/UTF_16_BE.java, gnu/java/nio/charset/UTF_8.java: Fixed canonical names and aliases according to "http://www.iana.org/assignments/character-sets", "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html" and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL". * gnu/java/nio/charset/Provider.java: Made charset lookup case-insensitive which fixes bug #11740. From-SVN: r94711
2005-02-07re PR libgcj/19611 (create 'sources.zip' for use in eclipse)Tom Tromey3-0/+77
PR libgcj/19611: * Makefile.in: Rebuilt. * Makefile.am (src.zip): New target. (install-src.zip): Likewise. (sourcesdir): New variable. From-SVN: r94710
2005-02-07re PR debug/19327 (gcc.c-torture/execute/921215-1.c compilation -O3 -g)Eric Botcazou2-0/+9
PR debug/19327 * dbxout.c (dbxout_symbol) <FUNCTION_DECL>: Skip inline instance of nested functions. From-SVN: r94709
2005-02-07Forgot to commit registerImageIOSpis changeAnthony Green1-0/+9
From-SVN: r94707
2005-02-07extend.texi: Document deprecated extensions allowing static floating-point ↵Jonathan Wakely2-0/+16
members to have... 2005-02-07 Jonathan Wakely <redi@gcc.gnu.org> * doc/extend.texi: Document deprecated extensions allowing static floating-point members to have initializers and allowing floating-point literals in integral constant expressions. From-SVN: r94706
2005-02-07* cse.c: Update comments.Kazu Hirata2-13/+17
From-SVN: r94705
2005-02-07cfgcleanup.c, [...]: Update copyright.Kazu Hirata10-9/+17
* cfgcleanup.c, df.h, diagnostic.c, rtl.c, tree-vectorizer.h, config/darwin7.h, config/mips/mips.c, config/rs6000/altivec.md, config/rs6000/darwin-tramp.asm: Update copyright. From-SVN: r94704
2005-02-07re PR middle-end/19775 (sqrt(pow(x,y)) != pow(x,y*0.5) (with -ffast-math))Richard Guenther6-7/+47
2005-02-07 Richard Guenther <rguenth@gcc.gnu.org> PR middle-end/19775 * builtins.c (fold_builtin_sqrt): Transform sqrt(pow(x,y)) to pow(fabs(x),y*0.5), not pow(x,y*0.5). * gcc.dg/torture/builtin-power-1.c: Disable test for invalid transformation. * gcc.dg/builtins-10.c: Likewise. Disable one test we no longer optimize. * gcc.dg/builtins-47.c: New testcase. From-SVN: r94701
2005-02-07Add new files from last change.Anthony Green2-18/+31
From-SVN: r94700
2005-02-07[multiple changes]Anthony Green20-40/+2162
2005-02-06 Jerry Quinn <jlquinn@optonline.net> * javax/imageio/metadata/IIOMetadataNode.java: Implemented. * javax/imageio/metadata/IIOAttr.java, javax/imageio/metadata/IIONamedNodeMap.java, javax/imageio/metadata/IIONodeList.java: New files 2005-02-06 Graydon Hoare <graydon@redhat.com> * gnu/java/awt/ClasspathToolkit.java (registerImageIOSpis): New method. * javax/imageio/ImageIO.java (WriterFormatFilter.filter): Fix copy-and-paste typos. (WriterMIMETypeFilter.filter): Likewise. (ImageReaderIterator): Pass extension argument through to SPI. (getReadersByFilter): Likewise. (getWritersByFilter): Likewise. (getImageReadersByFormatName): Likewise. (getImageReadersByMIMEType): Likewise. (getImageReadersBySuffix): Likewise. (getImageWritersByFormatName): Likewise. (getImageWritersByMIMEType): Likewise. (getImageWritersBySuffix): Likewise. (read): Implement. (write): Implement. * javax/imageio/ImageReader.java (progressListeners): Initialize. (setInput): Implement. * javax/imageio/ImageWriter.java (progressListeners): Initialize. (warningListeners): Likewise. (warningLocales): Likewise. (setOutput): Test "isInstance" rather than class equality. * javax/imageio/spi/IIORegistry.java (static): Add reader and writer SPIs. (IIORegistry): Call ClasspathToolkit.registerImageIOSpis. 2004-02-06 Michael Koch <konqueror@gmx.de> * javax/imageio/metadata/IIOInvalidTreeException.java (IIOInvalidTreeException): Reformatted. * javax/imageio/spi/IIORegistry.java (static): Register ImageReaderSpi.class and ImageWriterSpi.class. * javax/imageio/stream/MemoryCacheImageInputStream.java: Reworked import statements. 2004-02-06 Michael Koch <konqueror@gmx.de> * javax/imageio/stream/FileImageOutputStream.java: Implemented. 2004-02-06 Michael Koch <konqueror@gmx.de> * javax/imageio/stream/FileCacheImageInputStream.java, javax/imageio/stream/FileCacheImageOutputStream.java, javax/imageio/stream/FileImageInputStream.java, javax/imageio/stream/ImageInputStreamImpl.java, javax/imageio/stream/ImageOutputStreamImpl.java, javax/imageio/stream/MemoryCacheImageInputStream.java, javax/imageio/stream/MemoryCacheImageOutputStream.java: Added all missing methods in javax.imageio.stream. From-SVN: r94698
2005-02-07invoke.texi (ftree-vectorizer-verbose): New.Leehod Baruch9-451/+634
* doc/invoke.texi (ftree-vectorizer-verbose): New. * opts.c (OPT_ftree_vectorizer_verbose_): New case for switch. * common.opt (ftree-vectorizer-verbose): New Flag for the vectorizer was added. * tree.h (vect_set_verbosity_level): New extern function declaration added. * tree-vectorizer.h (verbosity_levels): New enum type. * tree-vectorizer.c (vect_debug_stats): Function removed. (vect_debug_details): Likewise. (vect_verbosity_level): Global variable was defined and initialized. (vect_dump): Global variable definition. (vect_print_dump_info): New function. (vect_set_dump_settings): New function. (vect_set_verbosity_level): New function. (vectorize_loops): Add call to vect_set_dump_settings. (slpeel_make_loop_iterate_ntimes): Dump condition was changed. (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise. (slpeel_tree_peel_loop_to_edge): Likewise. (vect_analyze_offset_expr): Call to vect_print_dump_info with appropriate verbosity level instead of call to vect_debug_details or vect_debug_stats. (vect_get_base_and_offset): (vect_create_addr_base_for_vector_ref): (get_vectype_for_scalar_type): (vect_create_data_ref_ptr): (vect_init_vector): (vect_get_vec_def_for_operand): (vect_finish_stmt_generation): (vectorizable_assignment): (vectorizable_operation): (vectorizable_store): (vectorizable_load): (vect_transform_stmt): (vect_update_ivs_after_vectorizer): (vect_do_peeling_for_loop_bound): (vect_update_inits_of_drs): (vect_do_peeling_for_alignment): (vect_transform_loop): (vect_is_simple_use): (vect_analyze_operations): (vect_is_simple_iv_evolution): (vect_analyze_scalar_cycles): (vect_analyze_data_ref_dependence): (vect_analyze_data_ref_dependences): (vect_compute_data_ref_alignment): (vect_enhance_data_refs_alignment): (vect_analyze_data_refs_alignment): (vect_analyze_data_ref_access): (vect_analyze_data_ref_accesses): (vect_analyze_pointer_ref_access): (vect_get_memtag_and_dr): (vect_analyze_data_refs): (vect_mark_relevant): (vect_stmt_relevant_p): (vect_mark_stmts_to_be_vectorized): (vect_can_advance_ivs_p): (vect_get_loop_niters): (vect_analyze_loop_form): (vect_analyze_loop): (vectorize_loops): Likewise. (vect_do_peeling_for_loop_bound): Dump format slightly changed. (vect_update_inits_of_drs): (vect_do_peeling_for_alignment): (vect_transform_loop): (vect_analyze_operations): (vect_analyze_scalar_cycles): (vect_analyze_data_ref_dependences): (vect_analyze_data_refs_alignment): (vect_analyze_data_ref_accesses): (vect_analyze_data_refs): (vect_mark_stmts_to_be_vectorized): (vect_get_loop_niters): (vect_analyze_loop_form): (vect_analyze_loop): Likewise. (vect_mark_stmts_to_be_vectorized): Add call to print_generic_expr. Co-Authored-By: Dorit Naishlos <dorit@il.ibm.com> From-SVN: r94697
2005-02-07re PR target/19796 (Bootstrap fails: Unresolved data symbol "set_fpc_csr")Richard Sandiford4-26/+16
PR bootstrap/19796 Revert: 2005-01-26 Richard Sandiford <rsandifo@redhat.com> * config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if either -ffast-math or -funsafe-math-optimizations is in use. 2005-01-24 Richard Sandiford <rsandifo@redhat.com> * config/mips/irix-csr.c: New file. * config/mips/t-iris6 (irix-csr.o): New rule to build it. (EXTRA_MULTILIB_PARTS): Add irix-csr.o. * config/mips/iris6.h (ENDFILE_SPEC): Include it in n32 and n64 executables. From-SVN: r94696
2005-02-07linux.h (LIB_SPEC, [...]): Remove redundant, incorrect definitions.Alexandre Oliva2-14/+3
* config/mn10300/linux.h (LIB_SPEC, STARTFILE_SPEC): Remove redundant, incorrect definitions. From-SVN: r94695
2005-02-07frv.md ("tls_indirect_call"): Turn into libcall-like expand.Alexandre Oliva3-12/+35
* config/frv/frv.md ("tls_indirect_call"): Turn into libcall-like expand. ("*tls_indirect_call"): New, reference hard regs directly. * config/frv/frv.c (gen_inlined_tls_plt): Adjust. From-SVN: r94694
2005-02-07rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Let !-mhard-float !-msoft-float ↵Ralf Corsepius2-0/+13
imply -mfpu=softfpa. 2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org> * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Let !-mhard-float !-msoft-float imply -mfpu=softfpa. From-SVN: r94693
2005-02-07re PR rtl-optimization/19800 (mmix-knuth-mmixware broken, building ↵Roger Sayle2-3/+18
newlib/libm/common/s_fmax.c) PR rtl-optimization/19800 * simplify_rtx.c (simplify_relational_operaration_1): Explicitly call gen_lowpart_common and gen_lowpart_SUBREG instead of calling gen_lowpart. From-SVN: r94691
2005-02-07t-rtems (MULTILIB_MATCHES): Let m528x match m5200.Ralf Corsepius2-0/+5
2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org> * config/m68k/t-rtems (MULTILIB_MATCHES): Let m528x match m5200. From-SVN: r94690
2005-02-07re PR other/17135 (-freorder-functions mis-documented)Joseph Myers2-2/+7
PR other/17135 * doc/invoke.texi: Correct documentation of -freorder-functions. From-SVN: r94689
2005-02-07re PR other/14402 (gccbug confusion)Joseph Myers2-2/+6
PR other/14402 * doc/invoke.texi: Don't mention gccbug. From-SVN: r94686
2005-02-06simplify-rtx.c (simplify_relational_operation_1): Simplify (ne:SI ↵Roger Sayle2-0/+20
(zero_extract:SI FOO (const_int 1) BAR) (const_int 0)) into... * simplify-rtx.c (simplify_relational_operation_1): Simplify (ne:SI (zero_extract:SI FOO (const_int 1) BAR) (const_int 0)) into just (zero_extract:SI FOO (const_int 1) BAR). Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu> Co-Authored-By: Paolo Bonzini <paolo.bonzini@lu.unisi.ch> From-SVN: r94684
2005-02-06cpp.texi: Include gcc-common.texi.Joseph Myers12-40/+42
* doc/cpp.texi: Include gcc-common.texi. Don't define gcctabopt macro locally. Don't give last revision date. Use GCC version number from gcc-common.texi. * doc/cppinternals.texi: Include gcc-common.texi. Don't give last revision date. Use GCC version number from gcc-common.texi. Describe being a library as current state rather than as 3.x history. * doc/gcc.texi: Remove last update date. * doc/gccint.texi: Likewise. Update copyright dates. * doc/install.texi: Update copyright dates. fortran: * gfortran.texi: Don't give last update date. java: * gcj.texi: Update copyright dates. treelang: * treelang.texi: Don't use local treelang version number. Don't give last update date. From-SVN: r94683
2005-02-06re PR other/7549 (gcc3.1: Documentation glitches in info-files)Joseph Myers3-2/+31
PR other/7549 * doc/invoke.texi: Mention for each option included in -Wall that it is included in -Wall. * doc/gcc.texi: Update copyright and last modification date. From-SVN: r94682
2005-02-06tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Do not add unnecessary ↵Zdenek Dvorak2-3/+29
cast to original induction variable increments. * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Do not add unnecessary cast to original induction variable increments. From-SVN: r94681
2005-02-06re PR tree-optimization/18219 (bloats code by 31%)Zdenek Dvorak2-12/+14
PR tree-optimization/18219 * tree-ssa-loop-ivopts.c (get_computation_at): Produce computations in distributed form. From-SVN: r94680
2005-02-06expmed.c (store_bit_field): Make the SUBREG code adjust bitnum.Richard Sandiford4-13/+42
* expmed.c (store_bit_field): Make the SUBREG code adjust bitnum. Set bitpos and offset later in the function. Do nothing if the target is a register and if the bitfield lies completely outside that register. (extract_bit_field): Make the same SUBREG, bitpos and offset changes here. Return an uninitialised register if the source value is stored in a register and the bitfield lies completely outside that register. From-SVN: r94677
2005-02-06df.c (df_insn_refs_record): Use XEXP to get the operand of a USE, not SET_DEST.Steven Bosscher2-1/+6
* df.c (df_insn_refs_record): Use XEXP to get the operand of a USE, not SET_DEST. From-SVN: r94672
2005-02-06* diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.Marcin Dalecki2-1/+5
From-SVN: r94671
2005-02-06* gcc.dg/altivec-19.c: New.Geoffrey Keating1-0/+12
From-SVN: r94670
2005-02-06config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.Geoffrey Keating4-2/+42
* config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs. * config/darwin8.h: New. * config/darwin7.h: Update comment. From-SVN: r94669
2005-02-03InetAddress.java (InetAddress): Make a private copy of the address.David Daney4-7/+20
2005-02-02 David Daney <ddaney@avtrex.com> * java/net/InetAddress.java (InetAddress): Make a private copy of the address. * java/net/Inet4Address.java (getAddress): Return a copy of the address. * java/net/Inet6Address.java (Inet6Address): Use private copy of the address (getAddress): Return a copy of the address. (equals): Rewrote. From-SVN: r94664
2005-02-03tree-vectorizer.h (LOC): New type.Leehod Baruch1-0/+75
* tree-vectorizer.h (LOC): New type. (UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros. (loop_line_number): New field in struct _loop_vec_info. (LOOP_VINFO_LOC, LOOP_LOC): New macros. * tree-vectorizer.c (input.h): Included. (find_loop_location): New function. (vect_debug_stats): Argument changed from loop to LOC. Computation of loop line number removed. (vect_debug_details): Likewise. (new_loop_vec_info): Initialize new field LOOP_VINFO_LOC. (slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in call to vect_debug_details/stats changed from loop to loop_loc. (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise. (slpeel_tree_peel_loop_to_edge): Likewise. (vect_analyze_offset_expr): Argument in call to vect_debug_details/stats changed from NULL to UNKNOWN_LOC. (vect_get_base_and_offset): (vect_create_addr_base_for_vector_ref): (get_vectype_for_scalar_type): (vect_create_data_ref_ptr): (vect_init_vector): (vect_get_vec_def_for_operand): (vect_finish_stmt_generation): (vectorizable_assignment): (vectorizable_operation): (vectorizable_store): (vectorizable_load): (vect_transform_stmt): (vect_update_ivs_after_vectorizer): (vect_do_peeling_for_loop_bound): (vect_do_peeling_for_alignment): (vect_transform_loop): (vect_is_simple_use): (vect_analyze_operations): (vect_is_simple_iv_evolution): (vect_analyze_scalar_cycles): (vect_analyze_data_ref_dependences): (vect_compute_data_ref_alignment): (vect_enhance_data_refs_alignment): (vect_analyze_data_ref_access): (vect_analyze_data_ref_accesses): (vect_analyze_pointer_ref_access): (vect_get_memtag_and_dr): (vect_analyze_data_refs): (vect_mark_relevant): (vect_stmt_relevant_p): (vect_mark_stmts_to_be_vectorized): (vect_can_advance_ivs_p): (vect_get_loop_niters): (vect_analyze_loop): (vectorize_loops): Likewise. (vectorizable_load): Argument in call to vect_debug_details/stats changed from loop to LOOP_LOC (loop_vinfo). (vect_transform_loop): (vect_analyze_operations): (vect_analyze_scalar_cycles): (vect_analyze_data_ref_dependence): (vect_enhance_data_refs_alignment): (vect_analyze_data_ref_accesses): (vect_analyze_pointer_ref_access): (vect_analyze_data_refs): (vect_analyze_loop): Likewise. (vect_analyze_loop_form): Argument in call to vect_debug_details/stats changed from loop to loop_loc. (vect_enhance_data_refs_alignment): Removed unused variable loop. From-SVN: r94663
2005-02-03tree-vectorizer.h (LOC): New type.Leehod Baruch2-219/+275
* tree-vectorizer.h (LOC): New type. (UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros. (loop_line_number): New field in struct _loop_vec_info. (LOOP_VINFO_LOC, LOOP_LOC): New macros. * tree-vectorizer.c (input.h): Included. (find_loop_location): New function. (vect_debug_stats): Argument changed from loop to LOC. Computation of loop line number removed. (vect_debug_details): Likewise. (new_loop_vec_info): Initialize new field LOOP_VINFO_LOC. (slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in call to vect_debug_details/stats changed from loop to loop_loc. (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise. (slpeel_tree_peel_loop_to_edge): Likewise. (vect_analyze_offset_expr): Argument in call to vect_debug_details/stats changed from NULL to UNKNOWN_LOC. (vect_get_base_and_offset): (vect_create_addr_base_for_vector_ref): (get_vectype_for_scalar_type): (vect_create_data_ref_ptr): (vect_init_vector): (vect_get_vec_def_for_operand): (vect_finish_stmt_generation): (vectorizable_assignment): (vectorizable_operation): (vectorizable_store): (vectorizable_load): (vect_transform_stmt): (vect_update_ivs_after_vectorizer): (vect_do_peeling_for_loop_bound): (vect_do_peeling_for_alignment): (vect_transform_loop): (vect_is_simple_use): (vect_analyze_operations): (vect_is_simple_iv_evolution): (vect_analyze_scalar_cycles): (vect_analyze_data_ref_dependences): (vect_compute_data_ref_alignment): (vect_enhance_data_refs_alignment): (vect_analyze_data_ref_access): (vect_analyze_data_ref_accesses): (vect_analyze_pointer_ref_access): (vect_get_memtag_and_dr): (vect_analyze_data_refs): (vect_mark_relevant): (vect_stmt_relevant_p): (vect_mark_stmts_to_be_vectorized): (vect_can_advance_ivs_p): (vect_get_loop_niters): (vect_analyze_loop): (vectorize_loops): Likewise. (vectorizable_load): Argument in call to vect_debug_details/stats changed from loop to LOOP_LOC (loop_vinfo). (vect_transform_loop): (vect_analyze_operations): (vect_analyze_scalar_cycles): (vect_analyze_data_ref_dependence): (vect_enhance_data_refs_alignment): (vect_analyze_data_ref_accesses): (vect_analyze_pointer_ref_access): (vect_analyze_data_refs): (vect_analyze_loop): Likewise. (vect_analyze_loop_form): Argument in call to vect_debug_details/stats changed from loop to loop_loc. (vect_enhance_data_refs_alignment): Removed unused variable loop. From-SVN: r94662
2005-02-03tree-vectorizer.c (vect_analyze_data_ref_dependence): Function declaration ↵Leehod Baruch3-118/+176
added. * tree-vectorizer.c (vect_analyze_data_ref_dependence): Function declaration added. (vect_analyze_data_ref_dependences): Likewise. (vect_is_simple_use): Argument changed from loop structure to loop_vect_info structure. (vect_can_advance_ivs_p): Likewise. (vect_create_index_for_vector_ref): Likewise. (vect_update_ivs_after_vectorizer): Likewise. (new_stmt_vec_info): Likewise. (new_loop_vec_info): Second argument in call to new_stmt_vec_info was changed from loop to loop_vinfo. (vect_create_data_ref_ptr): First argument in call to vect_create_index_for_vector_ref was changed from loop to loop_vinfo. (vectorizable_assignment): Second argument in call to vect_is_simple_use was changed from loop to loop_vinfo. (vectorizable_operation): Likewise. (vectorizable_store): Likewise. (vect_mark_stmts_to_be_vectorized): Likewise. (vect_do_peeling_for_loop_bound): First argument in call to vect_update_ivs_after_vectorizer was changed from loop to loop_vinfo. (vect_analyze_operations): Argument in call to vect_can_advance_ivs_p was changed from loop to loop_vinfo. (vect_analyze_data_ref_dependences): Third argument in call to vect_analyze_data_ref_dependence was changed from loop to loop_vinfo. (vect_create_index_for_vector_ref): Get the loop from loop_vinfo. (vect_create_data_ref_ptr): Likewise. (vect_init_vector): Likewise. (vect_get_vec_def_for_operand): Likewise. (vectorizable_assignment): Likewise. (vectorizable_operation): Likewise. (vectorizable_store): Likewise. (vectorizable_load): Likewise. (vect_update_ivs_after_vectorizer): Likewise. (vect_is_simple_use): Likewise. (vect_analyze_data_ref_dependence): Likewise. (vect_analyze_pointer_ref_access): Likewise. (vect_can_advance_ivs_p): Likewise. * tree-vectorizer.h: (_loop_vec_info): Definition and macros moved before _stmt_vec_info. (_stmt_vec_info): Loop field replaced by loop_vec_info. (STMT_VINFO_LOOP): Replaced with STMT_VINFO_LOOP_VINFO. (new_stmt_vec_info): Argument changed from loop structure to loop_vect_info structure (vect_analyze_data_ref_dependences): Unnecessary line was removed. (vect_analyze_offset_expr): Avoid 80 columns overflow. (vect_create_addr_base_for_vector_ref): Likewise. (vect_analyze_pointer_ref_access): Likewise. Co-Authored-By: Dorit Naishlos <dorit@il.ibm.com> From-SVN: r94661
2005-02-03re PR tree-optimization/19768 (ICE: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should ↵Andrew Pinski4-2/+53
be set) 2005-02-03 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/19768 * g++.dg/opt/pr19768.C: New test. 2005-02-03 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/19768 * tree-ssa-dse.c (fix_phi_uses): Update the occurs in abnormal phi flag if the phi is abnormal. From-SVN: r94660
2005-02-03fix PR number in the testsuite/Changelog:Andrew Pinski1-1/+1
2005-02-03 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/19736 * gcc.c-torture/compile/pr19736.c: New test. From-SVN: r94659
2005-02-03re PR tree-optimization/19736 (ICE with type mismatch between SSA_NAME and ↵Andrew Pinski4-0/+34
its symbol) 2005-02-03 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/19763 * gcc.c-torture/compile/pr19736.c: New test. 2005-02-03 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/19736 * tree-ssa.c (replace_immediate_uses): Update the immediate_uses information for the new statement. From-SVN: r94658
2005-02-03re PR driver/19117 (gcc -v should include target information)Joseph Myers2-0/+6
PR driver/19117 * gcc.c (main): Include the target in -v output. From-SVN: r94657