Mark Mitchell
9c0787e298
t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely within the multilib directory.
...
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
within the multilib directory.
From-SVN: r90669
2004-11-15 15:55:45 +00:00
Nick Clifton
f15dc49f0a
g++.dg/opt/strength-reduce.C...
...
g++.dg/opt/strength-reduce.C: Replace 0x7fffffff with __INT_MAX__ so that
the test can be compiled by toolchains targeted at 16-bit processors.
* gcc.dg/20040625-1.c: Use long constants rather than integers when
performing arithmetic that will overflow 16-bits.
* gcc.dg/i386-sse-8.c: Expect this test to fail for the xstormy16.
It does not support 128-bit vector operations.
* gcc.dg/ultrasp4.c: Replace all occurrences of the type 'long' with the
macro PTR_TYPE. Define this macro to an integer type suitable for
holding a pointer.
* gcc.dg/compat/struct-align-1_x.c: Use shorter integers if the target
is a 16-bit processor.
* gcc.dg/cpp/if-2.c: Expect a different warning message from 16-bit
targets where the character constant will be too long.
* g++.dg/opt/asm1.C: Expect this test to fail on the xstormy16 where
the double will not be directly addressable.
From-SVN: r90667
2004-11-15 13:33:38 +00:00
Nick Clifton
ea87f349b7
(TARGET_CPU_CPP_BUILTINS): Add builtin assert of cpu=xstormy16.
...
From-SVN: r90666
2004-11-15 13:19:50 +00:00
Nathan Sidwell
cf6b9ef196
tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized variable.
...
* tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized
variable.
From-SVN: r90658
2004-11-15 12:15:47 +00:00
Kriang Lerdsuwanakij
461c6fce56
Friend class name lookup 1/n, PR c++/18471
...
Friend class name lookup 1/n, PR c++/18471
* decl.c (lookup_and_check_tag): New function.
(xref_tag, start_enum): Use it.
(check_elaborated_type_specifier): Move TEMPLATE_TYPE_PARM check
before !DECL_IMPLICIT_TYPEDEF_P. Also display previously declared
location.
* name-lookup.c (lookup_name_current_level): Rename to ...
(lookup_name_innermost_nonclass_level): ... this.
(lookup_type_scope): New function.
* name-lookup.h (lookup_name_current_level): Rename to ...
(lookup_name_innermost_nonclass_level): ... this.
(lookup_type_scope): Add declaration.
* g++.dg/lookup/struct1.C: Adjust expected error.
* g++.dg/parse/elab1.C: Likewise.
* g++.dg/parse/elab2.C: Likewise.
* g++.dg/parse/int-as-enum1.C: Likewise.
* g++.dg/parse/struct-as-enum1.C: Likewise.
* g++.dg/parse/typedef1.C: Likewise.
* g++.dg/parse/typedef3.C: Likewise.
* g++.dg/parse/typedef4.C: Likewise.
* g++.dg/parse/typedef5.C: Likewise.
* g++.dg/template/nontype4.C: Likewise.
* g++.old-deja/g++.benjamin/typedef01.C: Likewise.
* g++.old-deja/g++.other/elab1.C: Likewise.
* g++.old-deja/g++.other/syntax4.C: Likewise.
From-SVN: r90657
2004-11-15 10:34:06 +00:00
Paolo Carlini
e24b3cc0aa
lwg-active.html, [...]: Import Revision 33.
...
2004-11-15 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 33.
From-SVN: r90655
2004-11-15 09:05:27 +00:00
Eric Botcazou
23e09df4c8
* gcc.dg/intmax_t-1.c: XFAIL on Solaris 2.5.1.
...
From-SVN: r90654
2004-11-15 07:39:35 +00:00
Eric Botcazou
c7bfff32f3
Fix latest entry.
...
From-SVN: r90653
2004-11-15 07:16:26 +00:00
Richard Henderson
8df3dbb75b
re PR middle-end/18480 (ICE in emit_group_move with recent change)
...
PR 18480
* calls.c (struct arg_data): Add parallel_value.
(precompute_register_parameters): Set it.
(load_register_parameters): Use it.
(store_one_arg): Also set it here.
From-SVN: r90649
2004-11-14 20:04:03 -08:00
Zdenek Dvorak
18522563e0
re PR tree-optimization/18431 (Code for arrays and pointers are not the same)
...
PR tree-optimization/18431
* fold-const.c (associate_trees): Do not produce x + 0.
(fold_widened_comparison, fold_sign_changed_comparison): New functions.
(fold): Use them.
* tree-ssa-loop-niter.c (upper_bound_in_type, lower_bound_in_type):
Moved ...
* tree.c (upper_bound_in_type, lower_bound_in_type): Here.
* tree.h (upper_bound_in_type, lower_bound_in_type): Declare.
* testsuite/gcc.c-torture/execute/20041114-1.c: New test.
From-SVN: r90646
2004-11-15 00:18:37 +00:00
GCC Administrator
4d6079e03d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90644.2
2004-11-15 00:16:47 +00:00
GCC Administrator
1223dd7cc9
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90643.2
2004-11-15 00:16:13 +00:00
Eric Botcazou
a6ac87c14f
* doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.
...
From-SVN: r90639
2004-11-14 23:38:04 +00:00
Kazu Hirata
3a7c155d2e
global.c, [...]: Fix comment typos.
...
* global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c,
value-prof.c: Fix comment typos.
From-SVN: r90638
2004-11-14 23:35:03 +00:00
Joseph Myers
efcc66f02c
c99-flex-array-5.c, [...]: New tests.
...
* gcc.dg/c99-flex-array-5.c, gcc.dg/c99-fordecl-3.c,
gcc.dg/comp-goto-1.c, gcc.dg/comp-goto-2.c, gcc.dg/comp-goto-3.c,
gcc.dg/format/strfmon-2.c, gcc.dg/pointer-arith-1.c,
gcc.dg/pointer-arith-2.c, gcc.dg/pointer-arith-3.c,
gcc.dg/pointer-arith-4.c, gcc.dg/switch-5.c, gcc.dg/switch-6.c,
gcc.dg/switch-7.c: New tests.
From-SVN: r90637
2004-11-14 23:24:14 +00:00
Paolo Carlini
509228203e
streambuf_iterator.h (istreambuf_iterator::_M_get): Slightly tweak for clarity (also leads to measurably better code).
...
2004-11-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
Slightly tweak for clarity (also leads to measurably better code).
From-SVN: r90636
2004-11-14 22:54:24 +00:00
Dorit Naishlos
fceb80bf94
* gcc.dg/vect/vect-78.c: Now vectorized on powerpc*.
...
From-SVN: r90635
2004-11-14 22:42:16 +00:00
Kazu Hirata
4924302529
* cfgrtl.c: Fix a comment typo.
...
From-SVN: r90632
2004-11-14 21:25:37 +00:00
Dorit Naishlos
f7f021251d
re PR tree-optimization/18400 (wrong unrolling after vectorization due to invalid loop->nb_iterations)
...
2004-11-14 Dorit Naishlos <dorit@il.ibm.com>
PR tree-opt/18400
* gcc.dg/vect/pr18400.c: New test.
2004-11-14 Dorit Naishlos <dorit@il.ibm.com>
Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18425
* gcc.dg/vect/pr18425.c: New test.
Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r90631
2004-11-14 20:44:52 +00:00
Stan Shebs
594a51febe
Basic ABI changes for passing structs by value in 64-bit Darwin.
...
* config/rs6000/rs6000.c (rs6000_darwin64_abi): New flag.
(rs6000_override_options): Set it for 64-bit Darwin.
(rs6000_parse_abi_options): Add testing options to change it.
(rs6000_return_in_memory): Test whether the type is one
that can be passed in registers.
(darwin64_function_arg_advance): New.
(function_arg_advance): Call it, plus add recursion depth
argument and test when counting off arguments.
(rs6000_darwin64_function_arg): New.
(function_arg): Call it.
(setup_incoming_varargs): Add argument to function_arg_advance.
(rs6000_darwin64_function_value): New.
(rs6000_function_value): Call it.
* config/rs6000/rs6000.h (FUNCTION_ARG_ADVANCE): Pass depth arg.
* config/rs6000/rs6000-protos.h: Update decl of
function_arg_advance.
From-SVN: r90629
2004-11-14 20:28:58 +00:00
Andrew Pinski
1e1b864906
re PR target/17279 (internal compiler error with 128 bit integers)
...
2004-11-14 Andrew Pinski <pinskia@physics.uc.edu>
PR c/17279
* c-common.c (c_common_nodes_and_builtins): Ask the back-end if we
support TImode before adding __int128_t and __uint128_t types.
From-SVN: r90627
2004-11-14 10:54:18 -08:00
Dorit Naishlos
d6f6ef21b2
re PR tree-optimization/18400 (wrong unrolling after vectorization due to invalid loop->nb_iterations)
...
PR tree-opt/18400
* tree-vectorizer.c (make_loop_iterate_ntimes): Set loop->nb_iterations.
(vect_transform_loop_bound): Set loop->nb_iterations.
From-SVN: r90626
2004-11-14 18:30:36 +00:00
Dorit Naishlos
4951c3fd4c
re PR tree-optimization/18425 (ICE in vector.tcc when -ftree-vectorize enabled)
...
2004-11-14 Dorit Naishlos <dorit@il.ibm.com>
Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18425
* tree-vectorize.c (vect_build_loop_niters): Do not insert
NULL into the instruction stream. Initialize new_bb to NULL.
(vect_update_ivs_after_vectorizer): Likewise.
(vect_gen_niters_for_prolog_loop): Likewise.
Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r90625
2004-11-14 18:25:33 +00:00
Zdenek Dvorak
9beeb4ee4c
re PR tree-optimization/18431 (Code for arrays and pointers are not the same)
...
PR tree-optimization/18431
* tree-flow.h (stmt_references_memory_p): Declare.
* tree-ssa-loop-im.c (stmt_cost): Use stmt_references_memory_p.
* tree-ssa.c (stmt_references_memory_p): New function.
From-SVN: r90624
2004-11-14 18:04:25 +00:00
Eric Botcazou
3021a627c5
alias-1.c: Remove dg-warning on the SPARC.
...
* gcc.dg/tls/alias-1.c: Remove dg-warning on the SPARC.
Guard with dg-require-alias and dg-require-visibility.
From-SVN: r90623
2004-11-14 16:52:48 +00:00
Andreas Schwab
fd3fe0a11b
Makefile.in (lambda-code.o, [...]): Depend on $(EXPR_H).
...
* Makefile.in (lambda-code.o, tree-loop-linear.o): Depend on
$(EXPR_H).
From-SVN: r90621
2004-11-14 16:24:28 +00:00
Kazu Hirata
daa956d01f
* cselib.c, expr.c: Fix comment typos.
...
From-SVN: r90620
2004-11-14 13:05:19 +00:00
Kazu Hirata
c1dc94c40a
c-common.c (walk_stmt_tree): Remove.
...
* c-common.c (walk_stmt_tree): Remove.
* c-common.h: Remove the corresponding prototype.
From-SVN: r90619
2004-11-14 12:55:15 +00:00
Kazu Hirata
29eb4ac9ad
c-common.c (walk_stmt_tree): Remove.
...
* c-common.c (walk_stmt_tree): Remove.
* c-common.h: Remove the corresponding prototype.
From-SVN: r90618
2004-11-14 12:53:30 +00:00
Eric Botcazou
6b870fa9f4
* g++.dg/other/packed1.C: UnXFAIL on SPARC, PA, MIPS and PowerPC.
...
From-SVN: r90617
2004-11-14 11:28:14 +00:00
Giovanni Bajo
d6b75f7070
* g++.dg/expr/unary1.C, g++.dg/expr/unary2.C: New tests.
...
From-SVN: r90616
2004-11-14 10:58:50 +00:00
Kriang Lerdsuwanakij
e34b09225a
re PR c++/17344 (completely wacky error with matching template template classes and default arguments)
...
PR c++/17344
* pt.c (coerce_template_parms): Only emit error message about
invalid template argument when TF_ERROR.
* g++.dg/template/defarg5.C: New test.
From-SVN: r90615
2004-11-14 10:57:00 +00:00
Hans-Peter Nilsson
18ccc7e0e3
* gcc_update (touch_files): Explicitly pass --no-print-directory.
...
From-SVN: r90614
2004-11-14 06:31:00 +00:00
Richard Henderson
27e29549a0
calls.c (precompute_register_parameters): Force all PARALLELs into pseudo registers.
...
* calls.c (precompute_register_parameters): Force all PARALLELs
into pseudo registers.
(load_register_parameters): Copy PARALLELs into hard registers.
* function.c (assign_parm_setup_block): Copy PARALLELS into
pseudo registers. Do emit_group_store in conversion_insns.
* expr.c (emit_group_load_1): Rename from emit_group_load, take
tmps as an argument. Move final copy loop ...
(emit_group_load): ... here. New function.
(emit_group_load_into_temps, emit_group_move_into_temps): New.
* expr.h: Declare them.
From-SVN: r90613
2004-11-13 22:22:56 -08:00
Kazu Hirata
eaf0dc0254
tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate.
...
* tree-cfg.c, tree-if-conv.c, tree-ssa-loop-ivopts.c,
tree-ssa-loop-manip.c, tree-vectorizer.c: Replace TREE_CHAIN
with PHI_CHAIN where appropriate.
From-SVN: r90611
2004-11-14 04:08:11 +00:00
Dale Johannesen
88957e792d
tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.
...
2004-11-13 Dale Johannesen <dalej@apple.com>
* tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.
(tree_block_label): Ditto.
(flush_pending_stmts): Ditto.
(insert_edge_copies): Ditto.
(expr_invariant_in_loop_p): Ditto.
(TDF_USE_OPS): Parenthesize definition.
(TDF_USE_VOPS): Ditto.
From-SVN: r90610
2004-11-14 03:35:13 +00:00
David Edelsohn
6ca4177cf2
aix51.h (ASM_CPU_SPEC): Add 970 and G5.
...
* config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5.
* config/rs6000/aix52.h (ASM_CPU_SPEC): Same.
* config/rs6000/t-aix52 (BOOT_LDFLAGS): Define.
From-SVN: r90609
2004-11-13 22:32:11 -05:00
Joseph Myers
6716ecbcfd
i386.c (override_options): Move loop to set default tuning to correct place.
...
* config/i386/i386.c (override_options): Move loop to set default
tuning to correct place.
From-SVN: r90606
2004-11-14 00:38:32 +00:00
GCC Administrator
f7b62acd2a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90604.2
2004-11-14 00:16:19 +00:00
GCC Administrator
6b7fd2f5e8
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90603.2
2004-11-14 00:16:13 +00:00
Eric Botcazou
fa1dedd871
cast1.C: Run only on ILP32.
...
* g++.dg/parse/cast1.C: Run only on ILP32.
* g++.old-deja/g++.mike/p784.C: Likewise.
From-SVN: r90601
2004-11-13 23:33:20 +00:00
Zak Kipling
e8112eacf7
re PR target/18300 (Infinite loop when passing object with 3+ base classes by value)
...
PR target/18300
* config/i386/i386.c (classify_argument): Fix infinite loop when
passing object with 3 or more base classes by value.
From-SVN: r90600
2004-11-13 15:09:08 -08:00
Eric Botcazou
595163db43
md.texi (constraints): Mention that it is useless when the two alternatives are strictly identical.
...
* doc/md.texi (constraints) <% modifier>: Mention that it is
useless when the two alternatives are strictly identical.
From-SVN: r90598
2004-11-13 22:28:46 +00:00
Richard Henderson
4e36f613a3
expmed.c (extract_split_bit_field): Temporarily disable call to extract_force_align_mem_bit_field.
...
* expmed.c (extract_split_bit_field): Temporarily disable call to
extract_force_align_mem_bit_field.
From-SVN: r90597
2004-11-13 14:10:47 -08:00
Kazu Hirata
1f83835576
c-cppbuiltin.c, [...]: Fix comment typos.
...
* c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c,
lambda-code.c, postreload.c, predict.c, tree-sra.c,
tree-ssa-loop-manip.c, tree.c: Fix comment typos.
From-SVN: r90596
2004-11-13 21:11:04 +00:00
Kazu Hirata
e28d0cfbfb
bitmap.c, [...]: Fix comment formatting.
...
* bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix comment
formatting.
From-SVN: r90595
2004-11-13 20:48:45 +00:00
Joseph Myers
68f674e990
inclhack.def (hpux_maxint, [...]): Remove.
...
* inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
svr4__p, undefine_null): Remove.
* fixincl.x: Regenerate.
* tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
* tests/base/sys/param.h: Remove.
* tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
tests/base/sys/limits.h: Update.
From-SVN: r90594
2004-11-13 20:41:01 +00:00
Kelley Cook
ae8cacc6fd
install.texi (automake): Correctly document that everything now will use automake 1.9.3.
...
2004-11-13 Kelley Cook <kcook@gcc.gnu.org>
* doc/install.texi (automake): Correctly document that everything now
will use automake 1.9.3.
From-SVN: r90593
2004-11-13 20:14:21 +00:00
Hans-Peter Nilsson
85407c3fc7
re PR target/18347 (mmix-knuth-mmixware testsuite failure: gcc.dg/uninit-C.c)
...
PR target/18347
* config/mmix/mmix.c (mmix_function_outgoing_value): Handle
TImode. Sorry for other non-complex larger-than-64-bit modes.
* config/mmix/mmix.h (MIN_UNITS_PER_WORD): Do not define.
From-SVN: r90592
2004-11-13 19:52:55 +00:00
Kelley Cook
993bcda188
install.texi (automake): Document that everything now uses 1.9.
...
2004-11-13 Kelley Cook <kcook@gcc.gnu.org>
* doc/install.texi (automake): Document that everything now uses 1.9.
From-SVN: r90591
2004-11-13 19:11:37 +00:00