OSDN Git Service

pf3gnuchains/gcc-fork.git
10 years agodrop gdb mask for Blackfin targets
vapier [Tue, 18 Jan 2011 05:21:29 +0000 (05:21 +0000)]
drop gdb mask for Blackfin targets

Now that gdb supports Blackfin targets, no need to mask it.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168943 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agolibiberty: add .gitignore
vapier [Tue, 18 Jan 2011 05:06:50 +0000 (05:06 +0000)]
libiberty: add .gitignore

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168942 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Tue, 18 Jan 2011 00:18:34 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168941 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/47067
jason [Mon, 17 Jan 2011 22:34:35 +0000 (22:34 +0000)]
PR c++/47067
* semantics.c (base_field_constructor_elt): New fn.
(cxx_eval_bare_aggregate): Use it.
(build_data_member_initialization): Leave COMPONENT_REF for
vfield inits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168937 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * parser.c (cp_parser_range_for): Remove the "unused variable" warning
jason [Mon, 17 Jan 2011 22:34:26 +0000 (22:34 +0000)]
* parser.c (cp_parser_range_for): Remove the "unused variable" warning
workaround.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168936 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR fortran/47331
jakub [Mon, 17 Jan 2011 22:26:42 +0000 (22:26 +0000)]
PR fortran/47331
* gfortran.h (struct gfc_omp_saved_state): New type.
(gfc_omp_save_and_clear_state, gfc_omp_restore_state): New prototypes.
* resolve.c (resolve_global_procedure): Call it around gfc_resolve
call.
* openmp.c (gfc_omp_save_and_clear_state, gfc_omp_restore_state): New
functions.

* gfortran.dg/gomp/pr47331.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168935 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoIn gcc/objc/:
nicola [Mon, 17 Jan 2011 22:17:47 +0000 (22:17 +0000)]
In gcc/objc/:
2011-01-17  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47314
* objc-act.c (finish_objc): When calling check_duplicates to check
duplicated instance methods, set 'is_class' to 0, not 1.

In gcc/testsuite/:
2011-01-17  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47314
* objc.dg/selector-warn-1.m: New.
* obj-c++.dg/selector-warn-1.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168934 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/testsuite/
rsandifo [Mon, 17 Jan 2011 20:31:35 +0000 (20:31 +0000)]
gcc/testsuite/
* gcc.dg/tree-ssa/vrp51.c: Prefix each "bug." string with "vrp.".
Update dg-final accordingly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168933 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-17 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 17 Jan 2011 19:16:27 +0000 (19:16 +0000)]
2011-01-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47327
        * invoke.texi (Options to request or suppress errors
        and warnings): Fix cross link.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168932 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoMarkup and minor fixes in LTO documentation.
rwild [Mon, 17 Jan 2011 19:13:05 +0000 (19:13 +0000)]
Markup and minor fixes in LTO documentation.

gcc/:
* doc/lto.texi (LTO): Ensure two spaces after period.  Fix
spacing after 'e.g.', typos, comma, hyphenation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168931 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-17 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 17 Jan 2011 19:03:28 +0000 (19:03 +0000)]
2011-01-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47295
        * libquadmath.text: Document typedef and constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168930 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Split adddi3 and subdi3 after reload.
rth [Mon, 17 Jan 2011 18:22:04 +0000 (18:22 +0000)]
rx: Split adddi3 and subdi3 after reload.

The formulation of the pre-reload pattern allows the lower_subreg
pass to properly split the patterns.  This also required re-writing
rx_source_operand and related predicates to accept subregs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168929 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Replace sat builtin with ssaddsi3 pattern.
rth [Mon, 17 Jan 2011 18:18:24 +0000 (18:18 +0000)]
rx: Replace sat builtin with ssaddsi3 pattern.

A standalone __builtin_rx_sat isn't implementable due to needing
to keep the flags live before reload.  Instead provide a saturating
add pattern, which hopefully will be pattern-matched by high-level
optimizations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168928 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Rewrite the bit manipulation patterns.
rth [Mon, 17 Jan 2011 18:16:39 +0000 (18:16 +0000)]
rx: Rewrite the bit manipulation patterns.

