[Bug tree-optimization/47555] [4.4 Regression] Huge memory usage when optimizing

2011-02-02 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47555

--- Comment #11 from rguenther at suse dot de rguenther at suse dot de 
2011-02-02 16:29:46 UTC ---
On Wed, 2 Feb 2011, spop at gcc dot gnu.org wrote:

 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47555
 
 --- Comment #10 from Sebastian Pop spop at gcc dot gnu.org 2011-02-02 
 16:01:34 UTC ---
 What about backporting this patch to 4.4 and 4.5?

I don't think this is a good idea.

Richard.


[Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306

2011-02-02 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47274

--- Comment #32 from Andreas Schwab sch...@linux-m68k.org 2011-02-02 16:42:05 
UTC ---
Similar (dormant) problem with slot_num.


[Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306

2011-02-02 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47274

--- Comment #33 from Andreas Schwab sch...@linux-m68k.org 2011-02-02 16:47:54 
UTC ---
All other calls to lto_output_data_stream use sizeof, so this should probably
do as well.


[Bug target/47543] [4.6 Regression] ICE: in extract_insn, at recog.c:2109 when building zlib

2011-02-02 Thread law at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47543

--- Comment #13 from Jeffrey A. Law law at gcc dot gnu.org 2011-02-02 
16:52:24 UTC ---
Author: law
Date: Wed Feb  2 16:52:21 2011
New Revision: 169533

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169533
Log:

PR middle-end/47543
* reload.c (find_reloads_address): Handle reg+d address where both
components are invalid by reloading the entire address.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/reload.c


[Bug fortran/47546] Internal error - free_pi_tree(): Unresolved fixup

2011-02-02 Thread townsend at astro dot wisc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47546

--- Comment #4 from Rich Townsend townsend at astro dot wisc.edu 2011-02-02 
16:52:49 UTC ---
On Feb 2, 2011, at 8:49 AM, janus at gcc dot gnu.org wrote:

 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47546
 
 --- Comment #3 from janus at gcc dot gnu.org 2011-02-02 14:49:16 UTC ---
 (In reply to comment #1)
 If gfortran is 4.5, I get 
 
 hydro_fluxes.f90:7.18:
 
  use hydro_speeds
  1
 Internal Error at (1):
 mio_component_ref(): Component not found
 
 
 I get the same error with gfortran 4.5, but 4.6 works nicely for me at 
 r169520.
 Rich, which version are you using?

Here's what gfortran -v gives:

Using built-in specs.
COLLECT_GCC=gfortran-mp-4.6
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin10/4.6.0/lto-wrapper
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.6-20110122/configure --prefix=/opt/local
--build=x86_64-apple-darwin10 --libdir=/opt/local/lib/gcc46
--includedir=/opt/local/include/gcc46 --infodir=/opt/local/share/info
--mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.6
--with-local-prefix=/opt/local --with-system-zlib --disable-nls
--program-suffix=-mp-4.6 --with-gxx-include-dir=/opt/local/include/gcc46/c++/
--with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local
--enable-stage1-checking --disable-multilib --enable-fully-dynamic-string
--enable-languages=c,c++,objc,obj-c++,fortran
Thread model: posix
gcc version 4.6.0 20110122 (experimental) (GCC) 

The install is via macports.

cheers,

Rich


[Bug target/47543] [4.6 Regression] ICE: in extract_insn, at recog.c:2109 when building zlib

2011-02-02 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47543

Jeffrey A. Law law at redhat dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #14 from Jeffrey A. Law law at redhat dot com 2011-02-02 16:53:02 
UTC ---
Fixed.


[Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306

2011-02-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47274

--- Comment #34 from Jakub Jelinek jakub at gcc dot gnu.org 2011-02-02 
16:57:26 UTC ---
Isn't the format of that section mandated by lto-plugin though?


[Bug c++/45894] [4.5 Regression] [C++0x] ICE: segmentation fault with -Wall

2011-02-02 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45894

--- Comment #13 from Jonathan Wakely redi at gcc dot gnu.org 2011-02-02 
17:08:14 UTC ---
... alternatively, I'll re-open PR 47589 as a separate non-C++0x bug on the 4.4
branch

here's a reduced testcase which makes 4.4.5 ICE, a regression since (at least)
4.1

typedef unsigned long long nsec_t;

class Engine { };

struct Fd
{
typedef void(*Cb)(Engine*, Fd*, nsec_t);

Fd(Cb cb);
};


namespace detail {

struct Cb
{
templateclass EventTag, class Derived static void fd(Engine*, Fd*,
nsec_t);
};

}

templateclass EventTag, class Derived
struct TaggedFd : Fd
{
TaggedFd()
: Fd(detail::Cb::fdEventTag, Derived)
{}
};


struct FdTag {};

struct DemuxTestClient
: TaggedFdFdTag, DemuxTestClient
{
DemuxTestClient() { }
};

$ ~/tools/Linux-x86_64/44/bin/g++ max.cc
max.cc: In constructor 'TaggedFdEventTag, Derived::TaggedFd() [with EventTag
= FdTag, Derived = DemuxTestClient]':
max.cc:37:   instantiated from here
max.cc:27: internal compiler error: Segmentation fault


[Bug fortran/47546] Internal error - free_pi_tree(): Unresolved fixup

2011-02-02 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47546

--- Comment #5 from janus at gcc dot gnu.org 2011-02-02 17:14:56 UTC ---
(In reply to comment #4)
  Rich, which version are you using?
 
 Here's what gfortran -v gives:
 [...]
 Target: x86_64-apple-darwin10
 [...]
 gcc version 4.6.0 20110122 (experimental) (GCC) 

Huh. Either it has been fixed in the meantime or it is a Darwin-specific
problem, since I don't see it on Linux with the current trunk.


[Bug c++/47589] internal compiler error: Segmentation fault

2011-02-02 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47589

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

  Attachment #23215|0   |1
is obsolete||

--- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2011-02-02 
17:22:07 UTC ---
Created attachment 23220
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23220
reduced testcase


[Bug target/46519] Missing vzeroupper

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46519

--- Comment #10 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:40:46 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:40:40 2011
New Revision: 169536

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169536
Log:
Visit basic blocks using the work-list based algorithm.

2011-01-24  H.J. Lu  hongjiu...@intel.com

PR target/46519
* config/i386/i386.c: Include sbitmap.h and fibheap.h.
(block_info): Add scanned and prev.
(move_or_delete_vzeroupper_2): Return if the basic block
has been scanned and the upper 128bit state is unchanged
from the last scan.
(move_or_delete_vzeroupper_1): Return true if the exit
state is changed.
(move_or_delete_vzeroupper): Visit basic blocks using the
work-list based algorithm based on vt_find_locations in
var-tracking.c.

* config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H).

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/config/i386/i386.c
branches/google/integration/gcc/config/i386/t-i386


[Bug libstdc++/47387] AIX ctype 'mask' override not working

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47387

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:41:46 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:41:43 2011
New Revision: 169539

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169539
Log:
2011-01-24  Graham Reed  gr...@pobox.com

PR libstdc++/47387
* config/os/aix/ctype_inline.h (ctypechar::is): Use _M_table if
provided.

Modified:
branches/google/integration/libstdc++-v3/ChangeLog
branches/google/integration/libstdc++-v3/config/os/aix/ctype_inline.h


[Bug c/21659] [4.3/4.4/4.5 Regression] [unit-at-a-time] weak declaration must precede definition error missing at = O1

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21659

--- Comment #12 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:42:07 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:42:05 2011
New Revision: 169542

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169542
Log:

PR c/21659
* doc/extend.texi (weak pragma): Drop claim that it must
appear before definition.
* varasm.c (merge_weak, declare_weak): Only sanity check
that DECL is not output at a time it is declared weak.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/doc/extend.texi
branches/google/integration/gcc/varasm.c


[Bug go/47452] Bootstrap fails in libgo (argument has incompatible type)

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47452

--- Comment #3 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:42:33 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:42:31 2011
New Revision: 169546

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169546
Log:
PR go/47452
Pick up local .gox files for specially built packages.

Modified:
branches/google/integration/libgo/Makefile.am
branches/google/integration/libgo/Makefile.in


[Bug rtl-optimization/47414] [4.6 Regression] wrong code with -O -freorder-blocks -fschedule-insns2 -fno-early-inlining -fstrict-aliasing -ftracer

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47414

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:45:53 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:45:50 2011
New Revision: 169575

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169575
Log:
2011-01-25  Richard Guenther  rguent...@suse.de

PR middle-end/47414
* tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the
correct type for TBAA.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/tree-ssa-alias.c


[Bug rtl-optimization/37273] [4.4/4.5/4.6 Regression] IRA does not re-materializes addresses (loads from the TOC)

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37273

--- Comment #11 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:46:20 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:46:18 2011
New Revision: 169579

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169579
Log:
PR rtl-optimization/37273
* ira-costs.c (scan_one_insn): Detect constants living in memory and
handle them like argument loads from stack slots.  Do not double
count memory for memory constants and argument loads from stack slots.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/ira-costs.c


[Bug target/45701] [4.6 Regression] Fail to prefer using r3 for padding a push/pop multiple to 8-byte alignment

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45701

--- Comment #12 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:46:52 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:46:50 2011
New Revision: 169583

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169583
Log:
PR target/45701
* config/arm/arm.c (any_sibcall_uses_r3): New function.
(arm_get_frame_offsets): Use it.

2011-01-25  Yao Qi  y...@codesourcery.com

PR target/45701
* gcc.target/arm/pr45701-1.c: New test.
* gcc.target/arm/pr45701-2.c: New test.
* gcc.target/arm/pr45701-3.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.target/arm/pr45701-1.c
branches/google/integration/gcc/testsuite/gcc.target/arm/pr45701-2.c
branches/google/integration/gcc/testsuite/gcc.target/arm/pr45701-3.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/config/arm/arm.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug tree-optimization/47427] [4.6 Regression] ICE in process_constraint, at tree-ssa-structalias.c:2901

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47427

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:46:08 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:46:04 2011
New Revision: 169577

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169577
Log:
PR tree-optimization/47427
PR tree-optimization/47428
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
coalesce if the new root var would be TREE_READONLY.

* gcc.c-torture/compile/pr47427.c: New test.
* gcc.c-torture/compile/pr47428.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47427.c
branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47428.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/tree-ssa-copyrename.c


[Bug tree-optimization/47428] [4.6 Regression] ICE: tree check: expected ssa_name, have integer_cst in copy_phis_for_bb, at tree-inline.c:1986

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47428

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:46:08 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:46:04 2011
New Revision: 169577

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169577
Log:
PR tree-optimization/47427
PR tree-optimization/47428
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
coalesce if the new root var would be TREE_READONLY.

* gcc.c-torture/compile/pr47427.c: New test.
* gcc.c-torture/compile/pr47428.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47427.c
branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47428.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/tree-ssa-copyrename.c


[Bug tree-optimization/43567] linear loop transform

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43567

--- Comment #10 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:48:04 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:48:00 2011
New Revision: 169591

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169591
Log:
Add testcase for PR43567.

2011-01-25  Sebastian Pop  sebastian@amd.com

PR tree-optimization/43567
* gcc.dg/graphite/pr43567.c: New.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/graphite/pr43567.c
Modified:
branches/google/integration/gcc/ChangeLog.graphite
branches/google/integration/gcc/testsuite/ChangeLog


[Bug tree-optimization/47382] [4.6 Regression] g++.dg/ipa/devirt-d-1.C FAILs with -finline-functions

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47382

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:47:25 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:47:21 2011
New Revision: 169587

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169587
Log:
2011-01-25  Martin Jambor  mjam...@suse.cz

PR tree-optimization/47382
* gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
(gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.

* testsuite/g++.dg/torture/pr47382.C: New test.
* testsuite/g++.dg/opt/devirt1.C: Xfail.

Added:
branches/google/integration/gcc/testsuite/g++.dg/torture/pr47382.C
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/gimple-fold.c
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/testsuite/g++.dg/opt/devirt1.C


[Bug tree-optimization/47271] [4.6 Regression] if-conversion removes a test (if), the function generates invalid outputs

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47271

--- Comment #18 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:46:36 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:46:33 2011
New Revision: 169581

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169581
Log:
Fix PR47271: only if-convert full writes.

2011-01-25  Sebastian Pop  sebastian@amd.com
Jakub Jelinek  ja...@redhat.com

PR tree-optimization/47271
* tree-if-conv.c (bb_postdominates_preds): New.
(if_convertible_bb_p): Call bb_postdominates_preds.
(if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS.
(predicate_scalar_phi): Call bb_postdominates_preds.

* gcc.dg/tree-ssa/ifc-pr47271.c: New.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/tree-ssa/ifc-pr47271.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/tree-if-conv.c


[Bug tree-optimization/47265] [4.6 Regression] Error: SSA name in freelist but still referenced

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47265

--- Comment #11 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:47:39 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:47:35 2011
New Revision: 169589

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169589
Log:
PR tree-optimization/47265
PR tree-optimization/47443
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
if name still has some uses.

* gcc.c-torture/compile/pr47265.c: New test.
* gcc.dg/pr47443.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47265.c
branches/google/integration/gcc/testsuite/gcc.dg/pr47443.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/tree-ssa-forwprop.c


[Bug tree-optimization/47443] [4.6 Regression] ICE: SSA name in freelist but still referenced or SIGSEGV with -fstack-check=generic

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47443

--- Comment #4 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:47:40 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:47:35 2011
New Revision: 169589

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169589
Log:
PR tree-optimization/47265
PR tree-optimization/47443
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
if name still has some uses.

* gcc.c-torture/compile/pr47265.c: New test.
* gcc.dg/pr47443.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47265.c
branches/google/integration/gcc/testsuite/gcc.dg/pr47443.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/tree-ssa-forwprop.c


[Bug tree-optimization/47426] [4.6 Regression] wrong code with -O2 -fipa-pta

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47426

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:47:02 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:46:57 2011
New Revision: 169584

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169584
Log:
2011-01-25  Richard Guenther  rguent...@suse.de

PR tree-optimization/47426
* tree-ssa-structalias.c (ipa_pta_execute): Make externally
visible functions results escape.

* gcc.dg/torture/pr47426-1.c: New testcase.
* gcc.dg/torture/pr47426-2.c: Likewise.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/torture/pr47426-1.c
branches/google/integration/gcc/testsuite/gcc.dg/torture/pr47426-2.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/tree-ssa-structalias.c


[Bug debug/45136] -fcompare-debug failure with -Os -fschedule-insns

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45136

--- Comment #15 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:49:12 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:49:06 2011
New Revision: 169597

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169597
Log:
PR debug/45136
PR debug/45130
* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
debug insns.
(no_real_insns_p, schedule_block, set_priorities): Drop special
treatment of boundary debug insns.
* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
insns.
* sched-ebb.c (schedule_ebbs): Don't skip debug insns.
* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
(BOUNDARY_DEBUG_INSN_P): Likewise.
(SCHEDULE_DEBUG_INSN_P): Likewise.
* sched-rgn.c (init_ready_list): Drop special treatment of
boundary debug insns.
* final.c (rest_of_clean-state): Clear notes' BB.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/final.c
branches/google/integration/gcc/haifa-sched.c
branches/google/integration/gcc/sched-deps.c
branches/google/integration/gcc/sched-ebb.c
branches/google/integration/gcc/sched-int.h
branches/google/integration/gcc/sched-rgn.c


[Bug tree-optimization/46215] ICE: verify_stmts failed: type mismatch in comparison expression with -fstrict-overflow -fno-tree-ch -ftree-loop-linear

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46215

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:48:45 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:48:39 2011
New Revision: 169595

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169595
Log:
Add testcase for PR46215.

2011-01-18  Sebastian Pop  sebastian@amd.com

PR tree-optimization/46215
* gcc.dg/graphite/pr46215.c: New.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/graphite/pr46215.c
Modified:
branches/google/integration/gcc/testsuite/ChangeLog


[Bug libfortran/47375] GETLOG not threadsafe, causes warnings/wrong-code with static linking

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47375

--- Comment #9 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:47:18 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:47:13 2011
New Revision: 169586

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169586
Log:
PR 47375 getlog thread safety

Modified:
branches/google/integration/libgfortran/ChangeLog
branches/google/integration/libgfortran/config.h.in
branches/google/integration/libgfortran/configure
branches/google/integration/libgfortran/configure.ac
branches/google/integration/libgfortran/intrinsics/getlog.c


[Bug tree-optimization/26854] Inordinate compile times on large routines

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854

--- Comment #128 from ian at gcc dot gnu.org ian at gcc dot gnu.org 
2011-01-26 01:26:52 UTC ---
Author: ian
Date: Wed Jan 26 01:26:48 2011
New Revision: 169267

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169267
Log:
PR tree-optimization/26854
* c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
(decl_jump_unsafe): Move higher in file, with no other change.
(bind): Set has_jump_unsafe_decl if appropriate.
(update_label_decls): Test has_jump_unsafe_decl to avoid loop.
(check_earlier_gotos): Likewise.
(c_check_switch_jump_warnings): Likewise.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c

--- Comment #129 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:50:06 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:49:54 2011
New Revision: 169601

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169601
Log:
PR tree-optimization/26854
* c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
(decl_jump_unsafe): Move higher in file, with no other change.
(bind): Set has_jump_unsafe_decl if appropriate.
(update_label_decls): Test has_jump_unsafe_decl to avoid loop.
(check_earlier_gotos): Likewise.
(c_check_switch_jump_warnings): Likewise.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/c-decl.c


[Bug tree-optimization/47411] [4.5 Regression] Bootstrap failure on x86-64/Darwin

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47411

--- Comment #9 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:46:00 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:45:57 2011
New Revision: 169576

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169576
Log:
2011-01-25  Richard Guenther  rguent...@suse.de

PR middle-end/47411
* gcc.dg/torture/pr47411.c: New testcase.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/torture/pr47411.c
Modified:
branches/google/integration/gcc/testsuite/ChangeLog


[Bug tree-optimization/46970] [4.3/4.4/4.5/4.6 Regression] wrong code with -Os -ftree-loop-linear

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46970

--- Comment #10 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:49:01 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:48:51 2011
New Revision: 169596

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169596
Log:
Add testcase for PR46970.

2011-01-18  Sebastian Pop  sebastian@amd.com

PR tree-optimization/46970
* gcc.dg/graphite/pr46970.c: New.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/graphite/pr46970.c
Modified:
branches/google/integration/gcc/testsuite/ChangeLog


[Bug tree-optimization/46168] [4.3/4.4/4.5/4.6 Regression] ICE: verify_ssa failed: definition in block 6 does not dominate use in block 5 with -ftree-loop-linear

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46168

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:48:33 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:48:28 2011
New Revision: 169594

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169594
Log:
Add testcase for PR46168.

2011-01-18  Sebastian Pop  sebastian@amd.com

PR tree-optimization/46168
* gcc.dg/graphite/pr46168.c: New.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/graphite/pr46168.c
Modified:
branches/google/integration/gcc/testsuite/ChangeLog


[Bug tree-optimization/29832] -ftree-loop-linear miscompiles scalarize.f90

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29832

--- Comment #12 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:48:11 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:48:08 2011
New Revision: 169592

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169592
Log:
Add testcase for PR29832.

2011-01-25  Sebastian Pop  sebastian@amd.com

PR tree-optimization/29832
* gfortran.dg/graphite/pr29832.f90: New.

Added:
branches/google/integration/gcc/testsuite/gfortran.dg/graphite/pr29832.f90
Modified:
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/47448] Invalid check for ASSIGNMENT(=)

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47448

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:46:13 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:46:11 2011
New Revision: 169578

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169578
Log:
2011-01-25  Tobias Burnus  bur...@net-b.de

PR fortran/47448
* interface.c (gfc_check_operator_interface): Fix
defined-assignment check.

2011-01-25  Tobias Burnus  bur...@net-b.de

PR fortran/47448
* gfortran.dg/redefined_intrinsic_assignment_2.f90: New.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/redefined_intrinsic_assignment_2.f90
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/interface.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug debug/45130] -fcompare-debug failure with -Os -fsched-spec-load -fschedule-insns

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45130

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:49:12 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:49:06 2011
New Revision: 169597

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169597
Log:
PR debug/45136
PR debug/45130
* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
debug insns.
(no_real_insns_p, schedule_block, set_priorities): Drop special
treatment of boundary debug insns.
* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
insns.
* sched-ebb.c (schedule_ebbs): Don't skip debug insns.
* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
(BOUNDARY_DEBUG_INSN_P): Likewise.
(SCHEDULE_DEBUG_INSN_P): Likewise.
* sched-rgn.c (init_ready_list): Drop special treatment of
boundary debug insns.
* final.c (rest_of_clean-state): Clear notes' BB.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/final.c
branches/google/integration/gcc/haifa-sched.c
branches/google/integration/gcc/sched-deps.c
branches/google/integration/gcc/sched-ebb.c
branches/google/integration/gcc/sched-int.h
branches/google/integration/gcc/sched-rgn.c


[Bug fortran/47339] Fortran 2003/2008: Valid NAMELIST rejected; Fortran 95: Invalid namelist objects accepted

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47339

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:52:20 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:52:14 2011
New Revision: 169614

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169614
Log:
2011-01-26  Tobias Burnus  bur...@net-b.de

PR fortran/47339
PR fortran/43062
* match.c (gfc_match_namelist): Allow assumed-length characters.
* resolve.c (resolve_fl_namelist): Adapt and add error messages.
* symbol.c (check_conflict): Allow allocatables in NML for
* F2003.
* trans-io.c (nml_get_addr_expr,transfer_namelist_element):
Changes due to that change.

2011-01-26  Tobias Burnus  bur...@net-b.de

PR fortran/47339
PR fortran/43062
* fortran.dg/namelist_69.f90: New test.
* fortran.dg/namelist_70.f90: New test.
* fortran.dg/namelist_assumed_char.f90: Modify dg-error, augment
* test.
* fortran.dg/namelist_3.f90: Adapt test.
* fortran.dg/namelist_34.f90: Ditto.
* fortran.dg/namelist_35.f90: Ditto.
* fortran.dg/namelist_5.f90: Ditto.
* fortran.dg/namelist_63.f90: Ditto.
* gfortran.dg/alloc_comp_constraint_1.f90: Ditto.

Added:
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_69.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_70.f90
Modified:
branches/google/integration/gcc/fortran/match.c
branches/google/integration/gcc/fortran/resolve.c
branches/google/integration/gcc/fortran/symbol.c
branches/google/integration/gcc/fortran/trans-io.c
   
branches/google/integration/gcc/testsuite/gfortran.dg/alloc_comp_constraint_1.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_3.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_34.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_35.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_5.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_63.f90
   
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_assumed_char.f90


[Bug lto/47423] Many testsuite failures caused by missing gxx_visibility_sj0

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47423

--- Comment #6 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:52:33 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:52:24 2011
New Revision: 169615

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169615
Log:
2011-01-26  Richard Guenther  rguent...@suse.de

PR lto/47423
* cgraphbuild.c (record_eh_tables): Record reference to personality
function.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/cgraphbuild.c


[Bug target/47246] [4.6 Regression] Invalid immediate offset for Thumb VFP store regression

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47246

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:51:01 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:50:47 2011
New Revision: 169605

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169605
Log:
2011-01-26  Chung-Lin Tang  clt...@codesourcery.com

PR target/47246
* config/arm/arm.c (thumb2_legitimate_index_p): Change the
lower bound of the allowed Thumb-2 coprocessor load/store
index range to -256. Add explaining comment.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/config/arm/arm.c


[Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43062

--- Comment #29 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:52:20 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:52:14 2011
New Revision: 169614

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169614
Log:
2011-01-26  Tobias Burnus  bur...@net-b.de

PR fortran/47339
PR fortran/43062
* match.c (gfc_match_namelist): Allow assumed-length characters.
* resolve.c (resolve_fl_namelist): Adapt and add error messages.
* symbol.c (check_conflict): Allow allocatables in NML for
* F2003.
* trans-io.c (nml_get_addr_expr,transfer_namelist_element):
Changes due to that change.

2011-01-26  Tobias Burnus  bur...@net-b.de

PR fortran/47339
PR fortran/43062
* fortran.dg/namelist_69.f90: New test.
* fortran.dg/namelist_70.f90: New test.
* fortran.dg/namelist_assumed_char.f90: Modify dg-error, augment
* test.
* fortran.dg/namelist_3.f90: Adapt test.
* fortran.dg/namelist_34.f90: Ditto.
* fortran.dg/namelist_35.f90: Ditto.
* fortran.dg/namelist_5.f90: Ditto.
* fortran.dg/namelist_63.f90: Ditto.
* gfortran.dg/alloc_comp_constraint_1.f90: Ditto.

Added:
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_69.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_70.f90
Modified:
branches/google/integration/gcc/fortran/match.c
branches/google/integration/gcc/fortran/resolve.c
branches/google/integration/gcc/fortran/symbol.c
branches/google/integration/gcc/fortran/trans-io.c
   
branches/google/integration/gcc/testsuite/gfortran.dg/alloc_comp_constraint_1.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_3.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_34.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_35.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_5.f90
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_63.f90
   
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_assumed_char.f90


[Bug tree-optimization/47237] [4.3/4.4/4.5 Regression] builtin_apply_args broken WRT local ABI changes.

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47237

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:53:23 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:53:17 2011
New Revision: 169620

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169620
Log:
PR target/47237
* gcc.c-torture/execute/pr47237.c: New testcase.

* cgraph.h (cgraph_local_info): New field can_change_signature.
* ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
signature can change.
(ipcp_estimate_growth): Call sequence simplify only if calle signature
can change.
(ipcp_insert_stage): Only compute args_to_skip if signature can change.
(cgraph_function_versioning): We can not change signature of functions
that don't allow that.
* lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
(lto_input_node): Likewise.
* ipa-inline.c (compute_inline_parameters): Compute
local.can_change_signature.
* ipa-split.c (visit_bb): Never split away APPLY_ARGS.
* tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions
that can not change signature.
* i386.c (ix86_function_regparm, ix86_function_sseregparm,
init_cumulative_args): Do not use local calling conventions for functions
that can not change signature.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog


[Bug other/47467] [4.6 Regression] hwint.h:239:3: error: implicit declaration of function 'abs'

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47467

--- Comment #11 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:52:42 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:52:33 2011
New Revision: 169616

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169616
Log:
2011-01-26  Richard Guenther  rguent...@suse.de

PR bootstrap/47467
* targext.c: Include config.h.
* gcc-interface/Make-lang.in (ada/targext.o): Add $(CONFIG_H)
dependency.

Modified:
branches/google/integration/gcc/ada/ChangeLog
branches/google/integration/gcc/ada/gcc-interface/Make-lang.in
branches/google/integration/gcc/ada/targext.c


[Bug c++/47476] [4.6 Regression] [C++0x] ICE in potential_constant_expression_1

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47476

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:54:54 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:54:50 2011
New Revision: 169630

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169630
Log:
PR c++/47476
* semantics.c (potential_constant_expression_1): Handle
TRUTH_XOR_EXPR.

* g++.dg/cpp0x/pr47476.C: New test.

Added:
branches/google/integration/gcc/testsuite/g++.dg/cpp0x/pr47476.C
Modified:
branches/google/integration/gcc/cp/ChangeLog
branches/google/integration/gcc/cp/semantics.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug tree-optimization/47237] [4.3/4.4/4.5 Regression] builtin_apply_args broken WRT local ABI changes.

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47237

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:53:16 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:53:08 2011
New Revision: 169619

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169619
Log:
PR target/47237
* cgraph.h (cgraph_local_info): New field can_change_signature.
* ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
signature can change.
(ipcp_estimate_growth): Call sequence simplify only if calle signature
can change.
(ipcp_insert_stage): Only compute args_to_skip if signature can change.
(cgraph_function_versioning): We can not change signature of functions
that don't allow that.
* lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
(lto_input_node): Likewise.
* ipa-inline.c (compute_inline_parameters): Compute
local.can_change_signature.
* ipa-split.c (visit_bb): Never split away APPLY_ARGS.
* tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions
that can not change signature.
* i386.c (ix86_function_regparm, ix86_function_sseregparm,
init_cumulative_args): Do not use local calling conventions for functions
that can not change signature.

Added:
branches/google/integration/gcc/testsuite/gcc.c-torture/execute/pr47237.c
Modified:
branches/google/integration/gcc/cgraph.c
branches/google/integration/gcc/cgraph.h
branches/google/integration/gcc/cgraphunit.c
branches/google/integration/gcc/config/i386/i386.c
branches/google/integration/gcc/ipa-cp.c
branches/google/integration/gcc/ipa-inline.c
branches/google/integration/gcc/ipa-split.c
branches/google/integration/gcc/lto-cgraph.c
branches/google/integration/gcc/tree-sra.c


[Bug tree-optimization/43657] [4.3/4.4/4.5/4.6 Regression] -ftree-loop-linear causes FAIL: gcc.dg/vect/vect-cond-5.c execution test

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43657

--- Comment #11 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:48:23 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:48:17 2011
New Revision: 169593

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169593
Log:
Add testcase for PR43657.

2011-01-18  Sebastian Pop  sebastian@amd.com

PR tree-optimization/43657
* gcc.dg/graphite/pr43657.c: New.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/graphite/pr43657.c
Modified:
branches/google/integration/gcc/testsuite/ChangeLog


[Bug rtl-optimization/44469] [4.5/4.6 Regression] internal compiler error: in fixup_reorder_chain, at cfglayout.c:797

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44469

--- Comment #11 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:54:49 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:54:41 2011
New Revision: 169629

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169629
Log:
PR rtl-optimization/44469
* cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too
after removing trivially dead basic blocks.

Added:
   
branches/google/integration/gcc/testsuite/gcc.c-torture/compile/20110126-1.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/cfgcleanup.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug tree-optimization/47190] [4.5 Regression] ICE: in function_and_variable_visibility, at ipa.c:934 with static weakref variable

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47190

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:52:55 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:52:42 2011
New Revision: 169617

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169617
Log:
PR tree-optimization/47190
 * cgraphunit.c (process_common_attributes): New function.
(process_function_and_variable_attributes): Use it.
* gcc.dg/attr-weakref-3.c: New testcase.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/attr-weakref-3.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/cgraphunit.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug libfortran/47285] G format outputs wrong number of characters when decimal supplied in literal

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47285

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:56:07 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:56:02 2011
New Revision: 169640

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169640
Log:
2011-01-26  Jerry DeLisle  jvdeli...@gcc.gnu.org

