[Bug rtl-optimization/41574] New: Distribute floating point expressions causes bad code.

2009-10-05 Thread dougkwan at google dot com
) 4.5.0 20091005 (experimental) The expression x*(1.0 + x) above is optmized into x + x * x using the fmacd instruction, which multiplies and accumlates. The following is part combine pass dump, note how instruction 13 is modified.: --- ;; Function f (f) starting the processing of deferred insns

[Bug lto/40725] [LTO] ICE in size_binop, at fold-const.c:2072

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-05 08:32 --- Fixed. The ICE is really fixed. The new thing is sth else and thus for a new PR please. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement

2009-10-05 Thread paolo dot carlini at oracle dot com
--- Comment #29 from paolo dot carlini at oracle dot com 2009-10-05 09:08 --- Hi David. This delay is strange indeed, normally the first step doesn't take so much time. I suggest sending a reminder to assignments@ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351

[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread dougkwan at gcc dot gnu dot org
--- Comment #1 from dougkwan at gcc dot gnu dot org 2009-10-05 09:09 --- Subject: Bug 41574 Author: dougkwan Date: Mon Oct 5 09:08:46 2009 New Revision: 152443 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152443 Log: 2009-10-05 Doug Kwan dougk...@google.com PR

[Bug fortran/41479] [4.3/4.4/4.5 Regression] intent(out) for types with default initialization

2009-10-05 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2009-10-05 09:19 --- Subject: Bug 41479 Author: burnus Date: Mon Oct 5 09:19:13 2009 New Revision: 152444 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152444 Log: 2009-10-05 Tobias Burnus bur...@net-b.de PR

[Bug fortran/41479] [4.3/4.4/4.5 Regression] intent(out) for types with default initialization

2009-10-05 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2009-10-05 09:20 --- Subject: Bug 41479 Author: burnus Date: Mon Oct 5 09:19:52 2009 New Revision: 152445 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152445 Log: 2009-10-05 Tobias Burnus bur...@net-b.de PR

[Bug fortran/41479] [4.3/4.4/4.5 Regression] intent(out) for types with default initialization

2009-10-05 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2009-10-05 09:20 --- FIXED on the trunk (4.5) and on the 4.3 and 4.4 branches. Thanks for the report! -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41533] ASM_PREFERRED_EH_DATA_FORMAT macros is not implemented for ARM

2009-10-05 Thread ramana at gcc dot gnu dot org
--- Comment #11 from ramana at gcc dot gnu dot org 2009-10-05 09:28 --- (In reply to comment #10) (In reply to comment #9) (In reply to comment #8) Are you testing the correct compiler ? Yes. After building my 4.4 tree (though a cross compiler ) I see the code

[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2009-10-05 09:32 --- Fixed. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-10-05 09:48 --- The ChangeLog entry is wrong. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41574

[Bug lto/41565] -m32 causes an ICE when the object files were compiled with 64bit

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-05 09:49 --- There is one common problem with handling of target options - we do not properly adjust the flag_var. But - I cannot reproduce the original problem. Care to attach a testcase? I always get linker complaints like

[Bug debug/41558] gfortran -O code excessive DW_OP_deref's

2009-10-05 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-10-05 09:52 --- Created an attachment (id=18706) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18706action=view) gcc45-pr41558.patch Patch I'm going to bootstrap/regtest. BTW, gdb 7.0.50.20091005-cvs doesn't work with the