The patterns represented with ashift 1 canonically need to have
the ashift as the first operand of the logical operation.

Leave insv represented as a zero_extract store.
Implement a variable store to a 1 bit field as tst+bmne.
Implement a variable store of a condition into a 1 bit field with bmcc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168927 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Fix incorrect usage of + in output operands.
rth [Mon, 17 Jan 2011 18:12:45 +0000 (18:12 +0000)]
rx: Fix incorrect usage of + in output operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168926 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Cleanup non-VOIDmode SETs.
rth [Mon, 17 Jan 2011 18:11:49 +0000 (18:11 +0000)]
rx: Cleanup non-VOIDmode SETs.

SET should always have VOIDmode.  A number of places used
SImode or QImode for the mode of the SET rtx itself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168925 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Cleanup flags generation.
rth [Mon, 17 Jan 2011 18:06:28 +0000 (18:06 +0000)]
rx: Cleanup flags generation.

All arithmetic should only clobber the flags by default;
setting the flags to a useful value should be done by a
separate pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168924 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Implement cstoresf4.
rth [Mon, 17 Jan 2011 17:59:20 +0000 (17:59 +0000)]
rx: Implement cstoresf4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168923 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Remove %B workaround.
rth [Mon, 17 Jan 2011 17:58:21 +0000 (17:58 +0000)]
rx: Remove %B workaround.

This was delayed until all compare+operate patterns were converted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168922 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Split movsicc post-reload.
rth [Mon, 17 Jan 2011 17:57:15 +0000 (17:57 +0000)]
rx: Split movsicc post-reload.

This will allow elimination of the compare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168921 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Split cstoresi4 post-reload.
rth [Mon, 17 Jan 2011 17:55:33 +0000 (17:55 +0000)]
rx: Split cstoresi4 post-reload.

This will allow elimination of the compare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168920 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Cleanup conditional branches.
rth [Mon, 17 Jan 2011 17:53:55 +0000 (17:53 +0000)]
rx: Cleanup conditional branches.

Use match_operator, not code_iterators.  Use a new helper function,
rx_split_cbranch.  Get the modes right on the comparisons.  Distinguish
fp comparisons with CC_Fmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168919 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Remove rx_compare_redundant.
rth [Mon, 17 Jan 2011 17:40:59 +0000 (17:40 +0000)]
rx: Remove rx_compare_redundant.

To be replaced by the generic compare_elim pass, but we need to disable
this before fiddling with the arrangement of the arithmetic instructions,
as required by the generic pass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168916 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agorx: Move SELECT_CC_MODE to function.
rth [Mon, 17 Jan 2011 17:39:44 +0000 (17:39 +0000)]
rx: Move SELECT_CC_MODE to function.

Rewrite to look at comparison codes, not arithmetic codes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168915 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 17 Jan 2011 17:35:55 +0000 (17:35 +0000)]
2011-01-17  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
Implement DR 1198.
* include/bits/stl_stack.h (stack<>::swap): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168914 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * g++.old-deja/g++.other/init19.C: Don't XFAIL on mips-sgi-irix*.
ro [Mon, 17 Jan 2011 16:58:23 +0000 (16:58 +0000)]
* g++.old-deja/g++.other/init19.C: Don't XFAIL on mips-sgi-irix*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168911 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * except.c (dump_eh_tree): Fix stray ; after for statement.
rth [Mon, 17 Jan 2011 16:50:09 +0000 (16:50 +0000)]
    * except.c (dump_eh_tree): Fix stray ; after for statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168910 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Mon, 17 Jan 2011 15:12:55 +0000 (15:12 +0000)]
2011-01-17  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/guality/pr36728-1.c: Replace XFAIL for s390(x) with a
target check.
* gcc.dg/guality/pr36728-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168908 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-17 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 17 Jan 2011 14:48:35 +0000 (14:48 +0000)]
2011-01-17  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47313
* tree-inline.c (tree_function_versioning): Move DECL_RESULT
handling before copying the body.  Properly deal with
by-reference result in SSA form.