PR libgfortran/47285
* io/write_float.def (output_float): Return SUCCESS or FAILURE and use
the result to set the padding.

Modified:
branches/google/integration/libgfortran/ChangeLog
branches/google/integration/libgfortran/io/write_float.def


[Bug target/40125] libgcc_s DLL installed in wrong directory in cross toolchain

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40125

--- Comment #11 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:51:15 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:51:04 2011
New Revision: 169606

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169606
Log:
PR target/40125
* configure.ac (AM_LTLDFLAGS): Add -bindir option for windows DLLs.
* configure: Regenerate.

Modified:
branches/google/integration/libffi/ChangeLog
branches/google/integration/libffi/configure
branches/google/integration/libffi/configure.ac


[Bug target/40125] libgcc_s DLL installed in wrong directory in cross toolchain

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40125

--- Comment #12 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:51:31 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:51:28 2011
New Revision: 169608

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169608
Log:
gcc/ChangeLog:

PR target/40125
* config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
t-dlldir{,-x} fragment for build and add it to tmake_file.
(i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
* Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
* config/i386/t-dlldir: New file.
(SHLIB_DLLDIR): Define.
* config/i386/t-dlldir-x: New file.
(SHLIB_DLLDIR): Define.
* config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
(SHLIB_INSTALL): Use it.

libgcc/ChangeLog:

PR target/40125
* configure.ac: Call ACX_NONCANONICAL_TARGET.
(toolexecdir): Calculate and AC_SUBST.
(toolexeclibdir): Likewise.
* Makefile.in (target_noncanonical): Import.
(toolexecdir): Likewise.
(toolexeclibdir): Likewise.
* configure: Regenerate.

Added:
branches/google/integration/gcc/config/i386/t-dlldir
branches/google/integration/gcc/config/i386/t-dlldir-x
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/Makefile.in
branches/google/integration/gcc/config.gcc
branches/google/integration/gcc/config/i386/t-cygming
branches/google/integration/libgcc/ChangeLog
branches/google/integration/libgcc/Makefile.in
branches/google/integration/libgcc/configure
branches/google/integration/libgcc/configure.ac


[Bug libgomp/47464] [4.6 Regression] Many gomp failures

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47464

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:55:25 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:55:20 2011
New Revision: 169634

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169634
Log:

PR rtl-optimization/47464
* df-problems.c (can_move_insn_across): Use may_trap_or_fault_p
rather than may_trap_p as needed.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/df-problems.c


[Bug c/43082] [4.3/4.4/4.5/4.6 Regression] ICE in tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43082

--- Comment #11 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:55:59 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:55:55 2011
New Revision: 169639

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169639
Log:
In gcc/:
2011-01-26  Nicola Pero  nicola.p...@meta-innovation.com

PR c/43082
* c-typeck.c (c_objc_common_truthvalue_conversion): If we are
passed a VOID_TYPE expression, immediately emit an error and
return error_mark_node.

In gcc/testsuite/:
2011-01-26  Nicola Pero  nicola.p...@meta-innovation.com
Andrew Pinski  pins...@gmail.com

PR c/43082
* gcc.dg/pr43082.c: New.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/pr43082.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/c-typeck.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug target/46997] new ia64 vector instructions are broken on HP-UX (big-endian)

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46997

