Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
* 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
|
|
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
|
|
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
|
|
* 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
|
|
From-SVN: r91625
|
|
error)
PR target/16952
* gcc.dg/ppc-eabi.c: New.
From-SVN: r91619
|
|
* config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
#ifdef RELOCATABLE_NEEDS_FIXUP.
From-SVN: r91617
|
|
-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
|
|
From-SVN: r91615
|
|
a middle point.
* expr.c (expand_assignment): Handle CONCAT both as a final
destination and as a middle point.
From-SVN: r91614
|
|
* 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-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
|
|
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-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
|
|
From-SVN: r91608
|
|
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-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
|
|
infix.
* config/rs6000/t-aix43, config/rs6000/t-aix52 (SHLIB_LINK):
Change temporary file tag from a prefix to an infix.
From-SVN: r91601
|
|
[[Split portion of a mixed commit.]]
From-SVN: r91598.2
|
|
effective-target-keyword.
* lib/gcc-dg.exp (dg-process-target): Wrapper for dg function to
handle effective-target-keyword.
(dg-skip-if): Support effective-target keyword as target list.
(dg-xfail-if): Ditto.
* lib/target-supports.exp (is-effective-target-keyword): New proc.
From-SVN: r91592
|
|
From-SVN: r91590
|
|
2004-12-01 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18763
PR tree-opt/18746
* tree-ssa-alias.c (init_alias_info): Get statement operands for all
the statements if aliases_computed_p is true.
From-SVN: r91589
|
|
* Makefile.in (WERROR): New variable.
(STRICT2_WARN): Use it.
(STAGE2_FLAGS_TO_PASS): Likewise.
* config/i386/x-mingw32 (WERROR): Add -Wno-format.
From-SVN: r91584
|
|
* expr.c (get_inner_reference): Fix thinko in REAL/IMAGPART_EXPR
offsetting.
From-SVN: r91577
|
|
* name-lookup.c (namespace_binding): Omit alias check for global namespace.
From-SVN: r91575
|
|
PR tree-optimization/18291
* tree-ssa-copy.c (merge_alias_info): Fix merging of
flow-sensitive alias information. If the new pointer has no
name tag, copy it from the original pointer. Otherwise, make
sure that the pointed-to sets have a common intersection.
testsuite/ChangeLog
PR tree-optimization/18291
* testsuite/gcc.c-torture/compile/pr18291.c: New test.
From-SVN: r91574
|
|
From-SVN: r91572
|
|
PR rtl-opt/15289
* emit-rtl.c (gen_complex_constant_part): Remove.
(gen_realpart, gen_imagpart): Remove.
* rtl.h (gen_realpart, gen_imagpart): Remove.
* expmed.c (extract_bit_field): Remove CONCAT hack catering to
gen_realpart/gen_imagpart.
* expr.c (write_complex_part, read_complex_part): New.
(emit_move_via_alt_mode, emit_move_via_integer, emit_move_resolve_push,
emit_move_complex_push, emit_move_complex, emit_move_ccmode,
emit_move_multi_word): Split out from ...
(emit_move_insn_1): ... here.
(expand_expr_real_1) <COMPLEX_EXPR>: Use write_complex_part.
<REALPART_EXPR, IMAGPART_EXPR>: Use read_complex_part.
* function.c (assign_parm_setup_reg): Hard-code transformations
instead of using gen_realpart/gen_imagpart.
From-SVN: r91571
|
|
* expr.c (optimize_bitfield_assignment_op): Split out from ...
(expand_assignment): ... here. Use handled_component_p to gate
get_inner_reference code. Simplify MEM handling. Special case
CONCAT destinations.
From-SVN: r91570
|
|
gen_rtx_SUBREG directly.
* expmed.c (store_bit_field): Use simplify_gen_subreg instead
of gen_rtx_SUBREG directly.
From-SVN: r91569
|
|
complex logical expression)
2004-12-01 David Edelsohn <edelsohn@gnu.org>
Nathan Sidwell <nathan@codesourcery.com>
PR target/17107
* config/rs6000/rs6000.md (sge): Enable for non-TARGET_POWER.
(sgt): Same.
(sle): Same.
(slt): Same.
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r91568
|
|
PR middle-end/18667
* params.c (set_param_value): Add range check.
* params.def: Add min and max values. Reformat long strings.
* params.h (struct param_info): Add min and max fields.
(enum compiler_param): Adjust DEFPARAM.
* toplev.c (lang_independent_params): Likewise.
From-SVN: r91567
|
|
cp:
PR c++/18729
* parser.c (cp_parser_class_name): Check decl's type is not
error_mark_node.
testsuite:
PR C++/18729
* g++.dg/parse/crash20.C: New.
From-SVN: r91566
|
|
cp:
PR c++/17431
* call.c (standard_conversion): Add FLAGS parameter. Do not allow
derived to base conversion when checking constructor
accessibility.
(implicit_conversion): Pass FLAGS to standard_conversion.
(check_constructir_callable): Disallow conversion functions.
testsuite:
PR c++/17431
* g++.dg/overload/arg1.C: New.
* g++.dg/overload/arg2.C: New.
* g++.dg/overload/arg3.C: New.
* g++.dg/overload/arg4.C: New.
From-SVN: r91559
|
|
used)
PR target/12817
* config/rs6000/rs6000.c (rs6000_emit_prologue): Use r0 for vrsave.
From-SVN: r91553
|
|
* doc/standards.texi: Update for C99 TC2.
testsuite:
* gcc.dg/c99-flex-array-4.c: Remove.
From-SVN: r91552
|
|
* sbitmap.c (sbitmap_any_common_bits): New function.
* sbitmap.h (sbitmap_any_common_bits): Prototype.
* modulo-sched.c (sms_schedule_by_order): Use sbitmap_any_common_bits
No longer allocate/free "psp", "pss" sbitmaps.
* tree-ssa-alias.c (compute_flow_insensitive_aliasing): Similarly for
the "res" sbitmap.
(group_aliases): Similarly.
From-SVN: r91550
|
|
[[Split portion of a mixed commit.]]
From-SVN: r91547.2
|
|
variable.
2004-11-30 Nathan Sidwell <nathan@codesourcery.com>
* tree-vectorizer.c (vect_analyze_data_refs): Reformat and avoid
uninitialized variable.
From-SVN: r91543
|
|
From-SVN: r91542
|
|
From-SVN: r91541
|
|
* lib/target-supports.exp (check_effective_target_vect_long):
Fix for powerpc64-*-*.
From-SVN: r91540
|
|
INTEGER_TYPE to int_fits_type_p.
2004-11-30 Eric Christopher <echristo@redhat.com>
* fold-const.c (fold_widened_comparison): Make sure that we're
passing an INTEGER_TYPE to int_fits_type_p.
(fold): Clean up comment.
From-SVN: r91539
|
|
FreeBSD 5.
* g++.old-deja/g++.eh/badalloc1.C (arena_size): Bump up to 262144
to support new requirements on FreeBSD 5.
From-SVN: r91536
|
|
gcc.dg/cpp/isysroot-1.c)
PR 18702
* gcc.dg/cpp/isysroot-1.c: Make this test darwin specific.
From-SVN: r91535
|
|
* mklibgcc.in: Correct calculation of libgcc_s_soname and
libunwind_soname. Use $out, not $outS, in commands for
no-shared-library case. Move EXTRA_MULTILIB_PARTS rules above
library build rules, make $libunwind_so and $libgcc_s_so
depend on them in the normal fashion, and filter those objects
out of @shlib_objs@.
From-SVN: r91534
|
|
* config/rs6000/altivec.h (vec_step_help): Support const vector types.
* g++.dg/ext/altivec-13.C: New test.
From-SVN: r91533
|
|
2004-11-30 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18298
* tree-optimize.c (init_tree_optimization_passes): Add a may_alias
pass right after fold builtins.
2004-11-30 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18298
* gcc.c-torture/execute/p18298.c: New test.
From-SVN: r91529
|
|
2004-11-30 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390-modes.def: Added cc modes documentation.
* config/s390/s390.c: (s390_tm_ccmode, s390_select_ccmode,
s390_expand_addcc): Added cc mode comments.
* config/s390/s390.md: Removed old cc mode documentation.
From-SVN: r91528
|