[Bug fortran/41113] spurious _gfortran_internal_pack

2010-02-08 Thread jv244 at cam dot ac dot uk
--- Comment #9 from jv244 at cam dot ac dot uk 2010-02-08 08:09 --- (In reply to comment #8) > Happens a lot in 465.tonto btw. I had tested Paul's patch on CP2K, where it reduces the calls to gfortran_internal[un]pack from 4252 to 1276. I think it addresses an issue that is quite import

[Bug debug/42939] Location list ending address should not be one-less

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-02-08 08:51 --- This is completely intentional. The intent is to differentiate between debug info at the call insn in the caller and when inside the call. At the call insn various var locations can be still live (e.g. call clobbered

[Bug middle-end/42995] [4.4 Regression] inline-small-functions does not inline simple delegation calls

2010-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-08 10:19 --- It doesn't inline it because: Considering inline candidate get_data_for. Not inlining: code size would grow by 3 insns. The callee is estimated to have size 16 while the call costs less. The issue is a missing che

[Bug middle-end/42995] [4.4 Regression] inline-small-functions does not inline simple delegation calls

2010-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-08 10:41 --- Subject: Bug 42995 Author: rguenth Date: Mon Feb 8 10:41:25 2010 New Revision: 156598 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156598 Log: 2010-02-08 Richard Guenther PR middle-end/42995

[Bug libfortran/42996] New: Incorrect length returned from get_command_argument intrinsic

2010-02-08 Thread ian_harvey at bigpond dot com
According to the F2003 standard, the LENGTH argument does "not consider any possible truncation or padding in assigning the command argument value to the VALUE argument" (13.7.42). However, gfortran appears to use the minimum of the length of the VALUE argument (if present) and the length of the c

[Bug rtl-optimization/42575] arm-eabi-gcc 64-bit multiply weirdness

2010-02-08 Thread steven at gcc dot gnu dot org
"GCC: (GNU) 4.5.0 20100208 (experimental) [trunk revision 156595]" Questions for those who know ARM: * What is the purpose of insn 12 here? It looks to me like this is dead code, since r5 is restored in insn 38 (although, not knowing ARM so well, I may be wrong). * After combine we have the

[Bug libfortran/42996] Incorrect length returned from get_command_argument intrinsic

2010-02-08 Thread ian_harvey at bigpond dot com
--- Comment #1 from ian_harvey at bigpond dot com 2010-02-08 10:48 --- Created an attachment (id=19819) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19819&action=view) Simple test case Call the resulting program with an argument longer than one character. -- http://gcc.gnu.o

[Bug rtl-optimization/42575] arm-eabi-gcc 64-bit multiply weirdness

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-02-08 10:51 --- Add an ARM guy to the CC: -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/40925] [c++0x] [DR811] std::pair constructor doesn't accept (0, 0)

2010-02-08 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2010-02-08 11:07 --- Can be closed (of course std::is_convertible needs front-end support, but that's another story) -- paolo dot carlini at oracle dot com changed: What|Removed |Added --

[Bug libstdc++/34031] [DR 585] money_get:do_get incorrectly sets eofbit for valid input

2010-02-08 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-02-08 11:08 --- DR 585 has been resolved to NAD -- paolo dot carlini at oracle dot com changed: What|Removed |Added --

[Bug rtl-optimization/39871] [4.3/4.4/4.5 regression] Code size increase on ARM due to inferior CSE

2010-02-08 Thread steven at gcc dot gnu dot org
@ sp needed for prologue pop {pc} .size test, .-test .ident "GCC: (GNU) 4.5.0 20100208 (experimental) [trunk revision 156595]" -- steven at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/11831] [ARM] Logical expression evaluation with condition fields

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2010-02-08 11:18 --- Does the ARM backend already support conditional compares? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11831

[Bug libstdc++/33485] parallel v3: do not use __builtin_alloca, use VLA

