aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-11-15g++.dg/opt/strength-reduce.C...Nick Clifton10-14/+65
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(TARGET_CPU_CPP_BUILTINS): Add builtin assert of cpu=xstormy16.Nick Clifton2-0/+6
From-SVN: r90666
2004-11-15tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized variable.Nathan Sidwell2-1/+6
* tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized variable. From-SVN: r90658
2004-11-15Friend class name lookup 1/n, PR c++/18471Kriang Lerdsuwanakij19-115/+255
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-15lwg-active.html, [...]: Import Revision 33.Paolo Carlini3-2505/+2815
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* gcc.dg/intmax_t-1.c: XFAIL on Solaris 2.5.1.Eric Botcazou2-0/+5
From-SVN: r90654
2004-11-15Fix latest entry.Eric Botcazou1-1/+1
From-SVN: r90653
2004-11-14re PR middle-end/18480 (ICE in emit_group_move with recent change)Richard Henderson2-2/+21
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-15re PR tree-optimization/18431 (Code for arrays and pointers are not the same)Zdenek Dvorak7-88/+267
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-15Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90644.2
2004-11-15Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90643.2
2004-11-14* doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.Eric Botcazou2-1/+5
From-SVN: r90639
2004-11-14global.c, [...]: Fix comment typos.Kazu Hirata5-6/+7
* global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c, value-prof.c: Fix comment typos. From-SVN: r90638
2004-11-14c99-flex-array-5.c, [...]: New tests.Joseph Myers14-0/+347
* 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-14streambuf_iterator.h (istreambuf_iterator::_M_get): Slightly tweak for ↵Paolo Carlini2-3/+9
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* gcc.dg/vect/vect-78.c: Now vectorized on powerpc*.Dorit Naishlos2-1/+5
From-SVN: r90635
2004-11-14* cfgrtl.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r90632
2004-11-14re PR tree-optimization/18400 (wrong unrolling after vectorization due to ↵Dorit Naishlos3-0/+71
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-14Basic ABI changes for passing structs by value in 64-bit Darwin.Stan Shebs4-6/+375
* 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-14re PR target/17279 (internal compiler error with 128 bit integers)Andrew Pinski2-6/+14
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-14re PR tree-optimization/18400 (wrong unrolling after vectorization due to ↵Dorit Naishlos2-0/+10
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-14re PR tree-optimization/18425 (ICE in vector.tcc when -ftree-vectorize enabled)Dorit Naishlos2-3/+14
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-14re PR tree-optimization/18431 (Code for arrays and pointers are not the same)Zdenek Dvorak4-3/+26
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-14alias-1.c: Remove dg-warning on the SPARC.Eric Botcazou2-1/+7
* 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-14Makefile.in (lambda-code.o, [...]): Depend on $(EXPR_H).Andreas Schwab2-2/+7
* Makefile.in (lambda-code.o, tree-loop-linear.o): Depend on $(EXPR_H). From-SVN: r90621
2004-11-14* cselib.c, expr.c: Fix comment typos.Kazu Hirata3-2/+4
From-SVN: r90620
2004-11-14c-common.c (walk_stmt_tree): Remove.Kazu Hirata3-13/+3
* c-common.c (walk_stmt_tree): Remove. * c-common.h: Remove the corresponding prototype. From-SVN: r90619
2004-11-14c-common.c (walk_stmt_tree): Remove.Kazu Hirata3-71/+5
* c-common.c (walk_stmt_tree): Remove. * c-common.h: Remove the corresponding prototype. From-SVN: r90618
2004-11-14* g++.dg/other/packed1.C: UnXFAIL on SPARC, PA, MIPS and PowerPC.Eric Botcazou2-1/+5
From-SVN: r90617
2004-11-14* g++.dg/expr/unary1.C, g++.dg/expr/unary2.C: New tests.Giovanni Bajo3-0/+41
From-SVN: r90616
2004-11-14re PR c++/17344 (completely wacky error with matching template template ↵Kriang Lerdsuwanakij4-1/+40
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* gcc_update (touch_files): Explicitly pass --no-print-directory.Hans-Peter Nilsson2-1/+11
From-SVN: r90614
2004-11-13calls.c (precompute_register_parameters): Force all PARALLELs into pseudo ↵Richard Henderson5-32/+143
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-14tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate.Kazu Hirata6-14/+20
* 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-14tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.Dale Johannesen2-7/+17
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-13aix51.h (ASM_CPU_SPEC): Add 970 and G5.David Edelsohn4-2/+16
* 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-14i386.c (override_options): Move loop to set default tuning to correct place.Joseph Myers2-13/+18
* config/i386/i386.c (override_options): Move loop to set default tuning to correct place. From-SVN: r90606
2004-11-14Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90604.2
2004-11-14Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r90603.2
2004-11-13cast1.C: Run only on ILP32.Eric Botcazou3-0/+7
* g++.dg/parse/cast1.C: Run only on ILP32. * g++.old-deja/g++.mike/p784.C: Likewise. From-SVN: r90601
2004-11-13re PR target/18300 (Infinite loop when passing object with 3+ base classes ↵Zak Kipling3-7/+29
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-13md.texi (constraints): Mention that it is useless when the two alternatives ↵Eric Botcazou2-1/+8
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-13expmed.c (extract_split_bit_field): Temporarily disable call to ↵Richard Henderson2-1/+6
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-13c-cppbuiltin.c, [...]: Fix comment typos.Kazu Hirata12-11/+15
* 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-13bitmap.c, [...]: Fix comment formatting.Kazu Hirata5-7/+12
* bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix comment formatting. From-SVN: r90595
2004-11-13inclhack.def (hpux_maxint, [...]): Remove.Joseph Myers9-394/+34
* 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-13install.texi (automake): Correctly document that everything now will use ↵Kelley Cook2-4/+10
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-13re PR target/18347 (mmix-knuth-mmixware testsuite failure: gcc.dg/uninit-C.c)Hans-Peter Nilsson3-11/+23
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-13install.texi (automake): Document that everything now uses 1.9.Kelley Cook2-4/+7
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-13Fix typo, html is generated in the build directory, not the source directory.Mike Stump1-1/+1
From-SVN: r90590