* g++.dg/torture/pr47313.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168907 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoNote PR.
ro [Mon, 17 Jan 2011 13:46:32 +0000 (13:46 +0000)]
Note PR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168902 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
ro [Mon, 17 Jan 2011 13:43:37 +0000 (13:43 +0000)]
* config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
(struct_value_alias_set): Don't define.
(sparc_option_override): Don't set sparc_sr_alias_set and
struct_value_alias_set.
(save_or_restore_regs): Use gen_frame_mem rather than calling
set_mem_alias_set.
(sparc_struct_value_rtx): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168901 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoCorrect mask operand for AVX mask load/store.
hjl [Mon, 17 Jan 2011 12:47:21 +0000 (12:47 +0000)]
Correct mask operand for AVX mask load/store.

gcc/

2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>

PR target/47318
* config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
__m128i.
(_mm_maskstore_pd): Likewise.
(_mm_maskload_ps): Likewise.
(_mm_maskstore_ps): Likewise.
(_mm256_maskload_pd): Change mask to __m256i.
(_mm256_maskstore_pd): Likewise.
(_mm256_maskload_ps): Likewise.
(_mm256_maskstore_ps): Likewise.

* config/i386/i386-builtin-types.def: Updated.
(ix86_expand_special_args_builtin): Likewise.

* config/i386/i386.c (bdesc_special_args): Update
__builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
__builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
__builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
__builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.

* config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
Use <avxpermvecmode> on mask register.
(avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.

gcc/testsuite/

2011-01-17  H.J. Lu  <hongjiu.lu@intel.com>

PR target/47318
* gcc.target/i386/avx-vmaskmovpd-1.c: New.
* gcc.target/i386/avx-vmaskmovpd-2.c: Likewise.
* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.
* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.

* gcc.target/i386/avx-vmaskmovpd-256-1.c (avx_test): Load mask
as __m256i.
* gcc.target/i386/avx-vmaskmovpd-256-2.c (avx_test): Likewise.
* gcc.target/i386/avx-vmaskmovps-256-1.c (avx_test): Likewise.
* gcc.target/i386/avx-vmaskmovps-256-2.c (avx_test): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168899 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/46655
ebotcazou [Mon, 17 Jan 2011 12:35:21 +0000 (12:35 +0000)]
PR target/46655
* xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
if <= USHRT_MAX in 32-bit mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168897 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-17 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 17 Jan 2011 11:50:47 +0000 (11:50 +0000)]
2011-01-17  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/45967
* gcc.dg/torture/pr45967-2.c: New testcase.
* gcc.dg/torture/pr45967-3.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168896 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-17 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 17 Jan 2011 09:14:41 +0000 (09:14 +0000)]
2011-01-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46817
        * quadmath-imp.h: Refer to libquadmath not ot libiberty,
        bump copyright year and use /**/ instead of // comments.
        * quadmath.h: Ditto.
        * quadmath-weak.h: Ditto.
        * quadmath_io.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168892 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agodoc: wrap long lines in install.texi.
rwild [Mon, 17 Jan 2011 06:38:47 +0000 (06:38 +0000)]
doc: wrap long lines in install.texi.