[Bug lto/41390] [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-05 09:53 --- Not yet fixed. We still have if (CODE_CONTAINS_STRUCT (code, TS_OPTIMIZATION)) { /* FIXME lto. Not handled yet. */ gcc_unreachable (); } if (CODE_CONTAINS_STRUCT (code,

[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2009-10-05 10:00 --- The ChangeLog entry is wrong. And folks from Google shouldn't feel entitled to break a freeze imposed by other folks from Google even if, yes, it is annoyingly long. :-) -- ebotcazou at gcc dot gnu dot org

[Bug c++/41575] New: GCC lists private methods as candidates in no matching function for call

2009-10-05 Thread mnemo at minimum dot se
The following C++ code: class Klass { public: private: static void f(const char* a, int b) {} }; int main (void) { char* x; Klass::f (x); } Incorrectly produces the follow error message in

[Bug c++/41575] GCC lists private methods as candidates in no matching function for call

2009-10-05 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-10-05 10:28 --- Access checking happens after overload resolution. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41575

[Bug c++/41568] ADL being kinky

2009-10-05 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-10-05 10:34 --- The code should not compile, swapping of rvalues is no longer supported in the C++0x draft. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41568

[Bug lto/41576] New: LTO complains about mismatches in common sections

2009-10-05 Thread rguenth at gcc dot gnu dot org
t1.f90 -- subroutine foo common /bar/ a, b integer(4) :: a ,b a = 1 b = 2 end t2.f90 -- program test common /bar/ c, d integer(4) :: c, d call foo if (c/=1 .or. d/=2) call abort end program test ./gfortran -B. -B ../x86_64-unknown-linux-gnu/libgfortran/.libs -o t t1.f90

[Bug lto/41576] LTO complains about mismatches in common sections

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-05 10:55 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/38923] symbol versioning disabled due to non-portable sed script

2009-10-05 Thread redi at gcc dot gnu dot org
--- Comment #14 from redi at gcc dot gnu dot org 2009-10-05 11:30 --- *** Bug 41333 has been marked as a duplicate of this bug. *** -- redi at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41333] Link error on Solaris 10 / GNU 4.3.2

2009-10-05 Thread redi at gcc dot gnu dot org
--- Comment #10 from redi at gcc dot gnu dot org 2009-10-05 11:30 --- (In reply to comment #8) I have got the issue. The problem is not sed but rather the pattern being searched from ld --version My ld --version returns GNU ld (GNU Binutils)2.18 Where the pattern looked by the

[Bug c/41577] New: Broken code with -O2

2009-10-05 Thread magnus dot christensson at acm dot org
I have narrowed down a problem in my application to the testcase which I will soon attach. The testcase should output: Out r8: 0x82ce3350 Out cr: 0x8 Version of GCC: 4.3.4. Command line which generates broken output: gcc -O2 compiler_issue.c Command line which generates ok output: gcc -O2

[Bug c/41577] Broken code with -O2

2009-10-05 Thread magnus dot christensson at acm dot org
--- Comment #1 from magnus dot christensson at acm dot org 2009-10-05 11:31 --- Created an attachment (id=18707) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18707action=view) -save-temps output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41577

[Bug c/41577] Broken code with -O2

2009-10-05 Thread magnus dot christensson at acm dot org
--- Comment #2 from magnus dot christensson at acm dot org 2009-10-05 11:32 --- Created an attachment (id=18708) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18708action=view) C source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41577

[Bug c/41577] Broken code with -O2

2009-10-05 Thread magnus dot christensson at acm dot org
--- Comment #3 from magnus dot christensson at acm dot org 2009-10-05 11:34 --- I suspect that the problem is that an optimization path does not properly distinguish between signed and unsigned comparisons. You get the same behavior if you remove the int32 int_res = res; line and let

[Bug tree-optimization/41577] Broken code with -O -ftree-vrp

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-05 11:59 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/41577] Broken code with -O -ftree-vrp

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-05 11:59 --- A workaround is to provide -fno-tree-vrp. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41577

[Bug tree-optimization/41577] Broken code with -O -ftree-vrp

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-05 12:02 --- Actually the testcase is invalid. uint32 res = ((uint16)(cpu-gprs[12] 16) * (uint16)(cpu-gprs[16] 16)); performs a signed multiplication which invokes undefined behavior if it overflows. Thus the

[Bug tree-optimization/41577] Broken code with -O -ftree-vrp

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-10-05 12:03 --- A fix is to write uint32 res = ((uint32)(uint16)(cpu-gprs[12] 16) * (uint32)(uint16)(cpu-gprs[16] 16)); instead to force the multiplication in an unsigned type. --

[Bug lto/41578] New: 7% slower runtime with -flto than without

2009-10-05 Thread burnus at gcc dot gnu dot org
AMD Athlon64 4800+ (dual core, 1MB L2 cache each, SSE, SSE2, SSE3), 4GB DDR400 with [LTO] gfortran -march=native -ffast-math -funroll-loops -flto -O3 [noLTO] gfortran -march=opteron -ffast-math -funroll-loops -ftree-loop-linear -ftree-vectorize -msse3 When running the Polyhedron Benchmark

[Bug tree-optimization/41577] Broken code with -O -ftree-vrp

2009-10-05 Thread magnus dot christensson at acm dot org
--- Comment #8 from magnus dot christensson at acm dot org 2009-10-05 12:36 --- (In reply to comment #7) A fix is to write uint32 res = ((uint32)(uint16)(cpu-gprs[12] 16) * (uint32)(uint16)(cpu-gprs[16] 16)); instead to force the multiplication in an unsigned

[Bug fortran/41579] New: [OOP/Polymorphism] Nesting of SELECT TYPE

2009-10-05 Thread burnus at gcc dot gnu dot org
See review comment http://gcc.gnu.org/ml/fortran/2009-09/msg00298.html For two longer test cases, see http://gcc.gnu.org/ml/fortran/2009-09/msg00295.html Currently, SELECT TYPE(type) uses: + /* Special case: If we're in a SELECT TYPE block, + replace the selector variable by a temporary.

[Bug fortran/41539] Calling function which takes CLASS: Rank comparison does not work

2009-10-05 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-10-05 12:40 --- See also review comments http://gcc.gnu.org/ml/fortran/2009-09/msg00298.html and http://gcc.gnu.org/ml/fortran/2009-09/msg00296.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41539

[Bug fortran/41580] New: [OOP] SAME_TYPE_AS and EXTENDS_TYPE_OF - add compile-time simplifcation

2009-10-05 Thread burnus at gcc dot gnu dot org
For SAME_TYPE_AS and EXTENDS_TYPE_OF one should add a compile-time simplification to simplify.c Cf. also review comments at http://gcc.gnu.org/ml/fortran/2009-09/msg00298.html -- Summary: [OOP] SAME_TYPE_AS and EXTENDS_TYPE_OF - add compile- time simplifcation

[Bug lto/40790] plugin-api.h unconditionally includes stdint.h

2009-10-05 Thread ro at techfak dot uni-bielefeld dot de
--- Comment #6 from ro at techfak dot uni-bielefeld dot de 2009-10-05 12:51 --- Subject: Re: plugin-api.h unconditionally includes stdint.h --- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-04 20:27 --- Rainer, I think the checks are in place to properly set

[Bug fortran/41581] New: [OOP] Allocation of a CLASS with SOURCE=class does not work

2009-10-05 Thread burnus at gcc dot gnu dot org
Currently, the size needed for allocation is not taken into account with CLASS. The example below should print 42 -4.0 but prints 512 0.000 Expected: a) The warning Warning: Dynamic size allocation at (1) not supported yet, using size of declared type is turned into an error as

[Bug fortran/41582] New: Allocation of abstract types requires a type spec or a SOURCE

2009-10-05 Thread burnus at gcc dot gnu dot org
type, abstract :: t end type t class(t), allocatable :: a allocate(a) is wrong. For the allocate one has to use either allocate(derived-type :: a) or allocate(a, source=some_type_or_class) One needs to reject this at compile time. * * * Another interesting issue is: type, abstract

[Bug fortran/41581] [OOP] Allocation of a CLASS with SOURCE=class does not work

2009-10-05 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-05 12:53 --- See also PR 41582. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41583] New: [OOP] TYPE IS rejected because of way vtable index is implemented

