- 25 Mar, 2008 10 commits
-
-
* config/sh/constraints.md (Pso, Psz): New constraints. * config/sh/sh.c (print_operand): Add %V and %W operand codes. * config/sh/sh.md (*andsi3_bclr, *iorsi3_bset): New insns. * gcc.target/sh/sh2a-bclr.c: New test. * gcc.target/sh/sh2a-bset.c: New test. From-SVN: r133518
Naveen.H.S committed -
* config/sh/sh.c (sh_expand_t_scc): Emit movrt for SH2A if possible. * config/sh/sh.md (xorsi3_movrt, movrt): New insns. * gcc.target/sh/sh2a-movrt.c: New test. From-SVN: r133517
Naveen.H.S committed -
* config/sh/sh.md (prefetch): Add condition for SH2A target. (prefetch_sh2a): New. * gcc.target/sh/sh2a-prefetch.c: New test. From-SVN: r133516
Naveen.H.S committed -
* config/sh/constraints.md (I28): New constraint. * config/sh/sh.c (broken_move): Add support for movi20s. * config/sh/sh.md (movsi_ie): Add the alternative for movi20s. * gcc.target/sh/sh2a-movi20s.c: New test. Co-Authored-By: Naveen.H.S <naveen.hs@kpitcummins.com> From-SVN: r133514
Jayant R Sonar committed -
* config/sh/sh.c (SH_ATTRIBUTES): Define. (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define. (print_operand): Handle resbank in %@ operand code. (sh_encode_section_info): New. (push_regs): Add conditions for resbank. (sh_expand_epilogue): Likewise. (sh_insert_attributes): Likewise. (sh_attribute_table): Likewise. (sh_handle_resbank_handler_attribute): New. (sh2a_handle_function_vector_handler_attribute): New. (sh2a_is_function_vector_call): New. (sh2a_get_function_vector_number): New. (sh2a_function_vector_p): New. (sh_cfun_resbank_handler_p): New. * config/sh/sh.md (calli): Emit jsr/n if possible. (calli_tbr_rel): New. (calli_pcrel): Emit jsr/n if possible. (return_i): Emit rts/n if possible. (call_valuei_tbr_rel): New. (call_valuei_pcrel): Add condition for SH2A target. (call_value): Likewise. * config/sh/sh-protos.h (sh_cfun_resbank_handler_p): Declare. (sh2a_get_function_vector_number): Likewise. (sh2a_is_function_vector_call): Likewise. * doc/extend.texi: Document TBR relative addressing of SH2A. (resbank): Add description for SH2A. * gcc.target/sh/sh2a-resbank.c: New test. * gcc.target/sh/sh2a-tbr-jump.c: New test. * gcc.target/sh/sh2a-jsrn.c: New test. * gcc.target/sh/sh2a-rtsn.c: New test. Co-Authored-By: Jayant R Sonar <jayant.sonar@kpitcummins.com> Co-Authored-By: Naveen.H.S <naveen.hs@kpitcummins.com> From-SVN: r133513
Anil Paranjape committed -
* exp_ch6.adb, exp_disp.adb: Update copyright notice. Fix wrong formatting (lines too long) From-SVN: r133505
Arnaud Charlet committed -
* gcc.target/i386/sse-17.c: Include sse2-check.h. (main): Change to void and rename to sse2_test. * gcc.dg/vect/costmodel/i386/i386-costmodel-vect.exp: Set dg-do-what-default to "compile" if SSE2 hardware is not available. * gcc.dg/vect/costmodel/i386/x86_64-costmodel-vect.exp: Ditto. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c: Remove xfail vect_no_int_max from "vectorization not profitable" check. From-SVN: r133504
Uros Bizjak committed -
include/: * sha1.h: New file, from gnulib. libiberty/: * sha1.c: New file, from gnulib. * Makefile.in: Rebuild dependencies. (CFILES): Add sha1.c. (REQUIRED_OFILES): Add sha1.o. From-SVN: r133503
Ian Lance Taylor committed -
* md5.h: Add extern "C" when compiled with C++. From-SVN: r133502
Ian Lance Taylor committed -
From-SVN: r133500
GCC Administrator committed
-
- 24 Mar, 2008 11 commits
-
-
From-SVN: r133495
Ian Lance Taylor committed -
2008-03-24 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/26222 * gcc.dg/torture/pr26222.c: New testcase. From-SVN: r133493
Andrew Pinski committed -
2008-03-24 Paul Thomas <pault@gcc.gnu.org> PR fortran/34813 * resolve.c (resolve_structure_cons): It is an error to assign NULL to anything other than a pointer or allocatable component. PR fortran/33295 * resolve.c (resolve_symbol): If the symbol is a derived type, resolve the derived type. If the symbol is a derived type function, ensure that the derived type is visible in the same namespace as the function. 2008-03-24 Paul Thomas <pault@gcc.gnu.org> PR fortran/34813 * gfortran.dg/null_3.f90 : New test PR fortran/33295 * gfortran.dg/module_function_type_1.f90 : New test From-SVN: r133488
Paul Thomas committed -
* lex.c (handle_pragma_interface): Don't copy the filename. (handle_pragma_implementation): Copy filename using xstrdup. From-SVN: r133487
Tom Tromey committed -
2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * 9drpc.adb, a-caldel-vms.adb, a-caldel.adb, a-calend-vms.adb, a-calend.adb, a-calend.ads, a-calfor.adb, a-chahan.ads, a-chtgke.adb, a-cihama.ads, a-ciorse.adb, a-clrefi.ads, a-cohama.ads, a-comlin.ads, a-coorse.adb, a-crbtgk.adb, a-direct.adb, a-except-2005.adb, a-except-2005.ads, a-except.adb, a-except.ads, a-exexda.adb, a-exexpr-gcc.adb, a-exexpr.adb, a-exextr.adb, a-filico.ads, a-finali.ads, a-intnam-aix.ads, a-intnam-solaris.ads, a-ngcefu.adb, a-ngelfu.adb, a-numaux-darwin.adb, a-numeri.ads, a-sequio.ads, a-strbou.ads, a-strfix.adb, checks.adb, exp_ch3.adb, exp_ch4.adb, exp_ch4.ads, exp_ch5.adb, exp_ch6.adb, exp_ch6.ads, exp_ch7.adb, exp_ch7.ads, exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads: Fix comment typos. From-SVN: r133483
Ralf Wildenhues committed -
* make-relative-prefix.c (make_relative_prefix_1): Handle NULL return from strdup. From-SVN: r133482
Doug Evans committed -
2008-03-24 Richard Guenther <rguenther@suse.de> PR c/22371 * gimplify.c (gimplify_modify_expr): For frontend type-correct pointer assignments change conversions according to middle-end rules. (gimplify_modify_expr_rhs): Deal with NULL TARGET_EXPR_INITIAL. * configure.ac: Include type checking in yes. * configure: Regenerate. From-SVN: r133479
Richard Guenther committed -
2008-03-24 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * diagnostic.c (diagnostic_count_diagnostic): Delete. (diagnostic_report_diagnostic): Update. Handle ICEs here. From-SVN: r133478
Manuel López-Ibáñez committed -
From-SVN: r133477
Nathan Sidwell committed -
* s-tpopsp-posix.adb, s-tpopsp-solaris.adb, s-tpopsp-posix-foreign.adb, s-tpopsp-lynxos.adb, s-tpopde-vms.ads, s-tpopde-vms.adb, s-tpopsp-vxworks.adb, s-casi16.adb, s-caun16.adb, s-inmaop.ads, s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-tpinop.adb, s-tpinop.ads, s-tporft.adb, a-rbtgso.adb, a-crbtgo.ads, a-crbtgo.adb, a-crbtgk.ads, a-crbtgk.adb, a-ciorse.adb, a-cihama.ads, a-cihama.adb, a-cidlli.ads, a-cidlli.adb, a-chtgop.ads, a-chtgop.adb, a-cgcaso.ads, a-cgcaso.adb, a-cgaaso.adb, a-ciormu.adb, a-cihase.adb, a-swuwha.ads, a-rbtgso.ads, a-cgaaso.ads, a-cgaaso.ads, a-ciorma.adb, a-chtgke.ads, a-chtgke.adb, a-llfzti.ads, a-ztenau.adb, a-ztenau.ads, a-stzhas.ads, a-szbzha.ads, a-szbzha.adb, a-crdlli.ads, a-crdlli.ads, a-crdlli.adb, i-forbla-darwin.adb, i-forbla.ads, s-regexp.adb, a-nllrar.ads, a-nlrear.ads, a-nucoar.ads, a-nurear.ads, i-forlap.ads, s-gearop.adb, s-gearop.ads, s-gecobl.adb, s-gecobl.ads, s-gecola.adb, s-gecola.ads, s-gerebl.adb, s-gerela.ads, a-swuwha.adb, i-forbla-unimplemented.ads, double spaced if it fits on one line and otherwise single spaced. From-SVN: r133476
Robert Dewar committed -
From-SVN: r133474
GCC Administrator committed
-
- 23 Mar, 2008 9 commits
-
-
gcc/ada/ 2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> PR documentation/15479 * Make-lang.in (doc/gnat_ugn.texi) Renamed from ... (doc/gnat_ugn_unw.texi): ... this, and adjusted. (doc/gnat_ugn.info): Renamed from ... (doc/gnat_ugn_unw.info): ... this. (doc/gnat_ugn.dvi): Renamed from ... (doc/gnat_ugn_unw.dvi): ... this. (doc/gnat_ugn.pdf): Renamed from ... (doc/gnat_ugn_unw.pdf): ... this. (ADA_INFOFILES, ADA_PDFFILES, ada.install-info, ada.dvi): Adjusted. * gnat_ugn.texi (FILE): Hard-code gnat_ugn; set filename unconditionally to gnat_ugn.info. Fix cross references to the GNAT Reference Manual. Convert links to the GCC, GDB, Emacs, and GNU make manuals to be proper texinfo links. * gnat_rm.texi: Fix cross references to the GNAT User's Guide. From-SVN: r133470
Ralf Wildenhues committed -
2007-03-23 Thomas Koenig <tkoenig@gcc.gnu.org PR libfortran/32972 * Makefile.am: Add new variable, i_unpack_c, containing unpack_i1.c, unpack_i2.c, unpack_i4.c, unpack_i8.c, unpack_i16.c, unpack_r4.c, unpack_r8.c, unpack_r10.c, unpack_r16.c, unpack_c4.c, unpack_c8.c, unpack_c10.c and unpack_c16.c Add i_unpack_c to gfor_built_src. Add rule to generate i_unpack_c from m4/unpack.m4. * Makefile.in: Regenerated. * libgfortran.h: Add prototypes for unpack0_i1, unpack0_i2, unpack0_i4, unpack0_i8, unpack0_i16, unpack0_r4, unpack0_r8, unpack0_r10, unpack0_r16, unpack0_c4, unpack0_c8, unpack0_c10, unpack0_c16, unpack1_i1, unpack1_i2, unpack1_i4, unpack1_i8, unpack1_i16, unpack1_r4, unpack1_r8, unpack1_r10, unpack1_r16, unpack1_c4, unpack1_c8, unpack1_c10 and unpack1_c16. * intrinsics/pack_generic.c (unpack1): Add calls to specific unpack1 functions. (unpack0): Add calls to specific unpack0 functions. * m4/unpack.m4: New file. * generated/unpack_i1.c: New file. * generated/unpack_i2.c: New file. * generated/unpack_i4.c: New file. * generated/unpack_i8.c: New file. * generated/unpack_i16.c: New file. * generated/unpack_r4.c: New file. * generated/unpack_r8.c: New file. * generated/unpack_r10.c: New file. * generated/unpack_r16.c: New file. * generated/unpack_c4.c: New file. * generated/unpack_c8.c: New file. * generated/unpack_c10.c: New file. * generated/unpack_c16.c: New file. 2007-03-23 Thomas Koenig <tkoenig@gcc.gnu.org PR libfortran/32972 * gfortran.dg/intrinsic_unpack_1.f90: New test case. * gfortran.dg/intrinsic_unpack_2.f90: New test case. * gfortran.dg/intrinsic_unpack_3.f90: New test case. From-SVN: r133469
Thomas Koenig committed -
2008-03-23 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and CX_REG. From-SVN: r133468
H.J. Lu committed -
2008-03-23 Thomas Koenig <tkoenig@gcc.gnu.org> * MAINTAINERS: Update e-mail address. From-SVN: r133467
Thomas Koenig committed -
2008-03-23 Paolo Carlini <pcarlini@suse.de> * doc/xml/faq.xml: Fix various links. * doc/xml/api.xml: Likewise. * doc/xml/manual/parallel_mode.xml: Likewise. * doc/html/faq.html: Regenerate. * doc/html/api.html: Likewise. * doc/html/manual/bk01pt12ch31s03.html: Likewise. From-SVN: r133463
Paolo Carlini committed -
* doc/extend.texi (Function Attributes): Add missing comma in the example of the "alloc_size" attribute. From-SVN: r133462
Zuxy Meng committed -
2008-03-05 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386-modes.def: Use 4 byte alignment on DI for 32bit host. 2008-03-19 Uros Bizjak <ubizjak@gmail.com> PR target/35496 * stor-layout.c (update_alignment_for_field): Set minimum alignment of the underlying type of a MS bitfield layout to the natural alignment of the type. 2008-03-22 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.c (assign_386_stack_local): Align DImode slots to their natural alignment to avoid store forwarding stalls. From-SVN: r133461
Uros Bizjak committed -
2008-03-23 Tobias Schlueter <tobi@gcc.gnu.org> * trans.h: Use fold_build in build1_v, build2_v and build3_v macros. * trans-openmp.c (gfc_trans_omp_critical, gfc_trans_omp_single): Don't use build2_v macro. From-SVN: r133460
Tobias Schlüter committed -
From-SVN: r133458
GCC Administrator committed
-
- 22 Mar, 2008 5 commits
-
-
2008-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/35632 * io/transfer.c (data_transfer_init): Fix whitespace. (next_record_w): Truncate the file only if the stream position is short of the file end. From-SVN: r133454
Jerry DeLisle committed -
2008-03-22 Richard Guenther <rguenther@suse.de> * tree-cfg.c (verify_expr): Recurse again for invariant addresses. For PHI nodes verify the address is invariant. * tree-ssa-ccp.c (ccp_decl_initial_min_invariant): Remove. (get_symbol_constant_value): Use is_gimple_min_invariant. (maybe_fold_stmt_indirect): Likewise. From-SVN: r133453
Richard Guenther committed -
re PR rtl-optimization/33927 (replace_read in dse.c could handle cases where GET_MODE_CLASS (read_mode) != GET_MODE_CLASS (store_mode) (and the size is the same)) gcc/ PR rtl-optimization/33927 * Makefile.in (dse.o): Depend on $(TM_P_H). * expr.h (extract_low_bits): Declare. * expmed.c (extract_low_bits): New function. * rtlhooks.c (gen_lowpart_general): Generalize SUBREG handling. * dse.c: Include tm_p.h. (find_shift_sequence): Remove the read_reg argument and return the read value. Emit the instructions instead of returning them. Iterate on new_mode rather than calculating it each time. Check MODES_TIEABLE_P. Use simplify_gen_subreg to convert the source to NEW_MODE and extract_low_bits to convert the shifted value to READ_MODE. (replace_read): Allow the load and store to have different mode classes. Use extract_low_bits when SHIFT == 0. Create the shift or extraction instructions before trying the replacement. Update dump-file code accordingly, avoiding use of REGNO (store_info->rhs). gcc/testsuite/ * gcc.target/mips/dse-1.c: Add checks for zeros. From-SVN: r133452
Richard Sandiford committed -
i386.c (assign_386_stack_local): Align DImode slots to their natural alignment to avoid store forwarding stalls. * config/i386/i386.c (assign_386_stack_local): Align DImode slots to their natural alignment to avoid store forwarding stalls. From-SVN: r133451
Uros Bizjak committed -
From-SVN: r133444
GCC Administrator committed
-
- 21 Mar, 2008 5 commits
-
-
From-SVN: r133440
Ian Lance Taylor committed -
2008-03-21 Andrew Pinski <andrew_pinski@playstation.sony.com> PR target/27946 * config/rs6000/rs6000.md (floatdidf2): Discouraging fprs and encouraging but not allowing gprs for input; change the input constraint to !f#r. (fix_truncdfdi2): Discouraging fprs and encouraging but not allowing gprs for output; change the output constraint to !f#r. 2008-03-21 Andrew Pinski <andrew_pinski@playstation.sony.com> PR target/27946 * gcc.target/powerpc/ppc64-double-1.c: New testcase. From-SVN: r133439
Andrew Pinski committed -
2008-03-21 Andrew Pinski <andrew_pinski@playstation.sony.com> PR target/27947 * config/rs6000/rs6000.md (floatdidf2): Discouraging fprs and encouraging but not allowing gprs for input; change the input constraint to !f#r. (fix_truncdfdi2): Discouraging fprs and encouraging but not allowing gprs for output; change the output constraint to !f#r. 2008-03-21 Andrew Pinski <andrew_pinski@playstation.sony.com> PR target/27947 * gcc.target/powerpc/ppc64-double-1.c: New testcase. From-SVN: r133438
Andrew Pinski committed -
2008-03-21 Jerry DeLisle <jvdelisle@gcc.gnu.org> * intrinsics/pack_generic.c: Fix typo. From-SVN: r133437
Jerry DeLisle committed -
2008-03-21 Andreas Tobler <a.tobler@schweiz.org> PR bootstrap/35660 * objc-act.c (objc_generate_cxx_ctor_or_dtor): Rename IS_AGGR_TYPE to MAYBE_CLASS_TYPE_P. (objc_generate_cxx_cdtors): Likewise. (add_instance_variable): Likewise. From-SVN: r133436
Andreas Tobler committed
-