gcc/:
* doc/install.texi (Configuration, Specific): Wrap long
lines in examples.  Allow line wrapping in long options
and URLs where beneficial for PDF output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168889 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoPR47296 Segfault when running out of file descriptors
jb [Mon, 17 Jan 2011 05:48:10 +0000 (05:48 +0000)]
PR47296 Segfault when running out of file descriptors

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168888 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 17 Jan 2011 02:33:30 +0000 (02:33 +0000)]
2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/47323
* testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168887 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR testsuite/47325
danglin [Mon, 17 Jan 2011 00:35:30 +0000 (00:35 +0000)]
PR testsuite/47325
g++.dg/ext/pr47213.C: Require visibility.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168886 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Mon, 17 Jan 2011 00:18:27 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168885 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/testsuite/
rsandifo [Sun, 16 Jan 2011 22:02:04 +0000 (22:02 +0000)]
gcc/testsuite/
* gcc.dg/fixed-point/composite-type.c: Pass -Wno-unused.
* gcc.dg/fixed-point/struct-union.c: Update error messages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168876 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/testsuite/
rsandifo [Sun, 16 Jan 2011 21:55:03 +0000 (21:55 +0000)]
gcc/testsuite/
* gcc.c-torture/execute/20101011-1.c: Skip test for MIPS16
Linux-based targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168875 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/
rsandifo [Sun, 16 Jan 2011 21:52:37 +0000 (21:52 +0000)]
gcc/
* config/mips/mips.c (mips_classify_symbol): Don't return
SYMBOL_PC_RELATIVE for nonlocal labels.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168874 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 16 Jan 2011 20:55:30 +0000 (20:55 +0000)]
2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/47320
* testsuite/18_support/numeric_limits/lowest.cc:
Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168873 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libfortran/47322
jakub [Sun, 16 Jan 2011 20:48:24 +0000 (20:48 +0000)]
PR libfortran/47322
* math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168872 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 16 Jan 2011 20:42:57 +0000 (20:42 +0000)]
2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/47321
* testsuite/21_strings/basic_string/requirements/typedefs.cc:
Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168871 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.
gerald [Sun, 16 Jan 2011 19:38:04 +0000 (19:38 +0000)]
* configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168858 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-15 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 16 Jan 2011 17:14:48 +0000 (17:14 +0000)]
2011-01-15  Tobias Burnus  <burnus@net-b.de>

        * gfortran.texi: Update Fortran 2003 Status section.

        PR fortran/47177
        * invoke.texi: Add missing "-E" to the -dM example.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168857 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR fortran/46625