2009-10-05 Thread burnus at gcc dot gnu dot org
The following program is valid but it fails to compile due to the way the indices in vtable are implemented. Cf. http://gcc.gnu.org/ml/fortran/2009-09/msg00298.html = File: bb.f90 = module m type t end type t end module m = File: cc.f90 = module m2 use m type,

[Bug lto/40702] lto-elf.c fails to compile on Solaris

2009-10-05 Thread ro at techfak dot uni-bielefeld dot de
--- Comment #2 from ro at techfak dot uni-bielefeld dot de 2009-10-05 12:56 --- Subject: Re: lto-elf.c fails to compile on Solaris --- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-03 22:12 --- Waiting for someone with access to that host to investigate. I've

[Bug lto/41584] New: WHOPR doesn't grok empty units

2009-10-05 Thread rguenth at gcc dot gnu dot org
empty.c --- /* This page intentionally left blank. */ ./xgcc -B. -o t empty.c -shared -fwhopr lto1: internal compiler error: vector VEC(cgraph_node_ptr,base) index domain error, in csi_node at cgraph.h:614 Please submit a full bug report, with preprocessed source if appropriate. See

[Bug c/41567] Too small .bss stack

2009-10-05 Thread T-Bone at parisc-linux dot org
--- Comment #4 from T-Bone at parisc-linux dot org 2009-10-05 13:03 --- Here's additional input for this bug, focusing on the ffmpeg commit which first triggered this error (r18553): $ gcc-4.4 -v Using built-in specs. Target: ia64-linux-gnu Configured with: ../src/configure -v