--- Comment #3 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:53:32 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:53:26 2011
New Revision: 169621

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169621
Log:
2011-01-26  Steve Ellcey  s...@cup.hp.com

PR target/46997
* config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN.
(*mux2): Ditto.
(vec_extract_evenodd_help): Ditto.
(vec_extract_evenv4hi): Ditto.
(vec_extract_oddv4hi): Ditto.
(vec_interleave_lowv2si): Ditto.
(vec_interleave_highv2si): Ditto.
(vec_extract_evenv2si): Ditto.
(vec_extract_oddv2si: Ditto.
(vec_pack_trunc_v2si): Ditto.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/config/ia64/vect.md


[Bug c/47473] [4.5 Regression] Incorrect computation with complex numbers when using -std=c99

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47473

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:53:56 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:53:51 2011
New Revision: 169624

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169624
Log:
PR c/47473
* c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
REAL_TYPE.

* gcc.dg/torture/pr47473.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/torture/pr47473.c
Modified:
branches/google/integration/gcc/c-family/ChangeLog
branches/google/integration/gcc/c-family/c-lex.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44174

--- Comment #11 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:56:42 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:56:39 2011
New Revision: 169645

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169645
Log:
PR rtl-optimization/44174
* gcc.target/i386/asm-6.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.target/i386/asm-6.c
Modified:
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/47491] [4.6 Regression] libgfortran: getpwuid_r (for GETLOG) breaks bootstrapping

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47491

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:57:34 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:57:29 2011
New Revision: 169651

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169651
Log:
PR 47491 getpwuid_r() bootstrap regression on Solaris