jakub [Sun, 16 Jan 2011 16:55:27 +0000 (16:55 +0000)]
PR fortran/46625
* quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
* quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
(strtoflt128, quadmath_flt128tostr): Add.
* gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
(strtoflt128): ... this.  Return __float128, instead of writing
to memory pointed by last argument.
* quadmath.h: Use C style comments instead of C++ style.
(quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
(strtoflt128, quadmath_flt128tostr): Add prototypes.
* libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
(quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
adjust examples.
* quadmath_io.c (quadmath_dtoaq): Rename to...
(quadmath_flt128tostr): ... this.
libgfortran/
* io/write_float.def (DTOAQ): Use quadmath_flt128tostr
instead of quadmath_dtoa.
* io/transfer128.c (tmp1, tmp2): New variables, bring in
strtoflt128 and quadmath_flt128tostr.
(transfer_real128, transfer_real128_write, transfer_complex128,
transfer_complex128_write): Remove tmp1/tmp2 variables.
* io/read.c (convert_real): Use strtoflt128 instead of
quadmath_strtopQ, adjust for the changed arguments and return
value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168856 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
jakub [Sun, 16 Jan 2011 16:48:59 +0000 (16:48 +0000)]
* quadmath.h (__quadmath_throw, __quadmath_nth): Define.
Use it for all prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168855 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR fortran/46416
jakub [Sun, 16 Jan 2011 16:44:35 +0000 (16:44 +0000)]
PR fortran/46416
* quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
const from prototype argument.
(cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
(__quadmath_extern_inline): Define.
(cimagq, conjq, crealq): New inlines.
* Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
* Makefile.in: Regenerated.
* quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
* quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
(ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
tests instead of __BIG_ENDIAN__.
* quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
and remquoq.
* libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
* math/cprojq.c: New file.
* math/ilogbq.c: New file.
* math/fminq.c: New file.
* math/llrintq.c: New file.
* math/log2q.c: New file.
* math/lrintq.c: New file.
* math/crealq.c: New file.
* math/nearbyintq.c: New file.
* math/fmaxq.c: New file.
* math/conjq.c: New file.
* math/remquoq.c: New file.
* math/cimagq.c: New file.
* math/fdimq.c: New file.

* math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168854 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR fortran/46416
jakub [Sun, 16 Jan 2011 16:42:37 +0000 (16:42 +0000)]
PR fortran/46416
* quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
New prototypes.
(M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
* quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
catanhq): Add.
* quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
* quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
catanq and catanhq.
* Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
and math/catanhq.c.
* Makefile.in: Regenerated.
* libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
catanq, catanhq): Add.
* math/cacoshq.c: New file.
* math/cacosq.c: New file.
* math/catanq.c: New file.
* math/catanhq.c: New file.
* math/casinq.c: New file.
* math/casinhq.c: New file.

* math/hypotq.c (hypotq): Use Q suffix instead of L.
* math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
* math/cosq.c (cosq): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168853 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR fortran/46402
jakub [Sun, 16 Jan 2011 16:40:05 +0000 (16:40 +0000)]
PR fortran/46402
* quadmath.map (QUADMATH_1.0): Add fmaq.
* configure.ac: Check for fenv.h, feholdexcept, fesetround,
feupdateenv, fesetenv and fetestexcept.
* configure: Regenerated.
* config.h.in: Regenerated.
* quadmath.h (fmaq): New prototype.
* quadmath_weak.h (fmaq): Add.
* Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
* Makefile.in: Regenerated.
* quadmath-imp.h: Include config.h.
* math/expq.c: Include fenv.h.
(USE_FENV_H): Define if libm support for fe* is there.
(expq): Add fesetround etc. support if USE_FENV_H is defined.
* math/fmaq.c: New file.
* libquadmath.texi (fmaq): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168852 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-16 Fran├žois Dumont <francois.cppdevs@free.fr>
fdumont [Sun, 16 Jan 2011 10:35:28 +0000 (10:35 +0000)]
2011-01-16  Fran├žois Dumont  <francois.cppdevs@free.fr>

        * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
        to this. Use _neg suffix.
        * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
        this.
        * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
        * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
        * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
        * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
        * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
        * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
        * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
        * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168850 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sun, 16 Jan 2011 00:18:19 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168849 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
ebotcazou [Sat, 15 Jan 2011 18:47:40 +0000 (18:47 +0000)]
* config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168845 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR tree-optimization/47276
hubicka [Sat, 15 Jan 2011 15:44:56 +0000 (15:44 +0000)]
PR tree-optimization/47276
* ipa.c (function_and_variable_visibility): Do not try to mark alias
declarations as needed.
* gcc.dg/pr47276.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168844 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-15 Giovanni Funchal <gafunchal@gmail.com>
redi [Sat, 15 Jan 2011 14:41:09 +0000 (14:41 +0000)]
2011-01-15  Giovanni Funchal  <gafunchal@gmail.com>
    Jonathan Wakely  <jwakely.gcc@gmail.com>

PR c++/33558
* decl.c (grokdeclarator): Reject mutable reference members.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168843 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 15 Jan 2011 06:42:30 +0000 (06:42 +0000)]
2011-01-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/47296
* io/unix.c (unpack_filename): Return non-zero if the filename passed
in is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168832 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 15 Jan 2011 00:27:10 +0000 (00:27 +0000)]
2011-01-14  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/36104
* include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
(install-stdHEADERS, install-bitsHEADERS): New.
* libsupc++/Makefile.in: Regenerate.

* include/bits/c++config: Update for inline namespaces.
* libsupc++/cxxabi-forced.h: To...
* libsupc++/cxxabi_forced.h: ...this.
* libsupc++/hash_bytes.h: Separate file.
* libsupc++/typeinfo: Use it.
* libsupc++/exception: Adjust for bits subdirectory.
* libsupc++/eh_aux_runtime.cc: Same.
* libsupc++/eh_ptr.cc: Same.
* libsupc++/new_op.cc: Same.
* libsupc++/exception_defines.h: Same.
* libsupc++/nested_exception.h: Same.
* libsupc++/eh_terminate.cc: Same.
* libsupc++/vec.cc: Same.
* libsupc++/vterminate.cc: Same.
* libsupc++/exception_ptr.h: Same.
* libsupc++/eh_personality.cc: Same.
* libsupc++/eh_call.cc: Same.
* libsupc++/new_opnt.cc: Same.
* libsupc++/hash_bytes.cc: Same.
* config/cpu/arm/cxxabi_tweaks.h: Same.
* config/cpu/generic/cxxabi_tweaks.h: Same.
* libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
* include/std/bitset: Same.
* include/ext/vstring.tcc: Same.
* include/bits/hashtable.h: Same.
* include/bits/functional_hash.h: Same.
* include/bits/hashtable_policy.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/istream.tcc: Same.
* include/bits/ostream.tcc: Same.
* include/bits/algorithmfwd.h: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/ostream_insert.h: Same.
* include/bits/fstream.tcc: Same.
* include/bits/functexcept.h: Same.

* doc/doxygen/user.cfg.in: Adjust names.

* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168831 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sat, 15 Jan 2011 00:18:50 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168830 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-15 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 14 Jan 2011 23:19:08 +0000 (23:19 +0000)]
2011-01-15  Martin Jambor  <mjambor@suse.cz>