[Bug c/41567] Too small .bss stack

2009-10-05 Thread T-Bone at parisc-linux dot org
--- Comment #5 from T-Bone at parisc-linux dot org 2009-10-05 13:05 --- Created an attachment (id=18709) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18709action=view) preprocessed msmpeg4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41567

[Bug tree-optimization/41577] Broken code with -O -ftree-vrp

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-10-05 13:09 --- with 64bit int the multiplication will never overflow, so it would work there as well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41577

[Bug lto/41578] 7% slower runtime with -flto than without

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-05 13:10 --- Try enabling -fwhole-program together with -flto. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41578

[Bug lto/40702] lto-elf.c fails to compile on Solaris

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-05 13:13 --- That's weird. So is this a libelf bug after all or can we somehow workaround it in gcc? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40702

[Bug fortran/41403] [4.3/4.4/4.5 Regression] miscompilation of goto/label using code

2009-10-05 Thread domob at gcc dot gnu dot org
--- Comment #15 from domob at gcc dot gnu dot org 2009-10-05 13:15 --- Subject: Bug 41403 Author: domob Date: Mon Oct 5 13:15:35 2009 New Revision: 152448 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152448 Log: 2009-10-05 Daniel Kraft d...@domob.eu PR fortran/41403

[Bug tree-optimization/23821] [4.3/4.4/4.5 Regression] DOM and VRP creating harder to optimize code

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #30 from rguenth at gcc dot gnu dot org 2009-10-05 13:18 --- Subject: Bug 23821 Author: rguenth Date: Mon Oct 5 13:18:09 2009 New Revision: 152449 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152449 Log: 2009-10-05 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/23821] [4.3/4.4 Regression] DOM and VRP creating harder to optimize code

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #31 from rguenth at gcc dot gnu dot org 2009-10-05 13:19 --- Fixed for 4.5.0, not going to fix it for the branches. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41403] [4.3/4.4/4.5 Regression] miscompilation of goto/label using code

2009-10-05 Thread domob at gcc dot gnu dot org
--- Comment #16 from domob at gcc dot gnu dot org 2009-10-05 13:19 --- Fixed on trunk. I won't backport, as this is no real regression. I still volunteer to rework the assigned/computed goto implementation (and have some ideas for that) in case we deem it worth the effort, but as both

[Bug c/41567] Too small .bss stack

2009-10-05 Thread laurent at guerby dot net
--- Comment #6 from laurent at guerby dot net 2009-10-05 13:19 --- Andrew, did you reproduce it? If not what's missing/would help? -- laurent at guerby dot net changed: What|Removed |Added

[Bug libstdc++/41530] [c++0x] Cannot move-construct std::tuple from a different type of std::tuple

2009-10-05 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-10-05 13:22 --- Great, then patch + testcase is going in mainline. I have to ask submitter his exact name for the ChangeLog, though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41530

[Bug middle-end/41250] hppa has DECL_VALUE_EXPR decls appearing in the function

2009-10-05 Thread jamborm at gcc dot gnu dot org
--- Comment #3 from jamborm at gcc dot gnu dot org 2009-10-05 13:22 --- On IRC, Jakub told me to remove the value_expr flag after gimplification and to introduce a new dummy var decl with the flag set for the purpose of debugging. My first attempt is the following patch. It did

[Bug fortran/41585] New: [OOP] Reject CLASS(T) as component of TYPE :: T

2009-10-05 Thread burnus at gcc dot gnu dot org
type t integer :: i class(t), allocatable :: foo end type t In Fortran 2003 this is invalid to have CLASS(T) in the same TYPE as the one being defined. I think Fortran 2008 allows this, but as currently, deallocating also does not work, I would simply reject it. C438 (R440) If the POINTER

[Bug fortran/41403] [4.3/4.4 Regression] miscompilation of goto/label using code

2009-10-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail|4.1.2 4.3.1 4.4.2 4.5.0 |4.1.2 4.3.1 4.4.2 Known to work|3.3.3

[Bug fortran/41586] New: [OOP] Allocatable _scalar_ TYPE/CLASS leak memory