Modified:
branches/google/integration/libgfortran/ChangeLog
branches/google/integration/libgfortran/config.h.in
branches/google/integration/libgfortran/configure
branches/google/integration/libgfortran/configure.ac


[Bug rtl-optimization/46856] [4.6 regression] internal compiler error in final_scan_insn breaks m68k-linux bootstrap

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46856

--- Comment #10 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:56:15 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:56:10 2011
New Revision: 169641

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169641
Log:

PR rtl-optimization/46856
* postreload.c (reload_combine_recognize_const_pattern): Do not
separate cc0 setter and user on cc0 targets.

PR rtl-optimization/46856
* gcc.c-torture/compile/pr46856.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr46856.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/postreload.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug libfortran/47432] ttyname() not thread-safe

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47432

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:57:59 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:57:53 2011
New Revision: 169654

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169654
Log:
PR 47432 Use ttyname_r() if available

Modified:
branches/google/integration/libgfortran/ChangeLog
branches/google/integration/libgfortran/config.h.in
branches/google/integration/libgfortran/configure
branches/google/integration/libgfortran/configure.ac
branches/google/integration/libgfortran/io/inquire.c
branches/google/integration/libgfortran/io/intrinsics.c
branches/google/integration/libgfortran/io/unix.c
branches/google/integration/libgfortran/io/unix.h


