tromey [Thu, 24 Jan 2008 18:31:50 +0000 (18:31 +0000)]
* resource/gnu/classpath/tools/native2ascii/messages.properties
(Native2ASCII.ReversedHelpCompat): New.
* tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
(createParser): Add -reverse. Update -reversed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131801
138bc75d-0d04-0410-961f-
82ee72b054a4
dfranke [Thu, 24 Jan 2008 18:28:11 +0000 (18:28 +0000)]
2008-01-24 Daniel Franke <franke.daniel@gmail.com>
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131800
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Thu, 24 Jan 2008 18:06:20 +0000 (18:06 +0000)]
2008-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.h (MOVE_RATIO): Define new target macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131799
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 24 Jan 2008 17:46:31 +0000 (17:46 +0000)]
gcc/
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131798
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 24 Jan 2008 17:08:10 +0000 (17:08 +0000)]
PR target/34856
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131796
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Thu, 24 Jan 2008 16:59:02 +0000 (16:59 +0000)]
2008-01-24 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/namelist_39.f90: Delete temporary files.
* gfortran.dg/namelist_44.f90: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131795
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:35:10 +0000 (16:35 +0000)]
* shlibpath.m4: Add AIX 6 support.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131794
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:33:29 +0000 (16:33 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131793
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:32:40 +0000 (16:32 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131792
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:31:24 +0000 (16:31 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131791
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:30:08 +0000 (16:30 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131790
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:29:16 +0000 (16:29 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131789
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:28:13 +0000 (16:28 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131788
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:27:14 +0000 (16:27 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131787
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:25:43 +0000 (16:25 +0000)]
Fix date.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131786
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:25:09 +0000 (16:25 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131785
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:23:13 +0000 (16:23 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131784
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 24 Jan 2008 16:21:00 +0000 (16:21 +0000)]
* libtool.m4: Backport AIX 6 support from ToT Libtool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131783
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 24 Jan 2008 16:02:51 +0000 (16:02 +0000)]
2008-01-24 Richard Guenther <rguenther@suse.de>
PR middle-end/34953
* g++.dg/torture/pr34953.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131782
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 24 Jan 2008 15:13:17 +0000 (15:13 +0000)]
PR middle-end/34934
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131780
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 24 Jan 2008 14:41:32 +0000 (14:41 +0000)]
PR c++/34913
* decl2.c (is_late_template_attribute): Defer any attribute with
dependent args. Also defer type attributes if the type is dependent.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131779
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Thu, 24 Jan 2008 10:22:11 +0000 (10:22 +0000)]
PR c++/25701
* doc/gcc.texi (Software development): Add a direntry for g++.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131778
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Thu, 24 Jan 2008 08:40:38 +0000 (08:40 +0000)]
2008-01-24 Paul Thomas <pault@gcc.gnu.org>
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131777
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 24 Jan 2008 00:17:30 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131772
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Thu, 24 Jan 2008 00:11:47 +0000 (00:11 +0000)]
Revert this patch, as it is not a regression.
2008-01-24 Ben Elliston <bje@au.ibm.com>
PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131769
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 23 Jan 2008 23:26:24 +0000 (23:26 +0000)]
PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131768
138bc75d-0d04-0410-961f-
82ee72b054a4
daney [Wed, 23 Jan 2008 23:00:39 +0000 (23:00 +0000)]
2008-01-23 David Daney <ddaney@avtrex.com>
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131767
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 23 Jan 2008 17:24:06 +0000 (17:24 +0000)]
* config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop
stale and straggling -fforce-addr comments above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131763
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 23 Jan 2008 17:17:58 +0000 (17:17 +0000)]
* config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don't
define.
* config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define.
* config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131762
138bc75d-0d04-0410-961f-
82ee72b054a4
matz [Wed, 23 Jan 2008 16:44:27 +0000 (16:44 +0000)]
PR debug/34895
* dwarf2out.c (force_type_die): Use modified_type_die instead of
gen_type_die.
* g++.dg/debug/pr34895.cc: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131761
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Wed, 23 Jan 2008 16:41:30 +0000 (16:41 +0000)]
2008-01-23 Andreas Krebbel <krebbel1@de.ibm.com>
* ipa-struct-reorg.c (create_new_malloc): Use pointer type as
malloc result type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131760
138bc75d-0d04-0410-961f-
82ee72b054a4
aesok [Wed, 23 Jan 2008 15:07:09 +0000 (15:07 +0000)]
* config/avr/avr.c (avr_current_arch): New variable.
(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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131759
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 23 Jan 2008 14:20:07 +0000 (14:20 +0000)]
2008-01-23 Richard Guenther <rguenther@suse.de>
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131758
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 23 Jan 2008 08:33:22 +0000 (08:33 +0000)]
PR c++/34829
* g++.dg/ext/pr34829.C (operator new): Use size_t instead of
unsigned int for the first argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131756
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 23 Jan 2008 05:11:58 +0000 (05:11 +0000)]
PR c++/28560
* decl.c (groktypename): Also ignore attributes on dependent
possibly-class types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131755
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 23 Jan 2008 05:04:03 +0000 (05:04 +0000)]
2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131754
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 23 Jan 2008 02:37:40 +0000 (02:37 +0000)]
* config.sub, config.guess: Update from upstream sources.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131753
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Wed, 23 Jan 2008 02:17:00 +0000 (02:17 +0000)]
* config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131752
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 23 Jan 2008 01:50:45 +0000 (01:50 +0000)]
gcc/cp/ChangeLog:
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131751
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 23 Jan 2008 00:17:08 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131749
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Tue, 22 Jan 2008 23:55:43 +0000 (23:55 +0000)]
gcc/
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131746
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 22 Jan 2008 22:27:47 +0000 (22:27 +0000)]
PR rtl-optimization/34628
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131744
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 22 Jan 2008 21:43:49 +0000 (21:43 +0000)]
libcpp
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131743
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Tue, 22 Jan 2008 21:22:13 +0000 (21:22 +0000)]
2008-01-22 Paul Thomas <pault@gcc.gnu.org>
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131742
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 22 Jan 2008 21:12:05 +0000 (21:12 +0000)]
PR target/34529
* config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
Offset addresses are not valid for Altivec or paired float modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131741
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 22 Jan 2008 19:50:37 +0000 (19:50 +0000)]
PR c++/34912
* friend.c (do_friend): Check for prior declaration of a friend
function of a local class.
* name-lookup.c (lookup_name_innermost_nonclass_level):
No longer static.
* name-lookup.h: Declare it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131740
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Tue, 22 Jan 2008 19:35:49 +0000 (19:35 +0000)]
2008-01-22 Tobias Burnus <burnus@net-b.de>
PR fortran/34848
* interface.c (compare_actual_formal): Fix adding type
to missing_arg_type for absent optional arguments.
2008-01-22 Tobias Burnus <burnus@net-b.de>
PR fortran/34848
* gfortran.dg/missing_optional_dummy_4.f90
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131738
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 22 Jan 2008 18:41:24 +0000 (18:41 +0000)]
* gcc.dg/vect/vect-ifcvt-9.c: Use inline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131735
138bc75d-0d04-0410-961f-
82ee72b054a4
grosser [Tue, 22 Jan 2008 18:23:52 +0000 (18:23 +0000)]
2008-01-22 Tobias Grosser <grosser@fim.uni-passau.de>
* Changelog: Insert forgotten entry of commit 131705.
Commit 131705 was:
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131734
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 22 Jan 2008 18:15:49 +0000 (18:15 +0000)]
* decl.c (components_to_record): Do not reuse the empty union type
if there is a representation clause on the record.
* trans.c (addressable_p): Return true for INTEGER_CST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131733
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 22 Jan 2008 17:54:59 +0000 (17:54 +0000)]
gcc/testsuite
PR c++/34829:
* g++.dg/ext/pr34829.C: New file.
gcc/cp
PR c++/34829:
* init.c (build_new_1): Only disallow Java aggregates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131732
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 22 Jan 2008 17:34:56 +0000 (17:34 +0000)]
2008-01-21 Matthias Klose <doko@ubuntu.com>
* doc/doxygen/user.cfg.in: Set SHORT_NAMES to YES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131731
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 22 Jan 2008 17:25:37 +0000 (17:25 +0000)]
PR c++/34607
* c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for
if DECL_INITIAL (decl) is error_mark_node.
* semantics.c (finish_omp_for): Don't call c_finish_omp_for
if decl or init is error_mark_node.
* gcc.dg/gomp/pr34607.c: New test.
* g++.dg/gomp/pr34607.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131730
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 22 Jan 2008 17:03:12 +0000 (17:03 +0000)]
PR c++/34914
* c-common.c (handle_vector_size_attribute): Only allow
integral, scalar float and fixed point types. Handle OFFSET_TYPE
the same way as pointer, array etc. types.
* tree.c (reconstruct_complex_type): Handle OFFSET_TYPE.
* g++.dg/ext/vector10.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131729
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Tue, 22 Jan 2008 16:43:20 +0000 (16:43 +0000)]
2008-01-22 Tobias Burnus <burnus@net-b.de>
PR fortran/34907
* parse.c (parse_spec): Change = into ==.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131728
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 22 Jan 2008 16:22:06 +0000 (16:22 +0000)]
PR c++/34918
* error.c (dump_expr): Handle VECTOR_CST.
* g++.dg/other/error23.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131727
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 22 Jan 2008 16:18:14 +0000 (16:18 +0000)]
PR c++/34917
* tree.c (build_type_attribute_qual_variant): Call
build_qualified_type if attributes are equal, but quals are not.
* g++.dg/ext/vector12.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131726
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 22 Jan 2008 14:48:05 +0000 (14:48 +0000)]
PR c++/33959
* pt.c (tsubst_aggr_type): Make sure our context is complete.
PR c++/34573
* pt.c (retrieve_local_specialization): Robustify.
(tsubst_pack_expansion, tsubst_decl): Remove redundant checks.
PR c++/34846
* pt.c (tsubst): Only call retrieve_local_specialization if the
original typedef was in a function template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131724
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Tue, 22 Jan 2008 14:19:01 +0000 (14:19 +0000)]
Missed testcases in earlier commit.
2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR 32102
testsuite/
* gcc.dg/Wstrict-overflow-21.c: New.
* g++.dg/warn/Wstrict-aliasing-8.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131722
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Tue, 22 Jan 2008 14:17:00 +0000 (14:17 +0000)]
Missed testcase in earlier commit.
2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/33092
testsuite/
* gcc.dg/pr33092.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131721
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Tue, 22 Jan 2008 14:11:44 +0000 (14:11 +0000)]
2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR 32102
* doc/invoke.texi (-Wall): -Wall enables -Wstrict-overflow=1.
* flags.h (warn_strict_aliasing): Remove.
(warn_strict_overflow): Remove.
* opts.c (warn_strict_aliasing): Remove.
(warn_strict_overflow): Remove.
* c-opts.c (c_common_handle_option): -Wall only sets
-Wstrict-aliasing or -Wstrict-overflow if they are uninitialized.
(c_common_post_options): Give default values to -Wstrict-aliasing
and -Wstrict-overflow if they are uninitialized.
* common.opt (Wstrict-aliasing): Specify Var and Init.
(Wstrict-overflow): Likewise.
testsuite/
* gcc.dg/Wstrict-overflow-21.c: New.
* g++.dg/warn/Wstrict-aliasing-8.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131720
138bc75d-0d04-0410-961f-
82ee72b054a4
zadeck [Tue, 22 Jan 2008 13:57:01 +0000 (13:57 +0000)]
2008-01-22 Kenneth Zadeck <zadeck@naturalbridge.com>
PR rtl-optimization/26854
PR rtl-optimization/34400
PR rtl-optimization/34884
* ddg.c (create_ddg_dep_from_intra_loop_link): Use
DF_RD->gen.
* df.h (df_changeable_flags.DF_RD_NO_TRIM): Deleted
(df_rd_bb_info.expanded_lr_out): Deleted
* loop_invariant.c (find_defs): Deleted DF_RD_NO_TRIM flag.
* loop_iv.c (iv_analysis_loop_init): Ditto. * df-problems.c
(df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
Removed code to allocate, initialize or free expanded_lr_out.
(df_rd_bb_local_compute_process_def): Restructured to make more
understandable.
(df_rd_confluence_n): Removed code to no apply invalidate_by_call
sets if the sets are being trimmed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131719
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 22 Jan 2008 13:55:11 +0000 (13:55 +0000)]
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/32287
* configure.ac (ld_vers): Support GNU linker version xx.xx.*
(as_vers): Likewise.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131718
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Tue, 22 Jan 2008 13:27:52 +0000 (13:27 +0000)]
2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/33092
* tree-pass.h (pass_build_alias): New pass.
* tree-ssa-alias.c (gate_build_alias): New.
(pass_build_alias): New.
* passes.c (init_optimization_passes): Add pass_build_alias after
pass_create_structure_vars.
testsuite/
* gcc.dg/pr33092.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131717
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Tue, 22 Jan 2008 13:06:32 +0000 (13:06 +0000)]
2008-01-22 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.target/s390/
20020926-1.c: Add -m31 option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131716
138bc75d-0d04-0410-961f-
82ee72b054a4
dfranke [Tue, 22 Jan 2008 12:19:54 +0000 (12:19 +0000)]
gcc/fortran:
2008-01-22 Daniel Franke <franke.daniel@gmail.com>
PR fortran/34915
* expr.c (check_elemental): Fix check for valid data types.
gcc/testsuite:
2008-01-22 Daniel Franke <franke.daniel@gmail.com>
PR fortran/34915
* gfortran.dg/initialization_18.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131715
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Tue, 22 Jan 2008 10:03:03 +0000 (10:03 +0000)]
2008-01-22 Wolfgang Gellerich <gellerich@de.ibm.com>
* config/s390/s390.h (S390_TDC_POSITIVE_NORMALIZED_NUMBER):
Renamed to S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER.
(S390_TDC_NEGATIVE_NORMALIZED_NUMBER): Renamed to
S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER.
(S390_TDC_POSITIVE_DENORMALIZED_NUMBER): Renamed to
S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER.
(S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): Renamed to
S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER.
(S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER): New constant.
(S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER): New constant.
(S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER): New constant.
(S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER): New constant.
* config/s390/s390.md (FP_ALL): New mode iterator.
(_d): New mode attribute.
("*signbit<mode>2>"): Changed mode of first operand.
("isinf<mode>2"): Changed mode of first operand.
("*TDC_insn"): Adaptation for DFP modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131714
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Tue, 22 Jan 2008 07:33:46 +0000 (07:33 +0000)]
2008-01-22 Tobias Burnus <burnus@net-b.de>
PR fortran/34899
* scanner.c (load_line): Support <tab><digit> continuation
* lines.
* invoke.texi (-Wtabs): Document this.
2008-01-22 Tobias Burnus <burnus@net-b.de>
PR fortran/34899
* gfortran.dg/tab_continuation.f: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131713
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Tue, 22 Jan 2008 06:01:54 +0000 (06:01 +0000)]
2008-01-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34896
* module.c (read_module): Set use_rename attribute.
2008-01-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34896
* gfortran.dg/use_rename_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131712
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Tue, 22 Jan 2008 05:57:39 +0000 (05:57 +0000)]
* tree.c (check_qualified_type): Improve function description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131711
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 22 Jan 2008 04:53:33 +0000 (04:53 +0000)]
PR c++/34196
* tree.h (TRY_CATCH_IS_CLEANUP): New macro.
* cp/decl.c (wrap_cleanups_r): Set TRY_CATCH_IS_CLEANUP.
* tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR
if it is set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131710
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 22 Jan 2008 00:17:12 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131708
138bc75d-0d04-0410-961f-
82ee72b054a4
grosser [Mon, 21 Jan 2008 23:51:10 +0000 (23:51 +0000)]
2008-01-22 Tobias Grosser <grosser@fim.uni-passau.de>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131705
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 21 Jan 2008 22:30:12 +0000 (22:30 +0000)]
* sv.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131704
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Mon, 21 Jan 2008 22:20:57 +0000 (22:20 +0000)]
* doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not
return zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131703
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 21 Jan 2008 21:04:00 +0000 (21:04 +0000)]
2008-01-21 Jonathan Wakely <jwakely.gcc@gmail.com>
* update_web_docs_libstdcxx_svn: "docs" dir moved to "doc".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131702
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 21 Jan 2008 20:08:38 +0000 (20:08 +0000)]
2008-01-21 Luciano Chavez <lnx1138@us.ibm.com>
PR libgcj/34369:
* java/net/URI.java (relativize): Check initial segment for
trailing "/".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131701
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Mon, 21 Jan 2008 18:33:10 +0000 (18:33 +0000)]
2007-01-21 Tobias Burnus <burnus@net-b.de>
PR fortran/34901
* interface.c (compare_parameter): Improved error message
for arguments of same type and mismatched kinds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131700
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 21 Jan 2008 16:21:45 +0000 (16:21 +0000)]
2008-01-21 Richard Guenther <rguenther@suse.de>
PR middle-end/34856
* tree-cfg.c (verify_expr): Allow all invariant expressions
instead of just constant class ones as reference argument.
* tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR
like any other constant.
* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
* gcc.c-torture/compile/pr34856.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131696
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 21 Jan 2008 15:54:41 +0000 (15:54 +0000)]
2008-01-21 H.J. Lu <hongjiu.lu@intel.com>
* regmove.c (fixup_match_1): Update call crossed frequencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131695
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 21 Jan 2008 14:25:46 +0000 (14:25 +0000)]
2008-01-21 Richard Guenther <rguenther@suse.de>
PR c/34885
* tree-inline.c (setup_one_parameter): Deal with mismatched
types using a VIEW_CONVERT_EXPR.
* gcc.c-torture/compile/pr34885.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131694
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 21 Jan 2008 12:05:13 +0000 (12:05 +0000)]
Update copyright year.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131693
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 21 Jan 2008 11:58:53 +0000 (11:58 +0000)]
* trans.c (gnat_to_gnu) <N_Free_Statement>: Use POINTER_PLUS_EXPR
in pointer arithmetics.
* utils2.c (build_allocator): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131692
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 21 Jan 2008 10:33:38 +0000 (10:33 +0000)]
* de.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131691
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 21 Jan 2008 09:34:19 +0000 (09:34 +0000)]
2008-01-21 Richard Guenther <rguenther@suse.de>
PR c++/34850
cp/
* error.c (cp_print_error_function): Deal with recursive
BLOCK trees.
* g++.dg/torture/pr34850.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131690
138bc75d-0d04-0410-961f-
82ee72b054a4
olga [Mon, 21 Jan 2008 09:07:12 +0000 (09:07 +0000)]
2008-01-21 Alon Dayan <alond@il.ibm.com>
Olga Golovanevsky <olga@il.ibm.com>
PR tree-optimization/34701
* gcc.dg/struct/wo_prof_array_field.c: New test.
2008-01-21 Alon Dayan <alond@il.ibm.com>
Olga Golovanevsky <olga@il.ibm.com>
PR tree-optimization/34701
* ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation
when the structure size is not a power of 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131689
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 21 Jan 2008 02:30:31 +0000 (02:30 +0000)]
/cp
2008-01-20 Paolo Carlini <pcarlini@suse.de>
PR c++/34891
* error.c (dump_expr): Deal with VIEW_CONVERT_EXPR.
/testsuite
2008-01-20 Paolo Carlini <pcarlini@suse.de>
PR c++/34891
* g++.dg/ext/vector9.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131687
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 21 Jan 2008 01:49:29 +0000 (01:49 +0000)]
/cp
2008-01-20 Paolo Carlini <pcarlini@suse.de>
PR c++/34776
PR c++/34486
* name-lookup.c (do_class_using_decl): Do not call constructor_name_p
on non-IS_AGGR_TYPE type scope.
(constructor_name_p): Assert IS_AGGR_TYPE.
/testsuite
2008-01-20 Paolo Carlini <pcarlini@suse.de>
PR c++/34776
PR c++/34486
* g++.dg/template/crash75.C: New.
* g++.dg/template/crash76.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131686
138bc75d-0d04-0410-961f-
82ee72b054a4
zadeck [Mon, 21 Jan 2008 01:09:04 +0000 (01:09 +0000)]
2008-01-20 Kenneth Zadeck <zadeck@naturalbridge.com>
* doc/install.texi: Add doc for --enable-checking=df.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131685
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 21 Jan 2008 00:17:21 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131683
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Mon, 21 Jan 2008 00:04:23 +0000 (00:04 +0000)]
PR rtl-optimization/34808
* emit-rtl.c (try_split): Handle REG_RETVAL notes.
* gcc.c-torture/compile/pr34808.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131680
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sun, 20 Jan 2008 16:58:15 +0000 (16:58 +0000)]
2008-01-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34861
* resolve.c (resolve_entries): Do not do an array bounds check
if the result symbols are the same.
PR fortran/34854
* module.c (read_module) : Hide the symtree of the previous
version of the symbol if this symbol is renamed.
2008-01-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34784
* gfortran.dg/mapping_2.f90: Correct ubound expression for h4.
PR fortran/34861
* gfortran.dg/entry_array_specs_3.f90: New test.
PR fortran/34854
* gfortran.dg/use_rename_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131679
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 20 Jan 2008 14:53:58 +0000 (14:53 +0000)]
* sv.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131678
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sun, 20 Jan 2008 10:26:42 +0000 (10:26 +0000)]
2008-01-20 Paul Thomas <pault@gcc.gnu.org>
* trans-array.c (gfc_add_loop_ss_code) : Correct whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131677
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 20 Jan 2008 08:47:14 +0000 (08:47 +0000)]
gcc/
* global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per
input.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131676
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sun, 20 Jan 2008 08:22:56 +0000 (08:22 +0000)]
2008-01-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34784
* array.c (gfc_check_constructor_type): Clear the expression ts
so that the checking starts from the deepest level of array
constructor.
* primary.c (match_varspec): If an unknown type is changed to
default character and the attempt to match a substring fails,
change it back to unknown.
PR fortran/34785
* trans-array.c (gfc_add_loop_ss_code) : If ss->string_length is
NULL for an array constructor, use the cl.length expression to
build it.
(gfc_conv_array_parameter): Change call to gfc_evaluate_now to
a tree assignment.
2008-01-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34784
* gfortran.dg/array_constructor_20.f90: New test.
* gfortran.dg/mapping_2.f90: Correct ubound expression for h4.
PR fortran/34785
* gfortran.dg/array_constructor_21.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131675
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sun, 20 Jan 2008 06:55:46 +0000 (06:55 +0000)]
Fix it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131674
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sun, 20 Jan 2008 06:48:39 +0000 (06:48 +0000)]
2008-01-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/34795
* gfortran.dg/inquire_13.f90: New test.
PR libfortran/34659
* gfortran.dg/continuation_9.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131673
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sun, 20 Jan 2008 06:33:49 +0000 (06:33 +0000)]
2008-01-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io/inquire.c (inquire_via_unit): If a unit is opened, return values
according to the open action for DIRECT, FORMATTED, and UNFORMATTED.
(inquire_via_filename): Return "UNKNOWN" for SEQUENTIAL, DIRECT,
FORAMATTED, and UNFORMATTED inquiries.
* io/unix.c (inquire_sequential): Return "UNKNOWN" when appropriate
for files that are not opened. (inquire_direct): Same.
(inquire_formatted): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131672
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 20 Jan 2008 01:48:44 +0000 (01:48 +0000)]
2008-01-19 Paolo Carlini <pcarlini@suse.de>
* configure: Regenerate.
* Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* aclocal.m4: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131671
138bc75d-0d04-0410-961f-
82ee72b054a4