2009-10-05 Thread burnus at gcc dot gnu dot org
(Cf. also PR 41585) type t0 end type t0 type t integer :: i class(t0), allocatable :: foo end type t type(t) :: m allocate(t0 :: m%foo) m%i = 5 end leaks memory: D.1375 = (void * restrict) __builtin_malloc (1); m.foo.$data = (struct t0 *) D.1375; m.foo.$vindex = 1; m.i = 5; }

[Bug fortran/41585] [OOP] Reject CLASS(T) as component of TYPE :: T

2009-10-05 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-05 13:27 --- See also PR 41586. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41585

[Bug fortran/41587] New: [OOP] ICE with ALLOCATABLE CLASS components

2009-10-05 Thread burnus at gcc dot gnu dot org
type t0 integer :: j = 42 end type t0 type t integer :: i class(t0), allocatable :: foo(3) end type t Is invalid. the foo(3) shall be foo(:) as foo is allocatable. -- Summary: [OOP] ICE with ALLOCATABLE CLASS components Product: gcc Version: 4.5.0

[Bug lto/41588] New: LTO bugs to be addressed before the merge

2009-10-05 Thread rguenth at gcc dot gnu dot org
LTO bugs are not regressions, thus this is a meta-bug where we can queue issues that have been brought up during the final review that need to be addressed before the 4.5.0 release. -- Summary: LTO bugs to be addressed before the merge Product: gcc Version:

[Bug lto/41588] LTO bugs to be addressed before the merge

2009-10-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added BugsThisDependsOn||41526, 41528, 41529, 41550, |

[Bug lto/41588] LTO bugs to be addressed before the merge

2009-10-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |blocker http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41588

[Bug lto/41589] lto does not eliminate unused variables

2009-10-05 Thread andi-gcc at firstfloor dot org
--- Comment #1 from andi-gcc at firstfloor dot org 2009-10-05 14:04 --- Created an attachment (id=18710) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18710action=view) tlto1.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41589

[Bug lto/41589] New: lto does not eliminate unused variables

2009-10-05 Thread andi-gcc at firstfloor dot org
Using built-in specs. COLLECT_GCC=gcc45 COLLECT_LTO_WRAPPER=/pkg/gcc-4.5-091004/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc/configure --prefix=/pkg/gcc-4.5-091004 --enable-checking=release --enable-languages=c,c++

[Bug lto/41589] lto does not eliminate unused variables

2009-10-05 Thread andi-gcc at firstfloor dot org
--- Comment #2 from andi-gcc at firstfloor dot org 2009-10-05 14:04 --- Created an attachment (id=18711) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18711action=view) tlto2.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41589

[Bug lto/41589] lto does not eliminate unused variables

2009-10-05 Thread andi-gcc at firstfloor dot org
--- Comment #3 from andi-gcc at firstfloor dot org 2009-10-05 14:04 --- Created an attachment (id=18712) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18712action=view) Makefile.lto -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41589

[Bug lto/40702] lto-elf.c fails to compile on Solaris

2009-10-05 Thread ro at techfak dot uni-bielefeld dot de
--- Comment #4 from ro at techfak dot uni-bielefeld dot de 2009-10-05 14:05 --- Subject: Re: lto-elf.c fails to compile on Solaris --- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-05 13:13 --- That's weird. So is this a libelf bug after all or can we somehow

[Bug lto/41487] ICE in duplicate_node_data, at ipa-pure-const.c:633

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2009-10-05 14:06 --- Subject: Bug 41487 Author: rguenth Date: Mon Oct 5 14:05:54 2009 New Revision: 152450 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152450 Log: 2009-10-05 Richard Guenther rguent...@suse.de PR

[Bug lto/41552] Undefined references with -flto, dependent on object file ordering

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-05 14:06 --- Subject: Bug 41552 Author: rguenth Date: Mon Oct 5 14:05:54 2009 New Revision: 152450 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152450 Log: 2009-10-05 Richard Guenther rguent...@suse.de PR

[Bug preprocessor/41590] New: No __STDC__ definition in -g3 -E output on STDC_0_IN_SYSTEM_HEADERS systems

2009-10-05 Thread ro at gcc dot gnu dot org
When investigating PR lto/40702, I noticed that no definition of __STDC__ is emitted at all in the output of gcc -g3 -save-temps, making it very hard to understand why conditional pieces of code are used. $ cat head.h #define HEAD 1 $ cat stdc0.c #include head.h #define STDC0 $ gcc -I. -g3

