H.J. Lu
0cb58062b7
gcc_update: Handle different URL paths and tags.
...
2007-08-23 H.J. Lu <hongjiu.lu@intel.com>
* gcc_update: Handle different URL paths and tags.
From-SVN: r127737
2007-08-23 05:48:39 -07:00
Richard Guenther
f3b45ab712
re PR tree-optimization/32328 (-fstrict-aliasing causes skipped code)
...
2007-08-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/32328
* testsuite/gcc.dg/pr32328.c: New testcase.
From-SVN: r127736
2007-08-23 12:41:59 +00:00
Paolo Bonzini
35f3782f4a
gcc:
...
2007-08-23 Paolo Bonzini <bonzini@gnu.org>
* config/i386/sse.md (*sse_and<mode>3, *sse_ior<mode>3,
*sse_nand<mode>3, *sse_xor<mode>3): New.
gcc/testsuite:
2007-08-23 Paolo Bonzini <bonzini@gnu.org>
* gcc.target/i386/xorps-sse.c: New.
* gcc.target/i386/xorps-sse2.c: New.
From-SVN: r127735
2007-08-23 12:15:20 +00:00
Rask Ingemann Lambertsen
d97ac71d00
simd-4.x: Only run when stdint.h types are available.
...
* gcc.c-torture/execute/simd-4.x: Only run when stdint.h types are
available.
From-SVN: r127734
2007-08-23 12:13:10 +00:00
Francois-Xavier Coudert
7af6648c59
re PR fortran/33095 (MAX with optional arguments gives run-time error)
...
PR fortran/33095
* trans-intrinsic.c (gfc_conv_intrinsic_minmax): Remove
runtime error checking.
* gfortran.dg/min_max_optional_5.f90: New test.
* gfortran.dg/min_max_optional_2.f90: Remove.
* gfortran.dg/min_max_optional_3.f90: Remove.
* gfortran.dg/min_max_optional_4.f90: Remove.
From-SVN: r127732
2007-08-23 10:22:18 +00:00
Paolo Bonzini
e3a47fe4af
cmov3.c: Fix scan-assembler.
...
2007-08-23 Paolo Bonzini <bonzini@gnu.org>
* gcc.target/i386/cmov3.c: Fix scan-assembler.
* gcc.target/i386/cmov4.c: Fix scan-assembler.
* gcc.target/i386/xchg-2.c: Fix scan-assembler.
From-SVN: r127731
2007-08-23 10:13:54 +00:00
Uros Bizjak
c9d259cb5e
i386.h (PRINT_OPERAND_PUNCT_VALID_P): Add ';' code.
...
* config/i386/i386.h (PRINT_OPERAND_PUNCT_VALID_P): Add ';' code.
* config/i386/i386.c (print_operand): Handle ';' code. Output
semicolon for TARGET_MACHO.
* config/i386/sync.md (*sync_compare_and_swap<mode>): Use '%;' to
emit semicolon after 'lock' prefix.
(sync_double_compare_and_swap<mode>): Ditto.
(*sync_double_compare_and_swapdi_pic): Ditto.
(*sync_compare_and_swap_cc<mode>): Ditto.
(sync_double_compare_and_swap_cc<mode>): Ditto.
(*sync_double_compare_and_swap_ccdi_pic): Ditto.
(sync_old_add<mode>): Ditto.
(sync_add<mode>): Ditto.
(sync_sub<mode>): Ditto.
(sync_ior<mode>): Ditto.
(sync_and<mode>): Ditto.
(sync_xor<mode>): Ditto.
From-SVN: r127728
2007-08-23 07:35:13 +02:00
Roger Sayle
f4d8e0d1aa
match.c (intrinsic_operators): Delete.
...
2007-08-22 Roger Sayle <roger@eyesopen.com>
Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
* match.c (intrinsic_operators): Delete.
(gfc_match_intrinsic_op): Rewrite matcher to avoid calling
gfc_match_strings.
Co-Authored-By: Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
From-SVN: r127727
2007-08-23 05:03:19 +00:00
Bud Davis
4bbed40523
MAINTAINERS (Write After Approval): Added myself.
...
2007-08-22 Bud Davis <jmdavis@link.com>
* MAINTAINERS (Write After Approval): Added myself.
* MAINTAINERS (Reviewers): Removed myself.
From-SVN: r127726
2007-08-23 04:15:24 +00:00
Chao-ying Fu
091a3ac7b8
rtl.c (rtx_code_size): Check CONST_FIXED to calcualte correct sizes in DEF_RTL_EXPR.
...
* rtl.c (rtx_code_size): Check CONST_FIXED to calcualte correct sizes
in DEF_RTL_EXPR.
(copy_rtx): Handle CONST_FIXED.
(rtx_equal_p): Likewise.
* rtl.h (fixed_value.h): New include.
(rtx_def): Add a new field of fixed_value to u.
(XCNMPFV): Define for accessing fixed_value.
(CONST_FIXED_VALUE, CONST_FIXED_VALUE_HIGH, CONST_FIXED_VALUE_LOW):
Define.
* rtl.def (CONST_FIXED): New constant.
(SS_MULT, US_MULT, SS_DIV, US_DIV, FRACT_CONVERT,
UNSIGNED_FRACT_CONVERT, SAT_FRACT, UNSIGNED_SAT_FRACT, US_NEG,
US_ASHIFT): New codes.
* doc/rtl.texi (Expressions): Document const_fixed, us_neg, ss_mult,
us_mult, ss_div, us_div, us_ashift, fract_convert, sat_fract,
unsigned_fract_convert, unsigned_sat_fract): Document them.
* varasm.c (assemble_integer): Extend to support fixed-point constants
by using different machine classes.
(decode_addr_const): Handle FIXED_CST.
(const_hash_1): Likewise.
(compare_constant): Likewise.
(copy_constant): Likewise.
(const_rtx_hash_1): Handle CONST_FIXED.
(output_constant_pool_2): Handle MODE_FRACT, MODE_UFRACT, MODE_ACCUM,
MODE_UACCUM, MODE_VECTOR_FRACT, MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM,
MODE_VECTOR_UACCUM.
(initializer_constant_valid_p): Handle FIXED_CST.
(output_constant): Support FIXED_POINT_TYPE.
* gengenrtl.c (excluded_rtx): Check CONST_FIXED to exclude.
* cse.c (hash_rtx): Support CONST_FIXED.
(exp_equiv_p): Likewise.
(cannon_reg): Likewise.
(fold_rtx): Likewise.
(equiv_constant): Likewise.
(cse_process_notes_1): Likewise.
(count_reg_usage): Likewise.
* cselib.c (entry_and_rtx_equal_p): Check CONST_FIXED.
(rtx_equal_for_cselib_p): Handle CONST_FIXED.
(wrap_constant): Check CONST_FIXED.
(cselib_hash_rtx): Support CONST_FIXED.
(cselib_subst_to_values): Likewise.
* df-scan.c (df_uses_record): Likewise.
* gcse.c (want_to_gcse_p): Likewise.
(oprs_unchanged_p): Likewise.
(oprs_not_set_p): Likewise.
(compute_transp): Likewise.
(extract_mentioned_regs_helper): Likewise.
* genemit.c (gen_exp): Likewise.
* local-alloc.c (equiv_init_varies_p): Likewise.
(contains_replace_regs): Likewise.
(memref_referenced_p): Likewise.
* loop-invariant.c (check_maybe_invariant): Likewise.
(hash_invariant_expr_1): Likewise.
(invariant_expr_equal_p): Likewise.
* postreload-gcse.c (oprs_unchanged_p): Likewise.
* regclass.c (reg_scan_mark_refs): Likewise.
* regrename.c (scan_rtx): Likewise.
* resource.c (mark_referenced_resources): Likewise.
(mark_set_resources): Likewise.
* rtlanal.c (rtx_unstable_p): Likewise.
(rtx_varies_p): Likewise.
(count_occurrences): Likewise.
(reg_mentioned_p): Likewise.
(modified_between_p): Likewise.
(modified_in_p): Likewise.
(volatile_insn_p): Likewise.
(volatile_refs_p): Likewise.
(side_effects_p): Likewise.
(may_trap_p_1): Likewise.
(inequality_comparisons_p): Likewise.
(computed_jump_p_1): Likewise.
(commutative_operand_precedence): Likewise.
* sched-deps.c (sched_analyze_2): Likewise.
* sched-vis.c (print_value): Likewise.
* reload.c (operands_match_p): Likewise.
(subst_reg_equivs): Likewise.
* reload1.c (eliminate_regs_1): Likewise.
(elimination_effects): Likewise.
(scan_paradoxical_subregs): Likewise.
* alias.c (rtx_equal_for_memref_p): Likewise.
* Makefile.in (RTL_BASE_H): Add fixed-value.h.
* emit-rtl.c (const_fixed_htab): New hash table.
(const_fixed_htab_hash, const_fixed_htab_eq, lookup_const_fixed):
Declare.
(const_fixed_htab_hash, const_fixed_htab_eq, lookup_const_fixed,
const_fixed_from_fixed_value): New functions.
(verify_rtx_sharing): Handle CONST_FIXED.
(copy_rtx_if_shared_1): Likewise.
(reset_used_flags): Likewise.
(set_used_flags): Likewise.
(copy_insn_1): Likewise.
(init_emit_once): Create const_fixed_htab.
Store fixed-point scalar and vector zero and one to const_tiny_rtx.
From-SVN: r127725
2007-08-23 00:30:39 +00:00
GCC Administrator
9851005046
Daily bump.
...
From-SVN: r127723
2007-08-23 00:17:33 +00:00
Zdenek Dvorak
24938ce920
re PR tree-optimization/32949 (suboptimal address generation for int indices on 64-bit targets)
...
2007-08-22 Zdenek Dvorak <ook@ucw.cz>
PR tree-optimization/32949
* tree-ssa-loop-niter.c (scev_probably_wraps_p): Test nowrap_type_p
before failing for ivs with non-constant step.
From-SVN: r127720
2007-08-22 23:05:05 +00:00
Christopher D. Rickett
aa2f6edbf7
re PR fortran/33020 (Bind(C): c_f_pointer: type/rank mismatch error with integer(8) SHAPE)
...
2007-08-22 Christopher D. Rickett <crickett@lanl.gov>
PR fortran/33020
* resolve.c (gfc_iso_c_sub_interface): Remove setting of type and
kind for optional SHAPE parameter of C_F_POINTER.
2007-08-22 Christopher D. Rickett <crickett@lanl.gov>
PR fortran/33020
* gfortran.dg/c_f_pointer_shape_tests_2.f03: Update test to
include multiple kinds for SHAPE parameter within a single
namespace.
* gfortran.dg/c_f_pointer_shape_tests_2_driver.c: Ditto.
* gfortran.dg/c_f_pointer_shape_tests_3.f03: New test case.
From-SVN: r127719
2007-08-22 23:28:08 +02:00
Janus Weil
129d15a3e0
decl.c (match_attr_spec): Pass on errors from gfc_match_bind_c.
...
2007-08-22 Janus Weil <jaydub66@gmail.com>
* decl.c (match_attr_spec): Pass on errors from gfc_match_bind_c.
(gfc_match_bind_c): Bugfix in check for NAME= with abstract interfaces.
(gfc_match_mopdproc): Bugfix to reject module procedures in
abstract interfaces.
2007-08-22 Janus Weil <jaydub66@gmail.com>
* interface_abstract_1.f90: Extended test case.
* interface_abstract_3.f90: New test.
From-SVN: r127718
2007-08-22 23:11:13 +02:00
Jason Merrill
f11b235171
fix changelog entry
...
From-SVN: r127717
2007-08-22 16:43:06 -04:00
Hans-Peter Nilsson
3abcb3a781
md.texi (Iterators): Renamed from Macros.
...
* doc/md.texi (Iterators): Renamed from Macros. All contents
changed to reflect rename of respectively define_code_macro and
define_mode_macro to define_code_iterator and define_mode_iterator.
(Mode Iterators, Code Iterators): Similar.
* read-rtl.c (struct iterator_group, struct iterator_traverse_data)
(uses_mode_iterator_p, apply_mode_iterator, uses_code_iterator_p)
(apply_iterator_to_string, uses_iterator_p, apply_iterator_traverse)
(initialize_iterators, find_iterator, check_code_iterator)
(map_attr_string, apply_mode_maps, apply_iterator_to_rtx, add_mapping)
(read_mapping, read_rtx_1): Similar.
* config/alpha/sync.md, config/alpha/alpha.md, config/frv/frv.md,
config/s390/s390.md, config/m32c/blkmov.md, config/m32c/m32c.md,
config/spu/spu.md, config/sparc/sparc.md, config/sparc/sync.md,
config/i386/i386.md, config/i386/mmx.md, config/i386/sse.md,
config/i386/sync.md, config/crx/crx.md, config/xtensa/xtensa.md,
config/cris/cris.c, config/cris/cris.md, config/ia64/sync.md,
config/ia64/div.md, config/ia64/vect.md, config/ia64/ia64.md,
config/m68k/m68k.md, config/rs6000/spe.md, config/rs6000/altivec.md,
config/rs6000/sync.md, config/rs6000/rs6000.md,
config/arm/vec-common.md, config/arm/neon.md, config/arm/iwmmxt.md,
config/arm/arm.md, config/mips/mips-dsp.md, config/mips/mips.md,
config/vax/vax.md, config/bfin/bfin.md: Similar.
From-SVN: r127715
2007-08-22 20:32:18 +00:00
Bernhard Fischer
3a923a7585
Makefile.am (AM_CPPFLAGS): Commentary typo fix.
...
2007-08-22 Bernhard Fischer <rep.dot.nop@gmail.com>
* libgfortran/Makefile.am (AM_CPPFLAGS): Commentary typo fix.
From-SVN: r127714
2007-08-22 22:30:26 +02:00
David Daney
82161911c3
* doc/install.texi (Testing): Mention testing on a simulator.
...
From-SVN: r127713
2007-08-22 18:31:53 +00:00
Jason Merrill
6117220672
re PR c++/29365 (Unnecessary anonymous namespace warnings)
...
PR c++/29365
* pt.c (outermost_tinst_level): New function.
* lex.c (in_main_input_context): New function.
* decl2.c (constrain_class_visibility): Use it to avoid warning
about uses of the anonymous namespace in the main input file.
From-SVN: r127711
2007-08-22 13:23:37 -04:00
Janis Johnson
1840f0c270
* config/dfp-bit.c (DFP_TO_DFP): Check for overflow.
...
From-SVN: r127710
2007-08-22 17:16:44 +00:00
Janis Johnson
e2311f7a29
libgcc.texi (Decimal float library routines): Fix formatting and rearrange floating point conversion functions into different...
...
* doc/libgcc.texi (Decimal float library routines): Fix formatting
and rearrange floating point conversion functions into different
categories.
From-SVN: r127709
2007-08-22 16:36:28 +00:00
Krister Walfridsson
51743df844
env.c ( __gnat_clearenv): Use the __gnat_unsetenv mechanism for NetBSD.
...
* env.c ( __gnat_clearenv): Use the __gnat_unsetenv mechanism for
NetBSD.
From-SVN: r127708
2007-08-22 16:00:54 +00:00
Maxim Kuvyrkov
1c3d0d93e2
target.h (struct gcc_target.sched: dfa_pre_advance_cycle, [...]): New scheduler hooks.
...
* target.h (struct gcc_target.sched: dfa_pre_advance_cycle,
dfa_post_advance_cycle): New scheduler hooks.
* target-def.h (TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE,
TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): New macros to initialize
new hooks.
(TARGET_SCHED): Use them.
* doc/tm.texi (TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE,
TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Document new hooks.
* haifa-sched.c (advance_one_cycle): Invoke new hooks.
* genautomata.c (insn_has_dfa_reservation_p): New DFA interface
function to facilitate debugging.
(INSN_HAS_DFA_RESERVATION_P_FUNC_NAME): New macro.
(output_insn_has_dfa_reservation_p): New static function to output
insn_has_dfa_reservation_p ().
(write_automata): Use it.
* genattr.c (main): Output declaration for
insn_has_dfa_reservation_p ().
From-SVN: r127707
2007-08-22 15:07:10 +00:00
Christian Bruel
f37dc59727
fixed wrong date
...
From-SVN: r127706
2007-08-22 16:44:28 +02:00
Christian Bruel
81d2fb0294
fixed -ffinite-math-only A-A missing optimisation
...
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r127705
2007-08-22 16:38:16 +02:00
Kai Tietz
fcdb5d68de
[PATCH Fortran] bootstrap failure by wrong sizetype.
...
From-SVN: r127704
2007-08-22 15:06:22 +02:00
Rask Ingemann Lambertsen
23da9ed6e2
re PR rtl-optimization/32557 (internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956)
...
PR rtl-optimization/32557
* df-problems.c (df_note_bb_compute): Use mws->start_regno instead
of REGNO (mws->mw_reg).
From-SVN: r127703
2007-08-22 12:56:35 +00:00
Uros Bizjak
bda0d962be
20000724-1.c, [...]: Move to gcc.target/i386 directory.
...
* gcc.dg/20000724-1.c, gcc.dg/980312-1.c, gcc.dg/980313-1.c,
gcc.dg/attr-returns_twice-1.c, gcc.dg/inline-mcpy.c, gcc.dg/pr25196.c,
gcc.dg/pr25993.c, gcc.dg/pr26449.c, gcc.dg/pr28839.c,
gcc.dg/pr32191.c: Move to gcc.target/i386 directory.
* gcc.target/i386/pr31854.c, gcc.target/i386/pr32065-1.c,
gcc.target/i386/pr32065-2.c: Use dg-require-effective-target dfp.
From-SVN: r127702
2007-08-22 14:12:10 +02:00
Richard Guenther
968fc3b64f
re PR middle-end/33007 (builtin lround doesn't work)
...
2007-08-22 Richard Guenther <rguenther@suse.de>
PR middle-end/33007
* builtins.c (expand_builtin_int_roundingfn): Replace call
argument wrapped with SAVE_EXPR directly.
(expand_builtin_int_roundingfn_2): Likewise.
* gcc.dg/pr33007.c: New testcase.
From-SVN: r127701
2007-08-22 11:43:32 +00:00
Richard Sandiford
3fe42b898a
Properly remove.
...
From-SVN: r127700
2007-08-22 10:02:05 +00:00
Richard Sandiford
4c6a498798
strcmp-1.x: Delete.
...
gcc/testsuite/
* gcc.c-torture/execute/strcmp-1.x: Delete.
From-SVN: r127699
2007-08-22 10:00:00 +00:00
Uros Bizjak
ac3b8691e8
*.c: Remove target selectors from dg-do directives.
...
* gcc.target/i386/*.c: Remove target selectors from dg-do directives.
* gcc.target/i386/991129-1.c, gcc.target/i386/991209-1.c,
gcc.target/i386/991214-1.c, gcc.target/i386/pr26778.c,
gcc.target/i386/pr27827.c, gcc.target/i386/pr30505.c,
gcc.target/i386/pr32389.c, gcc.target/i386/sse-8.c,
gcc.target/i386/stack-realign.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-1.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-2.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-3.c: Require ilp32
target using dg-require-effective-target directive.
* gcc.target/i386/amd64-abi-1.c, gcc.target/i386/amd64-abi-2.c,
gcc.target/i386/cleanup-2.c, gcc.target/i386/cmpxchg16b-1.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-4.c,
gcc.target/i386/large-size-array-3.c, gcc.target/i386/pr25254.c,
gcc.target/i386/pr31167.c, gcc.target/i386/pr32268.c,
gcc.target/i386/pr32661-1.c, gcc.target/i386/pr32708-2.c,
gcc.target/i386/pr32708-3.c, gcc.target/i386/sse4_1-pextrq.c,
gcc.target/i386/sse4_1-pinsrq.c, gcc.target/i386/sse4_2-crc32q.c,
gcc.target/i386/sse4_2-popcntq.c, gcc.target/i386/stack-prot-kernel.c:
Require lp64 target using dg-require-effective-target directive.
* gcc.target/i386/cleanup-1.c, gcc.target/i386/cleanup-2.c,
gcc.target/i386/pr32268.c: Use *-*-linux* target selector in dg-do
directive.
* gcc.target/i386/20010202-1.c: Move from here ...
* gcc.dg/20010202-1.c: ... to here.
From-SVN: r127698
2007-08-22 11:59:14 +02:00
Richard Guenther
f8dd107d4c
re PR tree-optimization/33142 (wrong code with VRP through ABS_EXPR)
...
2007-08-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/33142
* gcc.c-torture/execute/pr33142.c: New testcase.
From-SVN: r127693
2007-08-22 08:47:26 +00:00
Richard Guenther
b26eca6af7
tree-inline.c (inlinable_function_p): Restore disregarding inline limits for GNU extern inline functions.
...
2007-08-22 Richard Guenther <rguenther@suse.de>
* tree-inline.c (inlinable_function_p): Restore disregarding
inline limits for GNU extern inline functions.
From-SVN: r127690
2007-08-22 08:10:42 +00:00
Richard Guenther
ab5b838291
re PR debug/32563 (ICE on pointer arithmetic)
...
2007-08-22 Richard Guenther <rguenther@suse.de>
PR middle-end/32563
* tree.c (host_integerp): Treat sizetype as signed as it is
sign-extended.
* g++.dg/torture/pr32563.C: New testcase.
From-SVN: r127688
2007-08-22 08:00:55 +00:00
Jakub Jelinek
fab75691f3
pr32912-1.c: Add -w to options.
...
* gcc.dg/pr32912-1.c: Add -w to options.
* gcc.dg/pr32912-2.c: Likewise.
* gcc.dg/pr32912-3.c: Scan for ~{ rather than just ~.
From-SVN: r127687
2007-08-22 09:53:57 +02:00
Ian Lance Taylor
4251e89928
* g++.dg/torture/pr33134.C: Moved from g++.dg/tree-ssa.
...
From-SVN: r127686
2007-08-22 04:30:25 +00:00
Benjamin Kosnik
65be6ddd76
Makefile.am (install-data-local): Remove pch-install rules.
...
2007-08-21 Benjamin Kosnik <bkoz@montsouris.artheist.org>
* include/Makefile.am (install-data-local): Remove pch-install rules.
(host_headers): Add stdc++.h, stdtr1c++.h, extc++.h.
* include/Makefile.in: Regenerate.
* config.h.in: Same.
* scripts/check_compile: Remove space between outputs.
* include/ext/throw_allocator.h: Correct doxygen markup.
* include/bits/char_traits.h: Correct spacing.
* include/bits/stl_function.h: Same, for 80 column.
* include/std/valarray: Same.
* testsuite/util/testsuite_iterators.h: Same.
* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Format.
From-SVN: r127685
2007-08-22 01:26:43 +00:00
GCC Administrator
7e501b00a4
Daily bump.
...
From-SVN: r127683
2007-08-22 00:17:11 +00:00
Ian Lance Taylor
cdc6461235
re PR tree-optimization/33134 (ICE in set_value_range, at tree-vrp.c:325)
...
./: PR tree-optimization/33134
* tree-vrp.c (adjust_range_with_scev): Call
set_value_range_to_value.
testsuite/:
PR tree-optimization/33134
* g++.dg/tree-ssa/pr33134.C: New test.
From-SVN: r127679
2007-08-21 21:35:06 +00:00
Aldy Hernandez
958ea87b6a
value-prof.h (gimple_remove_histogram_value): Remove duplicate prototype.
...
* value-prof.h (gimple_remove_histogram_value): Remove duplicate
prototype.
From-SVN: r127678
2007-08-21 21:16:40 +00:00
Aldy Hernandez
02014de2de
tree-flow-inline.h (next_imm_use_stmt): Remove unecessary whitespace.
...
* tree-flow-inline.h (next_imm_use_stmt): Remove unecessary
whitespace.
From-SVN: r127674
2007-08-21 19:03:49 +00:00
Nathan Froyd
21d818ff36
rs6000.c (expand_block_clear): Add TARGET_SPE cases to set eight bytes at a time.
...
gcc/
* config/rs6000/rs6000.c (expand_block_clear): Add TARGET_SPE
cases to set eight bytes at a time.
(expand_block_move): Likewise.
gcc/testsuite/
* gcc.target/powerpc/spe-vector-memset.c: New testcase.
* gcc.target/powerpc/spe-vector-memcpy.c: New testcase.
From-SVN: r127670
2007-08-21 17:22:46 +00:00
Jakub Jelinek
d6b3c79757
re PR debug/32610 (ICE in gen_tagged_type_instantiation_die, at dwarf2out.c:12762)
...
PR debug/32610
* dwarf2out.c (gen_decl_die): Don't call
gen_tagged_type_instantiation_die if decl doesn't have tagged type.
* gcc.dg/debug/pr32610.c: New test.
From-SVN: r127669
2007-08-21 19:11:20 +02:00
Jakub Jelinek
af9fc1dd63
init.c (build_new_1): Use get_target_expr instead of save_expr.
...
* init.c (build_new_1): Use get_target_expr instead of save_expr.
* g++.dg/init/new24.C: New test.
From-SVN: r127668
2007-08-21 19:03:23 +02:00
Paul Brook
2f41c1d60b
configure.ac: Add --with-pkgversion and --with-bugurl.
...
gcc:
2007-08-21 Paul Brook <paul@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* configure.ac: Add --with-pkgversion and --with-bugurl.
* configure: Regenerate.
* doc/install.texi: Document them.
* version.c (version_string): Remove VERSUFFIX.
(VERSUFFIX): Remove.
(pkgversion_string): New.
(bug_report_url): Do not hard-code initializer.
* version.h (pkgversion_string): Declare.
* Makefile.in (PKGVERSION_s, BUGURL_s, PKGVERSION, BUGURL_TEXI):
Define.
(version.o): Define PKGVERSION and BUGURL.
(gcc-vers.texi): Define VERSION_PACKAGE and BUGURL.
(%.pod): Define BUGURL.
* gcc.c (process_command, main): Use pkgversion_string.
* toplev.c (compile_file, print_version): Likewise.
* protoize.c (main): Likewise.
* gcov.c (print_version): Likewise. Update copyright date.
* gcov-dump.c (print_version): Likewise. Update copyright date.
* mips-tdump.c (main): Likewise. Update copyright date.
* mips-tfile.c (main): Likewise. Update copyright date.
* doc/include/gcc-common.texi: Include VERSION_PACKAGE as subtitle.
* doc/bugreport.texi: Use BUGURL for bug-reporting instructions;
shorten description.
* doc/gcc.texi: Include VERSION_PACKAGE in version description.
* doc/gccint.texi: Likewise.
* doc/invoke.texi: Use BUGURL for bug-reporting instructions.
Update copyright date.
gcc/fortran:
2007-08-21 Paul Brook <paul@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* gfortranspec.c (lang_specific_driver): Use pkgversion_string.
* Make-lang.in (gfortran.pod): Define BUGURL.
* invoke.texi: Use BUGURL for bug-reporting instructions.
gcc/java:
2007-08-21 Paul Brook <paul@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* jcf-dump.c (version): Use pkgversion_string. Update copyright
date.
gcc/treelang:
2007-08-21 Paul Brook <paul@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* tree1.c (treelang_handle_option): Use pkgversion_string.
* treelang.texi (which-treelang): Define to use VERSION_PACKAGE.
maintainer-scripts:
2007-08-21 Paul Brook <paul@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* gcc_release: Do not include copies of bugs.html in releases.
* update_web_docs_svn: Set VERSION_PACKAGE and BUGURL in
gcc-vers.texi.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r127667
2007-08-21 16:35:30 +01:00
Uros Bizjak
d02cb67559
i386.c (ix86_expand_clear): Use FLAGS_REG.
...
* config/i386/i386.c (ix86_expand_clear): Use FLAGS_REG.
(ix86_expand_strlensi_unroll_1): Ditto.
(ix86_expand_branch): Use FLAGS_REG and FPSR_REG.
(ix86_expand_carry_flag_compare): Update comment.
From-SVN: r127666
2007-08-21 14:26:12 +02:00
Joseph Myers
42e61fe73d
be.po, [...]: Update.
...
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po: Update.
* uk.po: New.
From-SVN: r127664
2007-08-21 12:46:39 +01:00
Joseph Myers
461c3f246d
be.po, [...]: Update.
...
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
ru.po, sr.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.
From-SVN: r127662
2007-08-21 12:42:31 +01:00
Jakub Jelinek
c01ee93565
re PR middle-end/32912 (ICE with vector code)
...
PR middle-end/32912
* fold-const.c (fold_unary): Optimize BIT_NOT_EXPR of VECTOR_CST.
(fold_binary): Handle vectors in X | ~X and X ^ ~X optimizations.
* gcc.dg/pr32912-1.c: New test.
* gcc.dg/pr32912-2.c: New test.
* gcc.dg/pr32912-3.c: New test.
From-SVN: r127661
2007-08-21 11:22:14 +02:00