Steven Bosscher [Tue, 21 Dec 2010 15:02:02 +0000 (15:02 +0000)]
re PR middle-end/45310 (ICE: verify_stmts failed: Dead STMT in EH table with -O1 -fnon-call-exceptions)
gcc/
PR middle-end/45310
* tree-ssa-phiprop.c (propagate_with_phi): Remove statement
completely from the function, including EH traces.
testsuite/
PR middle-end/45310
* g++.dg/pr45310.C: New test.
From-SVN: r168120
Nicola Pero [Tue, 21 Dec 2010 14:56:18 +0000 (14:56 +0000)]
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-private/common.h: When DEBUG is defined, include <stdio.h>.
Updated comments.
* init.c (__objc_tree_insert_class): Use %p, not %x, when printing
a pointer using DEBUG_PRINTF.
From-SVN: r168119
Steven Bosscher [Tue, 21 Dec 2010 14:55:41 +0000 (14:55 +0000)]
re PR rtl-optimization/46755 (ICE: in calc_dfs_tree, at dominance.c:395 with -O)
gcc/
PR rtl-optimization/46755
* ira.c (ira): If some dead edges were removed, find and delete
any blocks that might have become unreachable.
testsuite/
PR rtl-optimization/46755
* gfortran.dg/pr46755.f: New test
From-SVN: r168118
Jakub Jelinek [Tue, 21 Dec 2010 14:51:42 +0000 (15:51 +0100)]
re PR rtl-optimization/47008 (gfortran.dg/extends_{23}.f03 FAIL with -Os -fschedule-insns)
PR rtl-optimization/47008
* postreload.c (reload_combine_note_store): Also handle
PRE_MODIFY and POST_MODIFY.
* gfortran.dg/pr47008.f03: New test.
From-SVN: r168117
Nicola Pero [Tue, 21 Dec 2010 13:44:04 +0000 (13:44 +0000)]
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
PR libobjc/45953
* selector.c (__sel_register_typed_name): When registering a new
selector with the same name as an existing one, reuse the existing
name string. Also updated types, casts and comments in the whole
function.
In gcc/testsuite/:
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
PR libobjc/45953
* objc.dg/libobjc-selector-1.m: New test.
From-SVN: r168115
Ulrich Weigand [Tue, 21 Dec 2010 13:30:08 +0000 (13:30 +0000)]
arm.c (require_pic_register): Set INSN_LOCATOR for all instructions injected into the prologue to...
* config/arm/arm.c (require_pic_register): Set INSN_LOCATOR for all
instructions injected into the prologue to prologue_locator.
From-SVN: r168114
Nicola Pero [Tue, 21 Dec 2010 12:49:26 +0000 (12:49 +0000)]
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
to be 'struct objc_selector *' and not 'SEL'.
* init.c (__objc_exec_class): Call
__objc_register_selectors_from_module instead of iterating over
each selector and calling __sel_register_typed_name for each.
* objc-private/selector.h: Declare
__objc_register_selectors_from_module instead of
__sel_register_typed_name.
* selector.c (__objc_register_selectors_from_module): New.
(__sel_register_typed_name): Made static.
From-SVN: r168113
Nicola Pero [Tue, 21 Dec 2010 11:58:48 +0000 (11:58 +0000)]
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
* linking.m: Do not include objc/NXConstStr.h.
From-SVN: r168112
Nicola Pero [Tue, 21 Dec 2010 11:50:14 +0000 (11:50 +0000)]
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
* objc-private/common.h (DEBUG_PRINTF): To here.
* hash.c: Do not include objc-private/runtime.h and objc/thr.h.
From-SVN: r168111
Nicola Pero [Tue, 21 Dec 2010 11:24:27 +0000 (11:24 +0000)]
In libobjc/: 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
* hash.c: Tidied up comments and indentation. No code changes.
From-SVN: r168110
Jan Hubicka [Tue, 21 Dec 2010 10:30:33 +0000 (11:30 +0100)]
re PR target/47000 (Failure to inline SSE intrinsics)
PR middle-end/47000
* tree-inline.c (estimate_operator_cost): Handle VIEW_CONVERT_EXPR.
From-SVN: r168108
Jie Zhang [Tue, 21 Dec 2010 09:18:49 +0000 (09:18 +0000)]
* config/arm/arm-ldmstm.ml: Fix a typo in comment.
From-SVN: r168106
Jakub Jelinek [Tue, 21 Dec 2010 08:35:16 +0000 (09:35 +0100)]
re PR middle-end/45852 (volatile structs are broken!)
PR middle-end/45852
* expr.c (store_expr): Ignore alt_rtl if equal to target,
but has side-effects.
* gcc.target/i386/pr45852.c: New test.
From-SVN: r168105
Anatoly Sokolov [Tue, 21 Dec 2010 08:05:57 +0000 (11:05 +0300)]
sh.h (PREFERRED_RELOAD_CLASS): Remove.
* config/sh/sh.h (PREFERRED_RELOAD_CLASS): Remove.
* config/sh/sh-protos.h (secondary_reload_info, sh_secondary_reload):
Remove forward declaration.
* config/sh/sh.c (sh_preferred_reload_class): New function.
(sh_secondary_reload): Make static.
(TARGET_PREFERRED_RELOAD_CLASS): Define.
From-SVN: r168104
Ian Lance Taylor [Tue, 21 Dec 2010 06:13:14 +0000 (06:13 +0000)]
Don't crash on invalid return statement.
From-SVN: r168102
GCC Administrator [Tue, 21 Dec 2010 00:17:56 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r168101
Tobias Burnus [Mon, 20 Dec 2010 21:43:58 +0000 (22:43 +0100)]
re PR fortran/46974 (ICE with TRANSFER using a C_PTR entity)
2010-12-20 Tobias Burnus <burnus@net-b.de>
PR fortran/46974
* gfortran.dg/c_ptr_tests_16.f90: Fix endian issue.
From-SVN: r168095
Joseph Myers [Mon, 20 Dec 2010 20:09:24 +0000 (20:09 +0000)]
linux.h (OPTION_GLIBC): Define differently if SINGLE_LIBC.
* config/alpha/linux.h (OPTION_GLIBC): Define differently if
SINGLE_LIBC.
* config/linux.h (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC):
Define differently if SINGLE_LIBC.
* config/rs6000/linux.h (OPTION_GLIBC): Define differently if
SINGLE_LIBC.
* config/rs6000/linux64.h (OPTION_GLIBC): Define differently if
SINGLE_LIBC.
* config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu |
*-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu): Define
SINGLE_LIBC instead of OPTION_GLIBC.
(*-*-uclinux*): Define DEFAULT_LIBC and SINGLE_LIBC.
(bfin*-uclinux*, moxie-*-uclinux*, m68k-*-uclinux*): Don't define
DEFAULT_LIBC or use linux.opt.
From-SVN: r168094
Richard Henderson [Mon, 20 Dec 2010 19:11:12 +0000 (11:11 -0800)]
mn10300: Cleanup PIC unspec generation
* config/mn10300/mn10300.c (mn10300_legitimize_pic_address): Generate
UNSPEC patterns by hand, with the proper mode; use gen_const_mem.
* config/mn10300/mn10300.md (call, call_value): Generate UNSPEC_PLT
by hand, with the proper mode.
(symGOT2reg, symGOT2reg_i, symGOTOFF2reg): Remove.
(symGOTOFF2reg_i, sym2PIC, sym2PLT): Remove.
From-SVN: r168093
Sanjin Liu [Mon, 20 Dec 2010 17:48:51 +0000 (17:48 +0000)]
arm-cores.def: Add Faraday CPU support - fa526/fa626/fa606te/fa626te/fmp626/fa726te.
2010-12-20 Sanjin Liu <scliu@faraday-tech.com>
Mingfeng Wu <mingfeng@faraday-tech.com>
* config/arm/arm-cores.def: Add Faraday CPU support -
fa526/fa626/fa606te/fa626te/fmp626/fa726te.
* config/arm/arm-tune.md: Regenerate.
* config/arm/arm.c (arm_fa726te_tune): New tune_params for fa726te
(fa726te_sched_adjust_cost): New cost function for fa726te.
(arm_issue_rate): Add fa726te.
* config/arm/arm.md (generic_sched): Add Faraday cores to generic_sched
and include machine description files.
* config/arm/bpabi.h (TARGET_FIX_V4BX_SPEC): Add fa526 and fa626.
* config/arm/t-arm (MD_INCLUDES): Include machine description files for
Faraday cores.
* config/arm/t-arm-elf: Add multilib option for Faraday cores.
* config/arm/t-linux-eabi: Add multilib option for Faraday cores except
fa526 and fa626.
* doc/invoke.texi: Document -mcpu for Faraday cores.
* config/arm/fa526.md: New file.
* config/arm/fa606te.md: New file.
* config/arm/fa626te.md: New file.
* config/arm/fmp626.md: New file.
* config/arm/fa726te.md: New file.
Co-Authored-By: Mingfeng Wu <mingfeng@faraday-tech.com>
From-SVN: r168090
Ralf Wildenhues [Mon, 20 Dec 2010 17:32:06 +0000 (17:32 +0000)]
re PR bootstrap/47027 (a-stwiun.ads:441:80: (style) this line is too long)
Fix PR bootstrap/47027.
gcc/ada/:
PR bootstrap/47027
* a-stwiun-shared.ads: Rewrap overlong comment line.
From-SVN: r168089
Yvan Roux [Mon, 20 Dec 2010 17:16:38 +0000 (17:16 +0000)]
lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix condition on IT instruction for early termination.
2010-12-20 Yvan Roux <yvan.roux@st.com>
* config/arm/lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix
condition on IT instruction for early termination.
From-SVN: r168088
Dave Korn [Mon, 20 Dec 2010 17:03:10 +0000 (17:03 +0000)]
Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
* Makefile.am (AM_LIBTOOLFLAGS): Define, adding disable-static tag.
* Makefile.in: Regenerate.
From-SVN: r168087
Joseph Myers [Mon, 20 Dec 2010 15:29:31 +0000 (15:29 +0000)]
freebsd.h (SVR4_ASM_SPEC): Don't define.
* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define.
(DBX_REGISTER_NUMBER): Define.
* config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Define.
* config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Define.
* config/rs6000/sysv4.h (SIZE_TYPE): Define.
(ASM_SPEC): Define without using SVR4_ASM_SPEC.
(DBX_REGISTER_NUMBER): Undefine.
* config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
powerpc-*-eabisim*, powerpc-*-elf*, powerpc-*-eabialtivec*,
powerpc-xilinx-eabi*, powerpc-*-eabi*, powerpc-*-rtems*,
powerpc-*-linux* | powerpc64-*-linux*, powerpc64-*-gnu*,
powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
powerpc-wrs-vxworks|powerpc-wrs-vxworksae, powerpcle-*-elf*,
powerpcle-*-eabisim*, powerpcle-*-eabi*): Don't use svr4.h.
From-SVN: r168085
Iain Sandoe [Mon, 20 Dec 2010 10:14:36 +0000 (10:14 +0000)]
re PR middle-end/46916 (gcc.dg/torture/stackalign/non-local-goto-[1,2].c ICEs compiler due to r167727)
PR middle-end/46916
* opts.c (finish_options): Enable -freorder-functions
when -freorder-blocks-and-partition is active.
Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r168084
Iain Sandoe [Mon, 20 Dec 2010 10:01:02 +0000 (10:01 +0000)]
re PR c++/46904 (g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9)
PR c++/46904
PR middle-end/46916
PR target/46950
* config/darwin.c (generating_for_darwin_version): New var.
(darwin_text_section): Remove.
(darwin_rodata_section): Do not check function section here.
(darwin_emit_unwind_label): Do not emit for Darwin >= 9.
Emit distinct labels for successive calls for the same decl.
(darwin_override_options): Set generating_for_darwin_version.
Add FIXME and disable -freorder-blocks-and-partition.
Suppress automatic asynchronous unwind tables for m32.
Switch off -freorder-blocks-and-partition when unwind tables
will be generated. Update to use generating_for_darwin_version.
(darwin_function_section): Check for cases that need to be placed
in coalesced sections.
* config/darwin-sections.def: Define hot, cold, startup and exit sections
for both coalesced and regular code.
* config/darwin.h (USE_SELECT_SECTION_FOR_FUNCTIONS): Delete.
* config/darwin10.h (TARGET_ASM_EMIT_UNWIND_LABEL): Delete.
From-SVN: r168083
Ralf Wildenhues [Mon, 20 Dec 2010 07:26:57 +0000 (07:26 +0000)]
Fix typos in gcc/ada.
gcc/ada/:
* projects.texi: Fix typos.
* gnat_rm.texi: Likewise.
* gnat_ugn.texi: Likewise.
* sem_util.adb: Fix typo in variable, typos in comments.
* a-btgbso.adb: Fix typos in comments.
* a-cbdlli.adb, a-cbhase.ads, a-cdlili.adb, a-cobove.adb,
a-coinve.adb, a-convec.adb, a-direct.ads, a-strunb-shared.adb,
a-strunb-shared.ads, a-stuten.ads, a-stwiun-shared.adb,
a-stwiun-shared.ads, a-stzunb-shared.adb, a-stzunb-shared.ads,
a-suenco.adb, a-suenst.adb, a-suewst.adb, a-suezst.adb, ali.ads,
aspects.ads, atree.ads, binde.adb, bindgen.adb, checks.adb,
checks.ads, einfo.ads, err_vars.ads, errout.adb, errout.ads,
exp_aggr.adb, exp_attr.adb, exp_cg.adb, exp_ch3.adb,
exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb,
exp_dbug.ads, exp_disp.adb, exp_fixd.ads, freeze.adb,
g-altive.ads, g-comlin.ads, g-excact.ads, g-mbdira.adb,
g-sechas.ads, g-sehash.ads, g-sha1.ads, g-sha224.ads,
g-sha256.ads, g-sha384.ads, g-sha512.ads, g-shsh32.ads,
g-shsh64.ads, g-socket.adb, g-socket.ads, g-sothco.ads,
gcc-interface/decl.c, gcc-interface/trans.c,
gcc-interface/utils2.c, gnat1drv.adb, init.c, inline.adb,
link.c, locales.c, make.adb, mingw32.h, namet.ads, osint.adb,
par-ch12.adb, par-ch13.adb, par-ch3.adb, par-ch4.adb,
par-prag.adb, par.adb, par_sco.adb, prepcomp.adb,
prj-conf.ads, prj-dect.adb, prj-env.adb, prj-env.ads,
prj-nmsc.adb, prj-tree.ads, prj-util.ads, prj.adb, prj.ads,
s-auxdec-vms-alpha.adb, s-auxdec-vms_64.ads, s-oscons-tmplt.c,
s-osinte-vxworks.ads, s-osprim-mingw.adb, s-regexp.adb,
s-stusta.adb, s-taprop-mingw.adb, s-taprop-solaris.adb,
scn.adb, scos.ads, sem.adb, sem_aggr.adb, sem_attr.adb,
sem_aux.adb, sem_aux.ads, sem_ch12.adb, sem_ch12.ads,
sem_ch13.adb, sem_ch13.ads, sem_ch3.adb, sem_ch4.adb,
sem_ch6.adb, sem_ch7.adb, sem_ch8.adb, sem_disp.adb,
sem_disp.ads, sem_eval.adb, sem_intr.adb, sem_prag.adb,
sem_res.adb, sem_scil.adb, sem_util.ads, sem_warn.adb,
sem_warn.ads, sinfo.ads, socket.c, styleg.adb, switch.ads,
sysdep.c, tb-alvxw.c, xoscons.adb: Likewise.
From-SVN: r168082
Ralf Wildenhues [Mon, 20 Dec 2010 07:26:12 +0000 (07:26 +0000)]
doc: @var fixes.
gcc/:
* doc/cppopts.texi: Use @var when appropriate.
* doc/extend.texi (Structure-Packing Pragmas): Likewise.
* doc/gimple.texi (Logical Operators)
(Adding a new GIMPLE statement code): Likewise.
* doc/invoke.texi (Target Options, Precompiled Headers):
Likewise.
* doc/plugins.texi (Plugins): Likewise.
From-SVN: r168081
Ralf Wildenhues [Mon, 20 Dec 2010 07:25:51 +0000 (07:25 +0000)]
doc: avoid leading whitespace in @smallexample install.texi.
gcc/:
* doc/install.texi (Configuration, Building, Testing, Specific):
Remove leading whitespace from examples.
From-SVN: r168080
GCC Administrator [Mon, 20 Dec 2010 00:18:28 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168079
Joseph Myers [Sun, 19 Dec 2010 20:38:43 +0000 (20:38 +0000)]
be.po, [...]: Update.
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
Update.
From-SVN: r168074
Joseph Myers [Sun, 19 Dec 2010 20:34:44 +0000 (20:34 +0000)]
be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po,
ja.po, nl.po, sv.po, tr.po, uk,po, vi.po, zh_CN.po, zh_TW.po:
Update.
From-SVN: r168073
Andi Kleen [Sun, 19 Dec 2010 19:36:25 +0000 (19:36 +0000)]
Fix -fno-lto (PR lto/46905)
gcc/
2010-12-19 Andi Kleen <ak@linux.intel.com>
PR lto/46905
* collect2.c (main): Handle -fno-lto.
* opts.c (common_handle_option): Handle -fno-lto.
From-SVN: r168071
Nicola Pero [Sun, 19 Dec 2010 19:10:26 +0000 (19:10 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
PR libobjc/47012
* accessors.m (objc_getProperty): If not atomic, do not
retain/autorelease the returned value. (Problem reported by
From-SVN: r168070
Tobias Burnus [Sun, 19 Dec 2010 19:01:38 +0000 (20:01 +0100)]
re PR fortran/46520 (libquadmath: fails at link test on bare irons)
2010-12-19 Tobias Burnus <burnus@net-b.de>
PR fortran/46520
* configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
* configure: Regenerate
From-SVN: r168069
Eric Botcazou [Sun, 19 Dec 2010 18:18:45 +0000 (18:18 +0000)]
Fix long lines
From-SVN: r168068
Nicola Pero [Sun, 19 Dec 2010 18:13:28 +0000 (18:13 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-private/runtime.h (__objc_selector_max_index,
__objc_init_selector_tables, __objc_register_selectors_from_class,
__objc_register_selectors_from_list,
__objc_register_selectors_from_description_list): Moved to ...
* objc-private/selector.h: ... here.
From-SVN: r168067
Nicola Pero [Sun, 19 Dec 2010 18:01:47 +0000 (18:01 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-private/runtime.h (__objc_class_links_resolved): Removed.
(__objc_print_dtable_stats): Removed.
(__sel_register_typed_name): Removed.
* sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
From-SVN: r168066
Nicola Pero [Sun, 19 Dec 2010 17:30:30 +0000 (17:30 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c (__objc_exec_class): Call __objc_resolve_class_links (),
if appropriate, after loading the module.
From-SVN: r168065
Nicola Pero [Sun, 19 Dec 2010 16:20:30 +0000 (16:20 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* sendmsg.c (method_setImplementation): Do not declare.
From-SVN: r168064
John David Anglin [Sun, 19 Dec 2010 16:20:25 +0000 (16:20 +0000)]
re PR libstdc++/46869 (FAIL: 20_util/enable_shared_from_this/cons/constexpr.cc scan-assembler-not _ZNSt23enable_shared_from_thisIiEC2Ev)
2010-12-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR libstdc++/46869
* testsuite/20_util/enable_shared_from_this/cons/constexpr.cc:
Compile with -g0.
* testsuite/20_util/shared_ptr/cons/constexpr.cc: Likewise.
* testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
* testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
From-SVN: r168063
Nicola Pero [Sun, 19 Dec 2010 16:04:55 +0000 (16:04 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/message.h: Updated comments.
* objc/runtime.h: Updated comments.
From-SVN: r168062
Paolo Carlini [Sun, 19 Dec 2010 15:53:44 +0000 (15:53 +0000)]
basic_string.h (operator+(basic_string<>&&, basic_string<>&&)): Optimize better.
2010-12-19 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/basic_string.h (operator+(basic_string<>&&,
basic_string<>&&)): Optimize better.
* include/ext/vstring.h (operator+(__versa_string<>&&,
__versa_string<>&)): Likewise.
From-SVN: r168061
John David Anglin [Sun, 19 Dec 2010 15:51:22 +0000 (15:51 +0000)]
re PR testsuite/45342 (FAIL: gcc.dg/tls/thr-cse-1.c scan-assembler-not emutls_get_address.*emutls_get_address.*)
PR testsuite/45342
* gcc.dg/tls/thr-cse-1.c: Fix match on hppa*-*-hpux*.
From-SVN: r168060
Nicola Pero [Sun, 19 Dec 2010 15:13:54 +0000 (15:13 +0000)]
In gcc/testsuite/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/testsuite/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/gnu-api-2-objc.m: Fixed test to test objc_lookUpClass,
not objc_lookupClass.
* obj-c++.dg/gnu-api-2-objc.mm: Same change.
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* class.c (objc_lookupClass): Renamed to objc_lookUpClass.
* protocols.c: Updated all calls to objc_lookupClass to call
objc_lookUpClass instead.
* sendmsg.c (objc_lookupClass): Do not declare.
(get_imp): Update call to objc_lookupClass to call
objc_lookUpClass instead.
* objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
From-SVN: r168059
Nicola Pero [Sun, 19 Dec 2010 14:56:14 +0000 (14:56 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/runtime.h (class_ivar_set_gcinvisible): Declare.
* sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
define. Updated comments.
From-SVN: r168058
Joseph Myers [Sun, 19 Dec 2010 14:10:17 +0000 (14:10 +0000)]
* sv.po: Update.
From-SVN: r168055
Joseph Myers [Sun, 19 Dec 2010 14:09:07 +0000 (14:09 +0000)]
* ja.po: Update.
From-SVN: r168054
Joseph Myers [Sun, 19 Dec 2010 14:08:10 +0000 (14:08 +0000)]
* ja.po: Update.
From-SVN: r168053
Nicola Pero [Sun, 19 Dec 2010 14:00:10 +0000 (14:00 +0000)]
In gcc/testsuite/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/testsuite/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/gnu-api-2-objc_msg_lookup.m: New.
* obj-c++.dg/gnu-api-2-objc_msg_lookup.mm: New.
From-SVN: r168052
Nicola Pero [Sun, 19 Dec 2010 13:40:16 +0000 (13:40 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/encoding.h: Updated comments.
* objc/runtime.h: Updated comments.
(objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
(objc_sizeof_type): Same.
(objc_alignof_type): Same.
(objc_aligned_size): Same.
(objc_promoted_size): Same.
(objc_skip_type_qualifiers): Same.
(objc_skip_typespec): Same.
(objc_skip_offset): Same.
(objc_skip_argspec): Same.
(objc_get_type_qualifiers): Same.
(objc_layout_structure): Same.
(objc_layout_structure_next_member): Same.
(objc_layout_finish_structure): Same.
(objc_layout_structure_get_info): Same.
From-SVN: r168051
Eric Botcazou [Sun, 19 Dec 2010 12:19:12 +0000 (12:19 +0000)]
re PR target/46729 (32-bit 30_threads execution tests fail on Solaris 10/SPARC with Sun as)
PR target/46729
* config/sparc/sparc.h (GLOBAL_OFFSET_TABLE_REGNUM): New macro.
(PIC_OFFSET_TABLE_REGNUM): Rewrite in terms of above macro.
* config/sparc/sparc.c (pic_helper_needed): Delete.
(global_offset_table): Likewise.
(pic_helper_symbol): Rename to...
(got_helper_rtx): ...this.
(global_offset_table_rtx): New global variable.
(sparc_got_symbol): Likewise.
(sparc_got): New static function.
(check_pic): Use local variable and call sparc_got.
(sparc_tls_symbol): Initialize to NULL_RTX.
(sparc_tls_got): In non-PIC mode, reload the GOT register for Sun TLS
and 32-bit ABI and copy the GOT symbol to a new register otherwise.
(get_pc_thunk_name): Rename local variable.
(gen_load_pcrel_sym): New wrapper around load_pcrel_sym{si,di}.
(load_pic_register): Rename to...
(load_got_register): ...this. Adjust and call gen_load_pcrel_sym.
(sparc_expand_prologue): Do not test flag_pic.
(sparc_output_mi_thunk): Use pic_offset_table_rtx directly.
(sparc_file_end): Test got_helper_rtx instead of pic_helper_needed.
Rename local variable and do not call get_pc_thunk_name again.
* config/sparc/sparc.md (load_pcrel_sym): Add operand #3.
From-SVN: r168049
Paolo Carlini [Sun, 19 Dec 2010 12:15:47 +0000 (12:15 +0000)]
4.cc: New.
2010-12-19 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/21_strings/basic_string/operators/char/4.cc: New.
* testsuite/21_strings/basic_string/operators/wchar_t/4.cc: Likewise.
* testsuite/ext/vstring/operators/2.cc: Likewise.
From-SVN: r168048
Dave Korn [Sun, 19 Dec 2010 11:14:19 +0000 (11:14 +0000)]
re PR middle-end/46674 (Weak alias is mistakenly optimized away)
PR middle-end/46674
PR middle-end/46221
* varasm.c (symbol_alias_set_t): New typedef for derived pointer_set
wrapper class.
(symbol_alias_set_create): New wrapper function.
(symbol_alias_set_destroy): Likewise.
(symbol_alias_set_contains): Likewise.
(symbol_alias_set_insert): Likewise.
(compute_visible_aliases): Use the above and return symbol_alias_set_t,
not a pointer_set.
(remove_unreachable_alias_pairs): Adjust likewise to match.
(finish_aliases_1): Likewise.
From-SVN: r168047
Benjamin Kosnik [Sun, 19 Dec 2010 09:21:16 +0000 (09:21 +0000)]
*: Use headername alias to associate private includes to public includes.
2010-11-18 Benjamin Kosnik <bkoz@redhat.com>
* config/*/*: Use headername alias to associate private includes
to public includes.
* include/*/*: Same.
* scripts/run_doxygen: Update for doxygen 1.7.2.
* doc/doxygen/user.cfg.in: Same.
* doc/doxygen/TODO: Remove.
* testsuite/*/std_c++0x_neg.cc: Adjust line number.
From-SVN: r168046
Chung-Lin Tang [Sun, 19 Dec 2010 09:04:41 +0000 (09:04 +0000)]
arm.c (arm_legitimate_index_p): Add VFP load/store index range case.
2010-12-19 Chung-Lin Tang <cltang@codesourcery.com>
gcc/
* config/arm/arm.c (arm_legitimate_index_p): Add VFP load/store
index range case. Change to SF/DFmode tests to avoid capturing HFmode.
(thumb2_legitimate_index_p): Same.
gcc/testsuite/
* gcc.target/arm/vfp-1.c (test_ldst): New test for VFP
load/store immediate indexes.
From-SVN: r168045
Nicola Pero [Sun, 19 Dec 2010 02:12:42 +0000 (02:12 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c: Updated comments.
* objc/objc-api.h: Updated comments.
* objc/runtime.h (_objc_load_callback): Declare.
From-SVN: r168044
Nicola Pero [Sun, 19 Dec 2010 01:43:02 +0000 (01:43 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/Object.h: Include deprecated/typedstream.h and
deprecated/hash.h instead of typedstream.h. Updated comments.
From-SVN: r168043
Nicola Pero [Sun, 19 Dec 2010 01:29:09 +0000 (01:29 +0000)]
In gcc/testsuite/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/testsuite/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/gnu-api-2-resolve-method.m: Include objc/message.h.
* obj-c++.dg/gnu-api-2-resolve-method.m: Include objc/message.h.
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
* objc/deprecated/objc_msg_sendv.h: New.
* objc/message.h: Do not define retval_t, apply_t, arglist,
arglist_t, objc_msg_sendv, now in
objc/deprecated/objc_msg_sendv.h.
* objc/objc.h: Do not include message.h; include
objc/deprecated/objc_msg_sendv.h instead. Tidied up comments.
* sendmsg.c: Include objc/message.h.
* thr.c: Include objc/message.h.
From-SVN: r168042
Nicola Pero [Sun, 19 Dec 2010 01:01:48 +0000 (01:01 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/objc-exception.h: Include objc-decls.h. Mark all
functions with objc_EXPORT.
* objc/objc-sync.h: Same change.
From-SVN: r168041
Nicola Pero [Sun, 19 Dec 2010 00:54:27 +0000 (00:54 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* Protocol.m: Moved all methods, with the exception of -isEqual:,
into the 'Deprecated' category.
* objc/Protocol.h: Removed all methods, moved to
objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h.
* objc/deprecated/Protocol.h: New.
* Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
From-SVN: r168040
Nicola Pero [Sun, 19 Dec 2010 00:28:52 +0000 (00:28 +0000)]
In libobjc/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c: Include objc-private/selector.h. Do not declare
__sel_register_typed_name.
* objc-private/selector.h (__sel_register_typed_name): Declare.
* selector.c: Include objc-private/selector.h.
From-SVN: r168039
GCC Administrator [Sun, 19 Dec 2010 00:18:38 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168038
Jakub Jelinek [Sat, 18 Dec 2010 21:07:12 +0000 (22:07 +0100)]
re PR tree-optimization/46969 (-fcompare-debug failure with -O -ftree-vectorize -ftree-parallelize-loops=2)
PR tree-optimization/46969
* tree-parloops.c (struct reduction_info): Add reduc_version.
(reduction_info_hash): Return reduc_version field.
(reduction_phi): Set reduc_version to gimple_uid (phi).
(build_new_reduction): Set reduc_version to SSA_NAME_VERSION of
phi result.
(set_reduc_phi_uids): New function.
(gather_scalar_reductions): Call it at the end through htab_traverse.
* gcc.dg/autopar/pr46969.c: New test.
From-SVN: r168034
Nicola Pero [Sat, 18 Dec 2010 20:28:07 +0000 (20:28 +0000)]
In gcc/: 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* c-parser.c (c_parser_objc_try_catch_finally_statement): Call
objc_maybe_warn_exceptions.
(c_parser_objc_synchronized_statement): Call
objc_maybe_warn_exceptions.
In gcc/cp/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* parser.c (cp_parser_objc_try_catch_finally_statement): Call
objc_maybe_warn_exceptions.
(cp_parser_objc_synchronized_statement): Same change.
In gcc/c-family/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* c-objc.h (objc_maybe_warn_exceptions): New.
* stub-objc.c (objc_maybe_warn_exceptions): New.
In gcc/objc/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (objc_init): Call using_eh_for_cleanups.
(objc_init_exceptions): Renamed to objc_maybe_warn_exceptions. Do
not call using_eh_for_cleanups.
(objc_begin_try_stmt): Do not call objc_init_exceptions.
(objc_build_throw_stmt): Updated call to
objc_maybe_warn_exceptions.
In gcc/testsuite/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/fobjc-exceptions-1.m: Updated.
* objc.dg/fobjc-exceptions-2.m: New.
* objc.dg/fobjc-exceptions-3.m: New.
* obj-c++.dg/fobjc-exceptions-1.mm: New.
* obj-c++.dg/fobjc-exceptions-2.mm: New.
* obj-c++.dg/fobjc-exceptions-3.mm: New.
From-SVN: r168032
Tobias Burnus [Sat, 18 Dec 2010 20:18:43 +0000 (21:18 +0100)]
re PR fortran/46974 (ICE with TRANSFER using a C_PTR entity)
2010-12-18 Tobias Burnus <burnus@net-b.de>
PR fortran/46974
* target-memory.c (gfc_interpret_derived): Handle
* C_PTR/C_FUNPTR.
* trans-expr.c (gfc_trans_structure_assign): Ditto.
(gfc_conv_expr): Avoid crashes using non-C_NULL_(FUN)PTR const expr.
2010-12-18 Tobias Burnus <burnus@net-b.de>
PR fortran/46974
* gfortran.dg/c_ptr_tests_16.f90: New.
From-SVN: r168031
Joseph Myers [Sat, 18 Dec 2010 20:03:52 +0000 (20:03 +0000)]
* gcc.pot: Regenerate.
From-SVN: r168030
Joseph Myers [Sat, 18 Dec 2010 19:58:57 +0000 (19:58 +0000)]
pt.c (most_specialized_class): Use ngettext to determine "candidates are:" / "candidate is" message.
* pt.c (most_specialized_class): Use ngettext to determine
"candidates are:" / "candidate is" message.
From-SVN: r168029
Jakub Jelinek [Sat, 18 Dec 2010 18:15:10 +0000 (19:15 +0100)]
re PR tree-optimization/46985 (ICE: SIGSEGV in is_gimple_min_invariant (gimple.c:2742) with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre)
PR tree-optimization/46985
* tree-scalar-evolution.c (instantiate_scev_r): If chrec is NULL,
return it immediately.
* gfortran.dg/pr46985.f90: New test.
From-SVN: r168027
John David Anglin [Sat, 18 Dec 2010 17:10:34 +0000 (17:10 +0000)]
re PR target/46915 (Wrong code is generated for conditional branch followed by zero length asm)
PR target/46915
* config/pa/pa.c (branch_to_delay_slot_p): Use next_active_insn instead
of next_real_insn. Search forward checking for both ASM_INPUT and
ASM_OPERANDS asms until exit condition is found.
(branch_needs_nop_p): Likewise.
(use_skip_p): New function.
(output_cbranch): Use use_skip_p.
(output_bb, output_bvb): Likewise.
From-SVN: r168026
Joseph Myers [Sat, 18 Dec 2010 16:21:56 +0000 (16:21 +0000)]
* cpplib.pot: Regenerate.
From-SVN: r168025
Joseph Myers [Sat, 18 Dec 2010 16:02:34 +0000 (16:02 +0000)]
* ja.po: Update.
From-SVN: r168024
Eric Botcazou [Sat, 18 Dec 2010 12:52:41 +0000 (12:52 +0000)]
re PR tree-optimization/46232 (64-bit gcc.dg/tree-ssa/pr14814.c FAILs on SPARC)
PR tree-optimization/46232
* gcc.dg/tree-ssa/pr14814.c: Add -fno-tree-sra.
From-SVN: r168023
Nicola Pero [Sat, 18 Dec 2010 12:22:59 +0000 (12:22 +0000)]
In libobjc/: 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* class.c: Tidied up comments and indentation. No code changes.
* error.c: Same.
* exception.c: Same.
* init.c: Same.
* ivars.c: Same.
* memory.c: Same.
* objc-foreach.c: Same.
* objc-sync.c: Same.
* objects.c: Same.
* protocols.c: Same.
* sarray.c: Same.
* thr.c: Same.
From-SVN: r168022
Tobias Burnus [Sat, 18 Dec 2010 11:55:02 +0000 (12:55 +0100)]
update_web_docs_svn (MANUALS): Add libquadmath.
2010-12-18 Tobias Burnus <burnus@net-b.de>
* update_web_docs_svn (MANUALS): Add libquadmath.
From-SVN: r168021
Iain Sandoe [Sat, 18 Dec 2010 11:28:46 +0000 (11:28 +0000)]
objc-act.c (objc_eh_personality): Select personality name on runtime.
gcc/objc:
* objc/objc-act.c (objc_eh_personality): Select personality name on
runtime.
(objc_init_exceptions): New.
(objc_begin_try_stmt): Use objc_init_exceptions.
(objc_build_throw_stmt): Likewise.
gcc/testsuite:
* fobjc-exceptions.m: Update dg-error syntax.
From-SVN: r168020
Kai Tietz [Sat, 18 Dec 2010 10:16:13 +0000 (10:16 +0000)]
re PR target/36834 (structure return ABI for windows targets differs from native MSVC)
2010-12-18 Kai Tietz <kai.tietz@onevision.com>
PR target/36834
* config/i386/i386.c (ix86_keep_aggregate_return_pointer):
New local function.
(ix86_return_pops_args): Use ix86_keep_aggregate_return_pointer
function instead of KEEP_AGGREGATE_RETURN_POINTER.
(ix86_handle_callee_pop_aggregate_return): New handler.
(ix86_attribute_table): Add new attribute
callee_pop_aggregate_return.
* doc/extend.texi (callee_pop_aggregate_return): Add
attribute documentation.
2010-12-18 Kai Tietz <kai.tietz@onevision.com>
PR target/36834
* gcc.target/i386/aggregate-ret1.c: New.
* gcc.target/i386/aggregate-ret2.c: New.
From-SVN: r168019
Iain Sandoe [Sat, 18 Dec 2010 09:16:09 +0000 (09:16 +0000)]
darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Only set sjlj exceptions for NeXT/m32.
gcc:
* config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS):
Only set sjlj exceptions for NeXT/m32.
From-SVN: r168018
Iain Sandoe [Sat, 18 Dec 2010 09:14:05 +0000 (09:14 +0000)]
darwin.h (GCC_DRIVER_HOST_INITIALIZATION): Only expose when not building for target.
gcc:
* config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION):
Only expose when not building for target.
From-SVN: r168017
Iain Sandoe [Sat, 18 Dec 2010 08:56:46 +0000 (08:56 +0000)]
re PR libffi/29152 (64-bit darwin ppc port needed for libffi)
libffi:
PR libffi/29152
PR libffi/42378
* src/powerpc/darwin_closure.S: Provide Darwin64 implementation,
update comments.
* src/powerpc/ffitarget.h (POWERPC_DARWIN64): New,
(FFI_TRAMPOLINE_SIZE): Update for Darwin64.
* src/powerpc/darwin.S: Provide Darwin64 implementation,
update comments.
* src/powerpc/ffi_darwin.c: Likewise.
From-SVN: r168016
Iain Sandoe [Sat, 18 Dec 2010 08:48:06 +0000 (08:48 +0000)]
add new test missed from r167682
testsuite:
* gcc.target/powerpc/darwin-split-ld-stret.c: New test.
From-SVN: r168015
Ian Lance Taylor [Sat, 18 Dec 2010 03:03:16 +0000 (03:03 +0000)]
Don't crash on recursive variables and typed consts.
From-SVN: r168012
Ahmad Sharif [Sat, 18 Dec 2010 02:43:54 +0000 (02:43 +0000)]
max-stack-align.c: New testcase.
2010-12-17 Ahmad Sharif <asharif@google.com>
* gcc.target/i386/max-stack-align.c: New testcase.
From-SVN: r168011
Joseph Myers [Sat, 18 Dec 2010 01:30:13 +0000 (01:30 +0000)]
netbsd.opt, [...]: New files.
* config/netbsd.opt, config/netbsd-elf.opt: New files.
* config.gcc (alpha*-*-netbsd*, arm*-*-netbsdelf*, arm*-*-netbsd*,
i[34567]86-*-netbsdelf*, i[34567]86-*-netbsd*, x86_64-*-netbsd*,
m68k*-*-netbsdelf*, mips*-*-netbsd*, powerpc-*-netbsd*,
sh*-*-netbsd*, sparc-*-netbsdelf*, sparc64-*-netbsd*,
vax-*-netbsdelf*, vax-*-netbsd*): Use these .opt files.
From-SVN: r168010
GCC Administrator [Sat, 18 Dec 2010 00:18:26 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168009
Nicola Pero [Fri, 17 Dec 2010 23:17:46 +0000 (23:17 +0000)]
In gcc/testsuite/: 2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/testsuite/:
2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/exceptions-4.m: Adjust for change in error message.
From-SVN: r168003
Richard Henderson [Fri, 17 Dec 2010 22:51:25 +0000 (14:51 -0800)]
Continue searching in find_oldest_value_reg on class match failure.
From-SVN: r168001
Nicola Pero [Fri, 17 Dec 2010 22:12:34 +0000 (22:12 +0000)]
init.c: Include objc/runtime.h and objc-private/module-abi-8.h instead of objc/objc-api.h.
2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c: Include objc/runtime.h and objc-private/module-abi-8.h
instead of objc/objc-api.h.
(init_check_module_version): Take a 'struct objc_module *'
argument instead of 'Module_t'. Use 'struct objc_module *'
instead of 'Module_t'.
(__objc_created_classes_tree): Take a 'struct objc_module *'
argument instead of 'Module_t'; use 'struct objc_symtab *' instead
of 'Symtab_t'.
(__objc_call_callback): Take a 'struct objc_module *' argument
instead of 'Module_t'; use 'struct objc_symtab *' instead of
'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
(_objc_load_callback): Take a 'struct objc_category *' argument
instead of 'Category *'.
(class_superclass_of_class): Use objc_getClass() instead of
objc_lookup_class().
(create_tree_of_subclasses_inherited_from): Same change (also, use
an explicit 'if' instead of '?').
(objc_init_statics): Same change.
(objc_send_load): Same change.
(__objc_init_protocol): same change.
(__objc_send_message_in_list): Take a 'struct objc_method_list *'
argument instead of 'MethodList_t'. Use 'struct objc_method *'
instead of 'Method_t'.
(__objc_send_load): Use 'struct objc_method_list *' instead of
'MethodList_t'. Use sel_registerName() instead of
sel_register_name().
(__objc_exec_class): Take a 'struct objc_module *' argument
instead of 'Module_t'. Use 'struct objc_symtab *' instead of
'Symtab_t'. Use objc_getClass() instead of objc_lookup_class().
Use 'struct objc_category *' instead of 'Category_t'.
From-SVN: r168000
Paolo Bonzini [Fri, 17 Dec 2010 21:23:36 +0000 (21:23 +0000)]
re PR c/20385 (Lame parse error message for undefined type)
gcc:
2010-12-17 Paolo Bonzini <bonzini@gnu.org>
PR c/20385
* function.c (used_types_insert): Handle ERROR_MARK.
* c-decl.c (grokdeclarator): Handle ERROR_MARK.
(declspecs_add_type): Leave error_mark_node in specs->type.
(finish_declspecs): Change it to integer_type_node here.
* c-parser.c (c_parser_peek_2nd_token): Move earlier.
(enum c_lookahead_kind): New.
(c_parser_next_token_starts_typename): New name of
c_parser_next_tokens_start_typename. Accept lookahead enum
and handle it here instead of...
(c_parser_next_tokens_start_declaration): ... here. Call it.
(c_parser_declspecs): Accept another argument. Do not exit
on C_ID_ID if it is guessed to be an unknown typename.
(c_parser_parms_declarator): Use 2nd token to distinguish a K&R
declaration from an ANSI declaration starting with an unknown
typename.
(c_parser_struct_declaration, c_parser_objc_type_name,
c_parser_typeof_specifier, c_parser_declarator,
c_parser_direct_declarator_inner): Adjust calls.
(c_parser_parameter_declaration): Likewise.
(c_parser_type_name): Pass back an error_mark_node to the caller.
(c_parser_postfix_expression): Do error recovery when
c_parser_type_name returns NULL.
testsuite:
2010-12-17 Paolo Bonzini <bonzini@gnu.org>
PR c/20385
* objc.dg/tls/init-2.m: Adjust.
* gcc.dg/noncompile/920923-1.c: Adjust.
* gcc.dg/noncompile/pr44517.c: Adjust.
* gcc.dg/declspec-18.c: New test.
From-SVN: r167999
Joseph Myers [Fri, 17 Dec 2010 21:17:17 +0000 (21:17 +0000)]
netware.h (ASM_SPEC, [...]): Define.
* config/i386/netware.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE):
Define.
* config/i386/nto.h (LIB_SPEC, ASM_SPEC): Define.
(DBX_REGISTER_NUMBER): Undefine.
* config/i386/sol2.h (SIZE_TYPE, PTRDIFF_TYPE): Define.
* config/i386/vxworksae.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE):
Define.
* config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu |
i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* |
i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* |
x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
i[3456x]86-*-netware*, i[34567]86-*-nto-qnx*,
i[34567]86-*-solaris2*,
i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae): Don't use svr4.h.
From-SVN: r167998
H.J. Lu [Fri, 17 Dec 2010 19:11:52 +0000 (19:11 +0000)]
Replace "BB [%i]" with "[bb %i]" in vzeroupper RTL dump.
2010-12-17 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (move_or_delete_vzeroupper_2): Replace
"BB [%i]" with "[bb %i]" in dump.
(move_or_delete_vzeroupper_1): Likewise.
(rescan_move_or_delete_vzeroupper): Likewise. Always dump
upper 128bit state at exit.
From-SVN: r167996
Ulrich Weigand [Fri, 17 Dec 2010 18:49:42 +0000 (18:49 +0000)]
titype-1.c: Enable TImode on __SPU__.
* gcc.dg/titype-1.c: Enable TImode on __SPU__.
* gcc.dg/torture/fp-int-convert.h: Likewise.
* gcc.dg/tree-ssa/ivopts-1.c: Likewise.
* gcc.dg/uninit-C.c: Likewise.
* gcc.dg/uninit-C-O0.c: Likewise.
* gcc.dg/format/unnamed-1.c: Likewise.
* gcc.dg/format/ms_unnamed-1.c: Likewise.
From-SVN: r167995
Paolo Carlini [Fri, 17 Dec 2010 18:32:27 +0000 (18:32 +0000)]
basic_string.h (operator+(basic_string<>&&, const basic_string<>&), [...]): Add.
2010-12-17 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/basic_string.h (operator+(basic_string<>&&,
const basic_string<>&), operator+(const basic_string<>&,
basic_string<>&&), operator+(basic_string<>&&, basic_string<>&&),
operator+(const _CharT*, basic_string<>&&), operator+(_CharT,
basic_string<>&&), operator+(basic_string<>&&, const _CharT*),
operator+(basic_string<>&&, _CharT)): Add.
* testsuite/21_strings/basic_string/operators/char/3.cc: New.
* testsuite/21_strings/basic_string/operators/wchar_t/3.cc: Likewise.
From-SVN: r167994
Jason Merrill [Fri, 17 Dec 2010 17:47:27 +0000 (12:47 -0500)]
re PR c++/46670 (ICE in dependent_type_p, at cp/pt.c:17553)
PR c++/46670
* pt.c (value_dependent_expression_p) [ARRAY_REF]: Handle
properly.
From-SVN: r167993
Joseph Myers [Fri, 17 Dec 2010 16:45:18 +0000 (16:45 +0000)]
interix.opt: New.
* config/interix.opt: New.
* config/interix.h (LINK_SPEC): Don't handle -soname*.
* config.gcc (i[34567]86-*-interix3*): Use interix.opt.
From-SVN: r167992
Andrew Stubbs [Fri, 17 Dec 2010 16:30:37 +0000 (16:30 +0000)]
arm.md (maddhisi4, *maddhidi4): Use the canonical operand order for plus.
2010-12-17 Andrew Stubbs <ams@codesourcery.com>
gcc/
* config/arm/arm.md (maddhisi4, *maddhidi4): Use the canonical
operand order for plus.
Drop redundant % from constraints.
From-SVN: r167991
Ulrich Weigand [Fri, 17 Dec 2010 14:10:02 +0000 (14:10 +0000)]
t-spu-elf (LIB2FUNCS_EXCLUDE): Add _floattisf and _floatunstisf.
* config/spu/t-spu-elf (LIB2FUNCS_EXCLUDE): Add _floattisf and
_floatunstisf.
* config/spu/spu.md ("floattisf2"): New expander.
("floatunstisf2"): New insn pattern and splitter.
("cgt_ti_m1"): New insn pattern.
From-SVN: r167984
Joseph Myers [Fri, 17 Dec 2010 14:01:47 +0000 (14:01 +0000)]
* ja.po: Update.
From-SVN: r167983
Joseph Myers [Fri, 17 Dec 2010 14:00:25 +0000 (14:00 +0000)]
* ja.po: Update.
From-SVN: r167982
Bernd Schmidt [Fri, 17 Dec 2010 13:48:40 +0000 (13:48 +0000)]
arm.c (arm_select_cc_mode): Before calling arm_select_dominance_cc_mode for AND or IOR operations...
gcc/
* config/arm/arm.c (arm_select_cc_mode): Before calling
arm_select_dominance_cc_mode for AND or IOR operations, ensure
that op is NE or EQ.
gcc/testsuite/
* gcc.c-torture/compile/
20101217-1.c: New test.
From-SVN: r167981