- 01 Nov, 2008 4 commits
-
-
* config/rs6000/rs6000.c (rs6000_file_start): Output gnu attribute for struct return convention. From-SVN: r141510
Nathan Froyd committed -
From-SVN: r141509
Nathan Froyd committed -
* config/rs6000/rs6000.c (no_global_regs_above): Fix precedence problem. (rs6000_emit_prologue): Invert logic. * config/rs6000/rs6000.md (*save_gpregs_<mode>): Use explicit (reg:P 11) instead of match_operand. (*save_fpregs_<mode>): Likewise. (*restore_gpregs_<mode>): Likewise. (*return_and_restore_gpregs_<mode>): Likewise. (*return_and_restore_fpregs_<mode>): Likewise. * config/rs6000/spe.md (*save_gpregs_spe): Use explicit (reg:P 11) insted of match_operand. (*restore_gpregs_spe): Likewise. (*return_and_restore_gpregs_spe): Likewise. From-SVN: r141508
Nathan Froyd committed -
From-SVN: r141506
GCC Administrator committed
-
- 31 Oct, 2008 14 commits
-
-
2008-10-31 Manuel López-Ibáñez <manu@gcc.gnu.org> libcpp/ * expr.c (struct op): Add location. (_cpp_parse_expr): Propagate locations throught the stack of expressions. (reduce): Likewise. (check_promotion): Use explicit location in errors. testsuite/ * gcc.dg/cpp/Wsignprom.c: Add column numbers. * gcc.dg/cpp/if-mpar.c: Likewise. From-SVN: r141503
Manuel López-Ibáñez committed -
PR c++/37967 * decl.c (grokdeclarator): Diagnose auto function decl without late return type and late return type function decl where type is not auto. * g++.dg/cpp0x/auto8.C: New test. From-SVN: r141502
Jakub Jelinek committed -
PR c++/37965 * decl.c (cp_finish_decl): Diagnose type_uses_auto type with no initializer. * g++.dg/cpp0x/auto7.C: New test. From-SVN: r141501
Jakub Jelinek committed -
2008-10-31 Andrew Haley <aph@redhat.com> * Makefile.am (install-data-local): Correct symlink paths for SDK-style installed JARs. Correct symlinks for headers when DESTDIR is set. From-SVN: r141499
Andrew Haley committed -
2008-10-31 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/37958 * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&): Fix. * testsuite/22_locale/num_get/get/char/37958.cc: New. * testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise. From-SVN: r141498
Paolo Carlini committed -
2008-10-31 Mikael Morin <mikael.morin@tele2.fr> PR fortran/35840 * expr.c (gfc_reduce_init_expr): New function, containing checking code from gfc_match_init_expr, so that checking can be deferred. (gfc_match_init_expr): Use gfc_reduce_init_expr. * io.c (check_io_constraints): Use gfc_reduce_init_expr instead of checking that the expression is a constant. * match.h (gfc_reduce_init_expr): Prototype added. 2008-10-31 Mikael Morin <mikael.morin@tele2.fr> PR fortran/35840 * gfortran.dg/write_check4.f90: New test. From-SVN: r141497
Mikael Morin committed -
2008-10-31 Mikael Morin <mikael.morin@tele2.fr> PR fortran/35820 * resolve.c (gfc_count_forall_iterators): New function. (gfc_resolve_forall): Use gfc_count_forall_iterators to evaluate the needed memory amount to allocate. Don't forget to free allocated memory. Add an assertion to check for memory leaks. 2008-10-16 Mikael Morin <mikael.morin@tele2.fr> PR fortran/35820 * gfortran.dg/nested_forall_1.f: New test. From-SVN: r141496
Mikael Morin committed -
From-SVN: r141495
Duncan Sands committed -
2008-10-31 Mikael Morin <mikael.morin@tele2.fr> * MAINTAINERS (Write after approval): Add myself. From-SVN: r141494
Mikael Morin committed -
From-SVN: r141492
Joseph Myers committed -
From-SVN: r141490
Jerry DeLisle committed -
2008-10-30 Steven G. Kargl <kargls@comcast.net> PR fortran/37930 * gfortran.dg/int_conv_2.f90: New test. From-SVN: r141489
Steven G. Kargl committed -
2008-10-30 Steven G. Kargl <kargls@comcast.net> PR fortran/37930 * fortran/arith.c (gfc_mpfr_to_mpz): Test for NaN and Inf values. Remove stale comment and kludge code for MPFR 2.0.1 and older. (gfc_real2int): Error on conversion of NaN or Inf. (gfc_complex2int): Ditto. * fortran/arith.h: Update mpfr_to_mpz prototype. * fortran/simplify.c (gfc_simplify_ceiling, gfc_simplify_floor, gfc_simplify_ifix, gfc_simplify_idint, simplify_nint): Update function calls to include locus. From-SVN: r141488
Steven G. Kargl committed -
From-SVN: r141481
GCC Administrator committed
-
- 30 Oct, 2008 9 commits
-
-
* configure.ac (spu-*-*): Remove special case. * configure: Regenerate. From-SVN: r141471
Ben Elliston committed -
From-SVN: r141469
Luis Machado committed -
* config/s390/s390.c (s390_mark_symbol_ref_as_used): New function. (s390_output_pool_entry): Call it through for_each_rtx. From-SVN: r141468
Jakub Jelinek committed -
2008-10-30 Mikael Morin <mikael.morin@tele2.fr> PR fortran/37903 * trans-array.c (gfc_trans_create_temp_array): If n is less than the temporary dimension, assert that loop->from is zero (reverts to earlier versions). If there is at least one null loop->to[n], it is a callee allocated array so set the size to NULL and break. (gfc_trans_constant_array_constructor): Set the offset to zero. (gfc_trans_array_constructor): Remove loop shifting around the temporary creation. (gfc_conv_loop_setup): Prefer zero-based descriptors if possible. Calculate the translation from loop variables to array indices if an array constructor. 2008-10-30 Mikael Morin <mikael.morin@tele2.fr> PR fortran/37749 * trans-array.c (gfc_trans_create_temp_array): If size is NULL use the array bounds for loop->to. 2008-10-30 Mikael Morin <mikael.morin@tele2.fr> PR fortran/37903 * gfortran.dg/vector_subscript_4.f90: New test. 2008-10-30 Mikael Morin <mikael.morin@tele2.fr> PR fortran/37749 * gfortran.dg/vector_subscript__5.f90: New test. From-SVN: r141467
Mikael Morin committed -
2008-10-30 Catherine Moore <clm@codesourcery.com> * MAINTAINERS (Write after approval): Update my email address. From-SVN: r141465
Catherine Moore committed -
* gcc.target/s390/pr36822.c: Avoid cast to pointer from integer of different size warning with -m31. From-SVN: r141462
Jakub Jelinek committed -
PR middle-end/37730 * expr.c (store_constructor): For vectors, if target is a MEM, use target's MEM_ALIAS_SET instead of elttype alias set. * gcc.dg/vect/pr37730.c: New test. From-SVN: r141461
Jakub Jelinek committed -
From-SVN: r141456
GCC Administrator committed -
PR debug/36668 * g++.dg/other/PR23205.C: Allow foobar to be defined as variable. * g++.dg/other/pr23205-2.C: New test. From-SVN: r141453
Jakub Jelinek committed
-
- 29 Oct, 2008 13 commits
-
-
PR target/37909 * config/sh/sh.c (untangle_mova): Return -1 when NEW_MOVA has no address. From-SVN: r141452
Kaz Kojima committed -
From-SVN: r141451
David Edelsohn committed -
PR target/37878 * config/rs6000/predicates.md (word_offset_memref_operand): Restructure code and look inside auto-inc/dec addresses. From-SVN: r141450
David Edelsohn committed -
PR target/32277 * libgcov.c ( __gcov_indirect_call_profiler): Check TARGET_VTABLE_USES_DESCRIPTORS. From-SVN: r141442
Steve Ellcey committed -
PR middle-end/37339 * gcc.dg/pr33545-3.c: Remove. From-SVN: r141440
Steve Ellcey committed -
ChangeLog: 2008-10-29 Stefan Schulze Frielinghaus <xxschulz@de.ibm.com> * configure.ac [spu-*-*]: Do not set skipdirs. * configure: Re-generate. gcc/ChangeLog: 2008-10-29 Stefan Schulze Frielinghaus <xxschulz@de.ibm.com> * config/spu/spu.h (FRAME_GROWS_DOWNWARD): Define. (INITIAL_FRAME_POINTER_OFFSET): Remove. * config/spu/spu.c (spu_initial_elimination_offset): Calculate new offset if eliminating soft frame pointer. * config/spu/spu.md (stack_protect_set, stack_protect_test) (stack_protect_test_si): Add initial machine description for Stack Smashing Protector From-SVN: r141437
Stefan Schulze Frielinghaus committed -
2008-10-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR 11492 * c-common.c (min_precision): Move to... * tree.c (tree_int_cst_min_precision): ... to here. Renamed. * tree.h (tree_int_cst_min_precision): Declare. * c-common.h (min_precision): Delete declaration. * fold-const.c (tree_binary_nonnegative_warnv_p): Handle multiplication of non-negative integer constants. * c-decl.c (check_bitfield_type_and_width): Rename min_precision to tree_int_cst_min_precision. (finish_enum): Likewise. cp/ * class.c (check_bitfield_decl): Rename min_precision to tree_int_cst_min_precision. * decl.c (finish_enum): Likewise. testsuite/ * gcc.dg/pr11492.c: New. * g++.dg/warn/pr11492.C: New. From-SVN: r141434
Manuel López-Ibáñez committed -
PR middle-end/36578 * convert.c (convert_to_real): Do not optimize conversions of binary arithmetic operations between binary and decimal floating-point types. Consider mode of target type in determining decimal type for arithmetic. Unless flag_unsafe_math_optimizations, do not optimize binary conversions where this may change rounding behavior. * real.c (real_can_shorten_arithmetic): New. * real.h (real_can_shorten_arithmetic): Declare. testsuite: * gcc.dg/dfp/convert-bfp-13.c, gcc.dg/dfp/convert-bfp-14.c, gcc.dg/dfp/convert-dfp-fold-2.c, gcc.target/i386/pr36578-1.c, gcc.target/i386/pr36578-2.c: New tests. From-SVN: r141432
Joseph Myers committed -
* config/bfin/bfin-protos.h (WA_05000257, WA_05000283, WA_05000315, ENABLE_WA_05000257, ENABLE_WA_05000283, ENABLE_WA_05000315): New. * config/bfin/bfin.c (bfin_cpus): Add these workaround bits as appropriate. (must_save_p): For some workarounds, interrupts need to clobber a P register. (expand_prologue_reg_save, expand_epilogue_reg_restore): Save LC0 and LC1 for WA_05000257. (expand_interrupt_handler_prologue): Add dummy read of CHIPID for WA_05000283 and WA_05000315. * config/bfin/bfin.md (UNSPEC_VOLATILE_DUMMY): New constant. (movbi): Add alternative to set CC to 1; improve code for setting CC to 0. (dummy_load): New pattern. From-SVN: r141431
Bernd Schmidt committed -
PR middle-end/37870 * expmed.c (extract_bit_field_1): If int_mode_for_mode returns BLKmode for non-memory, convert using a wider MODE_INT mode or through memory. * gcc.target/i386/pr37870.c: New test. From-SVN: r141430
Jakub Jelinek committed -
re PR c++/26997 (g++ reports misleading error message when the identifier with error occurs earlier on the same line) 2008-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c++/26997 cp/ * parser.c (cp_parser_token_starts_cast_expression): New. (cp_parser_cast_expression): Peek the next token to decide whether this could be a parenthesized constructor or is definitely an actual cast. testsuite/ * g++.dg/parse/pr26997.C: New. From-SVN: r141429
Manuel López-Ibáñez committed -
From-SVN: r141428
Jakub Jelinek committed -
From-SVN: r141427
Jakub Jelinek committed
-