[Bug c/37714] Sign of sin(-0.0) depends on optimization level

2009-08-29 Thread dickinsm at gmail dot com
--- Comment #5 from dickinsm at gmail dot com 2009-08-29 07:05 --- A quick note for anyone else who comes across this: this libm bug is fixed in Snow Leopard (darwin 10). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37714

[Bug c/41184] New: wrong optimise code, epilogue code adjust wrong rsp before pop

2009-08-29 Thread drangon dot mail at gmail dot com
I built an x86_64-w64-mingw32 cross compiler under x86_64 linux using latest gcc SVN code, then use this cross compiler to build ffmpeg. the program runs failed, it seem that epilogue code in aac_encode_frame() adjust wrong rsp register. at function aac_encode_frame() begin : 0x69fb91 : push

[Bug c/41184] wrong optimise code, epilogue code adjust wrong rsp before pop

2009-08-29 Thread drangon dot mail at gmail dot com
--- Comment #1 from drangon dot mail at gmail dot com 2009-08-29 08:10 --- Created an attachment (id=18447) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18447&action=view) -save-temps aacenc_O3.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41184

[Bug c/41184] wrong optimise code, epilogue code adjust wrong rsp before pop

2009-08-29 Thread drangon dot mail at gmail dot com
--- Comment #2 from drangon dot mail at gmail dot com 2009-08-29 08:10 --- Created an attachment (id=18448) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18448&action=view) -save-temps aacenc_O3.s -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41184

[Bug c/41184] wrong optimise code, epilogue code adjust wrong rsp before pop

2009-08-29 Thread drangon dot mail at gmail dot com
--- Comment #3 from drangon dot mail at gmail dot com 2009-08-29 08:11 --- Created an attachment (id=18449) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18449&action=view) objdump of oubput aacenc.o -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41184

[Bug c++/41185] New: size of array ... has non-integral type ...

2009-08-29 Thread pluto at agmk dot net
hi, during compiling bmpx package (http://bmpx.backtrace.info/site) i get an error with gcc-4.4.1: ui-part-library.cc:512: error: size of array 'i_toplevel' has non-integral type 'Gtk::TreeModelColumn' here's the line that confuses compiler: UID uid( Bmp::AlbumArtist( (*i_toplevel)[mStore

[Bug c++/41185] size of array ... has non-integral type ...

2009-08-29 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2009-08-29 08:15 --- Created an attachment (id=18450) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18450&action=view) testcase g++ ui-part-library.ii -c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41185

[Bug c/41184] wrong optimise code, epilogue code adjust wrong rsp before pop

2009-08-29 Thread xxcv07 at gmail dot com
--- Comment #4 from xxcv07 at gmail dot com 2009-08-29 09:33 --- Hi, > I built an x86_64-w64-mingw32 cross compiler under x86_64 linux using > latest gcc SVN code, then use this cross compiler to build ffmpeg. I can confirm this issue and encountered this problem after cross compiled V

[Bug target/40718] Invalid code produced with -foptimize-sibling-calls

2009-08-29 Thread slyfox at inbox dot ru
--- Comment #16 from slyfox at inbox dot ru 2009-08-29 10:26 --- (In reply to comment #15) > Fixed everywhere. > Just tested on my sample (got this only revision from 4_4 branch and applied to gentoo gcc sources). All works as expected. Thanks! -- http://gcc.gnu.org/bugzilla/show

[Bug libstdc++/41174] uncaught_exception always returns true

2009-08-29 Thread wwashby at earthlink dot net
--- Comment #12 from wwashby at earthlink dot net 2009-08-29 11:27 --- (In reply to comment #11) > (In reply to comment #10) > > > > I'm not sure that this applies in this situation. An instance of BadE is > > constructed because it is thrown, but BadE::BadE does not "[exit] via an > >

[Bug fortran/41062] [4.4 Regression] ICE in gfc_trans_use_stmts, at fortran/trans-decl.c:3438

2009-08-29 Thread clerman at fuse dot net
--- Comment #11 from clerman at fuse dot net 2009-08-29 12:14 --- Subject: Re: [4.4 Regression] ICE in gfc_trans_use_stmts, at fortran/trans-decl.c:3438 You're welcome. Works fine now. Norm Clerman pault at gcc dot gnu dot org wrote: > > > --- Comment #10 from pault at

[Bug c/41184] wrong optimise code, epilogue code adjust wrong rsp before pop

