GCC Administrator [Sun, 16 Jan 2011 00:18:19 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168849
Eric Botcazou [Sat, 15 Jan 2011 18:47:40 +0000 (18:47 +0000)]
* config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
From-SVN: r168845
Jan Hubicka [Sat, 15 Jan 2011 15:44:56 +0000 (16:44 +0100)]
re PR tree-optimization/47276 (ICE in function_and_variable_visibility, at ipa.c:857 during compiling glibc.)
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.
From-SVN: r168844
Giovanni Funchal [Sat, 15 Jan 2011 14:41:09 +0000 (14:41 +0000)]
re PR c++/33558 ('mutable' incorrectly accepted on reference members)
2011-01-15 Giovanni Funchal <gafunchal@gmail.com>
Jonathan Wakely <jwakely.gcc@gmail.com>
PR c++/33558
* decl.c (grokdeclarator): Reject mutable reference members.
Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
From-SVN: r168843
Jerry DeLisle [Sat, 15 Jan 2011 06:42:30 +0000 (06:42 +0000)]
re PR fortran/47296 (I/O Segfault when running out of file descriptors)
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.
From-SVN: r168832
Benjamin Kosnik [Sat, 15 Jan 2011 00:27:10 +0000 (00:27 +0000)]
re PR libstdc++/36104 (gnu-versioned-namespace is broken)
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.
From-SVN: r168831
GCC Administrator [Sat, 15 Jan 2011 00:18:50 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r168830
Martin Jambor [Fri, 14 Jan 2011 23:19:08 +0000 (00:19 +0100)]
common.opt (fdevirtualize): New flag.
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.
From-SVN: r168826
Martin Jambor [Fri, 14 Jan 2011 23:00:59 +0000 (00:00 +0100)]
re PR tree-optimization/45934 (g++.old-deja/g++.other/dtor5.C FAILs with -finline-small-functions)
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.
From-SVN: r168825
Mike Stump [Fri, 14 Jan 2011 21:50:11 +0000 (21:50 +0000)]
re PR target/19162 (ICE while building libobjc's sendmsg.c)
PR 19162
* objc-act.c (generate_struct_by_value_array): Do not output a
definition for struct_forward_array.
From-SVN: r168824
Ben Elliston [Fri, 14 Jan 2011 21:38:17 +0000 (21:38 +0000)]
objc-act.c (generate_struct_by_value_array): Do not output a definition for struct_forward_array.
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.
From-SVN: r168823
Jason Merrill [Fri, 14 Jan 2011 21:26:47 +0000 (16:26 -0500)]
re PR c++/47289 ([C++0x] ICE in tsubst_pack_expansion (triggered by decltype))
PR c++/47289
* pt.c (coerce_template_parms): Fix error recovery.
From-SVN: r168822
Joseph Myers [Fri, 14 Jan 2011 21:03:22 +0000 (21:03 +0000)]
i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
* config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
* config/i386/i386.opt (msse5): New Alias.
From-SVN: r168821
Joseph Myers [Fri, 14 Jan 2011 21:02:06 +0000 (21:02 +0000)]
linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
* 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.
From-SVN: r168820
Joseph Myers [Fri, 14 Jan 2011 21:01:18 +0000 (21:01 +0000)]
linux.h (CC1_SPEC): Don't handle old equivalents of -mcpu options.
* 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.
From-SVN: r168819
Joseph Myers [Fri, 14 Jan 2011 20:59:52 +0000 (20:59 +0000)]
vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi.
* config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
-fvec-eabi.
From-SVN: r168818
Mike Stump [Fri, 14 Jan 2011 19:37:16 +0000 (19:37 +0000)]
alpha.md (umk_mismatch_args): Don't put a mode on set.
* 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.
From-SVN: r168817
Ian Lance Taylor [Fri, 14 Jan 2011 19:18:38 +0000 (19:18 +0000)]
libgo: Check whether we need -lrt for sched_yield.
From Rainer Orth.
From-SVN: r168816
Ian Lance Taylor [Fri, 14 Jan 2011 19:13:24 +0000 (19:13 +0000)]
libgo: Use $(SHELL) to invoke gotest.
From Rainer Orth.
From-SVN: r168815
Ian Lance Taylor [Fri, 14 Jan 2011 19:10:02 +0000 (19:10 +0000)]
libgo/syscalls: Finish Solaris code.
Mostly from Rainer Orth.
From-SVN: r168814
Joseph Myers [Fri, 14 Jan 2011 18:56:52 +0000 (18:56 +0000)]
linux64.h (LINK_SPEC): Remove %{bestGnum} %{no_archive} %{exact_version}.
* 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.
From-SVN: r168813
Joseph Myers [Fri, 14 Jan 2011 18:55:27 +0000 (18:55 +0000)]
microblaze.h (ASM_SPEC): Remove %{microblaze1}.
* config/microblaze/microblaze.h (ASM_SPEC): Remove
%{microblaze1}.
From-SVN: r168812
Joseph Myers [Fri, 14 Jan 2011 18:54:16 +0000 (18:54 +0000)]
little.h (CPP_ENDIAN_SPEC, [...]): Remove.
* config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
From-SVN: r168810
Joseph Myers [Fri, 14 Jan 2011 18:53:16 +0000 (18:53 +0000)]
nwld.h (LINK_SPEC): Check -nodefaultlibs not -nodefaultlib.
* config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
-nodefaultlib.
From-SVN: r168809
Joseph Myers [Fri, 14 Jan 2011 18:51:46 +0000 (18:51 +0000)]
cris.h (ASM_SPEC, [...]): Check for mcpu not cpu.
* 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.
From-SVN: r168808
Joseph Myers [Fri, 14 Jan 2011 18:47:52 +0000 (18:47 +0000)]
avr.h (CPP_SPEC): Don't handle -posix.
* config/avr/avr.h (CPP_SPEC): Don't handle -posix.
(CC1_SPEC): Don't handle -profile.
From-SVN: r168807
Dominique d'Humieres [Fri, 14 Jan 2011 18:47:50 +0000 (19:47 +0100)]
re PR objc/45989 (Some objc.dg-struct-layout-encoding-1 tests XPASS)
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-*-*.
Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
From-SVN: r168806
Joseph Myers [Fri, 14 Jan 2011 18:47:00 +0000 (18:47 +0000)]
microblaze.h (CC1_SPEC): Remove -gline spec.
* config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
* config/mips/mips.h (CC1_SPEC): Likewise.
From-SVN: r168805
Ian Lance Taylor [Fri, 14 Jan 2011 18:46:42 +0000 (18:46 +0000)]
libgo/Makefile.am: Correct typos in Solaris support.
From Rainer Orth.
From-SVN: r168804
Joseph Myers [Fri, 14 Jan 2011 18:46:24 +0000 (18:46 +0000)]
microblaze.h (CC1_SPEC): Remove %{save-temps: }.
* config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
* config/mips/mips.h (CC1_SPEC): Likewise.
From-SVN: r168803
Joseph Myers [Fri, 14 Jan 2011 18:45:06 +0000 (18:45 +0000)]
linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
* 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.
From-SVN: r168802
Joseph Myers [Fri, 14 Jan 2011 18:42:32 +0000 (18:42 +0000)]
linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{version:-v}.
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
%{version:-v}.
* config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
From-SVN: r168801
Ian Lance Taylor [Fri, 14 Jan 2011 18:41:31 +0000 (18:41 +0000)]
mksysinfo: Define _pad128_t and _upad128_t if commented out.
From Rainer Orth.
From-SVN: r168800
Joseph Myers [Fri, 14 Jan 2011 18:41:05 +0000 (18:41 +0000)]
sp-elf.h (ASM_SPEC): Remove %{v:-V}.
* config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
From-SVN: r168799
Joseph Myers [Fri, 14 Jan 2011 18:39:49 +0000 (18:39 +0000)]
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
From-SVN: r168798
Mike Stump [Fri, 14 Jan 2011 18:11:27 +0000 (18:11 +0000)]
Fix indentation.
From-SVN: r168797
Paolo Carlini [Fri, 14 Jan 2011 17:17:32 +0000 (17:17 +0000)]
check_type.cc: Minor tweaks.
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.
From-SVN: r168796
Rainer Orth [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.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
supports -Bstatic/-Bdynamic.
* configure: Regenerate.
From-SVN: r168795
Jan Hubicka [Fri, 14 Jan 2011 15:42:09 +0000 (16:42 +0100)]
re PR target/46037 (--enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin)
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.
Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
From-SVN: r168793
Richard Guenther [Fri, 14 Jan 2011 15:02:20 +0000 (15:02 +0000)]
re PR tree-optimization/47179 (SPU: errno misoptimization around malloc call)
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.
From-SVN: r168788
Richard Guenther [Fri, 14 Jan 2011 14:58:01 +0000 (14:58 +0000)]
tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
2011-01-14 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
From-SVN: r168787
Eric Botcazou [Fri, 14 Jan 2011 14:52:44 +0000 (14:52 +0000)]
Fix formatting issues
From-SVN: r168786
Richard Guenther [Fri, 14 Jan 2011 13:20:22 +0000 (13:20 +0000)]
re PR tree-optimization/47280 (ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions -ftrapv)
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.
From-SVN: r168784
Jason Merrill [Fri, 14 Jan 2011 13:08:11 +0000 (08:08 -0500)]
re PR c++/46903 ([C++0x] ICE unexpected expression of kind template_id_expr)
PR c++/46903
* typeck2.c (check_narrowing): Only check arithmetic types.
From-SVN: r168783
Jason Merrill [Fri, 14 Jan 2011 13:08:02 +0000 (08:08 -0500)]
re PR c++/46688 (g++ requires a function declaration when it should not)
PR c++/46688
* tree.c (build_vec_init_expr): Handle flexible array
properly.
From-SVN: r168782
Richard Guenther [Fri, 14 Jan 2011 12:39:09 +0000 (12:39 +0000)]
re PR middle-end/47281 (error: non-trivial conversion at assignment)
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.
From-SVN: r168781
Richard Guenther [Fri, 14 Jan 2011 12:15:43 +0000 (12:15 +0000)]
re PR tree-optimization/47286 (Invalid code when using register ... asm)
2011-01-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47286
* tree-ssa-structalias.c (new_var_info): Register variables
are global.
* gcc.dg/tree-ssa/pr47286.c: New testcase.
From-SVN: r168779
Martin Jambor [Fri, 14 Jan 2011 11:59:07 +0000 (12:59 +0100)]
re PR middle-end/46823 (ICE: edge points to wrong declaration)
2011-01-14 Martin Jambor <mjambor@suse.cz>
PR middle-end/46823
* tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
From-SVN: r168778
Tobias Burnus [Fri, 14 Jan 2011 07:18:54 +0000 (08:18 +0100)]
re PR fortran/47182 (libquadmath.texi: undefined flag: BUGURL)
2011-01-14 Tobias Burnus <burnus@net-b.de>
PR fortran/47182
* configure.ac: Use ACX_BUGURL.
* libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
* Makefile.am: Create libquadmath-vers.texi.
* configure.in: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r168776
Ian Lance Taylor [Fri, 14 Jan 2011 05:37:12 +0000 (05:37 +0000)]
The type of a string slice is the type of the string being sliced.
From-SVN: r168775
Ian Lance Taylor [Fri, 14 Jan 2011 03:27:32 +0000 (03:27 +0000)]
Move clearing of flag_strict_aliasing to gcc interface.
From-SVN: r168774
Paolo Carlini [Fri, 14 Jan 2011 01:21:51 +0000 (01:21 +0000)]
[multiple changes]
2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/25_algorithms/is_permutation/check_type.cc: New.
* testsuite/25_algorithms/is_permutation/requirements/
explicit_instantiation/2.cc: Likewise.
* testsuite/25_algorithms/is_permutation/requirements/
explicit_instantiation/pod.cc: Likewise.
* testsuite/25_algorithms/is_permutation/1.cc: Likewise.
2011-01-13 John Lakos <jlakos@bloomberg.net>
Pablo Halpern <phalpern@halpernwightsoftware.com>
Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_algo.h (is_permutation): Add, per N3068.
* include/bits/algorithmfwd.h: Add.
From-SVN: r168773
GCC Administrator [Fri, 14 Jan 2011 00:19:25 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r168770
Tobias Burnus [Thu, 13 Jan 2011 22:00:50 +0000 (23:00 +0100)]
re PR libfortran/47268 (Documentation: missing (Optional) keyword for parameters of get_command_argument() and get_environment_variable())
2011-01-13 Tobias Burnus <burnus@net-b.de>
PR fortran/47268
* intrinsic.texi (get_command_argument,
* get_environment_variable):
Mark arguments as optional in the Arguments section.
From-SVN: r168766
Anatoly Sokolov [Thu, 13 Jan 2011 20:24:19 +0000 (23:24 +0300)]
xtensa.h (XTENSA_LIBCALL_VALUE, [...]): Remove macros.
* config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
* config/xtensa/xtensa.c (xtensa_libcall_value,
xtensa_function_value_regno_p): New functions.
(TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
From-SVN: r168765
Ian Lance Taylor [Thu, 13 Jan 2011 20:23:19 +0000 (20:23 +0000)]
Don't exit mksysinfo.sh if there is no _user_regs_struct.
From-SVN: r168764
Kai Tietz [Thu, 13 Jan 2011 20:01:57 +0000 (20:01 +0000)]
re PR c++/47213 (ICE: SIGSEGV in determine_visibility (decl2.c:2076) with -fvisibility-ms-compat)
2011-01-13 Kai Tietz <kai.tietz@onevision.com>
PR c++/47213
* g++.dg/ext/pr47213.C: New.
2011-01-13 Kai Tietz <kai.tietz@onevision.com>
PR c++/47213
* cp-tree.h (CLASSTYPE_VISIBILITY): Use
TYPE_MAIN_DECL instead of TYPE_NAME.
(CLASSTYPE_VISIBILITY_SPECIFIED): Likewise.
* decl2.c (determine_visibility): Add check
of CLASS_TYPE_P for underlying_type.
2011-01-13 Kai Tietz <kai.tietz@onevision.com>
PR c++/47213
* config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
PE specific hook.
* config/i386/i386-protos.h (i386_pe_assemble_visibility):
New function prototype.
* config/i386/winnt.c (i386_pe_assemble_visibility):
Warn only if attribute was specified by user.
From-SVN: r168763
John David Anglin [Thu, 13 Jan 2011 18:51:10 +0000 (18:51 +0000)]
backport: ltmain.sh (relink): Use absolute path when hardcoding with -L.
Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.
/:
* ltmain.sh (relink): Use absolute path when hardcoding with -L.
From-SVN: r168762
Rainer Orth [Thu, 13 Jan 2011 18:20:42 +0000 (18:20 +0000)]
* gfortran.dg/cray_pointers_2.f90: Use dg-timeout-factor 4.
From-SVN: r168759
Joel Brobecker [Thu, 13 Jan 2011 18:05:35 +0000 (18:05 +0000)]
Resync with GDB (from "port GDB to ia64-hpux (native).")
ChangeLog:
* configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs
for ia64-hpux.
* configure: Regenerate.
From-SVN: r168758
Kai Tietz [Thu, 13 Jan 2011 18:04:03 +0000 (18:04 +0000)]
re PR fortran/47260 (DLLEXPORT: TREE_PUBLIC for procedures lost between trans-decl.c and tree.c)
2011-01-13 Kai Tietz <kai.tietz@onevision.com>
Tobias Burnus <burnus@net-b.de>
PR fortran/47260
* trans-decl.c (gfc_get_extern_function_decl,
build_function_decl): Set TREE_PUBLIC/TREE_EXTERNAL before
calling decl_attributes.
Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r168757
Tobias Burnus [Thu, 13 Jan 2011 16:32:33 +0000 (17:32 +0100)]
re PR fortran/45848 ([OOP] ICE on invalid code in fortran/symbol.c:2410)
2011-01-13 Tobias Burnus <burnus@net-b.de>
Mikael Morin <mikael@gcc.gnu.org>
PR fortran/45848
PR fortran/47204
* gfortran.h (gfc_code): Move union ext's case_list into
the struct block.
* dump-parse-tree.c (show_code_node): Adapt by prefixing
* case_list
by "block.".
* frontend-passes.c (gfc_code_walker): Ditto.
* match.c (gfc_match_goto, gfc_match_call, gfc_match_case,
gfc_match_type_is, gfc_match_class_is): Ditto.
* resolve.c (resolve_select, resolve_select_type): Ditto.
* st.c (gfc_free_statement): Ditto.
* trans-stmt.c (gfc_trans_integer_select,
* gfc_trans_logical_select,
gfc_trans_character_select): Ditto.
* parse.c (resolve_all_program_units): For error recovery, avoid
segfault is proc_name is NULL.
2011-01-13 Tobias Burnus <burnus@net-b.de>
Mikael Morin <mikael@gcc.gnu.org>
PR fortran/45848
PR fortran/47204
* gfortran.dg/select_type_20.f90: New.
* gfortran.dg/select_type_21.f90: New.
Co-Authored-By: Mikael Morin <mikael@gcc.gnu.org>
From-SVN: r168753
Michael Meissner [Thu, 13 Jan 2011 15:59:19 +0000 (15:59 +0000)]
Fix 47251, failure in powerpc -mcpu=power7 -m32 -msoft-float
From-SVN: r168752
Andreas Krebbel [Thu, 13 Jan 2011 13:46:24 +0000 (13:46 +0000)]
pr36728-1.c: Disable arg1/2 checks for s390 and s390x.
2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.dg/guality/pr36728-1.c: Disable arg1/2 checks for s390 and
s390x.
* gcc.dg/guality/pr36728-2.c: Likewise.
From-SVN: r168749
Andreas Krebbel [Thu, 13 Jan 2011 13:45:00 +0000 (13:45 +0000)]
s390.c (print_operand_address): Replace 'error' with 'output_operand_lossage'.
2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (print_operand_address): Replace 'error' with
'output_operand_lossage'.
(print_operand): Likewise.
From-SVN: r168748
Jeff Law [Thu, 13 Jan 2011 13:41:03 +0000 (06:41 -0700)]
re PR rtl-optimization/39077 (GCSE-optimization causes enormous binary size increase (~20 times !))
* PR rtl-optimization/39077
* doc/invoke.texi (max-gcse-insertion-ratio): Document.
* params.h (MAX_GCSE_INSERTION_RATIO): Define.
* params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
* lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
* gcse.c (prune_insertions_deletions): New function.
(compute_pre_data): Use it.
From-SVN: r168747
Dodji Seketeli [Thu, 13 Jan 2011 09:48:04 +0000 (09:48 +0000)]
Fix PR debug/PR46973
gcc/
* dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
static function.
(prune_unused_types_mark): Use it.
gcc/testsuite/
* g++.dg/debug/dwarf2/template-params-9.C: New test.
From-SVN: r168743
Andrey Belevantsev [Thu, 13 Jan 2011 09:29:09 +0000 (12:29 +0300)]
re PR rtl-optimization/45352 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058)
PR rtl-optimization/45352
* sel-sched.c: Update copyright years.
(reset_sched_cycles_in_current_ebb): Also recheck the DFA state
in the advancing loop when we have issued issue_rate insns.
* gcc.dg/pr45352-3.c: New.
From-SVN: r168742
Eric Botcazou [Thu, 13 Jan 2011 07:35:42 +0000 (07:35 +0000)]
Fix minor issues
From-SVN: r168741
Ian Lance Taylor [Thu, 13 Jan 2011 06:18:45 +0000 (06:18 +0000)]
Use GOARCH value of sparc64 rather than sparcv9.
From-SVN: r168740
Ian Lance Taylor [Thu, 13 Jan 2011 05:42:40 +0000 (05:42 +0000)]
Add some Solaris support to mksysinfo.sh.
From Rainer Orth.
From-SVN: r168739
Ian Lance Taylor [Thu, 13 Jan 2011 05:17:52 +0000 (05:17 +0000)]
Clean up syscalls, add some Solaris support.
From-SVN: r168738
Joseph Myers [Thu, 13 Jan 2011 02:30:06 +0000 (02:30 +0000)]
* ja.po: Update.
From-SVN: r168737
GCC Administrator [Thu, 13 Jan 2011 00:19:09 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r168736
Jonathan Wakely [Thu, 13 Jan 2011 00:02:41 +0000 (00:02 +0000)]
re PR libstdc++/47045 (NetBSD: define changes in ctype.h)
2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/47045
* config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
From-SVN: r168732
Rodrigo Rivas Costa [Wed, 12 Jan 2011 23:52:56 +0000 (23:52 +0000)]
cp-tree.h (begin_for_scope): New prototype.
* cp-tree.h (begin_for_scope): New prototype.
(begin_for_stmt): Update prototype.
(begin_range_for_stmt): Update prototype.
* init.c (build_vec_init): Update call to begin_for_stmt.
* parser.c (cp_parser_for): New.
(cp_parser_c_for): Add three new parameters.
(cp_parser_range_for): Likewise. Most parsing code removed.
(cp_parser_iteration_statement): Call cp_parser_for instead of
cp_parser_c_for and cp_parser_range_for.
(cp_parser_for_init_statement): Add new parameter and return type.
(cp_parser_block_declaration): Update call to
cp_parser_simple_declaration.
(cp_parser_simple_declaration): Add new parameter.
Update call to cp_parser_init_declarator.
(cp_parser_init_declarator): Add new parameter.
* pt.c (tsubst_expr): Update call to begin_for_stmt.
* semantics.c (begin_for_scope): New.
(begin_for_stmt): Add two new parameters.
(begin_range_for_stmt): Likewise.
From-SVN: r168731
Ian Lance Taylor [Wed, 12 Jan 2011 23:06:13 +0000 (23:06 +0000)]
Use correct nm and nm options.
From-SVN: r168730
Ian Lance Taylor [Wed, 12 Jan 2011 21:56:10 +0000 (21:56 +0000)]
Make using DejaGNU work for libgo testing on a native system.
From-SVN: r168729
Richard Henderson [Wed, 12 Jan 2011 17:59:31 +0000 (09:59 -0800)]
mn10300: Auto-clobber the flags in asms.
From-SVN: r168725
Richard Henderson [Wed, 12 Jan 2011 17:56:15 +0000 (09:56 -0800)]
mn10300: Add delegitimize_address hook.
This suppresses warnings generated by the dwarf2 output
routines about uninterpretable addresses.
From-SVN: r168724
Richard Henderson [Wed, 12 Jan 2011 17:53:50 +0000 (09:53 -0800)]
mn10300: Add clzsi2.
From-SVN: r168723
Richard Henderson [Wed, 12 Jan 2011 17:51:40 +0000 (09:51 -0800)]
mn10300: Emit clr.
From-SVN: r168722
Richard Henderson [Wed, 12 Jan 2011 17:47:02 +0000 (09:47 -0800)]
mn10300: Force lower-subreg pass to run.
There are a number of tests that fail -- generally ones involving
generic vectorization -- at -O0 because we run out of registers.
The lower-subreg pass cleans things up sufficiently to allow these
tests to succeed.
From-SVN: r168721
Richard Henderson [Wed, 12 Jan 2011 17:45:42 +0000 (09:45 -0800)]
mn10300: Clean up trampoline handling
The old code was failing in the testsuite. I didn't try to
debug exactly why, since the existing code was needlessly
complex.
From-SVN: r168720
Anatoly Sokolov [Wed, 12 Jan 2011 17:40:06 +0000 (20:40 +0300)]
s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
* config/s390/s390.c (s390_output_addr_const_extra): Make static.
(TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
From-SVN: r168719
Kai Tietz [Wed, 12 Jan 2011 17:02:41 +0000 (17:02 +0000)]
re PR debug/47209 (ICE: SIGSEGV in should_emit_struct_debug (dwarf2out.c:627) with -f{no-,}emit-struct-debug-{baseonly,reduced} -g)
2011-01-12 Kai Tietz <kai.tietz@onevision.com>
PR debug/47209
* dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
of type.
2011-01-12 Kai Tietz <kai.tietz@onevision.com>
PR debug/47209
* g++.dg/debug/pr47209.C: New.
From-SVN: r168718
Jan Hubicka [Wed, 12 Jan 2011 15:47:29 +0000 (16:47 +0100)]
re PR driver/47244 (plugin linker is used unconditionally)
PR driver/47244
* gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
(PLUGIN_COND_CLOSE): New macro.
(LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
From-SVN: r168717
Richard Guenther [Wed, 12 Jan 2011 15:21:59 +0000 (15:21 +0000)]
re PR lto/47259 (LTO and global register variable)
2011-01-12 Richard Guenther <rguenther@suse.de>
PR lto/47259
* gcc.dg/lto/pr47259_0.c: New testcase.
* gcc.dg/lto/pr47259_1.c: Likewise.
From-SVN: r168715
Richard Guenther [Wed, 12 Jan 2011 15:01:09 +0000 (15:01 +0000)]
re PR lto/47259 (LTO and global register variable)
2011-01-12 Richard Guenther <rguenther@suse.de>
PR lto/47259
* lto-streamer-out.c (output_gimple_stmt): Do not wrap
register variables in a MEM_REF.
From-SVN: r168713
Joseph Myers [Wed, 12 Jan 2011 14:29:14 +0000 (14:29 +0000)]
config.gcc (arm*-*-linux*, [...]): Use gnu-user.h before linux.h.
* config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
hppa*64*-*-linux*, hppa*-*-linux*, 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,
ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
am33_2.0-*-linux*): Use gnu-user.h before linux.h.
* config/gnu-user.h: New. Copied from linux.h.
(LINUX_TARGET_STARTFILE_SPEC): Rename to
GNU_USER_TARGET_STARTFILE_SPEC.
(LINUX_TARGET_ENDFILE_SPEC): Rename to
GNU_USER_TARGET_ENDFILE_SPEC.
(LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
(LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
(OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
* config/arm/linux-eabi.h (CC1_SPEC): Use
GNU_USER_TARGET_CC1_SPEC.
(LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
(STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
(ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
* config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
From-SVN: r168711
Richard Guenther [Wed, 12 Jan 2011 12:07:44 +0000 (12:07 +0000)]
re PR c/46946 (contradiction in docs for -Ofast and -ffast-math)
2011-01-12 Richard Guenther <rguenther@suse.de>
PR other/46946
* doc/invoke.texi (ffast-math): Document it is turned on
with -Ofast.
From-SVN: r168709
Richard Guenther [Wed, 12 Jan 2011 12:04:39 +0000 (12:04 +0000)]
re PR lto/47264 (Many tests fail with -flto due unaligned load in lto-plugin.c)
2011-01-12 Richard Guenther <rguenther@suse.de>
PR lto/47264
* lto-plugin.c (parse_table_entry): Use memcpy to access
unaligned fields.
From-SVN: r168708
Iain Sandoe [Wed, 12 Jan 2011 11:18:49 +0000 (11:18 +0000)]
dwarf2.h: Update value for DW_AT_hi_user.
include:
* dwarf2.h: Update value for DW_AT_hi_user.
From-SVN: r168707
Eric Botcazou [Wed, 12 Jan 2011 11:07:50 +0000 (11:07 +0000)]
Fix long line
From-SVN: r168706
Iain Sandoe [Wed, 12 Jan 2011 11:04:14 +0000 (11:04 +0000)]
Object1.h: Add copyright header, update comments.
gcc/testsuite:
* objc-obj-c++-shared/Object1.h: Add copyright header, update
comments. Add a TEST_SUITE_ADDITIONS category for GNU runtime.
Amend NeXT version to declare a TEST_SUITE_ADDITIONS carrying the
methods missing from the OBJC2 Object.
* objc-obj-c++-shared/Object1-implementation.h: Add copyright header.
Amend implementation to use a TEST_SUITE_ADDITIONS category for both GNU
and NeXT runtimes.
* objc-obj-c++-shared/Object1.mm: Remove redundant header, update
comments.
* objc-obj-c++-shared/Object1.m: Likewise.
* objc.dg/encode-3.m: Update header use. Amend to be API2 compatible.
* objc.dg/proto-qual-1.m: Likewise.
* obj-c++.dg/proto-lossage-3.mm: Likewise.
* obj-c++.dg/proto-qual-1.mm: Likewise.
From-SVN: r168705
Eric Botcazou [Wed, 12 Jan 2011 10:52:25 +0000 (10:52 +0000)]
re PR testsuite/33033 (FAIL: gcc.dg/
20061124-1.c: undefined reference to `__sync_add_and_fetch_2')
PR testsuite/33033
* gcc.dg/
20061124-1.c: Pass -mcpu=v9 on the SPARC.
From-SVN: r168701
Jan Hubicka [Wed, 12 Jan 2011 10:39:39 +0000 (11:39 +0100)]
re PR tree-optimization/47233 (IPA reference tends to explode in memory use with -fprofile-generate)
PR tree-optimization/47233
* opts.c (common_handle_option): Disable ipa-reference with profile feedback.
From-SVN: r168700
Nicola Pero [Wed, 12 Jan 2011 09:46:56 +0000 (09:46 +0000)]
In gcc/testsuite/: 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/testsuite/:
2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
Fixed the Objective-C++ testsuite and updated all tests.
* lib/obj-c++.exp (obj-c++_init): Declare and set
gcc_warning_prefix and gcc_error_prefix.
* obj-c++.dg/attributes/categ-attribute-2.mm: Fixed usage of
'dg-warning', 'dg-message' and 'dg-error'.
* obj-c++.dg/class-extension-3.mm: Likewise.
* obj-c++.dg/class-protocol-1.mm: Likewise.
* obj-c++.dg/cxx-scope-2.mm: Likewise.
* obj-c++.dg/encode-7.mm: Likewise.
* obj-c++.dg/exceptions-3.mm: Likewise.
* obj-c++.dg/exceptions-5.mm: Likewise.
* obj-c++.dg/method-12.mm: Likewise.
* obj-c++.dg/method-13.mm: Likewise.
* obj-c++.dg/method-15.mm: Likewise.
* obj-c++.dg/method-16.mm: Likewise.
* obj-c++.dg/method-4.mm: Likewise.
* obj-c++.dg/method-8.mm: Likewise.
* obj-c++.dg/method-conflict-1.mm: Likewise.
* obj-c++.dg/method-conflict-2.mm: Likewise.
* obj-c++.dg/method-conflict-3.mm: Likewise. Also, removed FIXME
and uncommented second part of the testcase now that the testsuite
works correctly.
* obj-c++.dg/method-conflict-4.mm: Likewise. Also, removed FIXME
and uncommented second part of the testcase now that the testsuite
works correctly.
* obj-c++.dg/private-1.mm: Likewise.
* obj-c++.dg/proto-lossage-4.mm: Likewise.
* obj-c++.dg/syntax-error-7.mm: Likewise.
* obj-c++.dg/warn5.mm: Likewise.
* obj-c++.dg/property/at-property-14.mm: Likewise.
* obj-c++.dg/property/at-property-16.mm: Likewise, and removed
FIXME.
* obj-c++.dg/property/at-property-18.mm: Likewise.
* obj-c++.dg/property/at-property-20.mm: Likewise, and removed
FIXME.
* obj-c++.dg/property/at-property-21.mm: Likewise.
* obj-c++.dg/property/at-property-28.mm: Likewise.
* obj-c++.dg/property/at-property-5.mm: Likewise.
* obj-c++.dg/property/dynamic-2.mm: Likewise.
* obj-c++.dg/property/property-neg-3.mm: Likewise.
* obj-c++.dg/property/synthesize-11.mm: Likewise.
* obj-c++.dg/property/synthesize-6.mm: Likewise.
* obj-c++.dg/property/synthesize-8.mm: Likewise.
* obj-c++.dg/property/synthesize-9.mm: Likewise.
* obj-c++.dg/tls/diag-5.mm: Likewise.
* obj-c++.dg/ivar-invalid-type-1.mm: Removed FIXME and uncommented
dg-error, now matched correctly.
From-SVN: r168699
Nicola Pero [Wed, 12 Jan 2011 09:36:49 +0000 (09:36 +0000)]
In gcc/: 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/:
2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
* c-parser.c (c_parser_objc_at_property_declaration): Improved
error message.
2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
* c-parser.c (c_lex_one_token): Updated and reindented some
comments. No changes in code.
In gcc/cp/:
2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
* parser.c (cp_parser_objc_at_property_declaration): Improved
error message.
In gcc/testsuite/:
2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/property/at-property-29.m: New.
* obj-c++.dg/property/at-property-29.mm: New.
From-SVN: r168698
Ian Lance Taylor [Wed, 12 Jan 2011 06:34:08 +0000 (06:34 +0000)]
Preliminary framework for Solaris support.
Partly from Rainer Orth.
From-SVN: r168697