[Bug fortran/45170] [F2003] allocatable character lengths

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170

--- Comment #12 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:59:37 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:59:29 2011
New Revision: 169666

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169666
Log:
2011-01-28  Paul Thomas  pa...@gcc.gnu.org
Tobias Burnus  bur...@gcc.gnu.org

PR fortran/45170
PR fortran/35810
PR fortran/47350
* interface.c (compare_actual_formal): An allocatable or pointer
deferred length actual is only allowed if the formal argument
is also deferred length. Clean up whitespace.
* trans-expr.c (gfc_conv_procedure_call): Pass string length for
deferred character length formal arguments by reference. Do the
same for function results.
(gfc_trans_pointer_assignment): Do not do runtime check of lhs
and rhs character lengths, if deferred length lhs.  In this case
set the lhs character length to that of the rhs.
(gfc_conv_string_parameter): Remove assert that string length is
an integer type.
(is_scalar_reallocatable_lhs): New function.
(alloc_scalar_allocatable_for_assignment): New function.
(gfc_trans_assignment_1): Call above new function. If the rhs is
a deferred character length itself, makes ure that the function
is called before reallocation, so that the length is available.
(gfc_trans_asssignment): Remove error about assignment to
deferred length character variables.
* gfortran.texi : Update entry about (re)allocation on
assignment.
* trans-stmt.c (gfc_trans_allocate): Add code to handle deferred
length character variables.
* module.c (mio_typespec): Transfer deferred characteristic.
* trans-types.c (gfc_get_function_type): New code to generate
hidden typelist, so that those character lengths that are
passed by reference get the right type.
* resolve.c (resolve_contained_fntype): Supress error for
deferred character length functions.
(resolve_function, resolve_fl_procedure) The same.
(check_symbols): Remove the error that support for
entity with deferred type parameter is not yet implemented.
(resolve_fl_derived): The same.
match.c (alloc_opt_list): Allow MOLD for deferred length object.
* trans-decl.c (gfc_get_symbol_decl): For deferred character
length dummies, generate a local variable for string length.
(create_function_arglist): Hidden length can be a pointer.
(gfc_trans_deferred_vars): For deferred character length
results and dummies, assign the string length to the local
variable from the hidden argument on entry and the other way
round on exit, as appropriate.

2011-01-28  Paul Thomas  pa...@gcc.gnu.org
Tobias Burnus  bur...@gcc.gnu.org

PR fortran/45170
PR fortran/35810
PR fortran/47350
* gfortran.dg/realloc_on_assign_3.f03: New test.
* gfortran.dg/realloc_on_assign_4.f03: New test.
* gfortran.dg/realloc_on_assign_5.f90: New test.
* gfortran.dg/allocatable_function_5.f90: New test.
* gfortran.dg/allocate_deferred_char_scalar_1.f90: New test.
* gfortran.dg/deferred_type_param_2.f90: Remove two not yet
implemented dg-errors.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/allocate_deferred_char_scalar_1.f03
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_3.f03
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_4.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/gfortran.texi
branches/google/integration/gcc/fortran/interface.c
branches/google/integration/gcc/fortran/match.c
branches/google/integration/gcc/fortran/module.c
branches/google/integration/gcc/fortran/resolve.c
branches/google/integration/gcc/fortran/trans-decl.c
branches/google/integration/gcc/fortran/trans-expr.c
branches/google/integration/gcc/fortran/trans-stmt.c
branches/google/integration/gcc/fortran/trans-types.c
branches/google/integration/gcc/testsuite/ChangeLog
   
branches/google/integration/gcc/testsuite/gfortran.dg/deferred_type_param_2.f90


[Bug debug/45454] [4.6 Regression] ICE: in verify_target_availability, at sel-sched.c:1614

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45454

--- Comment #9 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:51:38 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:51:35 2011
New Revision: 169609

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169609
Log:
PR debug/45454
* sel-sched.c (moveup_expr): Don't let debug insns prevent
non-debug insns from moving up.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/sel-sched.c


[Bug pch/47430] [4.6 Regression] Random PCH related bootstrap failures on powerpc64-linux

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47430

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:51:46 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:51:42 2011
New Revision: 169610

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169610
Log:
PR pch/47430
* c-opts.c (c_common_post_options): Call c_common_no_more_pch
after init_c_lex if pch_file is set.

Modified:
branches/google/integration/gcc/c-family/ChangeLog
branches/google/integration/gcc/c-family/c-opts.c


[Bug fortran/47472] Rules printed by -M option contains duplicate slash when -J option is used

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47472

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:56:28 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:56:25 2011
New Revision: 169643

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169643
Log:
2011-01-27  Tobias Burnus  bur...@net-b.de

PR fortran/47472
* options.c (gfc_handle_module_path_options): Save
module path without trailing slash as include path.

Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/options.c


