[Bug target/38554] [4.4 Regression] ICE when compiling pamfunc.c in netpbm with -O1 enabled

2009-01-16 Thread nemet at gcc dot gnu dot org
--- Comment #5 from nemet at gcc dot gnu dot org 2009-01-16 18:57 --- Subject: Bug 38554 Author: nemet Date: Fri Jan 16 18:56:47 2009 New Revision: 143440 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143440 Log: PR target/38554 * expmed.c (expand_shift): With

[Bug tree-optimization/38835] [4.3/4.4 Regression] field-insensitive PTA causes libstdc++ miscompiles

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2009-01-16 18:57 --- *** This bug has been marked as a duplicate of 36227 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/38554] [4.4 Regression] ICE when compiling pamfunc.c in netpbm with -O1 enabled

2009-01-16 Thread nemet at gcc dot gnu dot org
--- Comment #6 from nemet at gcc dot gnu dot org 2009-01-16 18:57 --- Fixed. -- nemet at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/36227] [4.3/4.4 Regression] POINTER_PLUS folding introduces undefined overflow

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2009-01-16 18:57 --- *** Bug 38835 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36227

[Bug c++/35640] [4.2/4.3/4.4 Regression] invalid access to protected base class

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-16 18:58 --- *** This bug has been marked as a duplicate of 38579 *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38579] [4.2/4.3/4.4 Regression] Template: Wrong inherited copy-ctor visibility

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2009-01-16 18:58 --- *** Bug 35640 has been marked as a duplicate of this bug. *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38865] missing FRE with VIEW_CONVERT_EXPR

2009-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-01-16 18:59 --- Here is another testcase but this time without - : struct s { int i; }; void g(struct s *); float a (void) { struct s sv; sv.i = 0; int d = sv.i; float d1 = *(float*)d; g(sv); return d1; } float a1

[Bug c++/38877] New: [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread hjl dot tools at gmail dot com
=gnu --with-system-zlib --with-demangler-in-ld --enable-shared --enable-threads=posix --enable-haifa --enable-checking --enable-languages=c,c++ --disable-bootstrap Thread model: posix gcc version 4.4.0 20090116 (experimental) [trunk revision 143437] (GCC) [...@gnu-27 build_base_o3.

[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877

[Bug middle-end/36227] [4.3/4.4 Regression] POINTER_PLUS folding introduces undefined overflow

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-01-16 19:18 --- Subject: Bug 36227 Author: rguenth Date: Fri Jan 16 19:18:18 2009 New Revision: 143442 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143442 Log: 2009-01-16 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/38835] [4.3/4.4 Regression] field-insensitive PTA causes libstdc++ miscompiles

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-01-16 19:18 --- Subject: Bug 38835 Author: rguenth Date: Fri Jan 16 19:18:18 2009 New Revision: 143442 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143442 Log: 2009-01-16 Richard Guenther rguent...@suse.de PR

[Bug middle-end/38878] New: [4.4 Regression] gcc.dg/tree-ssa/foldaddr-1.c XFAILed

2009-01-16 Thread rguenth at gcc dot gnu dot org
We do not fold (long int) ((long unsigned int) b + 5) == (long int) b -- Summary: [4.4 Regression] gcc.dg/tree-ssa/foldaddr-1.c XFAILed Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: xfail Severity: normal

[Bug c/38879] New: scheduler does not look for conflicting alias sets

2009-01-16 Thread ubizjak at gmail dot com
Currently, following test fails on alpha target: FAIL: gfortran.fortran-torture/execute/intrinsic_len.f90 execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops This is due to generic scheduler problem, where scheduler doesn't care about conflictig memory alias sets. The problem

[Bug middle-end/38880] New: [4.4 Regression] g++.dg/init/const7.C XFAILed

2009-01-16 Thread rguenth at gcc dot gnu dot org
We do not fold (long int) 16B-y - 16 -- Summary: [4.4 Regression] g++.dg/init/const7.C XFAILed Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: xfail Severity: normal Priority: P3 Component:

[Bug middle-end/36227] [4.3 Regression] POINTER_PLUS folding introduces undefined overflow

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2009-01-16 19:22 --- Fixed on the trunk. Also fails with plain -O for 4.3.2. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38880] [4.4 Regression] g++.dg/init/const7.C XFAILed

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-16 19:23 --- Caused by the fix for PR36227. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38878] [4.4 Regression] gcc.dg/tree-ssa/foldaddr-1.c XFAILed

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-16 19:23 --- Caused by the fix for PR36227. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38880] [4.4 Regression] g++.dg/init/const7.C XFAILed