[Bug lto/41552] Undefined references with -flto, dependent on object file ordering

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-10-05 14:16 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41487] ICE in duplicate_node_data, at ipa-pure-const.c:633

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2009-10-05 14:17 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/41589] lto does not eliminate unused variables

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-05 14:20 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug lto/40902] LTO doesn't merge CV differences properly

2009-10-05 Thread rguenth at gcc dot gnu dot org
for mismatched user-alignment. * gcc.dg/lto/20091005-1_0.c: New testcase. * gcc.dg/lto/20091005-1_1.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/lto/20091005-1_0.c trunk/gcc/testsuite/gcc.dg/lto/20091005-1_1.c Modified: trunk/gcc/ChangeLog trunk/gcc/lto-symtab.c trunk

[Bug lto/40902] LTO doesn't merge CV differences properly

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-05 14:28 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41281] toplevel asms do not work

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-05 14:30 --- Subject: Bug 41281 Author: rguenth Date: Mon Oct 5 14:30:10 2009 New Revision: 152453 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152453 Log: 2009-10-05 Richard Guenther rguent...@suse.de PR

[Bug lto/41281] toplevel asms do not work

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-05 14:31 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41591] New: documentation should document interaction of -flto and -fwhole-program

2009-10-05 Thread andi-gcc at firstfloor dot org
e.g. when -fwhole-program should be specified, at compile or at line time and that it applies to the object files I figured it out using the source and #gcc, but it would be better in the texinfo file. -- Summary: documentation should document interaction of -flto and -

[Bug lto/41591] documentation should document interaction of -flto and -fwhole-program

2009-10-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-05 14:37 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31951] local structure problem

2009-10-05 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2009-10-05 14:58 --- 14.3.1 [temp.arg.type] paragraph 2 in the current C++ standard says: A type without linkage (3.5) shall not be used as a template argument for a template type parameter. This is changing for C++0x, based on the

[Bug c++/31951] local structure problem

2009-10-05 Thread dmitry at lsi dot upc dot edu
--- Comment #3 from dmitry at lsi dot upc dot edu 2009-10-05 14:42 --- (In reply to comment #1) This is not a bug, local classes cannot be template arguments. What does prevent them to be? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31951

[Bug c++/41575] GCC lists private methods as candidates in no matching function for call

2009-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-10-05 15:14 --- Namelookup is done before access control IIRC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41575

[Bug tree-optimization/41589] lto does not eliminate unused variables

2009-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-10-05 15:16 --- I think this optimization is up to the linker as the variables are marked as hidden and not marked as local to the Translational unit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41589

[Bug fortran/41586] Allocatable _scalars_ are never auto-deallocated