[Bug fortran/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35810

--- Comment #19 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:59:36 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:59:29 2011
New Revision: 169666

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169666
Log:
2011-01-28  Paul Thomas  pa...@gcc.gnu.org
Tobias Burnus  bur...@gcc.gnu.org

PR fortran/45170
PR fortran/35810
PR fortran/47350
* interface.c (compare_actual_formal): An allocatable or pointer
deferred length actual is only allowed if the formal argument
is also deferred length. Clean up whitespace.
* trans-expr.c (gfc_conv_procedure_call): Pass string length for
deferred character length formal arguments by reference. Do the
same for function results.
(gfc_trans_pointer_assignment): Do not do runtime check of lhs
and rhs character lengths, if deferred length lhs.  In this case
set the lhs character length to that of the rhs.
(gfc_conv_string_parameter): Remove assert that string length is
an integer type.
(is_scalar_reallocatable_lhs): New function.
(alloc_scalar_allocatable_for_assignment): New function.
(gfc_trans_assignment_1): Call above new function. If the rhs is
a deferred character length itself, makes ure that the function
is called before reallocation, so that the length is available.
(gfc_trans_asssignment): Remove error about assignment to
deferred length character variables.
* gfortran.texi : Update entry about (re)allocation on
assignment.
* trans-stmt.c (gfc_trans_allocate): Add code to handle deferred
length character variables.
* module.c (mio_typespec): Transfer deferred characteristic.
* trans-types.c (gfc_get_function_type): New code to generate
hidden typelist, so that those character lengths that are
passed by reference get the right type.
* resolve.c (resolve_contained_fntype): Supress error for
deferred character length functions.
(resolve_function, resolve_fl_procedure) The same.
(check_symbols): Remove the error that support for
entity with deferred type parameter is not yet implemented.
(resolve_fl_derived): The same.
match.c (alloc_opt_list): Allow MOLD for deferred length object.
* trans-decl.c (gfc_get_symbol_decl): For deferred character
length dummies, generate a local variable for string length.
(create_function_arglist): Hidden length can be a pointer.
(gfc_trans_deferred_vars): For deferred character length
results and dummies, assign the string length to the local
variable from the hidden argument on entry and the other way
round on exit, as appropriate.

2011-01-28  Paul Thomas  pa...@gcc.gnu.org
Tobias Burnus  bur...@gcc.gnu.org

PR fortran/45170
PR fortran/35810
PR fortran/47350
* gfortran.dg/realloc_on_assign_3.f03: New test.
* gfortran.dg/realloc_on_assign_4.f03: New test.
* gfortran.dg/realloc_on_assign_5.f90: New test.
* gfortran.dg/allocatable_function_5.f90: New test.
* gfortran.dg/allocate_deferred_char_scalar_1.f90: New test.
* gfortran.dg/deferred_type_param_2.f90: Remove two not yet
implemented dg-errors.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/allocate_deferred_char_scalar_1.f03
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_3.f03
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_4.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/gfortran.texi
branches/google/integration/gcc/fortran/interface.c
branches/google/integration/gcc/fortran/match.c
branches/google/integration/gcc/fortran/module.c
branches/google/integration/gcc/fortran/resolve.c
branches/google/integration/gcc/fortran/trans-decl.c
branches/google/integration/gcc/fortran/trans-expr.c
branches/google/integration/gcc/fortran/trans-stmt.c
branches/google/integration/gcc/fortran/trans-types.c
branches/google/integration/gcc/testsuite/ChangeLog
   
branches/google/integration/gcc/testsuite/gfortran.dg/deferred_type_param_2.f90


[Bug other/47467] [4.6 Regression] hwint.h:239:3: error: implicit declaration of function 'abs'

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47467

--- Comment #12 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:55:10 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:55:07 2011
New Revision: 169632

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169632
Log:
PR bootstrap/47467
* targext.c: Include target files if IN_RTS is defined.

Modified:
branches/google/integration/gcc/ada/ChangeLog
branches/google/integration/gcc/ada/targext.c


[Bug target/42894] [4.5 Regression] Invalid rtl sharing in Thumb1.

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42894

--- Comment #23 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:00:37 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:00:29 2011
New Revision: 169672

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169672
Log:
PR target/42894
* varasm.c (force_const_mem): Store copy of x in desc-constant
instead of x itself.
* expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
itself into REG_EQUAL note.

* gcc.dg/tls/pr42894.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/tls/pr42894.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/expr.c
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/varasm.c


[Bug libfortran/47431] ctime() not thread-safe

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47431

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:58:08 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:58:02 2011
New Revision: 169655

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169655
Log:
Pr 47431 CTIME/FDATE thread-safety using ctime_r()

Modified:
branches/google/integration/libgfortran/ChangeLog
branches/google/integration/libgfortran/config.h.in
branches/google/integration/libgfortran/configure
branches/google/integration/libgfortran/configure.ac
branches/google/integration/libgfortran/intrinsics/ctime.c


[Bug fortran/47350] Deferred string length: ALLOCATE should allow MOLD=

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47350

--- Comment #4 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:59:40 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:59:29 2011
New Revision: 169666

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169666
Log:
2011-01-28  Paul Thomas  pa...@gcc.gnu.org
Tobias Burnus  bur...@gcc.gnu.org

PR fortran/45170
PR fortran/35810
PR fortran/47350
* interface.c (compare_actual_formal): An allocatable or pointer
deferred length actual is only allowed if the formal argument
is also deferred length. Clean up whitespace.
* trans-expr.c (gfc_conv_procedure_call): Pass string length for
deferred character length formal arguments by reference. Do the
same for function results.
(gfc_trans_pointer_assignment): Do not do runtime check of lhs
and rhs character lengths, if deferred length lhs.  In this case
set the lhs character length to that of the rhs.
(gfc_conv_string_parameter): Remove assert that string length is
an integer type.
(is_scalar_reallocatable_lhs): New function.
(alloc_scalar_allocatable_for_assignment): New function.
(gfc_trans_assignment_1): Call above new function. If the rhs is
a deferred character length itself, makes ure that the function
is called before reallocation, so that the length is available.
(gfc_trans_asssignment): Remove error about assignment to
deferred length character variables.
* gfortran.texi : Update entry about (re)allocation on
assignment.
* trans-stmt.c (gfc_trans_allocate): Add code to handle deferred
length character variables.
* module.c (mio_typespec): Transfer deferred characteristic.
* trans-types.c (gfc_get_function_type): New code to generate
hidden typelist, so that those character lengths that are
passed by reference get the right type.
* resolve.c (resolve_contained_fntype): Supress error for
deferred character length functions.
(resolve_function, resolve_fl_procedure) The same.
(check_symbols): Remove the error that support for
entity with deferred type parameter is not yet implemented.
(resolve_fl_derived): The same.
match.c (alloc_opt_list): Allow MOLD for deferred length object.
* trans-decl.c (gfc_get_symbol_decl): For deferred character
length dummies, generate a local variable for string length.
(create_function_arglist): Hidden length can be a pointer.
(gfc_trans_deferred_vars): For deferred character length
results and dummies, assign the string length to the local
variable from the hidden argument on entry and the other way
round on exit, as appropriate.

2011-01-28  Paul Thomas  pa...@gcc.gnu.org
Tobias Burnus  bur...@gcc.gnu.org

PR fortran/45170
PR fortran/35810
PR fortran/47350
* gfortran.dg/realloc_on_assign_3.f03: New test.
* gfortran.dg/realloc_on_assign_4.f03: New test.
* gfortran.dg/realloc_on_assign_5.f90: New test.
* gfortran.dg/allocatable_function_5.f90: New test.
* gfortran.dg/allocate_deferred_char_scalar_1.f90: New test.
* gfortran.dg/deferred_type_param_2.f90: Remove two not yet
implemented dg-errors.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/allocate_deferred_char_scalar_1.f03
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_3.f03
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_4.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/gfortran.texi
branches/google/integration/gcc/fortran/interface.c
branches/google/integration/gcc/fortran/match.c
branches/google/integration/gcc/fortran/module.c
branches/google/integration/gcc/fortran/resolve.c
branches/google/integration/gcc/fortran/trans-decl.c
branches/google/integration/gcc/fortran/trans-expr.c
branches/google/integration/gcc/fortran/trans-stmt.c
branches/google/integration/gcc/fortran/trans-types.c
branches/google/integration/gcc/testsuite/ChangeLog
   
branches/google/integration/gcc/testsuite/gfortran.dg/deferred_type_param_2.f90


[Bug rtl-optimization/46878] [4.6 regression] V850 ICE in in maybe_add_or_update_dep_1, at sched-deps.c:854

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46878

--- Comment #25 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:55:04 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:54:59 2011
New Revision: 169631

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169631
Log:
PR rtl-optimization/46878
* combine.c (insn_a_feeds_b): Check for the implicit cc0
setter/user dependency as well.

* gcc.dg/pr46878-1.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/pr46878-1.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/combine.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/47507] PURE functions with VALUE arguments invalidly rejectd

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47507

--- Comment #3 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:00:53 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:00:47 2011
New Revision: 169674

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169674
Log:
2011-01-28  Tobias Burnus  bur...@net-b.de

PR fortran/47507
* resolve.c (resolve_formal_arglist): Allow arguments with VALUE
attribute also without INTENT.

2011-01-28  Tobias Burnus  bur...@net-b.de

PR fortran/47507
* gfortran.dg/pure_formal_1.f90: New.

Added:
branches/google/integration/gcc/testsuite/gfortran.dg/pure_formal_1.f90
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/resolve.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug libfortran/47434] Wrong field width for NaN with (F0.n) formatting

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47434

--- Comment #13 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:02:34 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:02:28 2011
New Revision: 169686

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169686
Log:
2011-01-29  Jerry DeLisle  jvdeli...@gcc.gnu.org

PR libgfortran/47434
* io/write_float.def (write_infnan): Use calculate_sign to determine
if the sign should be given and check field widths accordingly.

Modified:
branches/google/integration/libgfortran/ChangeLog
branches/google/integration/libgfortran/io/write_float.def


[Bug fortran/47523] Concatenation with deferred length character with lhs variable

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47523

--- Comment #6 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:04:31 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:04:21 2011
New Revision: 169697

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169697
Log:
2011-01-30  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.

2011-01-30  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.

PR fortran/45170
PR fortran/35810
PR fortran/47350
* gfortran.dg/allocatable_function_5.f90: New test not added by
mistake on 2011-01-28.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/allocatable_function_5.f90
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_5.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/trans-expr.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug tree-optimization/47228] [4.6 Regression] wrong code with loop

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47228

--- Comment #9 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:57:08 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:57:01 2011
New Revision: 169648

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169648
Log:
2011-01-27  Martin Jambor  mjam...@suse.cz

PR tree-optimization/47228
* tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of
build_ref_for_offset.

* testsuite/gcc.dg/torture/pr47228.c: New test.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/torture/pr47228.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/tree-sra.c


[Bug target/40183] g++.dg/tls/static-1.C, execution abort

2011-02-02 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40183

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot 
Uni-Bielefeld.DE 2011-02-02 18:01:11 UTC ---
 It looks like this is resolved with binutils-2.21.  I used the gld from
 binutils-2.21 with the .o files produced by gas in binutils-2.20.1 and the
 gcc-4.5.2 compiler, and the tls/static-1.C test now passes.  (Using gcc's -v
 feature to find out what the actual link command was; replacing collect2 with 
 a
 direct call to ld seems to work well enough for this test.)

If binutils were in use (which doesn't seem to be the case from the g++
-v output), you'd be right: before my patches that went into binutils
2.21, gld cannot have worked with static TLS on Solaris 2:

Properly align static TLS segments on Solaris 2
http://sourceware.org/ml/binutils/2010-09/msg00485.html
http://sourceware.org/ml/binutils/2010-10/msg00291.html

Properly align static TLS segments on Solaris 2/SPARC
http://sourceware.org/ml/binutils/2010-10/msg00348.html

I'll add a corresponding caveat to the GCC 4.6 installation docs.

Rainer


[Bug go/47515] Issues porting libgo to IRIX 6.5

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

--- Comment #6 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:02:18 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:02:13 2011
New Revision: 169684

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169684
Log:
PR go/47515
runtime: If no MAP_ANON, use /dev/zero.

Modified:
branches/google/integration/libgo/runtime/mem.c
branches/google/integration/libgo/runtime/runtime.h


[Bug libfortran/47434] Wrong field width for NaN with (F0.n) formatting

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47434

--- Comment #14 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:02:43 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:02:38 2011
New Revision: 169687

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169687
Log:
2011-01-29  Jerry DeLisle  jvdeli...@gcc.gnu.org

PR libgfortran/47434
* gfortran.dg/read_infnan_1.f90: Update test.
* gfortran.dg/module_nan.f90: Update test.
* gfortran.dg/char4_iunit_1.f03: Update test.
* gfortran.dg/large_real_kind_1.f90: Update test.
* gfortran.dg/real_const_3.f90: Update test.
* gfortran.fortran-torture/execute/nan_inf_fmt.f90: Update test.