* common.opt (fdevirtualize): New flag.
* doc/invoke.texi (Option Summary): Document it.
* opts.c (default_options_table): Add devirtualize flag.
* ipa-prop.c (detect_type_change): Return immediately if
devirtualize flag is not set.
(detect_type_change_ssa): Likewise.
(compute_known_type_jump_func): Likewise.
(ipa_analyze_virtual_call_uses): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168826 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 14 Jan 2011 23:00:59 +0000 (23:00 +0000)]
2011-01-14  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/45934
PR tree-optimization/46302
* ipa-prop.c (type_change_info): New type.
(stmt_may_be_vtbl_ptr_store): New function.
(check_stmt_for_type_change): Likewise.
(detect_type_change): Likewise.
(detect_type_change_ssa): Likewise.
(compute_complex_assign_jump_func): Check for dynamic type change.
(compute_complex_ancestor_jump_func): Likewise.
(compute_known_type_jump_func): Likewise.
(compute_scalar_jump_functions): Likewise.
(ipa_analyze_virtual_call_uses): Likewise.
(ipa_analyze_node): Push and pop cfun, set current_function_decl.

* testsuite/g++.dg/ipa/devirt-c-1.C: New test.
* testsuite/g++.dg/ipa/devirt-c-2.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-3.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-4.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-5.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-6.C: Likewise.
* testsuite/g++.dg/ipa/devirt-6.C: Likewise.
* testsuite/g++.dg/ipa/devirt-d-1.C: Likewise.
* testsuite/g++.dg/torture/pr45934.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168825 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR 19162
mrs [Fri, 14 Jan 2011 21:50:11 +0000 (21:50 +0000)]
PR 19162
* objc-act.c (generate_struct_by_value_array): Do not output a
definition for struct_forward_array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168824 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Ben Elliston <bje@au.ibm.com>
mrs [Fri, 14 Jan 2011 21:38:17 +0000 (21:38 +0000)]
2011-01-14  Ben Elliston  <bje@au.ibm.com>