2010-02-08 Thread paolo dot carlini at oracle dot com
--- Comment #16 from paolo dot carlini at oracle dot com 2010-02-08 11:19 --- Can we review this issue? Two comments: 1- Now I can see only dynamic memory allocations via new / delete everywhere, thus, no __builtin_alloca; 2- *If* one really wanted to use VLAs, now it should be possible

[Bug target/19599] function pointer prevents tail-call optimization on arm

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-02-08 11:22 --- Patch of comment #3 from Ramana was never committed to the trunk. -- steven at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libstdc++/21321] [4.3/4.4/4.5 regression] mmix-knuth-mmixware 27_io/basic_filebuf/seekpos/12790-3.cc execution test

2010-02-08 Thread paolo dot carlini at oracle dot com
--- Comment #13 from paolo dot carlini at oracle dot com 2010-02-08 11:24 --- Is this still an issue? To be honest I have no idea if this target is still in good shape or not... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21321

[Bug tree-optimization/42931] [4.4/4.5 Regression] -ftree-loop-linear - valgrind warns about using uninitialized variable

2010-02-08 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug middle-end/11831] [ARM] Logical expression evaluation with condition fields

2010-02-08 Thread rearnsha at gcc dot gnu dot org
--- Comment #7 from rearnsha at gcc dot gnu dot org 2010-02-08 11:26 --- (In reply to comment #6) > Does the ARM backend already support conditional compares? > Yes, but only by manipulating store-flag sequences in the combine pass. That's a poor-man's implementation and it can lead

[Bug target/39716] suboptimal MAX_EXPR expansion for Thumb

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-02-08 11:29 --- Trunk today (r156595) produces this: repl1: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push{r4, lr} mov r4, r0 mov r1, #0

[Bug target/39716] suboptimal MAX_EXPR expansion for Thumb

2010-02-08 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39716

[Bug rtl-optimization/39871] [4.3/4.4/4.5 regression] Code size increase on ARM due to inferior CSE

2010-02-08 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.5 |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39871

[Bug testsuite/42997] New: [4.4 Regression] Backported tests fail with checking