Modified:
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/testsuite/gfortran.dg/char4_iunit_1.f03
branches/google/integration/gcc/testsuite/gfortran.dg/large_real_kind_1.f90
branches/google/integration/gcc/testsuite/gfortran.dg/module_nan.f90
branches/google/integration/gcc/testsuite/gfortran.dg/read_infnan_1.f90
branches/google/integration/gcc/testsuite/gfortran.dg/real_const_3.f90
   
branches/google/integration/gcc/testsuite/gfortran.fortran-torture/execute/nan_inf_fmt.f90


[Bug fortran/47042] ICE with character pointer in function

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47042

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:04:50 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:04:41 2011
New Revision: 169698

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169698
Log:
2011-01-31  Tobias Burnus  bur...@net-b.de

PR fortran/47042
* interface.c (gfc_procedure_use): Add explicit interface check
* for
pointer/allocatable functions.

2011-01-31  Tobias Burnus  bur...@net-b.de

PR fortran/47042
* gfortran.dg/interface_34.f90: New.

Added:
branches/google/integration/gcc/testsuite/gfortran.dg/interface_34.f90
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/interface.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/47350] Deferred string length: ALLOCATE should allow MOLD=

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47350

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:04:44 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:04:21 2011
New Revision: 169697

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169697
Log:
2011-01-30  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.

2011-01-30  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.

PR fortran/45170
PR fortran/35810
PR fortran/47350
* gfortran.dg/allocatable_function_5.f90: New test not added by
mistake on 2011-01-28.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/allocatable_function_5.f90
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_5.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/trans-expr.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/45170] [F2003] allocatable character lengths

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170

--- Comment #13 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:04:35 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:04:21 2011
New Revision: 169697

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169697
Log:
2011-01-30  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.

2011-01-30  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.

PR fortran/45170
PR fortran/35810
PR fortran/47350
* gfortran.dg/allocatable_function_5.f90: New test not added by
mistake on 2011-01-28.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/allocatable_function_5.f90
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_5.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/trans-expr.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug libstdc++/36104] [4.3/4.4/4.5/4.6 Regression] gnu-versioned-namespace is broken

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104

--- Comment #17 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:07:01 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:06:47 2011
New Revision: 169704

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169704
Log:
2011-01-30  Benjamin Kosnik  b...@redhat.com