2009-08-29 Thread ktietz at gcc dot gnu dot org
--- Comment #5 from ktietz at gcc dot gnu dot org 2009-08-29 12:33 --- This bug is reasoned by ix86_expand_epilogue. At one place frame.padding0 wasn't added to pro_epilogue_adjust_stack. Following patch fixes this. It has to applied to 4.4 branch, too. I'll post it to ML Index: gcc/gc

[Bug tree-optimization/41186] New: VN doesn't look through non-aliasing by offset memcpy

2009-08-29 Thread rguenth at gcc dot gnu dot org
The C++ FE now creates memcpy for class copies to avoid copying objects in tail-padding. struct Foo { Foo() {}; int i; short f; }; struct Bar : public Foo { Bar() {}; short b; }; extern "C" void abort(void); int main() { Bar b1, b2; b2.i = 0; b1.f = 0; b1.b = 1; b2.f = 1; b

[Bug libstdc++/41174] uncaught_exception always returns true

2009-08-29 Thread wwashby at earthlink dot net
--- Comment #13 from wwashby at earthlink dot net 2009-08-29 12:50 --- (In reply to comment #12) > ... > Maybe uncaught_exception assumes that the throw BadE will succeed and doesn't > notice that the BadE object is not fully constructed? > Apparently that is the case. Here's another

[Bug tree-optimization/41186] VN doesn't look through non-aliasing by offset memcpy

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

[Bug c++/41153] ICE in building Qt4 src/core

2009-08-29 Thread xxcv07 at gmail dot com
--- Comment #2 from xxcv07 at gmail dot com 2009-08-29 14:19 --- AFAIK -O0 compiles OK, -O1 fails and cause internal compiler error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41153

[Bug debug/41065] DW_TAG_enumeration_type+DW_TAG_enumerator is sometimes missing

2009-08-29 Thread dodji at gcc dot gnu dot org
--- Comment #2 from dodji at gcc dot gnu dot org 2009-08-29 15:22 --- Patch submitted at http://gcc.gnu.org/ml/gcc-patches/2009-08/msg01596.html . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41065

[Bug c/41184] wrong optimise code, epilogue code adjust wrong rsp before pop

2009-08-29 Thread xxcv07 at gmail dot com
--- Comment #6 from xxcv07 at gmail dot com 2009-08-29 16:06 --- Thanks Kai, I can confirm it is now fixed, -O1 and up isn't an issue now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41184

[Bug c/41184] wrong optimise code, epilogue code adjust wrong rsp before pop

2009-08-29 Thread ktietz at gcc dot gnu dot org
--- Comment #7 from ktietz at gcc dot gnu dot org 2009-08-29 18:01 --- Committed to head at revision 151204. Committed to 4.4 branch at revision 151203. -- ktietz at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libstdc++/41058] FAIL: ext/pb_ds/regression/hash_data_map_rand.cc

2009-08-29 Thread ubizjak at gmail dot com
--- Comment #19 from ubizjak at gmail dot com 2009-08-29 19:52 --- Sigh, the patch doesn't fix alpha failure :( -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41058

[Bug c++/41187] New: g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64

2009-08-29 Thread hjl dot tools at gmail dot com
On Linux/ia64, I got FAIL: g++.dg/debug/dwarf2/namespace-1.C scan-assembler-times .ascii "T.0"[ ]+# DW_AT_name 1 The assembly output has .ascii "T\0"// DW_AT_name There is no trailing '1'. -- Summary: g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64

[Bug c++/41187] g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64

2009-08-29 Thread dodji at redhat dot com
--- Comment #1 from dodji at gcc dot gnu dot org 2009-08-29 21:15 --- Subject: Re: New: g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64 Le 29/08/2009 22:57, hjl dot tools at gmail dot com a écrit : > On Linux/ia64, I got > > FAIL: g++.dg/debug/dwarf2/namespace-1.C scan-assemb

[Bug c++/41187] g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64

2009-08-29 Thread dodji at gcc dot gnu dot org
-- dodji at gcc dot gnu dot org changed: What|Removed |Added CC||dodji at gcc dot gnu dot org AssignedTo|unassigned at gcc dot g

[Bug c++/41187] g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64

2009-08-29 Thread dodji at redhat dot com
--- Comment #2 from dodji at gcc dot gnu dot org 2009-08-29 21:25 --- Subject: Re: New: g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64 I think the correct line should rather be: // { dg-final { scan-assembler-times "\.ascii \"T.0\"\[\t \]+.*?DW_AT_name" -- http://gcc.gnu

[Bug c++/41187] g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64

2009-08-29 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-08-29 21:27 --- # can't be used as comment for ia64. '.' won't match "//". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41187

[Bug c++/41187] g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64

2009-08-29 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-08-29 21:29 --- (In reply to comment #2) > Subject: Re: New: g++.dg/debug/dwarf2/namespace-1.C failed > on Linux/ia64 > > I think the correct line should rather be: > // { dg-final { scan-assembler-times "\.ascii \"T.0\"\[\t \]+

[Bug c++/41187] g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64

2009-08-29 Thread dodji at redhat dot com
--- Comment #5 from dodji at gcc dot gnu dot org 2009-08-29 21:31 --- Subject: Re: g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64 Le 29/08/2009 23:29, hjl dot tools at gmail dot com a écrit : > Do we need ".*?"? Shouldn't it be just ".*"? I tend to use .*? because .* can be to

[Bug c++/41187] g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64

2009-08-29 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2009-08-30 01:43 --- (In reply to comment #5) > Subject: Re: g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64 > > Le 29/08/2009 23:29, hjl dot tools at gmail dot com a écrit : > > Do we need ".*?"? Shouldn't it be just ".*"? > >

[Bug debug/41170] namespace DIE not generated when it contains only a typedef

2009-08-29 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2009-08-30 01:52 --- Subject: Bug 41170 Author: hjl Date: Sun Aug 30 01:52:18 2009 New Revision: 151217 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151217 Log: Fix ChangeLog entries for PR debug/41170. Modified: trunk/gcc/Ch

[Bug rtl-optimization/25742] Internal compiler error in gen_rtx_SUBREG

2009-08-29 Thread abnikant dot singh at atmel dot com
--- Comment #6 from abnikant dot singh at atmel dot com 2009-08-30 02:02 --- f32.c succeeds for 4.3.2, -O[0123s] 4.4.0, -O[0123s] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25742

[Bug fortran/41121] [4.5 Regression] compile-time error when building BLAS with -fimplicit-none

2009-08-29 Thread hjl at gcc dot gnu dot org
--- Comment #8 from hjl at gcc dot gnu dot org 2009-08-30 02:07 --- Subject: Bug 41121 Author: hjl Date: Sun Aug 30 02:06:32 2009 New Revision: 151218 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151218 Log: 2009-08-29 H.J. Lu Backport from mainline: 2009-0

[Bug c/41163] [4.5 Regression] verify_gimple fails

2009-08-29 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2009-08-30 02:07 --- Subject: Bug 41163 Author: hjl Date: Sun Aug 30 02:06:32 2009 New Revision: 151218 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151218 Log: 2009-08-29 H.J. Lu Backport from mainline: 2009-0

[Bug fortran/41162] [4.5 Regression] 416.gamess in SPEC CPU 2006 failed to build

2009-08-29 Thread hjl at gcc dot gnu dot org
--- Comment #10 from hjl at gcc dot gnu dot org 2009-08-30 02:07 --- Subject: Bug 41162 Author: hjl Date: Sun Aug 30 02:06:32 2009 New Revision: 151218 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151218 Log: 2009-08-29 H.J. Lu Backport from mainline: 2009-

[Bug c++/41120] [4.5 Regression] ICE segmentation fault (reading garbage collected data)

2009-08-29 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2009-08-30 02:07 --- Subject: Bug 41120 Author: hjl Date: Sun Aug 30 02:06:32 2009 New Revision: 151218 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151218 Log: 2009-08-29 H.J. Lu Backport from mainline: 2009-0

[Bug fortran/41139] [4.5 Regression] a procedure pointer call as actual argument

2009-08-29 Thread hjl at gcc dot gnu dot org
--- Comment #19 from hjl at gcc dot gnu dot org 2009-08-30 02:07 --- Subject: Bug 41139 Author: hjl Date: Sun Aug 30 02:06:32 2009 New Revision: 151218 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151218 Log: 2009-08-29 H.J. Lu Backport from mainline: 2009-

[Bug fortran/41126] [4.5 Regression] internal compiler error: in gfc_conv_string_tmp

2009-08-29 Thread hjl at gcc dot gnu dot org
--- Comment #12 from hjl at gcc dot gnu dot org 2009-08-30 02:07 --- Subject: Bug 41126 Author: hjl Date: Sun Aug 30 02:06:32 2009 New Revision: 151218 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151218 Log: 2009-08-29 H.J. Lu Backport from mainline: 2009-

[Bug target/41081] redundant ZERO_EXTENDs

2009-08-29 Thread amodra at gcc dot gnu dot org
--- Comment #11 from amodra at gcc dot gnu dot org 2009-08-30 06:09 --- Subject: Bug 41081 Author: amodra Date: Sun Aug 30 06:09:42 2009 New Revision: 151221 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151221 Log: PR target/41081 * fwprop.c (get_reg_use_in): D