aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-12-03rs6000.c (rs6000_override_options): Protect darwin_one_byte_bool with #if.Andreas Tobler2-0/+7
2004-12-03 Andreas Tobler <a.tobler@schweiz.ch> * config/rs6000/rs6000.c (rs6000_override_options): Protect darwin_one_byte_bool with #if. From-SVN: r91686
2004-12-03tm.texi (Misc): Document TARGET_FOLD_BUILTIN.Paolo Bonzini2-0/+13
2004-12-03 Paolo Bonzini <bonzini@gnu.org> * doc/tm.texi (Misc): Document TARGET_FOLD_BUILTIN. From-SVN: r91685
2004-12-03mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.H.J. Lu2-30/+32
2004-12-03 H.J. Lu <hongjiu.lu@intel.com> * mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART. From-SVN: r91684
2004-12-03re PR c++/18782 (ICE on invalid pointer-to-member declaration)Nathan Sidwell4-2/+33
cp: PR c++/18782 * decl.c (grokdeclarator): Make sure class in pointer to member is not a namespace. testsuite: PR c++/18782 * g++.dg/parse/ptrmem2.C: New. From-SVN: r91681
2004-12-03config.if: Delete.Richard Sandiford3-26/+32
* config.if: Delete. * configure.in: Set libstdcxx_incdir directly. * configure: Regenerate. From-SVN: r91679
2004-12-03re PR c++/18318 (ICE: error: Multiple inline callers)Nathan Sidwell5-10/+69
cp: PR c++/18318 * parser.c (cp_parser_new_type_id): Move array size expression checks from here ... * init.c (build_new): ... to here. testsuite: PR c++/18318 * g++.dg/template/new1.C: New. From-SVN: r91678
2004-12-03cfgrtl.c (rtl_verify_flow_info_1): Use JUMP_P instead of INSN_P.Kazu Hirata2-1/+4
* cfgrtl.c (rtl_verify_flow_info_1): Use JUMP_P instead of INSN_P. From-SVN: r91677
2004-12-03tree-ssa-dom.c (record_equivalences_from_phis): Remove an "if" whose ↵Kazu Hirata2-17/+17
condition is always true. * tree-ssa-dom.c (record_equivalences_from_phis): Remove an "if" whose condition is always true. From-SVN: r91676
2004-12-03rs6000.c (rs6000_override_options): Make 64-bit Darwin default to one-byte ↵Stan Shebs2-0/+7
bools. * config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit Darwin default to one-byte bools. From-SVN: r91675
2004-12-02Mark PR for changelog entry.Richard Henderson1-0/+1
From-SVN: r91673
2004-12-02re PR target/18774 (mmix-knuth-mmixware testsuite failure: ↵Richard Henderson2-0/+8
gcc.c-torture/execute/20020227-1.c -Os -O2 compile) PR 18774 * simplify-rtx.c (simplify_immed_subreg): Fail complex modes. From-SVN: r91672
2004-12-03cfg.texi (Edges): Update.Ben Elliston2-5/+69
* doc/cfg.texi (Edges): Update. Document the edge_iterator data type and its methods. From-SVN: r91671
2004-12-03Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r91668.2
2004-12-02expr.c (write_complex_part): Use simplify_gen_subreg when the submode is at ↵Richard Henderson2-6/+40
least as large as a word. * expr.c (write_complex_part): Use simplify_gen_subreg when the submode is at least as large as a word. (read_complex_part): Likewise. From-SVN: r91664
2004-12-02re PR bootstrap/18532 (libgcc.mk isn't parallel build safe for multilib)H.J. Lu2-33/+53
2004-12-02 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/18532 * mklibgcc.in: Build one set of EXTRA_MULTILIB_PARTS for multilib at a time. Don't build the default set. Don't add EXTRA_MULTILIB_PARTS to shared libunwind nor libgcc. Remove filter for shared libunwind and libgcc. From-SVN: r91663
2004-12-02re PR target/18759 ([x86] using both -fomit-frame-pointer and ↵Roger Sayle2-1/+9
-momit-leaf-frame-pointer enables frame pointers for non-leaf functions) PR target/18759 * config/i386/i386.c (override_options): If -fomit-frame-pointer has already been specified, ignore the -momit-leaf-frame-pointer option. From-SVN: r91662
2004-12-02re PR libfortran/18710 (img part of complex number not written to direct ↵Tobias Schlüter1-1/+1
access file) PR fortran/18710 fix previously mistyped ChangeLog entry From-SVN: r91659
2004-12-02varasm.c (make_decl_rtl): Add the missing `;'.H.J. Lu2-1/+5
2004-12-02 H.J. Lu <hongjiu.lu@intel.com> * varasm.c (make_decl_rtl): Add the missing `;'. From-SVN: r91658
2004-12-02re PR java/16675 (Null parameter values for anonymous constructor invocation ↵Tom Tromey2-0/+9
require explicit cast) PR java/16675: * parse.y (craft_constructor): Special case null_pointer_node. From-SVN: r91657
2004-12-02re PR libfortran/18710 (img part of complex number not written to direct ↵Tobias Schlüter2-0/+25
access file) libgfortran/ PR fortran/18710 * io/transfer.c (unformatted_read, unformatted_write): width of a COMPLEX is twice its kind. gcc/testsuite/ PR fortran/18170 * gfortran.dg/direct_io_3.f90: New test. From-SVN: r91656
2004-12-02tree.c (is_attribute_p): Split out to ..Andrew Pinski2-10/+31
2004-12-02 Andrew Pinski <pinskia@physics.uc.edu> * tree.c (is_attribute_p): Split out to .. (is_attribute_with_length_p): Here. Use IDENTIFIER_LENGTH instead of strlen and compare the string lengths before calling strcmp. (lookup_attribute): Call is_attribute_with_length_p instead of is_attribute_p. From-SVN: r91654
2004-12-02darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused.Devang Patel4-6/+10
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -gfull and -gused. * config/rs6000/darwin.h (CC1_SPEC): Do not handle -gfull and -gused. * config/i386/darwin.h (CC1_SPEC): Same. From-SVN: r91651
2004-12-02optabs.c (lowpart_subreg_maybe_copy): New.Richard Henderson2-2/+29
* optabs.c (lowpart_subreg_maybe_copy): New. (expand_unop, expand_abs_nojump): Use it. From-SVN: r91650
2004-12-02* sh.md (extv, extzv): Add pattern predicate.J"orn Rennecke2-2/+6
From-SVN: r91649
2004-12-02* tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.Kazu Hirata2-1/+3
From-SVN: r91648
2004-12-02tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF is not null.Kazu Hirata2-4/+8
* tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF is not null. From-SVN: r91647
2004-12-02tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF is not null.Kazu Hirata2-9/+12
* tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF is not null. From-SVN: r91646
2004-12-02re PR java/18741 (ICE tree check: expected class 'expression', have ↵Tom Tromey2-1/+8
'declaration' (var_decl)) PR java/18741: * java-gimplify.c (java_gimplify_expr): Don't call SET_EXPR_LOCATION unless wrapped tree is an expression. From-SVN: r91645
2004-12-02* tree-eh.c: Revert yesterday's change.Jeff Law2-27/+8
From-SVN: r91643
2004-12-02varasm.c (decode_reg_name): Revert change to check for zero length strings.Andrew Pinski2-6/+20
2004-12-02 Andrew Pinski <pinskia@physics.uc.edu> * varasm.c (decode_reg_name): Revert change to check for zero length strings. (make_decl_rtl): Make sure that we call decode_reg_name only when needed. From-SVN: r91638
2004-12-02re PR tree-optimization/18716 ([ICE] verify_flow_info failed (loop))Dorit Naishlos2-5/+19
PR tree-opt/18716 * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Properly set then and else labels. From-SVN: r91637
2004-12-02re PR c++/18758 (ICE redeclaring struct as template)Nathan Sidwell4-1/+29
cp: PR c++/18758 * parser.c (cp_parser_class_head): Return NULL_TREE when push_template_decl fails. Update comment. testsuite: PR 18758 * g++.dg/parse/crash21.C: New. From-SVN: r91636
2004-12-02Makefile.in (WERROR_FLAGS): Renamed from WERROR.Andreas Schwab3-4/+12
* Makefile.in (WERROR_FLAGS): Renamed from WERROR. (STRICT2_WARN): Use $(WERROR_FLAGS) instead of $(WERROR). (STAGE2_FLAGS_TO_PASS): Likewise. * config/i386/x-mingw32: Set WERROR_FLAGS instead of WERROR. From-SVN: r91634
2004-12-02PR c++/15664, c++/18276Kriang Lerdsuwanakij5-34/+89
PR c++/15664, c++/18276 * pt.c (tsubst_decl) <TEMPLATE_DECL case>: Reorganize. Correctly tsubst TEMPLATE_DECL that is a TEMPLATE_TEMPLATE_PARM. * g++.dg/template/ttp13.C: New test. * g++.dg/template/ttp14.C: Likewise. From-SVN: r91633
2004-12-02re PR c++/18123 (ICE on templated enum)Kriang Lerdsuwanakij5-3/+30
PR c++/18123 * parser.c (cp_parser_type_specifier): Catch template declaration of enum. * g++.dg/parse/enum2.C: New test. * g++.old-deja/g++.pt/enum5.C: Adjust error location. From-SVN: r91630
2004-12-02xstormy16: New test directory.Nick Clifton4-0/+96
* gcc.target/xstormy16: New test directory. * gcc.target/xstormy16/xstormy16.exp: Run the new tests. * gcc.target/xstormy16/bp.c: Check the generation of bp instructions. * gcc.target/xstormy16/below_100.c: Check the generation of bp and bn instructions and the BELOW100 attribute. From-SVN: r91627
2004-12-02Introduce and use config/gcc-version.m4.Richard Sandiford4-23/+26
From-SVN: r91625
2004-12-02re PR target/16952 (GCC for powerpc cross target with -mrelocatable reports ↵Alan Modra2-0/+9
error) PR target/16952 * gcc.dg/ppc-eabi.c: New. From-SVN: r91619
2004-12-02rs6000.c (rs6000_assemble_integer): Put back the #ifdef RELOCATABLE_NEEDS_FIXUP.Alan Modra2-4/+7
* config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the #ifdef RELOCATABLE_NEEDS_FIXUP. From-SVN: r91617
2004-12-02re PR target/9908 ([x86] wrong code generated for virtual method call with ↵Roger Sayle2-2/+8
-masm-intel) PR target/9908 * config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct Intel assembler syntax by using %A1 instead of %*%1. From-SVN: r91616
2004-12-01Fix typo.Jeff Law1-1/+1
From-SVN: r91615
2004-12-01expr.c (expand_assignment): Handle CONCAT both as a final destination and as ↵Richard Henderson3-2/+40
a middle point. * expr.c (expand_assignment): Handle CONCAT both as a final destination and as a middle point. From-SVN: r91614
2004-12-01tree.h (save_eptr, save_filt): Now file scoped statics.Jeff Law2-4/+35
* tree.h (save_eptr, save_filt): Now file scoped statics. (honor_protect_cleanup_actions): Only create save_eptr and save_filt if they do not already exist. (lower_eh_constructs): Wipe all knowledge of save_eptr and save_filt before returning. From-SVN: r91613
2004-12-02re PR libfortran/18284 (BACKSPACE broken)Bud Davis2-0/+16
2004-12-02 Bud Davis <bdavis9659@comcast.net> PR libfortran/18284 * io/unix.c (fd_alloc_w_at): Update file_length when extending. * io/backspace.c (formatted_backspace): Reset endfile after backspace. PR fortran/18284 * gfortran.dg/backspace.f90 From-SVN: r91612
2004-12-02inquire.c (inquire_via_unit): do not allow a direct access file to be opened ↵Bud Davis2-0/+15
for sequential I/O. 2004-12-02 Bud Davis <bdavis9659@comcast.net> * io/inquire.c (inquire_via_unit): do not allow a direct access file to be opened for sequential I/O. * gfortran.dg/inquire.f90: New test. From-SVN: r91610
2004-12-02flush.c: New file.Steven G. Kargl7-6/+288
2004-12-02 Steven G. Kargl <kargls@comcast.net> Paul Brook <paul@codesourcery.com> libgfortran/ * intrinsics/flush.c: New file. * intrinsics/fnum.c: ditto * intrinsics/stat.c: ditto * io/io.h (unit_to_fd): Add prototype. * io/unix.c (unit_to_fd): New function. * configure.ac: Add test for members of struct stat. Check for sys/types.h and sys/stat.h * Makefile.am: Add intrinsics/{flush.c,fnum.c,stat.c} * configure.in: Regenerate. * config.h.in: Regenerate. * Makefile.in: Regenerate. fortran/ * check.c (gfc_check_flush, gfc_check_fnum): New functions. (gfc_check_fstat, gfc_check_fstat_sub): New functions. (gfc_check_stat, gfc_check_stat_sub): New functions. * gfortran.h (GFC_ISYM_FNUM,GFC_ISYM_FSTAT,GFC_ISYM_STAT): New symbols * intrinsic.c (add_functions,add_subroutines): Add flush, fnum, fstat, and stat to intrinsics symbol tables. * intrinsic.h (gfc_check_flush, gfc_resolve_stat_sub): Add prototypes. (gfc_resolve_fstat_sub, gfc_resolve_stat): Ditto. * iresolve.c (gfc_resolve_fnum, gfc_resolve_fstat): New functions. (gfc_resolve_stat, gfc_resolve_flush): New functions. (gfc_resolve_stat_sub,gfc_resolve_fstat_sub): New functions * trans-intrinsic.c (gfc_conv_intrinsic_function): Add new intrinsics. Co-Authored-By: Paul Brook <paul@codesourcery.com> From-SVN: r91609
2004-12-02* tree-phinodes.c (remove_phi_arg_num): Fix a comment.Kazu Hirata2-4/+8
From-SVN: r91608
2004-12-02re PR target/16952 (GCC for powerpc cross target with -mrelocatable reports ↵Alan Modra4-9/+26
error) PR target/16952 * config/rs6000/rs6000.c (rs6000_assemble_integer): Replace #ifdef RELOCATABLE_NEEDS_FIXUP with if. * config/rs6000/linux.h (RELOCATABLE_NEEDS_FIXUP): Define in terms of target_flags_explicit. * config/rs6000/linux64.h (RELOCATABLE_NEEDS_FIXUP): Ditto for biarch case. Define as 0 for non-biarch. From-SVN: r91605
2004-12-02intrinsic.c: Fix and add comments, fix function declarationsSteven G. Kargl2-327/+402
2004-12-02 Steven G. Kargl <kargls@comcast.net> * intrinsic.c: Fix and add comments, fix function declarations (OPTIONAL,REQUIRED): New symbols (add_functions,add_subroutines): Use symbols (gmp.h): Remove unused include From-SVN: r91604
2004-12-02t-aix43, t-aix52 (SHLIB_LINK): Change temporary file tag from a prefix to an ↵Zack Weinberg3-8/+13
infix. * config/rs6000/t-aix43, config/rs6000/t-aix52 (SHLIB_LINK): Change temporary file tag from a prefix to an infix. From-SVN: r91601