PR libstdc++/36104 part four
* include/bits/c++config (_GLIBCXX_STD): Remove.
(_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
(_GLIBCXX_P): Now _GLIBCXX_STD_A.
(_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
(_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
 _GLIBCXX_INLINE_PROFILE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
(_GLIBCXX_END_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
(_GLIBCXX_END_NESTED_NAMESPACE): Remove.
(_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
(_GLIBCXX_END_NAMESPACE_ALGO): Add.
(_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
(_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
(_GLIBCXX_END_NAMESPACE_VERSION): Add.
(_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
(_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
(_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
* include/*: Use new macros for namespace scope.
* config/*: Same.
* src/*: Same.

* src/Makefile.am (sources): Remove debug_list.cc, add
compatibility-debug_list-2.cc.
(parallel_sources): Remove parallel_list.cc, add
compatibility-parallel_list-2.cc.
(compatibility-parallel_list-2.[o,lo]): New rule.
* src/Makefile.in: Regenerate.
* src/debug_list.cc: Remove.
* src/parallel_list.cc: Remove.
* src/compatibility-list-2.cc: New.
* src/compatibility-debug_list-2.cc: New.
* src/compatibility-parallel_list-2.cc: New.

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

* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
* testsuite/20_util/declval/requirements/1_neg.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
* testsuite/20_util/forward/c_neg.cc: Same.
* testsuite/20_util/forward/f_neg.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/forward_list/capacity/1.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Same.
* testsuite/23_containers/list/capacity/29134.cc: Same.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
* testsuite/25_algorithms/sort/35588.cc: Same.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
* testsuite/ext/profile/mutex_extensions_neg.cc: Same.
* testsuite/ext/profile/profiler_algos.cc: Same.
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
 

[Bug preprocessor/47311] [4.6 Regression][C++0x] ICE in tsubst @cp/pt.c:10502

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47311

--- Comment #30 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:01:21 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:01:17 2011
New Revision: 169677

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169677
Log:
Fix PR c++/47311

gcc/cp/

PR c++/47311
* cp-tree.h (fixup_template_parms): Declare.
* pt.c (end_template_parm_list): Do not fixup template parms here.
(fixup_template_parms): Remove static. Fix typo in the
comments. Remove useless code statement.
(fixup_template_parm): For a template template parameter, fixup
its attributes before fixing up its type.
* parser.c
(cp_parser_template_declaration_after_export): After parsing
template parameters fixup their types.

gcc/testsuite/

PR c++/47311
* g++.dg/template/param2.C: New test.

Added:
branches/google/integration/gcc/testsuite/g++.dg/template/param2.C
Modified:
branches/google/integration/gcc/cp/ChangeLog
branches/google/integration/gcc/cp/cp-tree.h
branches/google/integration/gcc/cp/parser.c
branches/google/integration/gcc/cp/pt.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug libfortran/47285] G format outputs wrong number of characters when decimal supplied in literal

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47285

--- Comment #9 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:01:08 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:00:57 2011
New Revision: 169675

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169675
Log:
2011-01-28  Jerry DeLisle  jvdeli...@gcc.gnu.org

PR libgfortran/47285
* gfortran.dg/fmt_g.f: New test.

Added:
branches/google/integration/gcc/testsuite/gfortran.dg/fmt_g.f
Modified:
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/47474] Wrong code with allocatable scalar, allocatable components as function result

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47474

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:58:22 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:58:18 2011
New Revision: 169657

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169657
Log:
2011-01-27  Tobias Burnus  bur...@net-b.de

PR fortran/47474
* trans-decl.c (gfc_generate_function_code): Fix init
of allocatable result variable with allocatable components.

Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/trans-decl.c


[Bug fortran/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35810

--- Comment #20 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:04:44 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:04:21 2011
New Revision: 169697

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169697
Log:
2011-01-30  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.

2011-01-30  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.

PR fortran/45170
PR fortran/35810
PR fortran/47350
* gfortran.dg/allocatable_function_5.f90: New test not added by
mistake on 2011-01-28.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/allocatable_function_5.f90
   
branches/google/integration/gcc/testsuite/gfortran.dg/realloc_on_assign_5.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/trans-expr.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/47042] ICE with character pointer in function

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47042

--- Comment #9 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:05:12 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:04:58 2011
New Revision: 169699

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169699
Log:
2011-01-31  Tobias Burnus  bur...@net-b.de

PR fortran/47042
* resolve.c (resolve_fl_procedure): Reject stmt functions
with pointer/allocatable attribute.

2011-01-31  Tobias Burnus  bur...@net-b.de

PR fortran/47042
* gfortran.dg/stmt_func_1.f90: New.

Added:
branches/google/integration/gcc/testsuite/gfortran.dg/stmt_func_1.f90
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/resolve.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug libgcj/44341] [4.6 Regression] libjava cross build fails when configured with --with-gmp=

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44341

--- Comment #14 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:08:42 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:08:30 2011
New Revision: 169710

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169710
Log:
ChangeLog:
PR libgcj/44341
* configure.ac: Discard --with-* flags for host when configuring
target libraries for cross build.
* configure: Rebuilt.
gcc/ChangeLog:
PR libgcj/44341
* doc/install.texi: Document host options discarded when cross
configuring target libraries.

Modified:
branches/google/integration/ChangeLog
branches/google/integration/configure
branches/google/integration/configure.ac
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/doc/install.texi


[Bug rtl-optimization/44031] [4.4/4.5 Regression] ice in subst_reloads, at reload.c:6327

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44031

--- Comment #14 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:09:15 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:09:04 2011
New Revision: 169713

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169713
Log:
PR rtl-optimization/44031
* gcc.c-torture/compile/20110131-1.c: New test.

Added:
   
branches/google/integration/gcc/testsuite/gcc.c-torture/compile/20110131-1.c
Modified:
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/47463] [OOP] ICE in gfc_add_component_ref

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47463

--- Comment #10 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:12:05 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:11:56 2011
New Revision: 169722

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169722
Log:
2011-01-31  Janus Weil  ja...@gcc.gnu.org

PR fortran/47463
* resolve.c (resolve_typebound_subroutine): Bug fix for the case of
an argument of a typebound assignment being a component.


2011-01-31  Janus Weil  ja...@gcc.gnu.org

PR fortran/47463
* gfortran.dg/typebound_assignment_1.f03: New.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/typebound_assignment_1.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/resolve.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug c++/47416] [4.6 Regression] ICE in build_data_member_initialization, at cp/semantics.c:5509

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47416

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:12:42 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:12:36 2011
New Revision: 169726

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169726
Log:
PR c++/47416
* semantics.c (build_data_member_initialization): Handle
STATEMENT_LIST always instead of just for CLEANUP_BODY.

* g++.dg/cpp0x/pr47416.C: New test.

Added:
branches/google/integration/gcc/testsuite/g++.dg/cpp0x/pr47416.C
Modified:
branches/google/integration/gcc/cp/ChangeLog
branches/google/integration/gcc/cp/semantics.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/47455] [4.6 Regression][OOP] internal compiler error: in fold_convert_loc, at fold-const.c:2028

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47455

--- Comment #16 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:13:45 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:13:38 2011
New Revision: 169733

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169733
Log:
2011-01-31  Janus Weil  ja...@gcc.gnu.org

PR fortran/47455
* trans-expr.c (gfc_conv_procedure_call): Handle procedure pointers
with pointer or allocatable result.


2011-01-31  Janus Weil  ja...@gcc.gnu.org

PR fortran/47455
* gfortran.dg/typebound_call_19.f03: New.

Added:
branches/google/integration/gcc/testsuite/gfortran.dg/typebound_call_19.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/trans-expr.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug target/45325] [4.6 Regression] target attribute doesn't work with -march=i586

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45325

--- Comment #19 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:11:44 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:11:36 2011
New Revision: 169720

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169720
Log:
PR target/45325
* gcc.target/i386/pr38240.c: Add dg-options -msse.

Modified:
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/testsuite/gcc.target/i386/pr38240.c


[Bug driver/47547] [4.5 Regression] WHOPR, can't use /dev/null as an output file

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47547

--- Comment #7 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:15:29 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:15:22 2011
New Revision: 169745

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169745
Log:
Check HOST_BIT_BUCKET when settting dump base/dir.

2011-02-01  H.J. Lu  hongjiu...@intel.com

PR driver/47547
* lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output
is HOST_BIT_BUCKET.

* opts.c (finish_options): Don't add x_aux_base_name if it is
HOST_BIT_BUCKET.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/lto-wrapper.c
branches/google/integration/gcc/opts.c


[Bug tree-optimization/47555] [4.4 Regression] Huge memory usage when optimizing

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47555

--- Comment #12 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:15:18 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:15:10 2011
New Revision: 169744

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169744
Log:
2011-02-01  Richard Guenther  rguent...@suse.de

PR tree-optimization/47555
Revert
2010-07-15  Sebastian Pop  sebastian@amd.com

* params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.

* gcc.dg/pr47555.c: New testcase.

Added:
branches/google/integration/gcc/testsuite/gcc.dg/pr47555.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/params.def
branches/google/integration/gcc/testsuite/ChangeLog


[Bug debug/45130] -fcompare-debug failure with -Os -fsched-spec-load -fschedule-insns

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45130

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:08:36 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:08:15 2011
New Revision: 169709

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169709
Log:
Reverted:
2011-01-25  Alexandre Oliva  aol...@redhat.com
PR debug/45136
PR debug/45130
* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
debug insns.
(no_real_insns_p, schedule_block, set_priorities): Drop special
treatment of boundary debug insns.
* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
insns.
* sched-ebb.c (schedule_ebbs): Don't skip debug insns.
* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
(BOUNDARY_DEBUG_INSN_P): Likewise.
(SCHEDULE_DEBUG_INSN_P): Likewise.
* sched-rgn.c (init_ready_list): Drop special treatment of
boundary debug insns.
* final.c (rest_of_clean-state): Clear notes' BB.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/final.c
branches/google/integration/gcc/haifa-sched.c
branches/google/integration/gcc/sched-deps.c
branches/google/integration/gcc/sched-ebb.c
branches/google/integration/gcc/sched-int.h
branches/google/integration/gcc/sched-rgn.c


[Bug debug/45136] -fcompare-debug failure with -Os -fschedule-insns

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45136

--- Comment #16 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:08:35 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:08:15 2011
New Revision: 169709

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169709
Log:
Reverted:
2011-01-25  Alexandre Oliva  aol...@redhat.com
PR debug/45136
PR debug/45130
* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
debug insns.
(no_real_insns_p, schedule_block, set_priorities): Drop special
treatment of boundary debug insns.
* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
insns.
* sched-ebb.c (schedule_ebbs): Don't skip debug insns.
* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
(BOUNDARY_DEBUG_INSN_P): Likewise.
(SCHEDULE_DEBUG_INSN_P): Likewise.
* sched-rgn.c (init_ready_list): Drop special treatment of
boundary debug insns.
* final.c (rest_of_clean-state): Clear notes' BB.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/final.c
branches/google/integration/gcc/haifa-sched.c
branches/google/integration/gcc/sched-deps.c
branches/google/integration/gcc/sched-ebb.c
branches/google/integration/gcc/sched-int.h
branches/google/integration/gcc/sched-rgn.c


[Bug target/46692] Missing LM32 multilibs for divider and sign extender

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46692

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:15:08 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:15:02 2011
New Revision: 169743

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169743
Log:
PR gcc/46692
* config/lm32/t-lm32: Add multilib for all CPU options.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/config/lm32/t-lm32


[Bug tree-optimization/47559] ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions and noexcept

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47559

--- Comment #4 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:15:57 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:15:52 2011
New Revision: 169748

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169748
Log:
2011-02-01  Richard Guenther  rguent...@suse.de

PR tree-optimization/47559
* tree-ssa-loop-im.c (can_sm_ref_p): Do not perform
store-motion on references that can throw.

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

Added:
branches/google/integration/gcc/testsuite/g++.dg/torture/pr47559.C
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/testsuite/ChangeLog
branches/google/integration/gcc/tree-ssa-loop-im.c


[Bug fortran/47531] SHAPE misses KIND= support

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47531

--- Comment #3 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:02:53 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:02:47 2011
New Revision: 169688

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169688
Log:
2011-01-29  Tobias Burnus  bur...@net-b.de

PR fortran/47531
* check.c (gfc_check_shape): Support kind argument in SHAPE.
* intrinsic.c (add_functions): Ditto.
* resolve.c (gfc_resolve_shape): Ditto.
* simplify.c (gfc_simplify_shape): Ditto.
* intrinsic.h (gfc_check_shape, gfc_resolve_shape,
gfc_simplify_shape): Update prototypes.
* intrinisc.text (SHAPE): Document kind argument.

2011-01-29  Tobias Burnus  bur...@net-b.de

PR fortran/47531
* gfortran.dg/shape_6.f90: New.

Added:
branches/google/integration/gcc/testsuite/gfortran.dg/shape_6.f90
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/check.c
branches/google/integration/gcc/fortran/intrinsic.c
branches/google/integration/gcc/fortran/intrinsic.h
branches/google/integration/gcc/fortran/intrinsic.texi
branches/google/integration/gcc/fortran/iresolve.c
branches/google/integration/gcc/fortran/simplify.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug middle-end/46949] [4.6 regression] ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46949

--- Comment #4 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
17:57:21 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:57:10 2011
New Revision: 169649

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169649
Log:
PR middle-end/46949
* cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
(process_function_and_variable_attributes): Check defined weakrefs.
* gcc.dg/attr-weakref-4.c: New testcase

Added:
branches/google/integration/gcc/testsuite/gcc.dg/attr-weakref-4.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/cgraphunit.c
branches/google/integration/gcc/testsuite/ChangeLog


[Bug fortran/47293] libquadmath: strtoflt128 - NAN not correctly read and C99 hex floating point format missing

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47293

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:14:27 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:14:22 2011
New Revision: 169738

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169738
Log:
2011-01-31  Jerry DeLisle  jvdeli...@gcc.gnu.org

PR libquadmath/47293
* gdtoa/qd_qnan.h: Fix NAN bit patterns.
* gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.

Modified:
branches/google/integration/libquadmath/ChangeLog
branches/google/integration/libquadmath/gdtoa/gd_qnan.h
branches/google/integration/libquadmath/gdtoa/strtopQ.c


[Bug tree-optimization/47561] Error message does not say to which option it refers

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47561

--- Comment #5 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:16:59 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:16:52 2011
New Revision: 169754

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169754
Log:
Fix PR47561: print the Graphite flags.

2011-02-01  Sebastian Pop  sebastian@amd.com

PR tree-optimization/47561
* toplev.c (process_options): Print the Graphite flags.  Add
flag_loop_flatten to the list of options requiring Graphite.

Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/toplev.c


[Bug fortran/47519] Deferred-length string wrong results with character intrinsic functions

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47519

--- Comment #8 from Diego Novillo dnovillo at gcc dot gnu.org 2011-02-02 
18:12:18 UTC ---
Author: dnovillo
Date: Wed Feb  2 18:12:07 2011
New Revision: 169723

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169723
Log:
2011-01-31  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47519
* trans-stmt.c (gfc_trans_allocate): Improve handling of
deferred character lengths with SOURCE.
* iresolve.c (gfc_resolve_repeat): Calculate character
length from source length and ncopies.
* dump-parse-tree.c (show_code_node): Show MOLD and SOURCE
expressions for ALLOCATE.


2011-01-31  Paul Thomas  pa...@gcc.gnu.org

PR fortran/47519
* gfortran.dg/allocate_deferred_char_scalar_2.f03: New test.

Added:
   
branches/google/integration/gcc/testsuite/gfortran.dg/allocate_deferred_char_scalar_2.f03
Modified:
branches/google/integration/gcc/fortran/ChangeLog
branches/google/integration/gcc/fortran/dump-parse-tree.c
branches/google/integration/gcc/fortran/iresolve.c
branches/google/integration/gcc/fortran/trans-stmt.c
branches/google/integration/gcc/testsuite/ChangeLog


<    1   2   3   >