aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-13Update concepts branch to revision 131834cxx0x-concepts-branchDoug Gregor
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cxx0x-concepts-branch@136756 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-252008-01-25 Douglas Gregor <doug.gregor@gmail.com>Doug Gregor
* c-common.c (rid): RID_REQUIRES is now the last C++0x keyword. 2008-01-25 Douglas Gregor <doug.gregor@gmail.com> * cp/decl.c (tag_name): concept_type -> "concept" (xref_tag): concepts are stored as RECORD_TYPE nodes. * cp/pt.c (lookup_template_class): When creating a new type for a concept, mark it as a concept-id. * cp/concept.c (begin_concept_definition): New. (check_refinement): New. (xref_refinements): New. (finish_concept_definition): New. * cp/parser.c (cp_parser_declaration): Parse concepts. (cp_parser_concept_definition): New. (cp_parser_refinement_clause): New. (cp_parser_refinement_specifier): New. (cp_parser_concept_body): New, stub. * cp/config-lang.in (gtfiles): Add cp/concept.c. * cp/Make-lang.in (cp/concept.o): New, add to front end. * cp/cp-tree.h (enum concept_kind): New. (CLASSTYPE_USE_CONCEPT): New. (CONCEPT_P): New. (IMPLICIT_CONCEPT_P): New. (EXPLICIT_CONCEPT_P): New. (struct lang_type_class): Add use_concept field; update dummy bits. (enum tag_types): Add concept_type tag. (begin_concept_definition): Declare. (xref_refinements): Declare. (finish_concept_definition): Declare. 2008-01-25 Douglas Gregor <doug.gregor@gmail.com> * testsuite/g++.dg/concepts/refine-errors1.C: New. * testsuite/g++.dg/concepts/parse1.C: New. * testsuite/g++.dg/concepts/parse2.C: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cxx0x-concepts-branch@131834 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-242008-01-24 Douglas Gregor <doug.gregor@gmail.com>Doug Gregor
* c-common.c (rid): Add concepts keyword identifiers RID_AXIOM, RID_CONCEPT, RID_CONCEPT_MAP, RID_LATE_CHECK, and RID_REQUIRES. 2008-01-24 Douglas Gregor <doug.gregor@gmail.com> * cp/lex.c (reswords): Add concepts keywords as reserved words. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cxx0x-concepts-branch@131808 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24Mark merge point for cxx0x-concepts-branchDoug Gregor
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cxx0x-concepts-branch@131806 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24Branch for work on C++0x conceptsDoug Gregor
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cxx0x-concepts-branch@131803 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-242008-01-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu
PR driver/34904 * gcc.c (SWITCH_OK): Removed. (SWITCH_LIVE): Changed to bit. (SWITCH_FALSE): Likewise. (SWITCH_IGNORE): Likewise. (switchstr): Change live_cond to unsigned int. (process_command): Replace SWITCH_OK with 0. (do_self_spec): Likewise. (set_collect_gcc_options): Check the SWITCH_IGNORE bit. (give_switch): Likewise. (used_arg): Likewise. (do_spec_1): Set the SWITCH_IGNORE bit. (check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE bits. Set the SWITCH_LIVE bit. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131802 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * resource/gnu/classpath/tools/native2ascii/messages.propertiesTom Tromey
(Native2ASCII.ReversedHelpCompat): New. * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (createParser): Add -reverse. Update -reversed. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131801 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-242008-01-24 Daniel Franke <franke.daniel@gmail.com>Daniel Franke
* gfortran.texi (OpenMP): Extended existing documentation. (contributors): Added major contributors of 2008 that were not listed yet. (proposed extensions): Removed implemented items. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131800 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-242008-01-24 Andreas Krebbel <krebbel1@de.ibm.com>Andreas Krebbel
* config/s390/s390.h (MOVE_RATIO): Define new target macro. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131799 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24gcc/Richard Sandiford
PR tree-optimization/34472 * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA parameter to a "bool *" and set *DATA to false if there is an unsafe access. Do not delete the structure here. (check_cond_exprs): Delete it here instead. (check_cond_exprs, exclude_cold_structs): Do not increase I when removing a structure. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131798 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 PR target/34856Uros Bizjak
* config/i386/i386.c (ix86_expand_vector_init): Consider only CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements. testsuite/ChangeLog: PR target/34856 * gcc.dg/pr34856.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131796 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-242008-01-24 Tobias Burnus <burnus@net-b.de>Tobias Burnus
* gfortran.dg/namelist_39.f90: Delete temporary files. * gfortran.dg/namelist_44.f90: Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131795 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * shlibpath.m4: Add AIX 6 support.David Edelsohn
* configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131794 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * configure: Regenerate.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131793 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * configure: Regenerate.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131792 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * configure: Regenerate.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131791 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * configure: Regenerate.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131790 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * configure: Regenerate.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131789 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * configure: Regenerate.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131788 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * configure: Regenerate.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131787 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24Fix date.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131786 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * configure: Regenerate.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131785 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * configure: Regenerate.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131784 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 * libtool.m4: Backport AIX 6 support from ToT Libtool.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131783 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-242008-01-24 Richard Guenther <rguenther@suse.de>Richard Guenther
PR middle-end/34953 * g++.dg/torture/pr34953.C: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131782 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 PR middle-end/34934Jakub Jelinek
* tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of a fixed vector for stack. * gcc.c-torture/compile/20080124-1.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131780 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 PR c++/34913Jason Merrill
* decl2.c (is_late_template_attribute): Defer any attribute with dependent args. Also defer type attributes if the type is dependent. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131779 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24 PR c++/25701Ben Elliston
* doc/gcc.texi (Software development): Add a direntry for g++. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131778 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-242008-01-24 Paul Thomas <pault@gcc.gnu.org>Paul Thomas
PR fortran/34872 * parse.c (next_statement) : If ST_GET_FCN_CHARACTERISTICS is seen, check for a statement label and, if present, delete it and set the locus to the start of the statement. 2008-01-24 Paul Thomas <pault@gcc.gnu.org> PR fortran/34872 * gfortran.dg/function_charlen_3.f: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131777 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131772 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-24Revert this patch, as it is not a regression.Ben Elliston
2008-01-24 Ben Elliston <bje@au.ibm.com> PR other/22232 * fixproto: Escape "." in sed expression that strips leading "./". git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131769 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23 PR other/22232Ben Elliston
* fixproto: Escape "." in sed expression that strips leading "./". git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131768 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-232008-01-23 David Daney <ddaney@avtrex.com>David Daney
* class.c (hide) Rename to... (java_hide_decl) ... this throughout, and make public. * resource.c (Jr_count): Remove. (compile_resource_data): Call java_mangle_resource_name to generate decl name. Make resource decl public and hidden. * mangle.c (java_mangle_resource_name): New function. * java-tree.h (java_hide_decl, java_mangle_resource_name): Declare functions. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131767 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23 * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): DropHans-Peter Nilsson
stale and straggling -fforce-addr comments above. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131763 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23 * config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don'tHans-Peter Nilsson
define. * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define. * config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131762 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23 PR debug/34895Michael Matz
* dwarf2out.c (force_type_die): Use modified_type_die instead of gen_type_die. * g++.dg/debug/pr34895.cc: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131761 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-232008-01-23 Andreas Krebbel <krebbel1@de.ibm.com>Andreas Krebbel
* ipa-struct-reorg.c (create_new_malloc): Use pointer type as malloc result type. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131760 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23 * config/avr/avr.c (avr_current_arch): New variable.Anatoly Sokolov
(avr_arch_types): Add 'avr31' and 'avr51' entries. (avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'. (avr_mcu_types): Add 'avr31' and 'avr51' architectures. (avr_override_options): Init 'avr_current_arch'. (base_arch_s): Move from here... * config/avr/avr.h (base_arch_s): ... here. Add new members 'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename 'mega' to 'have_jmp_call'. (TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__", "__AVR_HAVE_RAMPZ__", "__AVR_HAVE_ELPM__" and "__AVR_HAVE_ELPMX__" macros. (LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51' architectures. * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_MATCHES): (Ditto.). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131759 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-232008-01-23 Richard Guenther <rguenther@suse.de>Richard Guenther
PR middle-end/31529 * cgraphunit.c (cgraph_reset_node): Always mark the node not reachable if it is not queued already. * gcc.dg/pr31529-1.c: New testcase. * gcc.dg/pr31529-2.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131758 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23 PR c++/34829Jakub Jelinek
* g++.dg/ext/pr34829.C (operator new): Use size_t instead of unsigned int for the first argument. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131756 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23 PR c++/28560Jason Merrill
* decl.c (groktypename): Also ignore attributes on dependent possibly-class types. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131755 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-232008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>Thiago Jung Bauermann
* cplus-dem.c (demangle_function_name): Changed to return value indicating if a name was correctly demangled. (iterate_demangle_function): Use demangle_function_name return value. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131754 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23 * config.sub, config.guess: Update from upstream sources.Ben Elliston
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131753 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23 * config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.Bernd Schmidt
* config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere. (cputype_selected): New static variable. (bfin_handle_option): Set it if -mcpu is used. (override_option): Select default set of workarounds if no cpu type selected on the command line. (workaround_rts_anomaly): Only run if ENABLE_WA_RETS. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131752 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23gcc/cp/ChangeLog:Jakub Jelinek
PR c++/33984 * call.c (reference_binding): For bitfields use the declared bitfield type. (add_builtin_candidates): Likewise. * class.c (layout_class_type): For bitfields copy over the original type quals. gcc/testsuite/ChangeLog: PR c++/33984 * g++.dg/conversion/bitfield7.C: New test. * g++.dg/cpp0x/decltype4.C: Fixed xfail. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131751 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-23Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131749 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-22gcc/Bernd Schmidt
From Michael Frysinger <michael.frysinger@analog.com> * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add BFIN_CPU_BF547, BFIN_CPU_BF523, BFIN_CPU_BF524, and BFIN_CPU_BF526. * config/bfin/elf.h (LIB_SPEC): Use proper linker script for bf547, bf523, bf524, and bf526. * config/bfin/bfin.c (bfin_cpus[]): Add bf547, bf523, bf524, and bf526. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __ADSPBF523__ for bf523, __ADSPBF524__ for bf524, __ADSPBF526__ for bf526, __ADSPBF52x__ for all three, as well as __ADSPBF547__ and __ADSPBF54x__ for bf547. * doc/invoke.texi (Blackfin Options): Document that -mcpu now accept bf547, bf523, bf524, and bf526. gcc/testsuite/ From Michael Frysinger <michael.frysinger@analog.com> * gcc.target/bfin/mcpu-bf547.c: New test. * gcc.target/bfin/mcpu-bf523.c: New test. * gcc.target/bfin/mcpu-bf524.c: New test. * gcc.target/bfin/mcpu-bf526.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131746 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-22 PR rtl-optimization/34628Eric Botcazou
* combine.c (try_combine): Stop and undo after the first combination if an autoincrement side-effect on the first insn has effectively been lost. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131744 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-22libcppTom Tromey
PR c++/34859: * macro.c (_cpp_create_definition): Handle __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS. gcc/testsuite PR c++/34859: * gcc.dg/cpp/pr34859.c: New file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131743 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-222008-01-22 Paul Thomas <pault@gcc.gnu.org>Paul Thomas
PR fortran/34875 * trans-io.c (gfc_trans_transfer): If the array reference in a read has a vector subscript, use gfc_conv_subref_array_arg to copy back the temporary. 2008-01-22 Paul Thomas <pault@gcc.gnu.org> PR fortran/34875 * gfortran.dg/vector_subscript_3.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131742 138bc75d-0d04-0410-961f-82ee72b054a4