hjl [Wed, 4 Feb 2009 20:09:30 +0000 (20:09 +0000)]
gcc/
2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (January, 2009)
* config/i386/sse.md (*vpclmulqdq): New.
gcc/testsuite/
2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (January, 2009)
* gcc.target/i386/avx-vpclmulqdq.c: New.
* gcc.target/i386/pclmul-avx-check.h: Likewise.
* gcc.target/i386/i386.exp (check_effective_target_vpclmul): New.
* gcc.target/i386/pclmulqdq.c (CHECK_H): New.
(TEST): Likewise.
Include CHECK_H instead of "pclmul-check.h".
(pclmul_test): Renamed to ...
(TEST): This.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143938
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 4 Feb 2009 19:50:58 +0000 (19:50 +0000)]
PR tree-optimization/38977
PR gcov-profile/38292
* calls.c (special_function_p): Disregard __builtin_
prefix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143937
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 4 Feb 2009 16:50:22 +0000 (16:50 +0000)]
PR c++/39095
* operators.def: Use COMPONENT_REF code for ->/pt operator again,
remove ./dt operator.
* mangle.c (write_expression): Handle COMPONENT_REF after handling
ADDR_EXPR, for COMPONENT_REF without ARROW_EXPR inside of it
write_string ("dt") instead of using operators.def.
* g++.dg/abi/mangle31.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143933
138bc75d-0d04-0410-961f-
82ee72b054a4
hariharans [Wed, 4 Feb 2009 16:17:47 +0000 (16:17 +0000)]
* config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
non-indexable addresses even before reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143929
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 4 Feb 2009 00:59:21 +0000 (00:59 +0000)]
PR c/29129
* c-decl.c (grokdeclarator): Mark [*] arrays in field declarators
as having variable size. Do not give an error for unnamed
parameters with [*] declarators. Give a warning for type names
with [*] declarators and mark them as variable size.
* c-parser.c (c_parser_sizeof_expression): Do not give an error
for sizeof applied to [*] type names.
testsuite:
* c90-arraydecl-1.c: Do not expect error for [*] in abstract
declarator.
* vla-6.c: Likewise. Expect warning not error for [*] lexically
inside function prototype but not part of parameter declarator.
* vla-11.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143918
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 4 Feb 2009 00:16:40 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143916
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 3 Feb 2009 23:44:53 +0000 (23:44 +0000)]
2009-02-03 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/25191
* libsupc++/exception_defines.h: Depending on __EXCEPTIONS,
deal consistently with __try and __catch too.
* src/localename.cc: Replace try -> __try, catch -> __catch.
* src/ios.cc: Likewise.
* src/locale.cc: Likewise.
* src/istream.cc: Likewise.
* src/thread.cc: Likewise.
* src/compatibility.cc: Likewise.
* src/bitmap_allocator.cc: Likewise.
* src/ios_init.cc: Likewise.
* include/debug/deque: Likewise.
* include/debug/list: Likewise.
* include/tr1_impl/hashtable: Likewise.
* include/std/bitset: Likewise.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Likewise.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Likewise.
* include/ext/pb_ds/detail/cc_hash_table_map_/
resize_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/pat_trie_/
split_join_branch_bag.hpp: Likewise.
* include/ext/pb_ds/detail/pat_trie_/
constructors_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/bin_search_tree_/
constructors_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/binary_heap_/
constructors_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/binary_heap_/
erase_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/binary_heap_/
split_join_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
constructors_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
* include/ext/pb_ds/detail/list_update_map_/
constructor_destructor_fn_imps.hpp: Likewise.
* include/ext/slist: Likewise.
* include/ext/memory: Likewise.
* include/ext/rc_string_base.h: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/vstring.tcc: Likewise.
* include/ext/rope: Likewise.
* include/ext/sso_string_base.h: Likewise.
* include/bits/shared_ptr.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/locale_classes.tcc: Likewise.
* include/bits/locale_facets.tcc: Likewise.
* include/bits/locale_classes.h: Likewise.
* include/bits/forward_list.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/stl_uninitialized.h: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/vector.tcc: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
* include/bits/deque.tcc: Likewise.
* include/bits/basic_string.tcc: Likewise.
* include/bits/ostream_insert.h: Likewise.
* include/bits/locale_facets_nonio.tcc: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/tr1/shared_ptr.h: Likewise.
* include/tr1/hypergeometric.tcc: Likewise.
* include/backward/hashtable.h: Likewise.
* libsupc++/exception_ptr.h: Likewise.
* libsupc++/eh_personality.cc: Likewise.
* libsupc++/eh_call.cc: Likewise.
* config/locale/gnu/monetary_members.cc: Likewise.
* config/locale/gnu/time_members.h: Likewise.
* config/locale/generic/time_members.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143913
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 3 Feb 2009 23:09:11 +0000 (23:09 +0000)]
* typeck.c (cp_build_unary_op): Only complain about taking address
of main if pedantic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143911
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 3 Feb 2009 22:38:16 +0000 (22:38 +0000)]
2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C++/36607
* convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.
2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C++/36607
* g++.dg/expr/cast10.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143909
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 3 Feb 2009 20:48:23 +0000 (20:48 +0000)]
* gcc.c (process_command): Update copyright notice dates.
* gcov.c (print_version): Likewise.
* gcov-dump.c (print_version): Likewise.
* mips-tfile.c (main): Likewise.
* mips-tdump.c (main): Likewise.
* gfortranspec.c (lang_specific_driver): Update copyright notice
dates.
* jcf-dump.c (version): Update copyright notice dates.
* mf-runtime.c (__mf_usage): Update copyright notice dates.
* gnu/gcj/convert/Convert.java (version): Update copyright notice
dates.
* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.
* gnu/java/rmi/registry/RegistryImpl.java (version): Update
copyright notice dates.
* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143907
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 3 Feb 2009 20:38:12 +0000 (20:38 +0000)]
PR c/35433
* c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
for composite type involving a zero-length array type.
testsuite:
* gcc.dg/init-bad-6.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143906
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 3 Feb 2009 20:36:12 +0000 (20:36 +0000)]
* fi.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143905
138bc75d-0d04-0410-961f-
82ee72b054a4
singler [Tue, 3 Feb 2009 17:49:36 +0000 (17:49 +0000)]
2009-02-03 Johannes Singler <singler@ira.uka.de>
* include/parallel/algorithmfwd.h:
Add parallelism default for many declarations.
* include/parallel/numericfwd.h: Likewise.
* include/parallel/iterator.h: Use iterator_traits as usual.
* include/parallel/par_loop.h:
Include equally_split.h.
(for_each_template_random_access_ed):
Avoid calling the Result default constructor.
* include/parallel/numeric: Replace
for_each_template_random_access by
for_each_template_random_access_ed in numeric functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143902
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 3 Feb 2009 17:27:45 +0000 (17:27 +0000)]
PR target/35318
* function.c (match_asm_constraints_1): Skip over
initial optional % in the constraint.
* gcc.c-torture/compile/pr35318.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143901
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 3 Feb 2009 17:26:28 +0000 (17:26 +0000)]
PR inline-asm/39059
* c-parser.c (c_parser_postfix_expression): If fixed point is not
supported, don't accept FIXED_CSTs.
* c-decl.c (finish_declspecs): Error if fixed point is not supported
and _Sat is used without _Fract/_Accum. Set specs->type to
integer_type_node for cts_fract/cts_accum if fixed point is not
supported.
* parser.c (cp_parser_primary_expression): Reject FIXED_CSTs.
* gcc.dg/nofixed-point-2.c: New test.
* g++.dg/ext/fixed1.C: Adjust expected diagnostics.
* g++.dg/ext/fixed2.C: Likewise.
* g++.dg/other/error25.C: Likewise.
* g++.dg/lookup/crash7.C: Likewise.
* g++.dg/cpp0x/decltype-38655.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143900
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 3 Feb 2009 17:23:11 +0000 (17:23 +0000)]
PR c++/39056
* typeck2.c (digest_init_r): Don't call process_init_constructor
for COMPLEX_TYPE.
* g++.dg/cpp0x/initlist13.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143899
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 3 Feb 2009 16:26:28 +0000 (16:26 +0000)]
gcc/cp:
2009-02-03 Paolo Bonzini <bonzini@gnu.org>
PR c++/36897
* pt.c (convert_nontype_argument_function): Expect expr to be an
ADDR_EXPR.
PR c++/37314
* typeck.c (merge_types): Call resolve_typename_type if only
one type is a typename.
gcc/testsuite:
2009-02-03 Paolo Bonzini <bonzini@gnu.org>
PR c++/36897
* g++.dg/template/func2.C: New test.
PR c++/37314
* g++.dg/template/typename15.C: New.
* g++.dg/template/typename16.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143898
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 3 Feb 2009 00:16:59 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143887
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Mon, 2 Feb 2009 23:03:20 +0000 (23:03 +0000)]
PR c/39034
* gcc.dg/dfp/pr39034.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143884
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 2 Feb 2009 22:07:48 +0000 (22:07 +0000)]
2009-02-02 Benjamin Kosnik <bkoz@redhat.com>
* config/os/gnu-linux/os_defines.h: Remove superfluous
__NO_STRING_INLINES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143883
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Mon, 2 Feb 2009 20:47:39 +0000 (20:47 +0000)]
* sde.h (SUBTARGET_ARM_SPEC): Don;t assemble -fpic code as
-mabicalls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143882
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 2 Feb 2009 20:10:04 +0000 (20:10 +0000)]
PR testsuite/38263
* gcc.dg/ipa/ipacost-2.c: Add -fpie when pic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143880
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 2 Feb 2009 19:40:20 +0000 (19:40 +0000)]
gcc/
* config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro.
(ABI_HAS_64BIT_SYMBOLS): Use it.
(DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143878
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 2 Feb 2009 18:38:10 +0000 (18:38 +0000)]
PR c++/39054
* parser.c (cp_parser_unqualified_id): Don't wrap error_mark_node
in BIT_NOT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143876
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Mon, 2 Feb 2009 17:09:45 +0000 (17:09 +0000)]
2009-02-02 Paul Brook <paul@codesourcery.com>
gcc/
* config/arm/arm.md (arm_addsi3): Add r/r/k alternative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143874
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 2 Feb 2009 13:23:43 +0000 (13:23 +0000)]
PR inline-asm/39058
* recog.h (asm_operand_ok): Add constraints argument.
* recog.c (asm_operand_ok): Likewise. If it is set, for digits
recurse on matching constraint.
(check_asm_operands): Pass constraints as 3rd argument to
asm_operand_ok. Don't look up matching constraint here.
* stmt.c (expand_asm_operands): Pass NULL as 3rd argument
to asm_operand_ok.
* gcc.target/i386/pr39058.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143867
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 2 Feb 2009 11:27:50 +0000 (11:27 +0000)]
* lib/target-supports.exp
(check_effective_target_correct_iso_cpp_string_wchar_protos): New.
* g++.dg/ext/builtin10.C: New test.
* testsuite/21_strings/c_strings/char/3.cc: New test.
* testsuite/21_strings/c_strings/wchar_t/3.cc: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143865
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 2 Feb 2009 10:39:12 +0000 (10:39 +0000)]
2009-02-02 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38937
* g++.dg/warn/Wstrict-aliasing-bogus-escape.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143864
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Mon, 2 Feb 2009 09:57:08 +0000 (09:57 +0000)]
* doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and
TARGET_NARROW_VOLATILE_BITFIELD macro names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143863
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Mon, 2 Feb 2009 03:23:39 +0000 (03:23 +0000)]
* ssp.c (_PATH_TTY): Define as "CONOUT$" for _WIN32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143862
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 2 Feb 2009 00:41:52 +0000 (00:41 +0000)]
/cp
2009-02-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/39053
* parser.c (cp_parser_pure_specifier): If there are no tokens left
do not call cp_lexer_consume_token.
/testsuite
2009-02-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/39053
* g++.dg/parse/crash52.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143861
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 2 Feb 2009 00:16:38 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143859
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Sun, 1 Feb 2009 14:18:20 +0000 (14:18 +0000)]
2009-01-31 Laurent GUERBY <laurent@guerby.net>
* gcc-interface/Makefile.in: Fix mipsel linux handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143855
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 1 Feb 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143837
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 31 Jan 2009 22:29:16 +0000 (22:29 +0000)]
* doc/install.texi (hppa*-hp-hpux*): Update binutils and linker
information. Remove some obsolete information. Reorganize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143834
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 31 Jan 2009 20:01:46 +0000 (20:01 +0000)]
* config/pa/fptr.c: Revert license to GPL 2.
* config/pa/milli64.S: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143831
138bc75d-0d04-0410-961f-
82ee72b054a4
davek [Sat, 31 Jan 2009 18:52:00 +0000 (18:52 +0000)]
PR target/38904
* mkmap-flat.awk (END): Use pe_dll command-line arg to pass
LIBRARY name in, instead of hard-coding it.
* config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add an
extra target make frag to tmake_files according to EH model.
(i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
* config/i386/t-dw2-eh, config/i386/t-sjlj-eh: Add new target
frags that define makefile variable EH_MODEL appropriately.
* config/i386/cygming.h (DWARF2_UNWIND_INFO): Add comment.
* config/i386/cygwin.h (LIBGCC_EH_EXTN): Define to nothing or
to "-sjlj" according to type of EH configured.
(LIBGCC_SONAME): Concatenate it to shared library base name.
* config/i386/mingw32.h (LIBGCC_EH_EXTN): Define to "_dw2" or
to "_sjlj" according to type of EH configured.
(LIBGCC_SONAME): Concatenate it to shared library base name.
* config/i386/t-cygming (SHLIB_SONAME): Use EH_MODEL.
(SHLIB_LINK): Add missing semicolon to if-else construct.
(SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
string value of "pe_dll" command-line option.
* config/i386/t-cygwin (SHLIB_EH_EXTENSION): New helper.
(SHLIB_SONAME): Use it when overriding t-cygming default.
(SHLIB_IMPLIB): Override t-cygming default.
(SHLIB_MKMAP_OPTS): Pass library name to mkmap-flat.awk as
string value of "pe_dll" command-line option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143829
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 31 Jan 2009 17:34:03 +0000 (17:34 +0000)]
2009-01-31 Dave Korn <dave.korn.cygwin@gmail.com>
PR target/38952
* config/i386/i386.c (ix86_builtin_setjmp_frame_value): New.
(TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point
at it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143823
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 31 Jan 2009 17:09:24 +0000 (17:09 +0000)]
* acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set
libgomp_ld_is_gold. Get gold version number.
(LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning.
* configure: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143822
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sat, 31 Jan 2009 10:25:41 +0000 (10:25 +0000)]
2009-01-30 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38937
* tree-ssa-structalias.c (do_sd_constraint): Do not shortcut
computing the transitive closure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143819
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 31 Jan 2009 06:46:00 +0000 (06:46 +0000)]
* MAINTAINERS: Move myself to the Global Reviewers list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143818
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 31 Jan 2009 00:16:40 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143815
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 30 Jan 2009 22:09:15 +0000 (22:09 +0000)]
2009-01-30 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39041
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
Propagate variable indices only if the types match for this stmt.
* gcc.c-torture/compile/pr39041.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143808
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 30 Jan 2009 20:46:32 +0000 (20:46 +0000)]
PR target/39013
* c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared
inline but never defined.
* gcc.target/i386/pr39013-1.c: New test.
* gcc.target/i386/pr39013-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143803
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 30 Jan 2009 16:17:30 +0000 (16:17 +0000)]
PR c++/39028
* parser.c (cp_parser_already_scoped_statement): Handle __label__
declarations.
* g++.dg/ext/label12.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143797
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 30 Jan 2009 15:03:10 +0000 (15:03 +0000)]
/cp
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/33465
* error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR.
/testsuite
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/33465
* g++.dg/parse/error34.C: New.
* g++.dg/parse/error35.C: Likewise.
/cp
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/38655
* error.c (dump_type_prefix, dump_type_suffix): Handle FIXED_POINT_TYPE.
/testsuite
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/38655
* g++.dg/cpp0x/decltype-38655.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143790
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 30 Jan 2009 12:11:17 +0000 (12:11 +0000)]
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
Tweak last ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143788
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Fri, 30 Jan 2009 10:50:31 +0000 (10:50 +0000)]
2009-01-30 Wolfgang Gellerich <gellerich@de,ibm.com>
* config/s390/s390.md (*insv<mode>_reg_extimm): Removed.
(*insv_h_di_reg_extimm): New insn.
(*insv_l<mode>_reg_extimm): New insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143786
138bc75d-0d04-0410-961f-
82ee72b054a4
hariharans [Fri, 30 Jan 2009 10:25:54 +0000 (10:25 +0000)]
* config/picochip/picochip.c (flag_conserve_stack): set
PARAM_LARGE_STACK_FRAME and PARAM_STACK_FRAME_GROWTH to zero under
fconserve-stack. Reduce call-overhead used by inliner.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143785
138bc75d-0d04-0410-961f-
82ee72b054a4
hariharans [Fri, 30 Jan 2009 09:50:30 +0000 (09:50 +0000)]
PR/38157
* common.opt (flag_conserve_stack): Initialised to zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143784
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 30 Jan 2009 09:28:41 +0000 (09:28 +0000)]
Fix spacing around names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143783
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 30 Jan 2009 09:22:48 +0000 (09:22 +0000)]
PR target/39002
* g++.dg/torture/pr39002.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143782
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Fri, 30 Jan 2009 08:45:35 +0000 (08:45 +0000)]
2009-01-30 Kai Tietz <kai.tietz@onevision.com>
PR/39002
* config/i386/i386.c (ix86_can_use_return_insn_p): Check for nsseregs.
(ix86_expand_epilogue): Take nsseregs in account to use proper restore
method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143780
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 30 Jan 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143776
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 30 Jan 2009 00:08:29 +0000 (00:08 +0000)]
* include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
defined.
* include/c_std/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
defined.
* include/c_global/cstring (memchr, strchr, strpbrk, strrchr, strstr):
Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
defined.
* include/c_global/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
defined.
* testsuite/21_strings/c_strings/char_t/2.cc (test02): If first
argument is const char *, assign result to const char * var, not
char *.
* testsuite/21_strings/c_strings/wchar_t/2.cc (test02): If first
argument is const wchar_t *, assign result to const wchar_t * var, not
wchar_t *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143773
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 29 Jan 2009 23:24:05 +0000 (23:24 +0000)]
2009-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/thread: Remove unused headers.
(__thread_data_base): Remove unused mutex and base.
(thread::~thread): Only detach if joinable.
(thread::joinable): Test if thread data ptr is empty.
(thread::_M_thread_data_mutex): Remove.
(thread::_M_get_thread_data): Remove.
(thread::_M_make_thread_data): Remove overload, use make_shared.
(thread::id::id): Make constructor explicit.
* src/thread.cc (thread::join,thread::detach): Throw if not joinable.
(thread::_M_start_thread): Break shared_ptr cycle on error.
(__thread_proxy): Use shared_ptr swap instead of copy and reset.
* testsuite/30_threads/thread/member/4.cc: New.
* testsuite/30_threads/thread/member/5.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143772
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 29 Jan 2009 21:56:17 +0000 (21:56 +0000)]
2009-01-29 H.J. Lu <hongjiu.lu@intel.com>
* ira-color.c (allocno_reload_assign): Update comments.
* regmove.c (regmove_optimize): Likewise.
* ra.h: Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143771
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Thu, 29 Jan 2009 18:48:41 +0000 (18:48 +0000)]
2009-01-29 Robert Millan <rmh@aybabtu.com>
* configure.ac: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
* configure: Regenerate.
gcc/
2009-01-29 Robert Millan <rmh@aybabtu.com>
* gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
* gcc/config/i386/kopensolaris-gnu.h: New file. Undefine
`MD_UNWIND_SUPPORT'.
* gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143768
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 29 Jan 2009 18:23:21 +0000 (18:23 +0000)]
gcc/
PR tree-optimization/39007
* tree-loop-distribution.c (generate_builtin): Use
recompute_dominator to compute the immediate dominator of the
basic block just after the loop.
gcc/testsuite/
PR tree-optimization/39007
* gcc.dg/tree-ssa/pr39007.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143767
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 29 Jan 2009 17:02:52 +0000 (17:02 +0000)]
2009-01-29 Paolo Carlini <paolo.carlini@oracle.com>
* typeck.c (invalid_nonstatic_memfn_p): Use
DECL_NONSTATIC_MEMBER_FUNCTION_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143761
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 29 Jan 2009 16:06:53 +0000 (16:06 +0000)]
* config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
(ASM_OUTPUT_DWARF_PCREL): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143758
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Thu, 29 Jan 2009 14:51:46 +0000 (14:51 +0000)]
2008-01-29 Vladimir Makarov <vmakarov@redhat.com>
* doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
* doc/passes.texi: Remove entries about regclass, local-alloc, and
global. Modify entries about regmove and IRA.
* ra-conflict.c: Remove the file.
* reload.c (push_reload, find_dummy_reload): Remove flag_ira.
* tree-pass.h (pass_local_alloc, pass_global_alloc): Remove.
(pass_regclass_init): Rename to pass_reginfo_init.
* cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira.
* toplev.h (flag_ira): Remove.
* caller-save.c (setup_save_areas): Remove flag_ira.
* ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot):
Ditto.
* global.c: Remove the file.
* opts.c: (decode_options): Remove flag_ira.
* hard-reg-set.h (losing_caller_save_reg_set): Remove.
* regmove.c: Modify file description.
(find_use_as_address, try_auto_increment): Define them only if
AUTO_INC_DEC is defined.
(replacement_quality, replace_in_call_usage, fixup_match_1,
stable_and_no_regs_but_for_p): Remove.
(reg_set_in_bb): Make it static.
(regmove_optimize): Remove flag_ira and code which worked for
!flag_ira.
* local-alloc.c: Remove the file.
* common.opt (fira): Remove.
* ira.c: Include except.h.
(eliminable_regset): Move from global.c.
(mark_elimination): Ditto. Remove flag_ira.
(reg_renumber, struct equivalence, reg_equiv, equiv_mem,
equiv_mem_modified, validate_equiv_mem_from_store,
validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p,
contains_replace_regs, memref_referenced_p, memref_used_between_p,
no_equiv, recorded_label_ref): Move from local-alloc.c.
(update_equiv_regs): Ditto. Make it static.
(print_insn_chain, print_insn_chains): Move it from global.c.
pseudo_for_reload_consideration_p): Ditto. Remove flag_ira.
(build_insn_chain): Ditto. Make it static.
(ra_init_live_subregs): Move from ra-conflict.c. Make it static.
Rename to init_live_subregs.
(gate_ira): Remove flag_ira.
* regclass.c: Rename reginfo.c. Change file description.
(FORBIDDEN_INC_DEC_CLASSES): Remove.
(reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec):
Remove.
(init_reg_sets_1): Remove code for evaluation of
reg_class_superclasses and losing_caller_save_reg_set.
(init_regs): Remove init_reg_autoinc.
(struct costs, costs, init_cost, ok_for_index_p_nonstrict,
ok_for_base_p_nonstrict): Remove.
(regclass_init): Rename to reginfo_init. Don't initialize
init_cost.
(pass_regclass_init): Rename to pass_reginfo_init. Modify
corresponding entries.
(dump_regclass, record_operand_costs, scan_one_insn,
init_reg_autoinc, regclass, record_reg_classes, copy_cost,
record_address_regs, auto_inc_dec_reg_p): Remove.
(gt-regclass.h): Rename to gt-reginfo.h.
* rtl.h (dump_global_regs, retry_global_alloc,
build_insn_chain, dump_local_alloc, update_equiv_regs):
Remove.
* Makefile.in (RA_H): Remove.
(OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o.
Rename regclass.o to reginfo.o.
(regclass.o): Rename to reginfo.o. Rename gt-regclass.h to
gt-reginfo.h.
(global.o, local-alloc.o, ra-conflict.o): Remove entries.
(GTFILES): Rename regclass.c to reginfo.c.
* passes.c (init_optimization_passes): Remove pass_local_alloc and
pass_global_alloc. Rename pass_regclass_init to
pass_reginfo_init.
* reload1.c (compute_use_by_pseudos, reload, count_pseudo,
count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
Remove flag_ira.
(finish_spills): Ditto. Remove code for !flga_ira.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143757
138bc75d-0d04-0410-961f-
82ee72b054a4
zadeck [Thu, 29 Jan 2009 14:34:55 +0000 (14:34 +0000)]
2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com>
PR middle-end/35854
* doc/invoke.texi (rtl debug options): Complete rewrite.
* auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec"
to auto_inc_dec".
* mode-switching.c (pass_mode_switching): Rename pass from
"mode-sw" to "mode_sw".
* except.c (pass_convert_to_eh_ranges): Rename pass from
"eh-ranges" to "eh_ranges".
* lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
to "subreg1".
2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com>
PR middle-end/35854
* gcc.dg/lower-subreg-1.c: Renamed dump pass from "subreg" to "subreg1"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143756
138bc75d-0d04-0410-961f-
82ee72b054a4
amonakov [Thu, 29 Jan 2009 10:53:15 +0000 (10:53 +0000)]
2009-01-29 Andrey Belevantsev <abel@ispras.ru>
Alexander Monakov <amonakov@ispras.ru>
PR middle-end/38857
* sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
register.
(move_exprs_to_boundary): Change return type and pass through
should_move from move_op. Relax assert. Update usage ...
(schedule_expr_on_boundary): ... here. Use should_move instead of
cant_move.
(move_op_orig_expr_found): Indicate that insn was disconnected from
stream.
(code_motion_process_successors): Do not call after_merge_succs
callback if original expression was not found when traversing any of
the branches.
(code_motion_path_driver): Change return type. Update prototype.
(move_op): Update comment. Add a new parameter (should_move). Update
prototype. Set *should_move based on indication provided by
move_op_orig_expr_found.
2009-01-29 Steve Ellcey <sje@cup.hp.com>
PR middle-end/38857
* gcc.c-torture/compile/pr38857.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143753
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 29 Jan 2009 08:49:14 +0000 (08:49 +0000)]
* testsuite/ChangeLog: Add missing entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143751
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 29 Jan 2009 00:25:17 +0000 (00:25 +0000)]
2009-01-28 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/util/testsuite_common_types.h (has_trivial_cons_dtor): New.
(standard_layout): Just use !has_virtual_destructor for now.
* testsuite/30_threads/mutex/requirements/standard_layout.cc: New.
* testsuite/30_threads/timed_mutex/requirements/standard_layout.cc: New.
* testsuite/30_threads/recursive_mutex/requirements/
standard_layout.cc: New.
* testsuite/30_threads/condition_variable/requirements/
standard_layout.cc: New.
* testsuite/29_atomics/atomic_address/requirements/
standard_layout.cc: Adjust.
* testsuite/29_atomics/atomic_flag/requirements/
standard_layout.cc: Same.
* testsuite/29_atomics/atomic_address/requirements/trivial.cc: New.
* testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
* testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
* testsuite/30_threads/condition_variable/requirements/typedefs.cc: New.
* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
line numbers.
* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
* testsuite/29_atomics/atomic/requirements/standard_layout.cc:
Remove, not required.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143749
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 29 Jan 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143747
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Wed, 28 Jan 2009 21:48:53 +0000 (21:48 +0000)]
2009-01-28 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38852
PR fortran/39006
* trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
descriptor ubound for UBOUND, when the array lbound == 1.
2009-01-28 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38852
PR fortran/39006
* gfortran.dg/bound_6.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143743
138bc75d-0d04-0410-961f-
82ee72b054a4
pthaugen [Wed, 28 Jan 2009 18:51:53 +0000 (18:51 +0000)]
* doc/invoke.texi (avoid-indexed-addresses): Document new option.
* config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare.
* config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
* config/rs6000/rs6000.c (rs6000_override_options): Default
avoid-indexed-addresses on for Power6, off for everything else.
(avoiding_indexed_address_p): New function.
(rs6000_legitimize_address): Use it.
(rs6000_legitimate_address): Likewise.
* config/rs6000/rs6000.md (movXX_updateX): Likewise
* gcc.target/powerpc/avoid-indexed-addresses.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143742
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 28 Jan 2009 18:17:13 +0000 (18:17 +0000)]
gcc/
PR tree-optimization/38997
* tree-loop-distribution.c (generate_memset_zero): Use
POINTER_PLUS_EXPR for a pointer addition.
gcc/testsuite/
PR tree-optimization/38997
* gcc.dg/tree-ssa/pr38997.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143740
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 28 Jan 2009 18:16:57 +0000 (18:16 +0000)]
gcc/
PR tree-optimization/38997
* tree-loop-distribution.c (generate_memset_zero): Use
POINTER_PLUS_EXPR for a pointer addition.
gcc/testsuite/
PR tree-optimization/38997
* gcc.dg/tree-ssa/pr38997.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143739
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Wed, 28 Jan 2009 16:41:24 +0000 (16:41 +0000)]
2009-01-28 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md (bswap<mode>2): New pattern added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143737
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Wed, 28 Jan 2009 16:39:56 +0000 (16:39 +0000)]
2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
* config/s390/s390.md (*tls_load_31): Added type attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143736
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Wed, 28 Jan 2009 16:38:06 +0000 (16:38 +0000)]
2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
* config/s390/s390.md: Fix a few comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143735
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Wed, 28 Jan 2009 16:36:42 +0000 (16:36 +0000)]
2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
* config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute.
(*tm<mode>_full): Fixed z10prop attribute.
(*tst<mode>_extimm): Fixed z10prop attribute.
(*tst<mode>_cconly_extimm): Fixed z10prop attribute.
(*tstqiCCT_cconly): Fixed z10prop attribute.
(*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute.
(*movsi_larl): Fixed z10prop attribute.
(*movsi_zarch): Fixed z10prop attribute.
(*movsi_eas): Fixed z10prop attribute.
(*movhi): Fixed z10prop attribute.
(*movqi): Fixed z10prop attribute.
(*movstrictqi): Fixed z10prop attribute.
(*mov<mode>): Fixed z10prop attribute.
(*movcc): Fixed z10prop attribute.
(*sethighpartdi_64): Fixed z10prop attribute.
(*zero_extendhi<mode>2_z10): Fixed z10prop attribute.
(*negdi2_sign_cc): Fixed z10prop attribute.
(*negdi2_sign): Fixed z10prop attribute.
(*absdi2_sign_cc): Fixed z10prop attribute.
(*absdi2_sign): Fixed z10prop attribute.
(*negabsdi2_sign_cc): Fixed z10prop attribute.
(*negabsdi2_sign): Fixed z10prop attribute.
(*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute.
(*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute.
(doloop_si64): Fixed z10prop attribute.
(doloop_si31): Fixed z10prop attribute.
(doloop_long): Fixed z10prop attribute.
(indirect_jump): Fixed z10prop attribute.
(nop): Fixed z10prop attribute.
(main_base_64): Fixed z10prop attribute.
(reload_base_64): Fixed z10prop attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143734
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Jan 2009 16:05:41 +0000 (16:05 +0000)]
PR rtl-optimization/38740
* reorg.c (gate_handle_delay_slots): Avoid dbr scheduling
if !optimize.
* config/mips/mips.c (mips_reorg): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143733
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 28 Jan 2009 12:14:09 +0000 (12:14 +0000)]
2009-01-28 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38926
* tree-ssa-pre.c (add_to_value): Assert we add only expressions
with the correct value id to a value.
(do_regular_insertion): Use the value number of edoubleprime
for the value number of the expr.
Revert
2008-08-21 Richard Guenther <rguenther@suse.de>
* tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
a PHI ask VN if it is already available.
* tree-ssa-sccvn.h (vn_phi_lookup): Declare.
* tree-ssa-sccvn.c (vn_phi_lookup): Export.
* gcc.c-torture/compile/pr38926.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143725
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 28 Jan 2009 10:40:06 +0000 (10:40 +0000)]
PR middle-end/38934
* tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
set to varying whenever max has TREE_OVERFLOW set, similarly
for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.
* gcc.dg/pr38934.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143723
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 28 Jan 2009 09:36:41 +0000 (09:36 +0000)]
2009-01-28 Richard Guenther <rguenther@suse.de>
PR middle-end/38908
* tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly
uninitialized aggregate uses in call arguments.
* g++.dg/warn/Wuninitialized-2.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143722
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 28 Jan 2009 08:02:31 +0000 (08:02 +0000)]
gcc:
2009-01-28 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/38984
* tree-ssa-structalias.c (get_constraints_for_1): Do not use
the nothing_id variable if -fno-delete-null-pointer-checks.
gcc/testsuite:
2009-01-28 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/38984
* gcc.dg/pr38984.c: New XFAILed testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143721
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 28 Jan 2009 07:58:07 +0000 (07:58 +0000)]
PR target/38988
* config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
(set_got_offset_rex64): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143720
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 28 Jan 2009 03:38:41 +0000 (03:38 +0000)]
2009-01-27 H.J. Lu <hongjiu.lu@intel.com>
PR target/38941
* doc/extend.texi: Improve local variable with asm reg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143719
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Wed, 28 Jan 2009 02:55:20 +0000 (02:55 +0000)]
* c.opt (Wpacked-bitfield-compat): Change init value to -1.
* c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
was not supplied then set warn_packed_bitfield_compat to the
default value of 1.
* stor-layout.c (place_field): Check warn_packed_bitfield_compat
against 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143718
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 28 Jan 2009 00:16:36 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143716
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 27 Jan 2009 19:47:28 +0000 (19:47 +0000)]
/cp
2009-01-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37554
* call.c (build_over_call): If convert_for_arg_passing returns
error_mark_node unconditionally return it.
/testsuite
2009-01-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37554
* g++.dg/parse/crash51.C: New.
* g++.old-deja/g++.pt/crash9.C: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143711
138bc75d-0d04-0410-961f-
82ee72b054a4
domob [Tue, 27 Jan 2009 18:07:54 +0000 (18:07 +0000)]
2009-01-27 Daniel Kraft <d@domob.eu>
PR fortran/38883
* trans-stmt.c (gfc_conv_elemental_dependencies): Create temporary
for the real type needed to make it work for subcomponent-references.
2009-01-27 Daniel Kraft <d@domob.eu>
PR fortran/38883
* gfortran.dg/mvbits_6.f90: New test.
* gfortran.dg/mvbits_7.f90: New test.
* gfortran.dg/mvbits_8.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143707
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 27 Jan 2009 16:14:13 +0000 (16:14 +0000)]
Fix broken commit from r143594.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143705
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 27 Jan 2009 10:42:59 +0000 (10:42 +0000)]
2009-01-27 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38503
* cfgexpand.c (expand_gimple_basic_block): Ignore
GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
* tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
variables that cannot have TBAA applied.
(compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
statements.
* g++.dg/warn/Wstrict-aliasing-bogus-placement-new.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143700
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 27 Jan 2009 10:18:54 +0000 (10:18 +0000)]
PR middle-end/38969
* calls.c (initialize_argument_information): Do not wrap complex
arguments in SAVE_EXPR.
testsuite/ChangeLog:
PR middle-end/38969
* gcc.c-torture/execute/pr38969.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143699
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 27 Jan 2009 10:09:23 +0000 (10:09 +0000)]
PR libgcj/38872
* gcj/javaprims.h (_Jv_CreateJavaVM): Change to extern "C" symbol.
* libjgc_bc.c (_Jv_GetStringChars): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143698
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Tue, 27 Jan 2009 07:41:46 +0000 (07:41 +0000)]
PR testsuite/38864
* gcc.target/mips/fixed-vector-type.c: Add { target { fixed_point} }
to dg-do compile.
* gcc.target/mips/fixed-scalar-type.c: Likewise.
* gcc.target/mips/dpaq_sa_l_w.c: Likewise.
* gcc.target/mips/dpsq_sa_l_w.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143694
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 27 Jan 2009 00:16:43 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143692
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 26 Jan 2009 23:39:02 +0000 (23:39 +0000)]
2009-01-26 H.J. Lu <hongjiu.lu@intel.com>
PR target/38952
* g++.dg/torture/stackalign/test-unwind.h (main): Also return 0
if __USING_SJLJ_EXCEPTIONS__ is defined.
* g++.dg/torture/stackalign/unwind-0.C (foo): Don't define if
__USING_SJLJ_EXCEPTIONS__ is defined.
* g++.dg/torture/stackalign/unwind-1.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-2.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-3.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-4.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-5.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-6.C (foo): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143689
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Mon, 26 Jan 2009 23:01:25 +0000 (23:01 +0000)]
2009-01-26 Andreas Tobler <a.tobler@schweiz.org>
* config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
(INSTALL_LIBGCC): Revert typo commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143687
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Mon, 26 Jan 2009 21:47:10 +0000 (21:47 +0000)]
2009-01-26 Andreas Tobler <a.tobler@schweiz.org>
* config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143686
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 26 Jan 2009 20:34:09 +0000 (20:34 +0000)]
2009-01-26 Danny Smith <dannysmith@users.sourceforge.net>
PR testsuite/38949
* g++.dg/torture/stackalign/test-unwind.h (ASMNAME): Define.
Use instead of C name in asm statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143684
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 26 Jan 2009 16:46:03 +0000 (16:46 +0000)]
Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143679
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 26 Jan 2009 15:03:30 +0000 (15:03 +0000)]
2009-01-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38745
* tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
from special handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143676
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 26 Jan 2009 09:55:30 +0000 (09:55 +0000)]
2009-01-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38745
* tree-ssa.c (execute_update_addresses_taken): Do not include
variables that cannot possibly be a register in not_reg_needs.
Do not clear TREE_ADDRESSABLE on vars that may not become
registers.
* tree-ssa.c (update_alias_info_1): Include those in the set
of addressable vars.
* g++.dg/torture/pr38745.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143673
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 26 Jan 2009 09:52:48 +0000 (09:52 +0000)]
2009-01-26 Richard Guenther <rguenther@suse.de>
PR middle-end/38851
* Makefile.in (tree-ssa-dse.o): Add langhooks.h.
* tree-ssa-dse.c: Include langhooks.h
(execute_simple_dse): Remove stores with zero size.
* g++.dg/warn/Wuninitialized-1.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143672
138bc75d-0d04-0410-961f-
82ee72b054a4