2009-02-18 Daniel Kraft <d@domob.eu>
* gfortran.texi: New chapter about compiler characteristics.
(Compiler Characteristics): Document KIND type parameters here.
From-SVN: r144268
2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
* gcc.dg/callabi/callabi.exp: Moved to ...
* gcc.target/x86_64/abi/callabi/callabi.exp: Here. Only run
in 64bit mode.
* gcc.target/x86_64/abi/callabi/func-1.c: Don't check target.
* gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
* gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise.
* gcc.target/x86_64/abi/callabi/pr38891.c: Likewise.
* gcc.target/x86_64/abi/callabi/vaarg-1.c: Likewise.
* gcc.target/x86_64/abi/callabi/vaarg-2.c: Likewise.
* gcc.target/x86_64/abi/callabi/vaarg-3.c: Likewise.
* gcc.dg/callabi/callabi.h: Moved to ...
* gcc.target/x86_64/abi/callabi/callabi.h: Here.
* gcc.dg/callabi/func-1.c: Moved to ...
* gcc.target/x86_64/abi/callabi/func-1.c: Here.
* gcc.dg/callabi/func-indirect.c: Moved to ...
* gcc.target/x86_64/abi/callabi/func-indirect.c: Here.
* gcc.dg/callabi/pr38891.c: Moved to ...
* gcc.target/x86_64/abi/callabi/pr38891.c: Here.
* gcc.dg/callabi/vaarg-1.c: Moved to ...
* gcc.target/x86_64/abi/callabi/vaarg-1.c: Here.
* gcc.dg/callabi/vaarg-2.c: Moved to ...
* gcc.target/x86_64/abi/callabi/vaarg-2.c: Here.
* gcc.dg/callabi/vaarg-3.c: Moved to ...
* gcc.target/x86_64/abi/callabi/vaarg-3.c: Here.
From-SVN: r144264
gcc/
2009-02-17 H.J. Lu <hongjiu.lu@intel.com>
PR target/39082
* c.opt (Wabi): Support C and ObjC.
(Wpsabi): New.
* c-opts.c (c_common_handle_option): Handle OPT_Wabi.
* config/i386/i386.c (classify_argument): Warn once about the ABI
change when passing union with long double.
* doc/invoke.texi: Update -Wabi for warning psABI changes.
gcc/testsuite/
2009-02-17 H.J. Lu <hongjiu.lu@intel.com>
PR target/39082
* g++.dg/compat/struct-layout-1_generate.c (dg_options): Add
-Wno-abi for x86.
* gcc.dg/compat/struct-layout-1_generate.c (dg_options): Likewise.
* gcc.target/i386/pr39082-1.c: New.
* gcc.target/x86_64/abi/abi-x86_64.exp (additional_flags): Add
-Wno-abi.
* gcc.target/x86_64/abi/args.h (XMM_T): Add _m64 and _m128 if
CHECK_M64_M128 is defined.
(check_f_arguments): Add "do".
(check_vector_arguments): New.
(check_m64_arguments): Likewise.
(check_m128_arguments): Likewise.
* gcc.target/x86_64/abi/defines.h: Include <xmmintrin.h>.
(CHECK_M64_M128): Define.
* gcc.target/x86_64/abi/test_m64m128_returning.c: New. Based
on abitest.
* gcc.target/x86_64/abi/test_passing_m64m128.c: Likewise.
* gcc.target/x86_64/abi/test_passing_structs.c: Define __m128
tests only if CHECK_M64_M128 is defined.
* gcc.target/x86_64/abi/test_passing_structs.c (m128_struct): New.
(m128_2_struct): Likewise.
(check_struct_passing5): Likewise.
(check_struct_passing6): Likewise.
(main): Test struct with __m128 if CHECK_M64_M128 is defined.
* gcc.target/x86_64/abi/test_passing_unions.c (un4): New.
(un5): Likewise.
(check_union_passing4): Likewise.
(main): Test union with __m128 if CHECK_M64_M128 is defined.
From-SVN: r144257
PR c/35447
* c-parser.c (c_parser_compound_statement): Always enter and leave
a scope.
testsuite:
* gcc.dg/noncompile/pr35447-1.c: New test.
From-SVN: r144256
* date_based: New directory.
* README: Move from here ...
* date_based/README: to here.
* reg_search: Move from here ...
* date_based/reg_search: to here.
* reg_periodic: Move from here ...
* date_based/reg_periodic: to here.
* reg_test_template: Move from here ...
* date_based_reg_test_template: to here.
From-SVN: r144238
2009-02-17 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39202
* tree-ssa-structalias.c (do_structure_copy): Before collapsing
a var make sure to follow existing collapses.
* gcc.c-torture/compile/pr39202.c: New testcase.
From-SVN: r144235
2009-02-17 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39204
* tree-ssa-pre.c (phi_translate_1): Lookup the value-number
of the PHI arg.
* gcc.dg/torture/pr39204.c: New testcase.
From-SVN: r144233
2009-02-17 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39207
* tree-ssa-structalias.c (find_what_p_points_to): Do not emit
strict-aliasing warnings for pointers pointing to NULL.
From-SVN: r144228
PR c/35446
* c-parser.c (c_parser_braced_init): Call pop_init_level when
skipping until next close brace.
testsuite:
* gcc.dg/noncompile/init-5.c: New test.
* gcc.dg/init-bad-4.c: Adjust expected errors.
From-SVN: r144216
* config/picochip/picochip.md (lea_add): Allow any nonimmediate
in the lea_add. Reload eventually constraints it properly.
* config/picochip/constraints.md : Remove the target constraint
"b", since it is not needed anymore.
From-SVN: r144202
2009-02-15 H.J. Lu <hongjiu.lu@intel.com>
PR target/39196
* config/i386/i386.md: Restrict the new peephole2 to move
between MMX/SSE registers.
From-SVN: r144191
2009-02-13 Chris Fairles <cfairles@gcc.gnu.org>
Benjamin Kosnik <bkoz@redhat.com>
* include/std/thread (_Impl_base): Move _M_id out and into ...
(thread): ...here. Call _M_make_routine in body of constructors.
Adjust data member usage to reflect changes.
(_M_make_routine): From _M_make_shared_data.
(_M_start_thread): Add __shared_base_type argument.
* src/thread.cc: Fixups for above.
* config/abi/pre/gnu.ver: Adjust exports.
* testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
* testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
* testsuite/30_threads/thread/cons/copy_neg.cc: Same.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r144171