2009-10-05 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-05 15:17 --- Does not need to be a component or derived type, any scalar leaks: integer , allocatable :: a allocate(a) a = 42 end MAIN__ () { integer(kind=4) * a; { void * restrict D.1366; D.1366 = (void *

[Bug libstdc++/41592] New: Misnamed hpp files in gcc-4.4.1.tar.bz2 from ftp://gd.tuwien.ac.at

2009-10-05 Thread davine at poczta dot onet dot pl
Hi, It looks like the following file from one of the gcc mirrors: ftp://gd.tuwien.ac.at/gnu/gcc/releases/gcc-4.4.1/gcc-4.4.1.tar.bz2 has two .hpp files misnamed as .hp which causes the build to fail, namely: hash_load_check_resize_trigger_imp.hp constructors_destructor_fn_imps.hp --

[Bug libstdc++/41592] Misnamed hpp files in gcc-4.4.1.tar.bz2 from ftp://gd.tuwien.ac.at

2009-10-05 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-10-05 15:42 --- The files are definitely named correctly in SVN. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug tree-optimization/41589] lto does not eliminate unused variables

2009-10-05 Thread andi-gcc at firstfloor dot org
--- Comment #6 from andi-gcc at firstfloor dot org 2009-10-05 15:42 --- I use binutils 2.19 (from opensuse 11.1). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41589

[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread dougkwan at google dot com
--- Comment #5 from dougkwan at google dot com 2009-10-05 15:44 --- Subject: Re: Distribute floating point expressions causes bad code. I am aware of the fact the stage one has ended but this is a bug fix, not an experimental new feature. Did I break a code freeze? If so, I

[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-05 Thread dougkwan at google dot com
--- Comment #6 from dougkwan at google dot com 2009-10-05 15:48 --- Subject: Re: Distribute floating point expressions causes bad code. Just saw Diego's e-mail about the me breaking the freeze. Sorry I should have checked that before checking thing in. It was just my bad.

[Bug ada/41416] Conversion Float to fixed-point behaves differently for static expressions

2009-10-05 Thread dirk dot herrmann-privat at gmx dot de
--- Comment #2 from dirk dot herrmann-privat at gmx dot de 2009-10-05 16:48 --- Hi, thanks for considering my report. The relevant sections seem to be (these were pointed out to me on comp.lang.ada by Adam Beneschan): 4.9(38) : For a real static expression that is not part of a

[Bug tree-optimization/41589] lto does not eliminate unused variables

2009-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-10-05 17:07 --- (In reply to comment #6) I use binutils 2.19 (from opensuse 11.1). What I meant was that -ffunction-sections -fdata-sections and then -Wl,--gc-sections to remove the unused variables/functions. --

[Bug libstdc++/41592] Misnamed hpp files in gcc-4.4.1.tar.bz2 from ftp://gd.tuwien.ac.at

2009-10-05 Thread davine at poczta dot onet dot pl
--- Comment #2 from davine at poczta dot onet dot pl 2009-10-05 17:20 --- Still I hope the mirrored file gets fixed. Thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41592

[Bug libstdc++/41592] Misnamed hpp files in gcc-4.4.1.tar.bz2 from ftp://gd.tuwien.ac.at

2009-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-10-05 17:23 --- The problem usually stems from using the wrong tar to untar it. GNU tar is usually the best tar to use for the gcc sources. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41592

[Bug libstdc++/41592] Misnamed hpp files in gcc-4.4.1.tar.bz2 from ftp://gd.tuwien.ac.at

2009-10-05 Thread davine at poczta dot onet dot pl
--- Comment #4 from davine at poczta dot onet dot pl 2009-10-05 17:31 --- Could you elaborate? Did you mean a wrong tar for creating a tarball? I'm ceratinly using gnu tar here and have never had any such problems. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41592

[Bug tree-optimization/40992] [4.3/4.4 Regression] cunroll ignoring asm size

2009-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-10-05 17:46 --- Fixed on the trunk. --- Comment #8 from pinskia at gcc dot gnu dot org 2009-10-05 17:46 --- Subject: Bug 40992 Author: pinskia Date: Mon Oct 5 17:46:35 2009 New Revision: 152458 URL:

[Bug tree-optimization/40992] [4.3/4.4 Regression] cunroll ignoring asm size

2009-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-10-05 17:46 --- Fixed on the trunk. --- Comment #8 from pinskia at gcc dot gnu dot org 2009-10-05 17:46 --- Subject: Bug 40992 Author: pinskia Date: Mon Oct 5 17:46:35 2009 New Revision: 152458 URL:

[Bug libstdc++/41530] [c++0x] Cannot move-construct std::tuple from a different type of std::tuple

2009-10-05 Thread jbytheway at gmail dot com
--- Comment #4 from jbytheway at gmail dot com 2009-10-05 17:48 --- I've added my name to my account details. You should see it up there somewhere ^^. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41530

[Bug rtl-optimization/41511] [4.5 Regression] combine behaves differently with/without -g

2009-10-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2009-10-05 17:48 --- Subject: Bug 41511 Author: ebotcazou Date: Mon Oct 5 17:48:09 2009 New Revision: 152459 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152459 Log: PR rtl-optimization/41511 * combine.c

[Bug target/41095] 4x bigger object when compiled with -O3 option

2009-10-05 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-10-05 17:48 --- Doubt it is the same as 40992 as this does not use inline-asm that much. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/41591] documentation should document interaction of -flto and -fwhole-program

2009-10-05 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-10-05 17:50 --- Draft patch at http://gcc.gnu.org/ml/gcc-patches/2009-10/msg00300.html, has room for improvements. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41591

[Bug libstdc++/41530] [c++0x] Cannot move-construct std::tuple from a different type of std::tuple

2009-10-05 Thread paolo at gcc dot gnu dot org
--- Comment #5 from paolo at gcc dot gnu dot org 2009-10-05 17:56 --- Subject: Bug 41530 Author: paolo Date: Mon Oct 5 17:56:02 2009 New Revision: 152461 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152461 Log: 2009-10-05 John Bytheway jbythe...@gmail.com PR

  1   2   >