* objc-act.c (generate_struct_by_value_array): Do not output a
definition for struct_forward_array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168823 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/47289
jason [Fri, 14 Jan 2011 21:26:47 +0000 (21:26 +0000)]
PR c++/47289
* pt.c (coerce_template_parms): Fix error recovery.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168822 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
jsm28 [Fri, 14 Jan 2011 21:03:22 +0000 (21:03 +0000)]
* config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
* config/i386/i386.opt (msse5): New Alias.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168821 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
jsm28 [Fri, 14 Jan 2011 21:02:06 +0000 (21:02 +0000)]
* config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
* config/sparc/linux64.h (CC1_SPEC): Likewise.
* config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
* config/sparc/sparc.h (CC1_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168820 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
jsm28 [Fri, 14 Jan 2011 21:01:18 +0000 (21:01 +0000)]
* config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
-mcpu options.
* config/sparc/linux64.h (CC1_SPEC): Likewise.
* config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
* config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
* config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
Likewise.
* config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168819 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
jsm28 [Fri, 14 Jan 2011 20:59:52 +0000 (20:59 +0000)]
* config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
-fvec-eabi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168818 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
mrs [Fri, 14 Jan 2011 19:37:16 +0000 (19:37 +0000)]
* config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
* config/fr30/fr30.md: Likweise
(movsi_push): Likewise.
(movsi_pop): Likewise.
(enter_func): Likewise.
* config/moxie/moxie.md (movsi_push): Likewise.
(movsi_pop): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168817 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agolibgo: Check whether we need -lrt for sched_yield.
ian [Fri, 14 Jan 2011 19:18:38 +0000 (19:18 +0000)]
libgo: Check whether we need -lrt for sched_yield.

From Rainer Orth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168816 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agolibgo: Use $(SHELL) to invoke gotest.
ian [Fri, 14 Jan 2011 19:13:24 +0000 (19:13 +0000)]
libgo: Use $(SHELL) to invoke gotest.

From Rainer Orth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168815 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agolibgo/syscalls: Finish Solaris code.
ian [Fri, 14 Jan 2011 19:10:02 +0000 (19:10 +0000)]
libgo/syscalls: Finish Solaris code.

Mostly from Rainer Orth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168814 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
jsm28 [Fri, 14 Jan 2011 18:56:52 +0000 (18:56 +0000)]
* config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
%{no_archive} %{exact_version}.
* config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
* config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
%{no_archive} %{exact_version}.
* config/mips/openbsd.h (LINK_SPEC): Likewise.
* config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
* config/mips/vxworks.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168813 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/microblaze/microblaze.h (ASM_SPEC): Remove
jsm28 [Fri, 14 Jan 2011 18:55:27 +0000 (18:55 +0000)]
* config/microblaze/microblaze.h (ASM_SPEC): Remove
%{microblaze1}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168812 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
jsm28 [Fri, 14 Jan 2011 18:54:16 +0000 (18:54 +0000)]
* config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168810 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
jsm28 [Fri, 14 Jan 2011 18:53:16 +0000 (18:53 +0000)]
* config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
-nodefaultlib.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168809 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
jsm28 [Fri, 14 Jan 2011 18:51:46 +0000 (18:51 +0000)]
* config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
for mcpu not cpu.
* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
not cpu.
(CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
Don't handle -shlib.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168808 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
jsm28 [Fri, 14 Jan 2011 18:47:52 +0000 (18:47 +0000)]
* config/avr/avr.h (CPP_SPEC): Don't handle -posix.
(CC1_SPEC): Don't handle -profile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168807 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-08 Dominique d'Humieres <dominiq@lps.ens.fr>
ro [Fri, 14 Jan 2011 18:47:50 +0000 (18:47 +0000)]
2011-01-08  Dominique d'Humieres  <dominiq@lps.ens.fr>
    Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR objc/45989
* objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c
(switchfiles): XFAIL
objc.dg-struct-layout-encoding-1/t02[57-9]_main.m execution tests
on i?86-*-*, x86_64-*-*, and powerpc*-apple-darwin* && ilp32.
XFAIL objc.dg-struct-layout-encoding-1/t03[01]_main.m execution
tests on i?86-*-* and x86_64-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168806 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
jsm28 [Fri, 14 Jan 2011 18:47:00 +0000 (18:47 +0000)]
* config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
* config/mips/mips.h (CC1_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168805 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agolibgo/Makefile.am: Correct typos in Solaris support.
ian [Fri, 14 Jan 2011 18:46:42 +0000 (18:46 +0000)]
libgo/Makefile.am: Correct typos in Solaris support.

From Rainer Orth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168804 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
jsm28 [Fri, 14 Jan 2011 18:46:24 +0000 (18:46 +0000)]
* config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
* config/mips/mips.h (CC1_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168803 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
jsm28 [Fri, 14 Jan 2011 18:45:06 +0000 (18:45 +0000)]
* config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
* config/m32r/linux.h (LINK_SPEC): Likewise.
* config/mips/linux.h (LINK_SPEC): Likewise.
* config/mips/linux64.h (LINK_SPEC): Likewise.
* config/sparc/linux.h (LINK_SPEC): Likewise.
* config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
LINK_SPEC): Likewise.
* config/xtensa/linux.h (LINK_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168802 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
jsm28 [Fri, 14 Jan 2011 18:42:32 +0000 (18:42 +0000)]
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
%{version:-v}.
* config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168801 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agomksysinfo: Define _pad128_t and _upad128_t if commented out.
ian [Fri, 14 Jan 2011 18:41:31 +0000 (18:41 +0000)]
mksysinfo: Define _pad128_t and _upad128_t if commented out.

From Rainer Orth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168800 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
jsm28 [Fri, 14 Jan 2011 18:41:05 +0000 (18:41 +0000)]
* config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168799 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
jsm28 [Fri, 14 Jan 2011 18:39:49 +0000 (18:39 +0000)]
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168798 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix indentation.
mrs [Fri, 14 Jan 2011 18:11:27 +0000 (18:11 +0000)]
Fix indentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168797 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 14 Jan 2011 17:17:32 +0000 (17:17 +0000)]
2011-01-14  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/25_algorithms/is_permutation/check_type.cc: Minor
tweaks.
* testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168796 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
ro [Fri, 14 Jan 2011 17:00:24 +0000 (17:00 +0000)]
* configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
supports -Bstatic/-Bdynamic.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168795 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Jan Hubicka <jh@suse.cz>
rguenth [Fri, 14 Jan 2011 15:42:09 +0000 (15:42 +0000)]
2011-01-14  Jan Hubicka  <jh@suse.cz>
            Jack Howarth <howarth@bromo.med.uc.edu>

PR target/46037
* config/darwin.c (darwin_override_options): Honor flag_gtoggle
when checking debug_info_level. Test write_symbols instead of
debug_hooks->var_location when setting flag_var_tracking_uninit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168793 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 14 Jan 2011 15:02:20 +0000 (15:02 +0000)]
2011-01-14  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47179
* target.def (ref_may_alias_errno): New target hook.
* targhooks.h (default_ref_may_alias_errno): Declare.
* targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
(default_ref_may_alias_errno): New function.
* target.h (struct ao_ref_s): Declare.
* tree-ssa-alias.c: Include target.h.
(call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
* Makefile.in (tree-ssa-alias.o): Adjust dependencies.
(targhooks.o): Likewise.
* doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
* doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168788 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 14 Jan 2011 14:58:01 +0000 (14:58 +0000)]
2011-01-14  Richard Guenther  <rguenther@suse.de>

* tree-ssa-structalias.c  (new_var_info): Use DECL_HARD_REGISTER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168787 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix formatting issues
ebotcazou [Fri, 14 Jan 2011 14:52:44 +0000 (14:52 +0000)]
Fix formatting issues

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168786 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 14 Jan 2011 13:20:22 +0000 (13:20 +0000)]
2011-01-14  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47280
* tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
return CFG changes.
(tree_ssa_forward_propagate_single_use_vars): Deal with
CFG changes from associate_plusminus.

* g++.dg/opt/pr47280.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168784 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/46903
jason [Fri, 14 Jan 2011 13:08:11 +0000 (13:08 +0000)]
PR c++/46903
* typeck2.c (check_narrowing): Only check arithmetic types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168783 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/46688
jason [Fri, 14 Jan 2011 13:08:02 +0000 (13:08 +0000)]
PR c++/46688
* tree.c (build_vec_init_expr): Handle flexible array
properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168782 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2011-01-14 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 14 Jan 2011 12:39:09 +0000 (12:39 +0000)]
2011-01-14  Richard Guenther  <rguenther@suse.de>

PR middle-end/47281
Revert
2011-01-11  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/46076
        * tree-ssa.c (useless_type_conversion_p): Conversions from
        unprototyped to empty argument list function types are useless.

* gcc.dg/torture/pr47281.c: New testcase.
* gcc.dg/tree-ssa/pr46076.c: XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168781 138bc75d-0d04-0410-961f-82ee72b054a4