2009-01-16 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38880

[Bug middle-end/38878] [4.4 Regression] gcc.dg/tree-ssa/foldaddr-1.c XFAILed

2009-01-16 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38878

[Bug libfortran/38871] [4.4 Regression] libgfortran.so.3 dropped __iso_c_binding_c_f_procpointer@@GFORTRAN_1.0

2009-01-16 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-01-16 19:32 --- I will check, but if I recall correctly, procedure pointer were not implemented at the time when it was removed, i.e. it could not possibly be called. When they got implemented, no casting was needed as they were

[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2009-01-16 19:39 --- Testcase? I don't have SPEC handy. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877

[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38877

[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-01-16 19:41 --- [...@gnu-27 build_base_o3.]$ cat x.cc #include string #include utility template int dim class bar; template int dim std::pairbardim *, unsigned int foo (const std::string name, unsigned int position) {

[Bug libfortran/38871] [4.4 Regression] libgfortran.so.3 dropped __iso_c_binding_c_f_procpointer@@GFORTRAN_1.0

2009-01-16 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-01-16 19:43 --- (In reply to comment #4) I will check, but if I recall correctly, procedure pointer were not implemented at the time when it was removed The function was not even referred in trans*.c as far as I can see. The

[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-01-16 19:46 --- [...@gnu-27 build_base_o3.]$ cat y.cc templateclass _T1, class _T2 struct pair { typedef _T1 first_type; typedef _T2 second_type; _T1 first; _T2 second; pair () : first(), second() { } pair(const _T1

[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Known to work|

[Bug c++/34691] [4.2/4.3/4.4 Regression] Default argument checking not performed after overload resolution with C linkage

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-01-16 20:03 --- 3.2.3 also fails the first testcase. This seems to have been broken by 2001-03-01 Nathan Sidwell nat...@codesourcery.com * decl2.c (do_nonmember_using_decl): Don't complain if we find same

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-01-16 20:04 --- PRE shouldn't cause new evaluations - the issue here is that the CFG # BLOCK 2 freq:900 # PRED: ENTRY [100.0%] (fallthru,exec) si1_3 ={v} a; si2_4 ={v} b; # SUCC: 3 [100.0%] (fallthru,exec) # BLOCK 3

[Bug c++/29470] [4.2/4.3/4.4 Regression] Using declaration access semantics change with templates

2009-01-16 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug libobjc/38881] New: Two problem in objc-list.h in list_remove_elem

2009-01-16 Thread bartosz dot kuzma at gmail dot com
There are two problems with list_remove_elem function in objc/objc-list.h file: - function dumps core when remove first element of the list, - if element is in the list more than once and copy of the element are one by one they do not be removed all. struct objc_list *list = 0; int elem_1

[Bug ada/38882] New: Ada: GCC accepts incorrect deferred constant declaration

2009-01-16 Thread tero dot koskinen at iki dot fi
GCC incorrectly accepts following code with deferred constant declaration: -- vstrings.ads -- gnatmake -c -gnatc vstrings.ads package VStrings is subtype VString_Size is Integer range 0 .. 160; type VString (Len : VString_Size := VString_Size'Last) is private; Empty_VString : constant

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-01-16 20:24 --- int main (void) { int si1 = a; int si2 = b; int i; for (i = 0; i 100; ++i) { if (a == 2) exit (0); r += si1 % si2; } abort (); } shows that PRE doesn't move code to where it executes

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

2009-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-16 20:33 --- *** Bug 38870 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38870] G++ allows modification of data members for a non lvalue object

2009-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-16 20:33 --- Except really it is 5.2.5 that causes this to be invalid code. Well the C++ standard as written in 1998, it is valid but there is a defect report against it and it fixed this code to be invalid. *** This bug has

[Bug middle-end/38880] [4.4 Regression] g++.dg/init/const7.C XFAILed

2009-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-16 20:37 --- ((char*) (((struct s*)16)-y) - (char *)16), That is not a valid constant expression in C++ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38880

[Bug c++/38880] [4.4 Regression] g++.dg/init/const7.C XFAILed

2009-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-01-16 20:41 --- http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00448.html http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00581.html Hmm, I think the front-end should be doing the trick of 16B-y into 16B + 4 just like the C front-end

[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop

2009-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-01-16 20:44 --- Hmm, maybe we need to what exactly is done for profiling and split the basic blocks at the function call boundaries but that would definitely cause lots of compile time regressions. --

[Bug fortran/38883] New: Internal Compiler Error for MVBITS with derived type argument that has run-time subscripts

2009-01-16 Thread dick dot hendrickson at gmail dot com
The following program causes an internal compiler error. If the single reference to NF3 in the MVBITS argument list is changed to 3 the program compiles and executes. Dick Hendrickson module yg0009_stuff ! fails on Windows XP ! gcc version 4.4.0 20081219 (experimental) [trunk revision

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop

2009-01-16 Thread dberlin at dberlin dot org
--- Comment #8 from dberlin at gcc dot gnu dot org 2009-01-16 20:48 --- Subject: Re: [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop Hmmm. The only way you could get the CFG to represent that any call may exit would be to calls terminate bb's and have

[Bug libstdc++/32666] FAIL: abi_check hppa

2009-01-16 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #15 from dave at hiauly1 dot hia dot nrc dot ca 2009-01-16 20:51 --- Subject: Re: FAIL: abi_check hppa add in stubs.c for long double only I think we also need float stubs. I saw some problems with floorf in the testsuite in my last build. Dave --

[Bug tree-optimization/38884] New: missed FRE with __real and __imag

2009-01-16 Thread pinskia at gcc dot gnu dot org
Just like PR 38865: struct s { _Complex float i; }; void g(struct s *); float a (float dd) { struct s sv; sv.i = dd; _Complex float d = sv.i; float d1 = __real__ d; g(sv); return d1; } float a1 (float dd) { struct s sv; sv.i = dd; float d = __real__ sv.i; g(sv); return d;

[Bug tree-optimization/38884] missed FRE with __real and __imag

2009-01-16 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug tree-optimization/38385] ICE with -O2 -ftree-loop-distribution

2009-01-16 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2009-01-16 21:01 --- Fixed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop

2009-01-16 Thread rguenther at suse dot de
--- Comment #9 from rguenther at suse dot de 2009-01-16 21:01 --- Subject: Re: [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop On Fri, 16 Jan 2009, dberlin at dberlin dot org wrote: Subject: Re: [4.2/4.3/4.4 Regression] trapping expression

[Bug tree-optimization/38885] New: missed FRE with BIT_FIELD_REF and vectors

2009-01-16 Thread pinskia at gcc dot gnu dot org
Another one like PR 38884 and 38865. Simple testcase: #define vector __attribute__((vector_size(16) )) vector float global_res; float x; int main(int argc) { vector float res = (vector float)(0.0f,0.0f,0.0f,1.0f); res += (vector float)(0.0f,0.0f,0.0f,1.0f); global_res = res; x =

[Bug c/38886] New: 4.3.2 ICE move_insn, at haifa-sched.c:1786

2009-01-16 Thread breiten at lexmark dot com
Got this one with the attached file when attempting to upgrade to gcc-4.3.2 for powerpc. This compiles fine with 3.4.6. I've captured the preprocessed output and removed everything I could that didn't make the problem disappear. This is from openssl-0.9.8d. The problem required -O2 or -O3 and

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop

2009-01-16 Thread dberlin at dberlin dot org
--- Comment #10 from dberlin at gcc dot gnu dot org 2009-01-16 21:07 --- Subject: Re: [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop On Fri, Jan 16, 2009 at 4:01 PM, rguenther at suse dot de gcc-bugzi...@gcc.gnu.org wrote: --- Comment #9 from

[Bug c/38886] 4.3.2 ICE move_insn, at haifa-sched.c:1786

2009-01-16 Thread breiten at lexmark dot com
--- Comment #1 from breiten at lexmark dot com 2009-01-16 21:11 --- Created an attachment (id=17121) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17121action=view) minimal file to cause error - needs -fPIC and -O2 somewhere along my trimming exercise, this file stopped

[Bug fortran/38887] New: run-time abort for MVBITS with run-time zero sized array arguments

2009-01-16 Thread dick dot hendrickson at gmail dot com
The following program gives a run-time abort. If either of the array arguments to MVBITS has an explicit (ie (5,1) or (6,1) ) zero size, the program does not abort. It aborts differently on Windows, depending on how it is run. Dick Hendrickson program try_ya0013 ! fails on Windows XP !

[Bug c/38886] 4.3.2 ICE move_insn, at haifa-sched.c:1786

2009-01-16 Thread breiten at lexmark dot com
--- Comment #2 from breiten at lexmark dot com 2009-01-16 21:14 --- Created an attachment (id=17122) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17122action=view) unmodified preprocessor output This is the original preprocessor output (renamed to a .c file). Compile with -fPIC

[Bug inline-asm/31752] ICE with member function in inline asm

2009-01-16 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2009-01-16 21:22 --- This has been fixed by the patch for PR36334. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34870] argument-dependent lookup wrongly finds friend declaration

2009-01-16 Thread dragan at plusplus dot co dot yu
--- Comment #8 from dragan at plusplus dot co dot yu 2009-01-16 21:22 --- Created an attachment (id=17123) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17123action=view) another test case I disagree... here is another test case. Semantically, it is the same as the first one, so

[Bug fortran/38883] [4.4 Regression] Internal Compiler Error for MVBITS with derived type argument that has run-time subscripts

2009-01-16 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-01-16 21:38 --- Confirm. Working: 4.4.0 20081029 (experimental) [trunk revision 141421] Failing: 4.4.0 20081103 (experimental) [trunk revision 141544] (assuming that my tree was clean back then) -- burnus at gcc dot gnu dot org

[Bug fortran/38883] [4.4 Regression] Internal Compiler Error for MVBITS with derived type argument that has run-time subscripts

2009-01-16 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38883

[Bug c++/31260] [4.2/4.3 Regression] ICE: segmentation fault with template code

2009-01-16 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2009-01-16 21:43 --- Fixed on the trunk by Steve Ellcey's patch for PR38357. Steve, would you mind backporting the patch to the 4.3 branch as it fixes an ice-on-valid-code regression there? -- reichelt at gcc dot gnu dot org

[Bug fortran/38883] [4.4 Regression] Internal Compiler Error for MVBITS with derived type argument that has run-time subscripts

2009-01-16 Thread mikael at gcc dot gnu dot org
--- Comment #2 from mikael at gcc dot gnu dot org 2009-01-16 21:47 --- http://gcc.gnu.org/viewcvs?root=gccview=revrev=141516 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38883

[Bug fortran/38887] [4.4 Regression] run-time abort for MVBITS with run-time zero sized array arguments

2009-01-16 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-01-16 21:48 --- Confirm. Thanks for reporting. Backtrace: #0 0x2b4a4645 in raise () from /lib64/libc.so.6 #1 0x2b4a5c33 in abort () from /lib64/libc.so.6 #2 0x2ad69c00 in *_gfortrani_internal_unpack_4

[Bug fortran/38887] [4.4 Regression] run-time abort for MVBITS with run-time zero sized array arguments

2009-01-16 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38887

[Bug libfortran/38871] [4.4 Regression] libgfortran.so.3 dropped __iso_c_binding_c_f_procpointer@@GFORTRAN_1.0

2009-01-16 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-01-16 22:07 --- I'd say re-adding that symbol until you change libgfortran ABI wouldn't hurt anything, but if you can prove no program could ever use it except for referencing directly that symbol, I guess I can live with a WONTFIX

[Bug tree-optimization/38745] [4.4 Regression] ICE: statement makes a memory store, but has no VDEFS

2009-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2009-01-16 22:11 --- Semi small testcase: union u_u16 { unsigned short v; struct { unsigned char lo8, hi8; } __attribute__ ((__may_alias__)) u; } __attribute__ ((__may_alias__)); union u_u32 { unsigned int v; struct

[Bug c++/36707] ICE in build_modify_expr on rvalue reference function template

2009-01-16 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2009-01-16 22:13 --- This has been fixed on the trunk by the Andrew Pinski's patch for PR36695. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2009-01-16 22:24 --- Created an attachment (id=17124) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17124action=view) patch Patch I am testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38819

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-01-16 22:26 --- A different possible patch would be to have a special mode that pre-splits the CFG at the possible exit points and insert edges to the exit BB. We could condition that on a flag or so. --

[Bug c++/38888] New: [C++0x] badly readable diagnostic output with variadic templates

2009-01-16 Thread bangerth at dealii dot org
Maybe it isn't too late yet to change the specification in the ABI (or maybe there isn't even one yet) for cases like this -- consider template typename... T struct X { template typename... U int f() { this-error; } }; template int Xint,double::fint,double();

[Bug c++/38357] [4.2/4.3 Regression] ICE cc1plus (Segmentation fault)

2009-01-16 Thread sje at gcc dot gnu dot org
--- Comment #4 from sje at gcc dot gnu dot org 2009-01-16 22:35 --- Subject: Bug 38357 Author: sje Date: Fri Jan 16 22:35:24 2009 New Revision: 143444 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143444 Log: PR c++/31260 PR c++/38357 * pt.c (tsubst):

[Bug c++/31260] [4.2/4.3 Regression] ICE: segmentation fault with template code

2009-01-16 Thread sje at gcc dot gnu dot org
--- Comment #8 from sje at gcc dot gnu dot org 2009-01-16 22:35 --- Subject: Bug 31260 Author: sje Date: Fri Jan 16 22:35:24 2009 New Revision: 143444 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143444 Log: PR c++/31260 PR c++/38357 * pt.c (tsubst):

[Bug c++/29470] [4.2/4.3/4.4 Regression] Using declaration access semantics change with templates

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-01-16 22:36 --- Subject: Bug 29470 Author: jason Date: Fri Jan 16 22:36:11 2009 New Revision: 143445 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143445 Log: PR c++/29470 * pt.c (tsubst_decl) [USING_DECL]:

[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-01-16 22:36 --- Subject: Bug 38877 Author: jason Date: Fri Jan 16 22:36:32 2009 New Revision: 143446 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143446 Log: PR c++/38877 * tree.c (lvalue_p_1): Allow

[Bug c++/38888] [C++0x] badly readable diagnostic output with variadic templates

2009-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-16 22:38 --- Well the diagnostic mechanism does not demangle anything, we have the whole expression in memory still. So changing the diagnostic is no issue. Now I wonder how we (c++filt) demange _ZN1XIIidEE1fIIidEEEiv anyways.

[Bug c++/38357] [4.2 Regression] ICE cc1plus (Segmentation fault)

2009-01-16 Thread sje at cup dot hp dot com
--- Comment #5 from sje at cup dot hp dot com 2009-01-16 22:38 --- Fixed on Trunk (4.4) and 4.3 branch. 4.2 branch is closed (or shortly will be) so I am going to just close this as fixed. -- sje at cup dot hp dot com changed: What|Removed |Added

[Bug c++/38877] [4.4 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2009-01-16 22:40 --- Subject: Bug 38877 Author: jason Date: Fri Jan 16 22:40:25 2009 New Revision: 143448 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143448 Log: PR c++/38877 * tree.c (lvalue_p_1): Allow

[Bug c++/38888] [C++0x] badly readable diagnostic output with variadic templates

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2009-01-16 22:45 --- We demangle it as int Xint, double::fint, double() The suggestion seems reasonable to me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3

[Bug c++/29470] [4.2/4.3/4.4 Regression] Using declaration access semantics change with templates

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2009-01-16 22:46 --- Fixed for 4.4, not fixing accepts-invalid on other branches. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38888] [C++0x] badly readable diagnostic output with variadic templates

2009-01-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-01-16 22:46 --- (In reply to comment #2) We demangle it as int Xint, double::fint, double() I have to update my c++filt even though it is from August 2008. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3

[Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2009-01-16 22:48 --- Fixed for 4.4. Will fix in 4.3 soon. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38888] [C++0x] badly readable diagnostic output with variadic templates

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-01-16 22:50 --- Yep, I've been making a bunch of mangling changes recently. Should be all done now though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3

[Bug tree-optimization/38819] [4.2/4.3/4.4 Regression] trapping expression wrongly hoisted out of loop

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2009-01-16 22:51 --- Btw, I am sure this is not a problem for loads, as only CFG exits from functions causes the bogus PRE and that always clobbers memory if it may call exit (pure and const functions may not). It may become a

[Bug libgomp/38086] [4.2/4.3 Regression] libgomp fails to build if assembler doesn't support .symver

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2009-01-16 22:54 --- Lowering priority, this is not a regression on the branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/38092] [4.2/4.3 Regression] libstdc++ doesn't build with GNU ld 2.19 and Sun as: no .symver support

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-01-16 22:55 --- Lowering priority, this is not a regression on the branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36373] [4.2/4.3 Regression] Wrong code with struct return

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2009-01-16 23:08 --- I have no plans to fix this on the branches. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36387] [4.2/4.3 Regression] points-to variables not transitively clobbered

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-01-16 23:09 --- I have no plans of fixing this on the branches. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36400] [4.2/4.3 Regression] points-to results wrong

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-01-16 23:10 --- I have no plans for fixing this on the branches. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-01-16 23:11 --- Patch is ok for the 4.3 branch, adjusting target milestone. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/38889] New: [C++0x] std::bind doesn't work

2009-01-16 Thread bangerth at dealii dot org
I feel like I must be doing something incredibly stupid (and I'm sorry if indeed I do) but this: #include functional void goo(int); void foo() { std::bind (goo,1)(); // works std::bind (goo,std::placeholders::_1)(1); // does not work }

[Bug libstdc++/38889] [C++0x] std::bind doesn't work

2009-01-16 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2009-01-16 23:15 --- Btw, the equivalent that uses boost::bind works just fine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38889

[Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-01-16 23:17 --- Only happens with checking enabled. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2009-01-16 23:17 --- Subject: Bug 38877 Author: jason Date: Fri Jan 16 23:17:35 2009 New Revision: 143449 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=143449 Log: PR c++/38877 * tree.c (lvalue_p_1): Allow

[Bug c++/38877] [4.3 Regression] Revision 143404 caused ICE on 447.dealII in SPEC CPU 2006

2009-01-16 Thread jason at gcc dot gnu dot org
--- Comment #10 from jason at gcc dot gnu dot org 2009-01-16 23:18 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/38886] [4.3 Regression] ICE move_insn, at haifa-sched.c:1786

2009-01-16 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.3.2 Known to work||3.4.6

[Bug libstdc++/38889] [C++0x] std::bind doesn't work

2009-01-16 Thread cfairles at gcc dot gnu dot org
--- Comment #2 from cfairles at gcc dot gnu dot org 2009-01-17 00:03 --- *** This bug has been marked as a duplicate of 35569 *** -- cfairles at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/35569] [c++0x] std::bind result functor doesn't accept rvalues

2009-01-16 Thread cfairles at gcc dot gnu dot org
--- Comment #4 from cfairles at gcc dot gnu dot org 2009-01-17 00:03 --- *** Bug 38889 has been marked as a duplicate of this bug. *** -- cfairles at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38868] r143152 breaks output routines in xplor-nih

2009-01-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #13 from howarth at nitro dot med dot uc dot edu 2009-01-17 00:49 --- Created an attachment (id=17125) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17125action=view) testcase reduced to single file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38868

[Bug middle-end/38868] r143152 breaks output routines in xplor-nih

2009-01-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #14 from howarth at nitro dot med dot uc dot edu 2009-01-17 00:58 --- Breaking this down into separate files, as expected, the regression only occurs when the PRINT2 subroutine is compiled at -O2 or higher. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38868

[Bug middle-end/38868] r143152 breaks output routines in xplor-nih

2009-01-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #15 from howarth at nitro dot med dot uc dot edu 2009-01-17 01:02 --- I have no idea what this means, but if I change... CHARACTER*80 LINE in the PRINT2 subroutine to... CHARACTER*81 LINE the error at -O3 disappears. --

[Bug middle-end/38868] r143152 breaks output routines in xplor-nih

2009-01-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #16 from howarth at nitro dot med dot uc dot edu 2009-01-17 01:13 --- If I use gdb (which doesn't suppress the bug like write statements do), and add break points at... STOP=NTERMS*19+2 WRITE(LINE(START:STOP),'(4A)') ' E(',ANER(J),')=',ST(1:STLEN) END IF

[Bug middle-end/38868] r143152 breaks output routines in xplor-nih

2009-01-16 Thread howarth at nitro dot med dot uc dot edu
--- Comment #17 from howarth at nitro dot med dot uc dot edu 2009-01-17 01:17 --- Hmm, I can't look at what happens to START or STOP at those break points because gdb reports... Breakpoint 1, print2 (qspcl=.TRUE., renrl=()) at print2.f:81 81WRITE(LINE(START:STOP),'(4A)') '

[Bug bootstrap/38890] New: Trunk [revision 143454] broken - stage1 libgcc No rule to make target `all'

2009-01-16 Thread rob1weld at aol dot com
Build broken on Trunk. Worked less than two days ago. # prev-gcc/xgcc -v Using built-in specs. Target: i386-pc-solaris2.11 Configured with: ../gcc_trunk/configure --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared --disable-static --enable-decimal-float --with-long-double-128

[Bug libstdc++/35569] [c++0x] std::bind result functor doesn't accept rvalues

2009-01-16 Thread bangerth at dealii dot org
--- Comment #5 from bangerth at dealii dot org 2009-01-17 01:41 --- (In reply to comment #2) I'm seeing the same thing with Boost.Bind (boost 1.37, GCC 4.2.1). boost.bind appears to work just fine for me, though!? W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35569

[Bug c/38869] valgrind find problem with -O3 -march=native

2009-01-16 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2009-01-17 01:41 --- I can reproduce it on Linux/x86-64: [...@gnu-6 gcc]$ valgrind --tool=memcheck ./cc1 -fpreprocessed x.i -quiet -dumpbase x.i -mtune=generic -auxbase x -O -version -o x.s ==30493== Memcheck, a memory error

<    1   2   3   >