Joey Ye
fb72848b0c
* MAINTAINERS: Update my e-mail address.
...
From-SVN: r170731
2011-03-07 03:04:34 +00:00
Mingjie Xing
38528d5051
Remove redundant word 'See' before @xref
...
From-SVN: r170730
2011-03-07 03:00:04 +00:00
Mark Mitchell
0d14c75706
* README.QMTEST: Remove.
...
From-SVN: r170728
2011-03-07 02:26:27 +00:00
GCC Administrator
a9dc1bd8cf
Daily bump.
...
From-SVN: r170725
2011-03-07 00:18:49 +00:00
Paul Thomas
8e1e41e7af
re PR fortran/47850 (ICE in gfc_conv_array_initializer)
...
2011-03-06 Paul Thomas <pault@gcc.gnu.org>
Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/47850
* expr.c (gfc_is_constant_expr): Only use gfc_constant_ac if
the expression has an iterator. Otherwise, iterate through the
array, checking for constant expressions for each element.
2011-03-06 Paul Thomas <pault@gcc.gnu.org>
Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/47850
* gfortran.dg/array_constructor_37.f90 : New test.
Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org>
From-SVN: r170720
2011-03-06 20:15:38 +00:00
Joseph Myers
787a8c0feb
lang-specs.h: Match -save-temps* instead of -save-temps.
...
cp:
* lang-specs.h: Match -save-temps* instead of -save-temps.
objc:
* lang-specs.h: Match -save-temps* instead of -save-temps.
objcp
* lang-specs.h: Match -save-temps* instead of -save-temps.
From-SVN: r170715
2011-03-06 16:27:57 +00:00
Joseph Myers
359fad6e13
* de.po: Update.
...
From-SVN: r170713
2011-03-06 16:20:51 +00:00
Jason Merrill
f42cf4f46b
* doc/invoke.texi (C++ Dialect Options): Document ABI v5.
...
From-SVN: r170712
2011-03-05 19:45:16 -05:00
Jason Merrill
55af847f56
mangle.c (write_expression): Change ABI v6 to v5.
...
* mangle.c (write_expression): Change ABI v6 to v5.
(write_type): Likewise.
From-SVN: r170711
2011-03-05 19:38:13 -05:00
GCC Administrator
5091c65687
Daily bump.
...
From-SVN: r170710
2011-03-06 00:18:37 +00:00
John David Anglin
1f3878359b
pr47975.c: Add -fno-common option on hppa*-*-hpux*.
...
* gcc.dg/torture/pr47975.c: Add -fno-common option on hppa*-*-hpux*.
From-SVN: r170706
2011-03-06 00:14:01 +00:00
Joseph Myers
20a52ab960
* gennews (files): Add files for GCC 4.6.
...
From-SVN: r170704
2011-03-05 19:49:36 +00:00
Joseph Myers
4c1bb1ce50
* gcc.pot: Regenerate.
...
From-SVN: r170703
2011-03-05 19:46:47 +00:00
Joseph Myers
3ba03783a9
* cpplib.pot: Regenerate.
...
From-SVN: r170702
2011-03-05 19:45:12 +00:00
Anthony Green
804a304d32
Add newlib-stdint.h to moxie-eld config.
...
From-SVN: r170700
2011-03-05 15:19:44 +00:00
Zdenek Dvorak
634ee309bb
re PR rtl-optimization/47899 (ICE in get_loop_body, at cfgloop.c:831)
...
PR rtl-optimization/47899
* cfgloopmanip.c (fix_bb_placements): Fix first argument
to flow_loop_nested_p when moving the loop upward.
* gcc.dg/pr47899.c: New test.
From-SVN: r170699
2011-03-05 15:28:14 +01:00
Richard Earnshaw
6fe471c8ca
re PR target/47719 (ICE compiling libavcodec/adxdec.c (FFmpeg) for ARM)
...
PR target/47719
* arm.md (movhi_insn_arch4): Accept any immediate constant.
From-SVN: r170698
2011-03-05 14:01:07 +00:00
Ralf Wildenhues
9d77a2c4e3
Guard against M4 versions with a buggy strstr.
...
config/:
* override.m4: Error out if a buggy M4 was detected, to
avoid spurious diffs in generated files.
Co-Authored-By: Eric Blake <eblake@redhat.com>
From-SVN: r170697
2011-03-05 07:32:50 +00:00
GCC Administrator
d1509a41b3
Daily bump.
...
From-SVN: r170696
2011-03-05 00:18:38 +00:00
Jakub Jelinek
13f1e629cd
* gcc.dg/torture/pr47968.c: Ignore warnings.
...
From-SVN: r170691
2011-03-05 01:01:32 +01:00
Jakub Jelinek
cc58ceee5d
re PR tree-optimization/47967 (ICE: verify_stmts failed: conversion of register to a different size with -fipa-cp on undefined code)
...
PR tree-optimization/47967
* ipa-cp.c (build_const_val): Return NULL instead of creating
VIEW_CONVERT_EXPR for mismatching sizes.
(ipcp_create_replace_map): Return NULL if build_const_val failed.
(ipcp_insert_stage): If ipcp_create_replace_map returns NULL,
give up on versioning.
* gcc.c-torture/compile/pr47967.c: New test.
From-SVN: r170689
2011-03-05 00:07:20 +01:00
Alan Modra
ea86830567
re PR target/47986 (gcc.c-torture/execute/20040709-1.c fails with non-delegitimized UNSPEC)
...
PR target/47986
* config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle
full cmodel medium/large lo_sum + high addresses.
From-SVN: r170687
2011-03-05 09:29:07 +10:30
Benjamin Kosnik
ed4f96af59
Makefile.am (inst_sources): Make source instantion files conditional.
...
2011-03-04 Benjamin Kosnik <bkoz@chula>
* src/Makefile.am (inst_sources): Make source instantion files
conditional.
(XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
* src/Makefile.in: Regenerate.
* src/valarray-inst.cc: Move to..
* src/valarray.cc: ...this.
* acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
* configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
* configure: Regenerate.
* include/Makefile.am (stamp-extern-template): Add.
* include/Makefile.in: Regenerate.
* doc/xml/manual/configure.xml: Document --enable-extern-template.
* include/bits/locale_classes.tcc: Adjust comment.
* include/bits/locale_facets.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/istream.tcc: Same.
* include/bits/codecvt.h: Same.
* include/bits/ostream.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/c++config: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/ostream_insert.h: Same.
* include/bits/locale_facets_nonio.tcc: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/allocator.h: Same.
* include/bits/fstream.tcc: Same.
* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
From-SVN: r170686
2011-03-04 21:51:56 +00:00
Andreas Krebbel
bc6ce33429
s390.c (s390_decompose_address): Reject non-literal pool references in UNSPEC_LTREL_OFFSET.
...
2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_decompose_address): Reject non-literal
pool references in UNSPEC_LTREL_OFFSET.
From-SVN: r170685
2011-03-04 20:47:11 +00:00
Nicola Pero
78a8b16bad
In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>
...
In gcc/testsuite/:
2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/property/property-encoding-1.m: Tidied up testcase.
* obj-c++.dg/property/property-encoding-1.mm: Likewise.
From-SVN: r170684
2011-03-04 19:09:34 +00:00
Janne Blomqvist
246a273017
PR 47802 Use builtins to check localtime_r return type
...
From-SVN: r170683
2011-03-04 21:07:49 +02:00
Jan Hubicka
87e7b310b3
re PR lto/47497 (SPEC CPU 2006 failed to link with LTO -fuse-linker-plugin -fwhole-program)
...
PR lto/47497
* lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias.
(lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here.
* cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): Add node pointers.
* cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias,
cgraph_add_thunk): Add node pointers.
* lto-cgraph.c (lto_output_node): Verify that thunks&aliases are
associated to right node.
(input_node): Update use of cgraph_same_body_alias
and cgraph_add_thunk.
* optimize.c (maybe_clone_body): Update call of cgraph_same_body_alias
and cgraph_add_thunk.
* method.c (make_alias_for_thunk, use_thunk): Likewise.
* mangle.c (mangle_decl): Likewise.
From-SVN: r170682
2011-03-04 18:49:23 +00:00
Changpeng Fang
d9c6424620
Introduce flag -mprefer-avx128 for the auto-vectorizer to generate only 128-bit avx insns.
...
* config/i386/i386.opt (mprefer-avx128): New flag.
* config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit mode
when the flag -mprefer-avx128 is on.
From-SVN: r170681
2011-03-04 17:56:39 +00:00
Janne Blomqvist
7a9d7a4f86
PR 47802 Hack to work around draft POSIX localtime_r
...
From-SVN: r170680
2011-03-04 19:52:10 +02:00
Janne Blomqvist
d9d114ecd0
PR 47802 Update doc for CTIME and FDATE intrinsics
...
From-SVN: r170679
2011-03-04 19:37:11 +02:00
Nicola Pero
f787ea5a40
In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>
...
In gcc/testsuite/:
2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/gnu-api-2-property.m: Added tests for property_getName()
and property_getAttributes() if __OBJC2__.
* obj-c++.dg/gnu-api-2-property.mm: Likewise.
* objc.dg/property/property-encoding-1.m: New.
* obj-c++.dg/property/property-encoding-1.mm: New.
From-SVN: r170678
2011-03-04 15:45:30 +00:00
Jason Merrill
ad00b8db9a
re PR c++/47971 (ICE: in tsubst_copy, at cp/pt.c:11725 on valid code)
...
PR c++/47971
* pt.c (tsubst_copy_and_build) [PSEUDO_DTOR_EXPR]: Use tsubst for type.
(tsubst_copy) [default]: Just return t if !ENABLE_CHECKING.
From-SVN: r170677
2011-03-04 10:18:07 -05:00
Jason Merrill
38ffa8289c
re PR c++/46220 (Error: invalid covariant return type generated for incomplete class type and different qualifer)
...
PR c++/46220
* search.c (check_final_overrider): Allow pointer to same incomplete
class type with different cv-quals.
From-SVN: r170676
2011-03-04 10:17:55 -05:00
Richard Sandiford
087070764a
dwarf2out.c (compare_loc_operands): Fix address handling.
...
gcc/
* dwarf2out.c (compare_loc_operands): Fix address handling.
From-SVN: r170675
2011-03-04 14:19:19 +00:00
Alan Modra
52517c8121
tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment.
...
* tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment.
From-SVN: r170674
2011-03-04 21:21:56 +10:30
Richard Guenther
b147c5b92f
re PR middle-end/47968 (ICE: in gen_lowpart_general, at rtlhooks.c:51 when converting vector of double to vector of float)
...
2011-03-04 Richard Guenther <rguenther@suse.de>
PR middle-end/47968
* expmed.c (extract_bit_field_1): Prefer vector modes that
vec_extract patterns can handle.
* gcc.dg/torture/pr47968.c: New testcase.
From-SVN: r170673
2011-03-04 10:31:33 +00:00
Richard Guenther
8750672fae
re PR target/47975 (ICE: in expand_shift, at expmed.c:2299 when using 256b vectors without -mavx)
...
2011-03-04 Richard Guenther <rguenther@suse.de>
PR middle-end/47975
* optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P.
* gcc.dg/torture/pr47975.c: New testcase.
From-SVN: r170672
2011-03-04 10:27:10 +00:00
GCC Administrator
d1ad70b2b0
Daily bump.
...
From-SVN: r170669
2011-03-04 00:18:28 +00:00
Richard Henderson
9eac0f2a07
explow.c (emit_stack_save): Remove 'after' parameter.
...
* explow.c (emit_stack_save): Remove 'after' parameter.
(emit_stack_restore): Likewise.
* expr.h: Update to match.
* builtins.c, calls.c, stmt.c: Likewise.
* config/alpha/alpha.md, config/avr/avr.md: Likewise.
* config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise.
* function.c (expand_function_end): Insert the emit_stack_save
sequence before parm_birth_insn instead of after.
From-SVN: r170663
2011-03-03 13:56:58 -08:00
Uros Bizjak
dfee1406b9
sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
...
* config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
(ssse3_pmaddubsw128): Ditto.
(ssse3_pmaddubsw): Ditto.
From-SVN: r170661
2011-03-03 20:56:56 +01:00
Steve Ellcey
f1d4c3de86
t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH
...
2011-03-03 Steve Ellcey <sje@cup.hp.com>
* config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH
From-SVN: r170659
2011-03-03 18:57:35 +00:00
Paolo Carlini
5c62e6611d
re PR c++/47974 (ICE: tree check: expected tree_vec, have error_mark in tsubst_template_args, at cp/pt.c:8969 on invalid code)
...
/cp
2011-03-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/47974
* pt.c (tsubst_template_args): Check argument t for error_mark_node.
/testsuite
2011-03-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/47974
* g++.dg/template/crash106.C: New.
From-SVN: r170658
2011-03-03 17:07:28 +00:00
Jason Merrill
ff4bfb1056
re PR c++/47950 ([C++0x] Internal compiler error: non-dependent declaration as condition causes tsubst_copy_and_build assertion failure.)
...
PR c++/47950
* pt.c (tsubst_copy_and_build) [TARGET_EXPR]: Retain TREE_CONSTANT.
From-SVN: r170656
2011-03-03 11:51:20 -05:00
Jakub Jelinek
423ed4163b
re PR c/47963 (ICE: tree check: expected tree that contains 'decl common' structure, have 'integer_cst' in is_global_var, at tree-flow-inline.h:599 on invalid code with -fopenmp)
...
PR c/47963
* gimplify.c (omp_add_variable): Only call omp_notice_variable
on TYPE_SIZE_UNIT if it is a DECL.
* gcc.dg/gomp/pr47963.c: New test.
* g++.dg/gomp/pr47963.C: New test.
From-SVN: r170655
2011-03-03 17:09:55 +01:00
Jakub Jelinek
71f3a3f517
re PR debug/47283 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c)
...
PR debug/47283
* cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF
first operand is not is_gimple_mem_ref_addr, try to fold it.
If the operand still isn't is_gimple_mem_ref_addr, clear
MEM_EXPR on op0.
From-SVN: r170654
2011-03-03 17:06:33 +01:00
Richard Guenther
4b1a5c0ded
re PR debug/47283 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c)
...
2011-03-03 Richard Guenther <rguenther@suse.de>
PR middle-end/47283
* tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code
match comment.
(refs_may_alias_p_1): For release branches return true if
we are confused by our input.
From-SVN: r170650
2011-03-03 12:10:40 +00:00
Andreas Krebbel
b46616fda7
s390.c (s390_function_value): Rename to ...
...
2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_function_value): Rename to ...
(s390_function_and_libcall_value): ... this.
(s390_function_value): New function.
(s390_libcall_value): New function.
(TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target
hooks.
* config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove
target macro definitions.
* config/s390/s390-protos.h (s390_function_value): Remove prototype.
From-SVN: r170649
2011-03-03 12:08:21 +00:00
Ian Lance Taylor
f7a10f0d78
Don't crash if erroneous type was not converted.
...
From-SVN: r170646
2011-03-03 06:50:32 +00:00
Ian Lance Taylor
e2e280a3e5
Don't crash on large composite literal array index.
...
From-SVN: r170645
2011-03-03 06:40:50 +00:00
Ian Lance Taylor
5a34af783a
Don't crash calling make with NaN or Infinity.
...
From-SVN: r170644
2011-03-03 06:18:55 +00:00