2010-02-08 Thread rguenth at gcc dot gnu dot org
Running target unix/ FAIL: gcc.c-torture/compile/pr42632.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/pr42632.c -O3 -fomit-frame-pointer (test for exces s errors) FAIL: gcc.c-torture/compile/pr42632.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/pr42632.c -Os (t

[Bug testsuite/42997] [4.4 Regression] Backported tests fail with checking

2010-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-08 12:01 --- Which is a remainder that devs should enable checking when testing patches for branches ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42997

[Bug c++/15218] [DR 421] rvalue.field is not an lvalue

2010-02-08 Thread dibeas at ieee dot org
--- Comment #3 from dibeas at ieee dot org 2010-02-08 12:11 --- Also related: dereferencing a data member pointer with an lvalue incorrectly yields an lvalue: struct X { int x; }; X f(); void g() { int X::*ptr = &X::x; f().*ptr = 5; // should not compile! } -- dibeas at

[Bug tree-optimization/42890] [4.4 Regression] Crash in type_like_member_ptr_p in ipa-prop.c:382

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-02-08 12:13 --- I believe the problem is that cgraph edges aren't updated during tree_function_versioning's call to delete_unreachable_blocks: if (gimple_in_ssa_p (cfun)) { free_dominance_info (CDI_DOMINATORS); free_

[Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2010-02-08 12:14 --- Richard, can we split thumb2_compare_scc? If so, when/how would you do this? (I'm thinking of a post-RA splitter, but perhaps it could be done earlier.) -- steven at gcc dot gnu dot org changed: What

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-02-08 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org

[Bug middle-end/42998] New: [4.5 Regression] ICE: error: verify_stmts failed

2010-02-08 Thread bero at arklinux dot org
Building Linux kernel 2.6.33-rc7 with gcc 4.5-svn fails with an ICE: net/ipv6/ndisc.c: In function 'ndisc_fill_addr_option': net/ipv6/ndisc.c:199:12: error: type mismatch in pointer plus expression u8 * void * unsigned int pretmp.191_160 = D.41953_14 + 2; net/ipv6/ndisc.c:199:12: internal comp

[Bug middle-end/42998] [4.5 Regression] ICE: error: verify_stmts failed

2010-02-08 Thread bero at arklinux dot org
--- Comment #1 from bero at arklinux dot org 2010-02-08 12:29 --- Created an attachment (id=19820) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19820&action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread jwakely dot gcc at gmail dot com
--- Comment #5 from jwakely dot gcc at gmail dot com 2010-02-08 12:35 --- n3000 says "Only special member functions may be explicitly defaulted, and the implementation shall define them as if they had implicit definitions." An implicit destructor is not virtual. http://www.open-std.or

[Bug rtl-optimization/42502] Bad register allocation in a very simple code

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2010-02-08 12:49 --- The duplication of sp in r4 is tracked in a separate bug report, bug 42500. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42502

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-02-08 12:57 --- Interesting. Thus I get Core 906 [Ready] as meaning that this snippet is just illegal, and should be rejected, in other terms, this is an accept invalid, right? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug middle-end/42998] [4.5 Regression] ICE: error: verify_stmts failed

2010-02-08 Thread bero at arklinux dot org
--- Comment #2 from bero at arklinux dot org 2010-02-08 13:00 --- Only happens at -O2 and higher -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998

[Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed

2010-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-08 13:14 --- Confirmed. PRE does this - reducing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libfortran/42996] Incorrect length returned from get_command_argument intrinsic

2010-02-08 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-08 13:19 --- Confirm - I get for "./a.out test" the following result. Current (gfortran): With no value, length was:4 and status:0 With LEN=1 value, length was:1 and status:-1 < Bad: len = 1 With LEN=10 value, length

[Bug middle-end/42898] [4.5 Regression] volatile structures and compound literal initializers

2010-02-08 Thread jamborm at gcc dot gnu dot org
--- Comment #20 from jamborm at gcc dot gnu dot org 2010-02-08 13:24 --- Subject: Bug 42898 Author: jamborm Date: Mon Feb 8 13:24:12 2010 New Revision: 156599 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156599 Log: 2010-02-08 Martin Jambor PR middle-end/42898

[Bug middle-end/42898] [4.5 Regression] volatile structures and compound literal initializers

2010-02-08 Thread jamborm at gcc dot gnu dot org
--- Comment #21 from jamborm at gcc dot gnu dot org 2010-02-08 13:31 --- The testcase now passes. The issue is fixed. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed

2010-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-08 13:33 --- void foo(void *); void bar(void *); void ndisc_fill_addr_option(unsigned char *opt, int data_len, unsigned short addr_type) { int pad; if (addr_type == 32) pad = 2; else pad

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread lavock at gmail dot com
--- Comment #7 from lavock at gmail dot com 2010-02-08 13:49 --- (In reply to comment #5) > n3000 says "Only special member functions may be explicitly defaulted, and the > implementation shall define them as if they had implicit definitions." > > An implicit destructor is not virtual.

[Bug testsuite/42997] [4.4 Regression] Backported tests fail with checking

2010-02-08 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-02-08 13:51 --- (In reply to comment #0) > Running target unix/ > FAIL: gcc.c-torture/compile/pr42632.c -O2 (test for excess errors) > FAIL: gcc.c-torture/compile/pr42632.c -O3 -fomit-frame-pointer (test for > exces > s errors)

[Bug other/42792] cc1-dummy link fails with missing tree_ and rtl_ functions

2010-02-08 Thread David dot Biesack at sas dot com
--- Comment #3 from David dot Biesack at sas dot com 2010-02-08 13:52 --- Pretty much the same result. I did make dist-clean mkdir Linux-x64 cd Linux-x64 ../configure -with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local and it still failed wit similar errors trying t

[Bug other/42792] cc1-dummy link fails with missing tree_ and rtl_ functions

2010-02-08 Thread David dot Biesack at sas dot com
--- Comment #4 from David dot Biesack at sas dot com 2010-02-08 13:54 --- Created an attachment (id=19821) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19821&action=view) build log showing failure (configured with --disable-bootstrap) -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread jwakely dot gcc at gmail dot com
--- Comment #8 from jwakely dot gcc at gmail dot com 2010-02-08 13:56 --- (In reply to comment #6) > Interesting. Thus I get Core 906 [Ready] as meaning that this snippet is just > illegal, and should be rejected, in other terms, this is an accept invalid, > right? > Yes, I believe 4.

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread albrt2000 at gmail dot com
--- Comment #9 from albrt2000 at gmail dot com 2010-02-08 13:58 --- (In reply to comment #6) > Interesting. Thus I get Core 906 [Ready] as meaning that this snippet is just > illegal, and should be rejected, in other terms, this is an accept invalid, > right? > Hi, I'm not sure to under

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread jwakely dot gcc at gmail dot com
--- Comment #10 from jwakely dot gcc at gmail dot com 2010-02-08 14:00 --- (In reply to comment #7) > > There is a thread in comp.std.c++ about this. Yes, but I don't think anyone's mentioned core issue 906, which makes all the arguments rather moot. Read that resolution, not n3000.

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread jwakely dot gcc at gmail dot com
--- Comment #11 from jwakely dot gcc at gmail dot com 2010-02-08 14:04 --- (In reply to comment #9) > I'm not sure to understand your last comment (sorry I 'm not a natural english > speaker). Do you mean that virtual ~A() = default; should be an error ? If we Yes. GCC implements the

[Bug fortran/41113] spurious _gfortran_internal_pack

2010-02-08 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2010-02-08 14:06 --- (In reply to comment #9) > For reference, this was Paul's message to the list: > > http://gcc.gnu.org/ml/fortran/2009-12/msg00164.html > Dear Joost, This was followed by http://gcc.gnu.org/ml/fortran/2009-12/msg0

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-02-08 14:10 --- Subject: Bug 42462 Author: rguenth Date: Mon Feb 8 14:10:15 2010 New Revision: 156601 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156601 Log: 2010-02-08 Richard Guenther PR middle-end/42995

[Bug middle-end/42995] [4.4 Regression] inline-small-functions does not inline simple delegation calls

2010-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-08 14:10 --- Subject: Bug 42995 Author: rguenth Date: Mon Feb 8 14:10:15 2010 New Revision: 156601 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156601 Log: 2010-02-08 Richard Guenther PR middle-end/42995

[Bug middle-end/42995] [4.4 Regression] inline-small-functions does not inline simple delegation calls

2010-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-02-08 14:11 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread albrt2000 at gmail dot com
--- Comment #12 from albrt2000 at gmail dot com 2010-02-08 14:24 --- Ok. So, gcc is conformant with the document you mentioned. I am reporting this discussion in comp.std.c++ since it makes me think that this behaviour reduces one of the interest of the default declaration. -- http:

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread albrt2000 at gmail dot com
--- Comment #13 from albrt2000 at gmail dot com 2010-02-08 14:25 --- > > struct A { > virtual ~A(); > }; > > A::~A() = default; > > I think this should be OK (but maybe not in GCC 4.4 only in 4.5) > This already works in gcc 4.4.1 that I use. -- http://gcc.gnu.org/bugzilla/sho

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread paolo dot carlini at oracle dot com
--- Comment #14 from paolo dot carlini at oracle dot com 2010-02-08 14:36 --- Basing on Core 906, seems rather straightforward that the snippet is ill-formed, the only problem is that neither 4.4 nor current mainline reject it. If that's the complete analysis, the issue is pretty low pr

[Bug fortran/41113] spurious _gfortran_internal_pack

2010-02-08 Thread jv244 at cam dot ac dot uk
--- Comment #11 from jv244 at cam dot ac dot uk 2010-02-08 14:38 --- (In reply to comment #10) > This was followed by http://gcc.gnu.org/ml/fortran/2009-12/msg00166.html I have just retested your patch on a clean tree to Dominique's testcase, but I don't get any segfault, and also valgr

[Bug tree-optimization/42705] [4.4/4.5 Regression] verify_flow_info failed with -O

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-02-08 14:38 --- This ICEs on the 4.4 branch as well (obviously only when configured with --enable-checking=yes). -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42706] [4.5 Regression] ICE in gimple_op, at gimple.h:1634, (IPA SRA)

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2010-02-08 14:40 --- The testcase fails on the 4.4 branch, as -fipa-sra isn't a valid option there. H.J., can you please before committing testsuite backports at least run make check? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42

[Bug fortran/42309] Problem with a pointer array passed to a subroutine

2010-02-08 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2010-02-08 14:47 --- Regarding 4.4: It fails here (x86-64) for any option for: IF (ANY (T1%I .NE. [999, 2, 999, 4])) CALL ABORT as the result is:[1, 999, 3, 999]. (The other check succeeds.) -- http://gcc.gnu.org/bugzilla/sh

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread albrt2000 at gmail dot com
--- Comment #15 from albrt2000 at gmail dot com 2010-02-08 14:49 --- (In reply to comment #14) > Basing on Core 906, seems rather straightforward that the snippet is > ill-formed, the only problem is that neither 4.4 nor current mainline reject > it. That's also should be the case for n

[Bug fortran/42999] New: [4.5 Regression] bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression

2010-02-08 Thread jv244 at cam dot ac dot uk
This could should compile, I believe TYPE DD INTEGER :: I END TYPE DD TYPE(DD) :: X(2)=(/(DD(I),I=1,2)/) END but does not with current 4.5 trunk, fails with: Error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression --

[Bug fortran/42999] [4.5 Regression] bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression

2010-02-08 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Known to fail||4.5.0 Known to work||4.4.2 Target Mil

[Bug tree-optimization/42890] [4.4 Regression] Crash in type_like_member_ptr_p in ipa-prop.c:382

2010-02-08 Thread hubicka at ucw dot cz
--- Comment #5 from hubicka at ucw dot cz 2010-02-08 14:59 --- Subject: Re: [4.4 Regression] Crash in type_like_member_ptr_p in ipa-prop.c:382 > The trunk has delete_unreachable_blocks_update_callgraph, perhaps we want > something like that for the branch as well. As delete_un

[Bug debug/42939] Location list ending address should not be one-less

2010-02-08 Thread jan dot kratochvil at redhat dot com
--- Comment #2 from jan dot kratochvil at redhat dot com 2010-02-08 14:59 --- Sorry, I agree now this Bug is invalid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42939

[Bug fortran/42999] [4.5 Regression] bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression

2010-02-08 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-02-08 15:01 --- I think it regressed between 2010-01-07-r155688 and 2010-01-10-r155780 Jerry, I think that is due to your initializer patch: r155769 | jvdelisle | 2010-01-09 18:47:04 +0100 (Sat, 09 Jan 2010) | 18 lines http://gcc.g

[Bug fortran/42999] [4.5 Regression] bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression

2010-02-08 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-02-08 15:02 --- The code compiles also with fortran-exp revision 156589. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42999

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread jwakely dot gcc at gmail dot com
--- Comment #16 from jwakely dot gcc at gmail dot com 2010-02-08 15:10 --- (In reply to comment #15) > Destroying an object from a base class pointer whose destructor is not virtual > is an undefined behaviour according to the standard. I tend to think that > silently removing the virut

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread lavock at gmail dot com
--- Comment #17 from lavock at gmail dot com 2010-02-08 15:18 --- (In reply to comment #16) > Yes, but you're using an experimental implementation of an incomplete > specification. Using it for serious code would be foolish, so I tend to agree > it's low priority Yes, i agree with low

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual

2010-02-08 Thread paolo dot carlini at oracle dot com
--- Comment #18 from paolo dot carlini at oracle dot com 2010-02-08 15:27 --- It is available, for sure. We are talking about trying to use the feature in a case where the code is actually ill-formed, per a DR which is in the [Ready] status, that is, a very advanced status, but still no

[Bug tree-optimization/42640] wrong code for -ftree-loop-distribution in 175.vpr

2010-02-08 Thread zsojka at seznam dot cz
--- Comment #2 from zsojka at seznam dot cz 2010-02-08 15:28 --- I can reproduce this on x86_64, trunk r156598 and 4.4 r156256. Also, bootstrap fails for me with BOOT_CFLAGS="-O2 -ftree-loop-distribution": Comparing stages 2 and 3 warning: gcc/cc1plus-checksum.o differs warning: gcc/cc1

[Bug tree-optimization/42931] [4.4/4.5 Regression] -ftree-loop-linear - valgrind warns about using uninitialized variable

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-02-08 15:47 --- Subject: Bug 42931 Author: jakub Date: Mon Feb 8 15:47:01 2010 New Revision: 156602 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156602 Log: PR tree-optimization/42931 * tree-loop-linear.c (

[Bug tree-optimization/42931] [4.4/4.5 Regression] -ftree-loop-linear - valgrind warns about using uninitialized variable

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-02-08 15:48 --- Subject: Bug 42931 Author: jakub Date: Mon Feb 8 15:48:01 2010 New Revision: 156603 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156603 Log: PR tree-optimization/42931 * tree-loop-linear.c (

[Bug tree-optimization/42890] [4.4 Regression] Crash in type_like_member_ptr_p in ipa-prop.c:382

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-02-08 15:49 --- Subject: Bug 42890 Author: jakub Date: Mon Feb 8 15:49:30 2010 New Revision: 156604 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156604 Log: PR tree-optimization/42890 * g++.dg/torture/pr428

[Bug tree-optimization/42890] [4.4 Regression] Crash in type_like_member_ptr_p in ipa-prop.c:382

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-02-08 15:51 --- Subject: Bug 42890 Author: jakub Date: Mon Feb 8 15:50:59 2010 New Revision: 156605 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156605 Log: PR tree-optimization/42890 * tree-inline.c (delet

[Bug tree-optimization/42931] [4.4/4.5 Regression] -ftree-loop-linear - valgrind warns about using uninitialized variable

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-02-08 15:53 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/42890] [4.4 Regression] Crash in type_like_member_ptr_p in ipa-prop.c:382

2010-02-08 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-02-08 15:54 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/9760] [arm] Combine cannot do its job because immediate operand is used instead of register

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2010-02-08 16:11 --- New test case is with func defined extern, as already mentioned in comment #5: extern void func(char c, int t); void foo(int u) { func ( 8, (u >> 24) & 0xffL ); func ( 8, (u >> 16) & 0xffL ); func ( 8, (u >> 8

[Bug middle-end/40815] redundant neg instruction caused by loop-invariant

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2010-02-08 16:27 --- Must be a regression from some version, if POINTER_PLUS_EXPR is the reason for this extra NEG. Matz knows TER best these days, so matz -> cc. -- steven at gcc dot gnu dot org changed: What|Removed

[Bug target/9760] [arm] Combine cannot do its job because immediate operand is used instead of register

2010-02-08 Thread rearnsha at arm dot com
--- Comment #8 from rearnsha at arm dot com 2010-02-08 16:30 --- Subject: Re: [arm] Combine cannot do its job because immediate operand is used instead of register On Mon, 2010-02-08 at 16:11 +, steven at gcc dot gnu dot org wrote: > Can someone please explain what the exp

[Bug target/9760] [arm] Combine cannot do its job because immediate operand is used instead of register

2010-02-08 Thread rearnsha at arm dot com
--- Comment #9 from rearnsha at arm dot com 2010-02-08 16:31 --- Subject: Re: [arm] Combine cannot do its job because immediate operand is used instead of register On Mon, 2010-02-08 at 16:30 +, rearnsha at arm dot com wrote: > mov r1, r5, r4, lsr #8 > Should

[Bug tree-optimization/42494] [4.4 Regression] Missed dead-code-elimination

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #11 from steven at gcc dot gnu dot org 2010-02-08 16:45 --- Trunk today (r156595) optimizes this at -O1, -Os, and -O2 in the tree optimizers. The .fre pass removes the first func call, then .dom1 removes the next two. The .dom2 pass removes the remaining one. If I add anothe

[Bug tree-optimization/43000] New: [4.5 Regression] VRP miscompiles python with -fwrapv

2010-02-08 Thread rguenth at gcc dot gnu dot org
It miscompiles if (need <= i) { in filterstring inlined to builtin_filter in Python/bltinmodule.c. Testcase: int __attribute__((noinline)) foo (long i, long j) { if (i >= 1) if (j > -9223372036854775807L) { long x; j--; x = i +

[Bug tree-optimization/43000] [4.5 Regression] VRP miscompiles python with -fwrapv

2010-02-08 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-08 16:49 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks

2010-02-08 Thread rearnsha at gcc dot gnu dot org
--- Comment #3 from rearnsha at gcc dot gnu dot org 2010-02-08 16:50 --- Best to do it post RA, so that we can issue the best sequences of insns. I have some better sequences that could be generated for Thumb2 which would avoid the need for an IT instruction in many cases. -- http

[Bug fortran/42999] [4.5 Regression] bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression

2010-02-08 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42999

[Bug fortran/41113] spurious _gfortran_internal_pack

2010-02-08 Thread pault at gcc dot gnu dot org
--- Comment #12 from pault at gcc dot gnu dot org 2010-02-08 17:25 --- (In reply to comment #11) > (In reply to comment #10) > > This was followed by http://gcc.gnu.org/ml/fortran/2009-12/msg00166.html > > I have just retested your patch on a clean tree to Dominique's testcase, but I >

[Bug other/42980] GCC parallel "make install" failures

2010-02-08 Thread rwild at gcc dot gnu dot org
--- Comment #3 from rwild at gcc dot gnu dot org 2010-02-08 18:18 --- Can you make a bit more of the output of such a failed install available, say, about 50 lines around each of the two different failures? Wrt. the failure with headers, it seems GNU coreutils install does not allow con

[Bug fortran/41869] ICE segfault when reading module file

2010-02-08 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2010-02-08 18:19 --- Please excuse the lack of a diff - I was using a snap shot to work on this PR. This fixes the problem but I do not know if it regtests; however, I believe it to be good. If somebody wants to take it to completion, pl

[Bug rtl-optimization/42617] TARGET_MEM_REF and plain INDIRECT_REFs are not handled by the RTL oracle

2010-02-08 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2010-02-08 18:45 --- FWIW, bootstrap+regtest succeeds on ia64-unknown-linux-gnu with the patch set applied. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42617

[Bug tree-optimization/43001] New: Missed vectorization on ARM NEON

2010-02-08 Thread steven at gcc dot gnu dot org
Hello, In late 2008 there was a post about a wrong-code bug on hardwarebug.org (http://hardwarebug.org/2008/11/28/codesourcery-fails-again/#more-83). There was this test case, and it was not vectorized correctly. --- extern unsigned char dst[512] __attribute__((aligned(8)));

[Bug tree-optimization/43001] Missed vectorization on ARM NEON

2010-02-08 Thread jsm28 at gcc dot gnu dot org
--- Comment #1 from jsm28 at gcc dot gnu dot org 2010-02-08 20:31 --- Created an attachment (id=19822) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19822&action=view) Extra vectorization tests Try adding -mfloat-abi=softfp to make the compiler actually consider using NEON (needed

[Bug tree-optimization/43001] Missed vectorization on ARM NEON

2010-02-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-02-08 20:32 --- > Try adding -mfloat-abi=softfp to make the compiler actually consider using > NEON (needed at least for arm-eabi, I don't know about arm-elf). I don't think that is needed any more since the addition of the hard fl

[Bug tree-optimization/43001] Missed vectorization on ARM NEON

2010-02-08 Thread joseph at codesourcery dot com
--- Comment #3 from joseph at codesourcery dot com 2010-02-08 20:40 --- Subject: Re: Missed vectorization on ARM NEON On Mon, 8 Feb 2010, pinskia at gcc dot gnu dot org wrote: > > Try adding -mfloat-abi=softfp to make the compiler actually consider using > > NEON (needed at least for

[Bug fortran/41113] spurious _gfortran_internal_pack

2010-02-08 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2010-02-08 20:49 --- I have applied the patch to a clean trunk at revision 156605 and the test compiles (further tests pending). I have also applied the patch to fortran-dev at revision 156573 and the compilation gives a segmentation fau

[Bug fortran/41113] spurious _gfortran_internal_pack

2010-02-08 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2010-02-08 20:52 --- Created an attachment (id=19823) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19823&action=view) First test giving a segmentation fault with the patch applied to fortran-dev -- http://gcc.gnu.org/bugzilla

[Bug fortran/41113] spurious _gfortran_internal_pack

2010-02-08 Thread dominiq at lps dot ens dot fr
--- Comment #15 from dominiq at lps dot ens dot fr 2010-02-08 20:53 --- Created an attachment (id=19824) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19824&action=view) Second test giving a segmentation fault with the patch applied to fortran-dev -- http://gcc.gnu.org/bugzil

[Bug target/42416] ICE in rs6000_bulitin_vec_perm for 177.mesa with -mvsx

2010-02-08 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2010-02-08 21:13 --- Fixed by the patch in comment #5. -- janis at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/42997] [4.4 Regression] Backported tests fail with checking

2010-02-08 Thread sezeroz at gmail dot com
--- Comment #3 from sezeroz at gmail dot com 2010-02-08 21:18 --- (In reply to comment #2) > > FAIL: gcc.c-torture/compile/pr42705.c -O1 (internal compiler error) > > FAIL: gcc.c-torture/compile/pr42705.c -O1 (test for excess errors) > > FAIL: gcc.c-torture/compile/pr42705.c -O2 (i

[Bug tree-optimization/43002] New: invalid "warning: array subscript is below array bounds" with -fwrapv

2010-02-08 Thread zsojka at seznam dot cz
Command line: gcc -O2 -fwrapv -Wall -c testcase.c or gcc -O3 -fwrapv -Wall -c testcase.c Tested revisions: trunk r156604 - warns trunk r153685 - warns 4.4 r156256 - silent 4.4.2 (gentoo) - silent 4.3.4 (gentoo) - silent Output: $ gcc-4.5.0-alpha20100204 -O2 -fwrapv -Wall -c testcase.c testcase.c:

[Bug tree-optimization/43002] invalid "warning: array subscript is below array bounds" with -fwrapv

2010-02-08 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-02-08 21:35 --- Created an attachment (id=19825) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19825&action=view) reduced testcase While this may look artificial, it was reduced from gcc/fold-const.c -- http://gcc.gnu.org/bugzi

[Bug tree-optimization/43002] invalid "warning: array subscript is below array bounds" with -fwrapv

2010-02-08 Thread zsojka at seznam dot cz
--- Comment #2 from zsojka at seznam dot cz 2010-02-08 21:37 --- Created an attachment (id=19826) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19826&action=view) original, unreduced testcase Preprocessed gcc/fold-const.c - this problem blocks bootstrap with BOOT_CFLAGS="-O2 -fwra

[Bug driver/42940] Building GCC C compiler for --target=m68hc12-elf ends with ICE SIGSEG

2010-02-08 Thread wlodzimierz dot lipert+gcc at gmail dot com
--- Comment #9 from wlodzimierz dot lipert+gcc at gmail dot com 2010-02-08 21:44 --- The problem is not in specs it is in cc1 (core dump included). (gdb) bt #0 0xb788d424 in __kernel_vsyscall () #1 0xb76b7350 in raise () from /lib/libc.so.6 #2 0xb76b8b88 in abort () from /lib/libc.s

[Bug tree-optimization/43001] Missed vectorization on ARM NEON

2010-02-08 Thread drow at gcc dot gnu dot org
--- Comment #4 from drow at gcc dot gnu dot org 2010-02-08 22:14 --- With -fmloat-abi=softfp, it looks to me like this is vectorized correctly on trunk. It's a little unintuitive because it becomes a left vector shift by "249" == -7. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4

  1   2   >