[Bug c/22485] pointer +- integer is never NULL

2005-07-14 Thread falk at debian dot org
--- Additional Comments From falk at debian dot org 2005-07-15 06:41 --- Subject: Re: pointer +- integer is never NULL "gdr at integrable-solutions dot net" <[EMAIL PROTECTED]> writes: > My indirect observation was that reinterpret_cast is intended for > specific needs that cannot ade

[Bug c/22278] gcc -O2 discards cast to volatile

2005-07-14 Thread neroden at gcc dot gnu dot org
--- Additional Comments From neroden at gcc dot gnu dot org 2005-07-15 05:50 --- OK, so in X.org, the key area where this is hit is the definition of MMIO_IN8 in compiler.h. For alpha, sparc, and powerpc, inline volatile ASM is used instead (much better in some ways).

[Bug c++/21038] Poor diagnostic

2005-07-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-07-

[Bug middle-end/22276] [4.1 regression] bootstrap failure on i686-pc-mingw32

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-15 02:27 --- Does this happen now? -- What|Removed |Added Status|UNCONFIRMED

[Bug tree-optimization/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-15 01:39 --- This is even reproducible on x86 with -O1 -msse2 -- What|Removed |Added GCC target triplet|x

[Bug tree-optimization/22480] [4.1 Regression] ICE in convert_move, at expr.c:390 with -ftree-vectorize

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-15 01:37 --- Confirmed, reduced testcase: void convert_32_to_8(void) { static unsigned bm[16]; int j; for (j=0; j<16;j++) bm[j]<<=8; } -- What|Removed |Added --

[Bug tree-optimization/22471] [4.1 Regression] corrupted profile info with -O3 -fprofile-use

2005-07-14 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-15 00:41 --- Subject: Re: [4.1 Regression] corrupted profile info with -O3 -fprofile-use On Fri, 2005-07-15 at 00:07 +, janis at gcc dot gnu dot org wrote: > --- Additional Comments From janis at gcc do

[Bug bootstrap/20155] [4.0 Regression] libgcj build fails with "execvp: /bin/sh: Argument list too long"

2005-07-14 Thread mark at codesourcery dot com
--- Additional Comments From mark at codesourcery dot com 2005-07-15 00:30 --- Subject: Re: [4.0 Regression] libgcj build fails with "execvp: /bin/sh: Argument list too long" bonzini at gcc dot gnu dot org wrote: > --- Additional Comments From bonzini at gcc dot gnu dot org 2005-

[Bug tree-optimization/22471] [4.1 Regression] corrupted profile info with -O3 -fprofile-use

2005-07-14 Thread janis at gcc dot gnu dot org
--- Additional Comments From janis at gcc dot gnu dot org 2005-07-15 00:07 --- I've got diverging scripts on various systems, and when I thought I was testing with a compiler from before 20050630 I was actually using today's mainline. I have verified (and triple-checked) that none of th

[Bug libstdc++/21193] provide better std::tr1::hash for std::string and std::wstring

2005-07-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-15 00:05 --- Subject: Bug 21193 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-15 00:05:45 Modified files: libstdc++-v3 : ChangeLog libstdc++-v3/inclu

[Bug tree-optimization/22348] [4.0/4.1 Regression] IV canonicalization causes execution of loops past their end condition

2005-07-14 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-14 23:58 --- Clearly something's fishy in number_of_iterations_cond. But I honestly don't understand that code. Zdenek, can you please look at this one? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348

[Bug libstdc++/21286] [4.0/4.1 Regression] filebuf::xsgetn vs pipes

2005-07-14 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-07-14 23:51 --- Thanks. At this point in 3_4-branch go only very-very safe changes. Therefore, before considering fixing in that branch too the problem (*), let's test the new algorithm in mainline and 4_0-branch for a while. (*)

[Bug target/21613] -fpic only: internal compiler error: in extract_insn, at recog.c:2083 (20010107-1.c:6)

2005-07-14 Thread flash at pobox dot com
--- Additional Comments From flash at pobox dot com 2005-07-14 23:46 --- PalmSource bug #104818. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21613

[Bug tree-optimization/22348] [4.0/4.1 Regression] IV canonicalization causes execution of loops past their end condition

2005-07-14 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-14 23:17 --- Loop 1 iterates 1431655781 times :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348

[Bug tree-optimization/22043] [4.1 Regression] Fields not initialized for automatic structs with flexible array members

2005-07-14 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-14 23:06 --- Jakub, do you plan to fix this bug on mainline as well?? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22043

[Bug ada/22477] GNAT does not compile any Ada files

2005-07-14 Thread info at softimp dot com dot au
--- Additional Comments From info at softimp dot com dot au 2005-07-14 23:04 --- Forgot to mention, this problem occurs only with GNAT (gcc C frontend works - have compiled working kernel modules) on linux kernel 2.6.11-1.35_FC3. I have reverted back to 2.6.11-1.14_FC3 and Ada/C fronten

[Bug c/22485] pointer +- integer is never NULL

2005-07-14 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-14 23:03 --- Subject: Re: pointer +- integer is never NULL "falk at debian dot org" <[EMAIL PROTECTED]> writes: [...] | > | (In reply to comment #7) | > | | > | > I'm failing to find anything in the C++ standar

[Bug tree-optimization/22230] [4.1 Regression] value range propagation error

2005-07-14 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-14 23:00 --- Nailed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug ada/22477] GNAT does not compile any Ada files

2005-07-14 Thread info at softimp dot com dot au
--- Additional Comments From info at softimp dot com dot au 2005-07-14 22:57 --- (In reply to comment #1) > Can you attach conftest.adb? Sure thing. - BEGIN CONFTEST.ADB -- with Ada.Text_IO; procedure Conftest is Conftest_Ok : Ada.Text_IO.File_Type; b

[Bug target/22481] [4.1 Regression] ICE in extract_constrain_insn_cached, at recog.c:2000 with -O3 -fpeel-loops

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 22:56 --- Confirmed, reduced testcase: int set_output(void*); struct ACE_Shared_Object { virtual void init (); }; struct ACE_Event_Handler { virtual ~ACE_Event_Handler (void); }; void *instance (void); struct ACE_

[Bug tree-optimization/22230] [4.1 Regression] value range propagation error

2005-07-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-14 22:55 --- Subject: Bug 22230 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-14 22:54:43 Modified files: gcc: ChangeLog tree-vrp.c gcc/tes

[Bug fortran/17123] Assertion fail in trans-const.c

2005-07-14 Thread pbrook at gcc dot gnu dot org
--- Additional Comments From pbrook at gcc dot gnu dot org 2005-07-14 22:19 --- There are many wrong-code and rejects-valid bugs effecting gfortran. This one is no worse than the others. The only way to make sure a bug is fixed is to fix it yourself or pay someone else to fix it for you

[Bug c/22485] pointer +- integer is never NULL

2005-07-14 Thread falk at debian dot org
--- Additional Comments From falk at debian dot org 2005-07-14 21:47 --- Subject: Re: pointer +- integer is never NULL Gabriel Dos Reis <[EMAIL PROTECTED]> writes: > "falk at debian dot org" <[EMAIL PROTECTED]> writes: > > | --- Additional Comments From falk at debian dot org 200

Re: [Bug c/22485] pointer +- integer is never NULL

2005-07-14 Thread Falk Hueffner
Gabriel Dos Reis <[EMAIL PROTECTED]> writes: > "falk at debian dot org" <[EMAIL PROTECTED]> writes: > > | --- Additional Comments From falk at debian dot org 2005-07-14 15:37 > --- > | (In reply to comment #7) > | > | > I'm failing to find anything in the C++ standard that suggests that

[Bug fortran/21594] [4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test

2005-07-14 Thread tkoenig at gcc dot gnu dot org
-- Bug 21594 depends on bug 22144, which changed state. Bug 22144 Summary: [4.0 only] eoshift1, eoshift3, cshift1 lack memory allocation http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22144 What|Old Value |New Value

[Bug libfortran/22144] [4.0 only] eoshift1, eoshift3, cshift1 lack memory allocation

2005-07-14 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-14 21:21 --- Fixed in 4.0. -- What|Removed |Added Status|NEW |RESOLVE

[Bug fortran/21594] [4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test

2005-07-14 Thread tkoenig at gcc dot gnu dot org
-- Bug 21594 depends on bug 22142, which changed state. Bug 22142 Summary: [4.0 only] eoshift: boundary not filled in correctly http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22142 What|Old Value |New Value -

[Bug libfortran/22142] [4.0 only] eoshift: boundary not filled in correctly

2005-07-14 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-14 21:20 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED|RESOLVE

[Bug fortran/21594] [4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test

2005-07-14 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-14 21:19 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED|RESOLVE

[Bug fortran/21594] [4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test

2005-07-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-14 21:17 --- Subject: Bug 21594 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-14 21:17:44 Modified files: libgfortran: Change

[Bug libfortran/22144] [4.0 only] eoshift1, eoshift3, cshift1 lack memory allocation

2005-07-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-14 21:17 --- Subject: Bug 22144 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-14 21:17:44 Modified files: libgfortran: Change

[Bug libfortran/22142] [4.0 only] eoshift: boundary not filled in correctly

2005-07-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-14 21:17 --- Subject: Bug 22142 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-14 21:17:44 Modified files: libgfortran: Change

[Bug c++/22452] [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132

2005-07-14 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-14 21:17 --- Subject: Re: [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132 "dberlin at dberlin dot org" <[EMAIL PROTECTED]>

Re: [Bug c++/22452] [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132

2005-07-14 Thread Gabriel Dos Reis
"dberlin at dberlin dot org" <[EMAIL PROTECTED]> writes: | --- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-14 20:40 --- | Subject: Re: [4.1 regression] ICE expected tree that | contains 'decl with visibility' structure, have 'const_decl' in | decl_linkag

[Bug target/20126] [3.4 Regression] Inlined memcmp makes one argument null on entry

2005-07-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-14 21:11 --- Subject: Bug 20126 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-14 21:11:41 Modified files: gcc: ChangeLog loop.c Log message:

[Bug tree-optimization/22471] [4.1 Regression] corrupted profile info with -O3 -fprofile-use

2005-07-14 Thread janis at gcc dot gnu dot org
--- Additional Comments From janis at gcc dot gnu dot org 2005-07-14 21:07 --- The patch doesn't trigger anything, and I discovered that some of the failures I'm seeing now happen before the patch from dberlin from 20050630. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22471

[Bug c++/22452] [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132

2005-07-14 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-14 20:53 --- Subject: Re: [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132 "dberlin at dberlin dot org" <[EMAIL PROTECTED]>

[Bug libstdc++/21286] [4.0/4.1 Regression] filebuf::xsgetn vs pipes

2005-07-14 Thread amu at alum dot mit dot edu
--- Additional Comments From amu at alum dot mit dot edu 2005-07-14 20:45 --- FWIW, the same broken optimization, and hence the same bug, also appears to have materialized in the 3.4 branch somewhere between 3.4.2 and 3.4.3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21286

[Bug target/21968] gcc.dg/tls/debug-1.c fails on ia64-hpux

2005-07-14 Thread sje at cup dot hp dot com
--- Additional Comments From sje at cup dot hp dot com 2005-07-14 20:41 --- I forgot to put the PR number in my patch ChangeLog but this is now fixed on the mainline with config/ia64/ia64.c version 1.390. -- What|Removed |Added ---

[Bug tree-optimization/22230] [4.1 Regression] value range propagation error

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 20:41 --- Patch posted here: . -- What|Removed |Added -

[Bug c++/22452] [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132

2005-07-14 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-14 20:40 --- Subject: Re: [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132 > | > | I really don't have the skill

[Bug tree-optimization/22488] [4.1 Regression] ICE: in first_vi_for_offset, at tree-ssa-structalias.c:2585 with -O3

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 20:40 --- Only reproducible with the reduced testcase on 32bit targets. -- What|Removed |Added GCC tar

[Bug c++/22452] [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132

2005-07-14 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-14 20:36 --- Subject: Re: [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132 > The point is that that is wrong, at

[Bug tree-optimization/22348] [4.0/4.1 Regression] IV canonicalization causes execution of loops past their end condition

2005-07-14 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-14 20:33 --- On mainline we have this .empty dump for main: ;; Function main (main) main () { unsigned int i; int D.1613; int i.0; : # i_2 = PHI ; :; i.0_5 = (int) i_2; f (i.0_5); i_6 = i

[Bug c/22476] -Wmissing-format-attribute should pick out function pointer candidates also

2005-07-14 Thread ghazi at gcc dot gnu dot org
--- Additional Comments From ghazi at gcc dot gnu dot org 2005-07-14 20:25 --- (In reply to comment #3) > convert_for_assignment would be a plausible place to add this check. Agreed, I was just looking into that. It appears that it handles all the various ways assignment can occur. (

[Bug tree-optimization/22488] [4.1 Regression] ICE: in first_vi_for_offset, at tree-ssa-structalias.c:2585 with -O3

2005-07-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-14 20:24 --- Confirmed. Reduced testcase (compile with -O) = struct X { int i0, i1; char c; }; struct A { int i; char c0, c1; virtual ~A(); }; struct B : virtual A {};

[Bug c++/22494] New: C++ front-end produces mis-match types in EQ_EXPR (array deconstructor)

2005-07-14 Thread pinskia at gcc dot gnu dot org
Take following example: struct Priority_Task { virtual ~Priority_Task (void); }; Priority_Task tasks[2]; See PR 22368 for the patch to detect this. pr22481.2.cc: In function 'void __static_initialization_and_destruction_0(int, int)': pr22481.2.cc:7: error: types mismatch in comparsion struct Pr

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22494 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug c/22476] -Wmissing-format-attribute should pick out function pointer candidates also

2005-07-14 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-07-14 19:42 --- Subject: Re: -Wmissing-format-attribute should pick out function pointer candidates also convert_for_assignment would be a plausible place to add this check. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug tree-optimization/22230] [4.1 Regression] value range propagation error

2005-07-14 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-14 19:42 --- I believe this is the fix. Testing it now... Index: tree-vrp.c === RCS file: /cvs/gcc/gcc/gcc/tree-vrp.c,v retrieving revision 2.40 diff

[Bug bootstrap/22407] libgfortran build fails because of bad substitution

2005-07-14 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-07-14 19:40 --- > This problem really disappeared when I used make 3.80. So that's my mistake. > Sorry to have wasted your time. No problems. Thanks for reporting the successful outcome. -- http://gcc.gnu.org/bugzil

[Bug c/22485] pointer +- integer is never NULL

2005-07-14 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-14 19:38 --- Subject: Re: pointer +- integer is never NULL "falk at debian dot org" <[EMAIL PROTECTED]> writes: | --- Additional Comments From falk at debian dot org 2005-07-14 15:37 --- | (In reply to

Re: [Bug c/22485] pointer +- integer is never NULL

2005-07-14 Thread Gabriel Dos Reis
"falk at debian dot org" <[EMAIL PROTECTED]> writes: | --- Additional Comments From falk at debian dot org 2005-07-14 15:37 --- | (In reply to comment #7) | | > I'm failing to find anything in the C++ standard that suggests that the | > following shall be undefined | > | >(reinterp

[Bug c++/22452] [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132

2005-07-14 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-14 19:36 --- Subject: Re: [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132 "dberlin at dberlin dot org" <[EMAIL PROTECTED]>

[Bug bootstrap/22407] libgfortran build fails because of bad substitution

2005-07-14 Thread roessner at rbg dot informatik dot tu-darmstadt dot de
--- Additional Comments From roessner at rbg dot informatik dot tu-darmstadt dot de 2005-07-14 19:27 --- (In reply to comment #6) > (In reply to comment #5) [...] > GNU make: 3.78.1 > So this may be a too-old-make problem? [...] > I make a new make as I write this ... I will post result

[Bug rtl-optimization/22167] [3.4/4.0/4.1 regression] Strange optimization bug when using -Os

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 18:57 --- The reduced testcase also fails on ppc-darwin with 4.0.0. -- What|Removed |Added Known

[Bug tree-optimization/22493] [4.1 Regression] with -fwrapv -INT_MIN is still not postive

2005-07-14 Thread tromey at gcc dot gnu dot org
-- What|Removed |Added CC||tromey at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sho

[Bug libgcj/22084] [4.1 Regression] Divide_1 test case hangs

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 18:49 --- This is most likely just the same problem as PR 22493. -- What|Removed |Added BugsThisDepen

[Bug tree-optimization/22493] [4.1 Regression] with -fwrapv -INT_MIN is still not postive

2005-07-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||22084 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22493

[Bug c/22476] -Wmissing-format-attribute should pick out function pointer candidates also

2005-07-14 Thread ghazi at gcc dot gnu dot org
--- Additional Comments From ghazi at gcc dot gnu dot org 2005-07-14 18:49 --- Here's another case we should catch, passing a function pointer as a parameter: #include static void foo (int (*ptr)(const char *, ...)) { ptr("hello world %d\n", 5L); } int main (void) { foo (printf);

[Bug tree-optimization/22493] [4.1 Regression] with -fwrapv -INT_MIN is still not postive

2005-07-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||dnovillo at gcc dot gnu dot ||org Target Milestone|---

[Bug tree-optimization/22493] New: [4.1 Regression] with -fwrapv -INT_MIN is still not postive

2005-07-14 Thread pinskia at gcc dot gnu dot org
Take the following code: #include void abort (); void f(int i) { if (i>0) abort(); i = -i; if (i<0) return; abort (); } int main(void) { f(INT_MIN); return 0; } This should not abort but does at -O2 -fwrapv and above because VRP is folding the conditional which is not true

[Bug target/20126] [3.4 Regression] Inlined memcmp makes one argument null on entry

2005-07-14 Thread aoliva at gcc dot gnu dot org
--- Additional Comments From aoliva at gcc dot gnu dot org 2005-07-14 18:32 --- I'd say go for it. It's approved, after all. 'fraid I don't have a ChangeLog entry handy. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20126

[Bug c++/22487] C++ front-end produces mis-match types in EQ_EXPR (array constructor)

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 18:31 --- Another testcase: struct QRgbMap { QRgbMap(); }; void convert_32_to_8() { QRgbMap table[10]; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22487

[Bug tree-optimization/22376] PTA is slow on a silly unrealistic test case

2005-07-14 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-14 18:11 --- Subject: Re: PTA is slow on a silly unrealistic test case On Thu, 2005-07-14 at 17:13 +, pinskia at gcc dot gnu dot org wrote: > --- Additional Comments From pinskia at gcc dot gnu dot org

Re: [Bug tree-optimization/22376] PTA is slow on a silly unrealistic test case

2005-07-14 Thread Daniel Berlin
On Thu, 2005-07-14 at 17:13 +, pinskia at gcc dot gnu dot org wrote: > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 > 17:13 --- > Confirmed, patch here: > . > I'm waiting for mainline to settle a bit

[Bug libobjc/22492] [PATCH] Abort after @finally: libobjc passing exception value instead of exception.

2005-07-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sh

[Bug libobjc/22492] New: [PATCH] Abort after @finally: libobjc passing exception value instead of exception.

2005-07-14 Thread creep at desk dot pl
gcc41 -v Using built-in specs. Target: i386-portbld-freebsd5.4 Configured with: ./..//gcc-4.1-20050709/configure --disable-rpath --disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local --program-suffix=41 --libdir=/usr/local/lib/gcc/i386-portbld-freebsd5.4/4.1.0 --with-gxx-include-dir=/u

[Bug rtl-optimization/22167] [3.4, 4.1 regression] Strange optimization bug when using -Os

2005-07-14 Thread rsandifo at gcc dot gnu dot org
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-07-14 17:55 --- The reduced testcase that I've just attached fails for 4.1 as well as 3.4 on mips64-elf. I haven't yet tried 4.0. -- What|Removed |Added ---

[Bug tree-optimization/22488] [4.1 Regression] ICE: in first_vi_for_offset, at tree-ssa-structalias.c:2585 with -O3

2005-07-14 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-14 17:40 --- Subject: Re: [4.1 Regression] ICE: in first_vi_for_offset, at tree-ssa-structalias.c:2585 with -O3 On Thu, 2005-07-14 at 16:53 +, reichelt at gcc dot gnu dot org wrote: > --- Additional Com

[Bug libfortran/22412] [4.0 only] Fortran B edit descriptor error

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 17:36 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug c/20303] [4.0 only] Can't push more than 16 nested visibility

2005-07-14 Thread hjl at lucon dot org
-- What|Removed |Added Target Milestone|4.1.0 |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20303

[Bug c/20303] [4.0 only] Can't push more than 16 nested visibility

2005-07-14 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-07-14 17:25 --- A patch for gcc 4.0 is posted at http://gcc.gnu.org/ml/gcc-patches/2005-07/msg00994.html -- What|Removed |Added

[Bug libfortran/22412] [4.0 only] Fortran B edit descriptor error

2005-07-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-14 17:17 --- Subject: Bug 22412 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-14 17:17:14 Modified files: libgfortran: Change

[Bug tree-optimization/22376] PTA is slow on a silly unrealistic test case

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 17:13 --- Confirmed, patch here: . -- What|Removed |Added

[Bug fortran/16861] segfault with doubly used module

2005-07-14 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-14 17:12 --- For the example in comment #14, the USE of MOD2 in MOD3 is not parsing the saved MOD2 module correctly causing J1 to be restored with a NULL symtree. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16861

[Bug fortran/22491] character array parameters do not reduce

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 17:08 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug ada/22477] GNAT does not compile any Ada files

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 17:08 --- Can you attach conftest.adb? -- What|Removed |Added CC|

[Bug fortran/22491] New: character array parameters do not reduce

2005-07-14 Thread dje at gcc dot gnu dot org
Work on PR 21730 uncovered that character array initializers do not reduce. character*2 a (1) character*4 b character*6 c parameter (a="12") parameter (b = a(1)) write (c,'("#",A,"#")') b if (c .ne. '#12 #') call abort end Or:

[Bug c/22476] -Wmissing-format-attribute should pick out function pointer candidates also

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 17:06 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug libstdc++/22309] mt allocator doesn't pthread_key_delete it's keys

2005-07-14 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-07-

[Bug tree-optimization/22230] [4.1 Regression] value range propagation error

2005-07-14 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-14 17:02 --- The bug is that the 4 cross operations are not computed properly. In extract_range_from_binary_expr we compute them as follows: /* Compute the 4 cross operations. */ val[0] = vrp_int_const_

[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 16:59 --- *** Bug 22482 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug libstdc++/22482] -fvisibility=hidden and stl -> SEGV in __gnu_cxx::__pool::_M_reclaim_block

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 16:59 --- After reading comment #3, this is in fact a dup of bug 19664. *** This bug has been marked as a duplicate of 19664 *** -- What|Removed |Added ---

[Bug tree-optimization/22486] Upcasts are not folded away

2005-07-14 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-07-14 16:58 --- I'm looking at this myself and have a patch that helps for the cases I care. -- What|Removed |Added --

[Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 16:57 --- Fixed now on the mainline. -- What|Removed |Added Status|NEW

[Bug tree-optimization/22488] [4.1 Regression] ICE: in first_vi_for_offset, at tree-ssa-structalias.c:2585 with -O3

2005-07-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-14 16:53 --- After some tweaking I can reproduce the ICE on i686-pc-linux-gnu with todays version of mainline. So it's not a dupe of PR22422. -- What|Removed |Added

[Bug tree-optimization/22483] [4.1 Regression] ICE : tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:466

2005-07-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-14 16:45 --- Probably related to PR22416. -- What|Removed |Added BugsThisDependsOn|

[Bug tree-optimization/22484] [4.1 Regression] ICE: verify_stmts failed with -O3

2005-07-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 16:39 --- Found the problem, we should be removing the cast as it is useless. Fixing. -- What|Removed |Added ---

[Bug rtl-optimization/22445] Optimizations done by cselib depend on pointer values

2005-07-14 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-14 16:37 --- Subject: Bug 22445 CVSROOT:/cvs/gcc Module name:gcc Branch: sh-elf-4_1-branch Changes by: [EMAIL PROTECTED] 2005-07-14 16:37:23 Modified files: gcc: Cha

[Bug tree-optimization/22484] [4.1 Regression] ICE: verify_stmts failed with -O3

2005-07-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-14 16:25 --- *** Bug 22490 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22484

[Bug tree-optimization/22490] ICE: verify_stmts failed with -O3

2005-07-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-14 16:25 --- Replacing a "Boolean" with bool at the right place makes the code compile. This is the same problem as PR 22484. *** This bug has been marked as a duplicate of 22484 *** -- What|Removed

[Bug tree-optimization/22230] [4.1 Regression] value range propagation error

2005-07-14 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-07-14 16:16 --- Diego is always too busy to fix his bugs, so I'll take a look at this one. -- What|Removed |Added --

[Bug tree-optimization/22490] ICE: verify_stmts failed with -O3

2005-07-14 Thread micis at gmx dot de
--- Additional Comments From micis at gmx dot de 2005-07-14 16:05 --- Created an attachment (id=9273) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9273&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22490

[Bug tree-optimization/22484] [4.1 Regression] ICE: verify_stmts failed with -O3

2005-07-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-14 16:05 --- Confirmed. Reduced testcase (compile with -O3): == struct A { ~A(); }; typedef bool B; bool foo(); bool bar(A&) { B b = true; for (int i = 0; i < 2 && b; ++i)

[Bug tree-optimization/22490] New: ICE: verify_stmts failed with -O3

2005-07-14 Thread micis at gmx dot de
When I compile ace542 with the actual snapshot of gcc41 I get an ICE when I use -O3. The last snapshot which works is gcc-4.1-20050528, the first that fails is gcc-4.1-20050604 Michael Cieslinski g++41f -O3 -c -o .obj/anonymousC.o anonymousC.ii ACE_wrappers/TAO/tao/Valuetype/ValueBase.inl: In

[Bug c++/22452] [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132

2005-07-14 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-14 16:03 --- Subject: Re: [4.1 regression] ICE expected tree that contains 'decl with visibility' structure, have 'const_decl' in decl_linkage, at cp/tree.c:2132 > | fixing. > > Please look at sectio

[Bug c/22485] pointer +- integer is never NULL

2005-07-14 Thread falk at debian dot org
--- Additional Comments From falk at debian dot org 2005-07-14 15:37 --- (In reply to comment #7) > I'm failing to find anything in the C++ standard that suggests that the > following shall be undefined > >(reinterpret_cast(0) + 5) - 5 If (reinterpret_cast(0) + 5) - 5 is not undef

[Bug c/20303] Can't push more than 16 nested visibility

2005-07-14 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-07-14 15:33 --- Any reason why this hasn't been fixed on gcc-4_0-branch as well? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20303

[Bug rtl-optimization/20376] The missed-optimization of general induction variables in the new rtl-level loop optimizer cause performance degradation.

2005-07-14 Thread canqun at nudt dot edu dot cn
--- Additional Comments From canqun at nudt dot edu dot cn 2005-07-14 15:25 --- (In reply to comment #13) > Fixed. Performance test on IA-64 recently show that loop unrolling with '-fweb' and '- frename-registers" turned on can take nearly the same effectiveness as with the giv splitti

  1   2   >