[Bug debug/43254] [4.5 Regression] warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4

2010-08-05 Thread dominiq at lps dot ens dot fr
--- Comment #18 from dominiq at lps dot ens dot fr 2010-08-05 07:04 --- > Unverified but I am told that this issue should be fixed in Xcode 3.2.3. AFAICT it is. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43254

[Bug fortran/45187] ICE with CRAY pointer in module depending on variable name

2010-08-05 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2010-08-05 07:05 --- Confirmed, also fails with current trunk. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/45190] New: Compile-time error on valid code: can't convert TYPE(_gfortran_iso_c_binding_c_ptr) to TYPE(c_ptr)

2010-08-05 Thread mathewc at nag dot co dot uk
> gfortran --version GNU Fortran (GCC) 4.5.1 > uname -a Linux tiree.nag.co.uk 2.6.27.25-170.2.72.fc10.x86_64 #1 SMP Sun Jun 21 18:39:34 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux > cat cfpointerstress.f90 MODULE NAG_J_TYPES USE ISO_C_BINDING, ONLY : C_PTR IMPLICIT NONE TYPE

[Bug libstdc++/45191] New: unqualified atomic access

2010-08-05 Thread bkoz at gcc dot gnu dot org
current implementation has issues with namespace scopes and allows unqualified access, ie: #include int main() { atomic_int ai; return 0; } this should require std::atomic_int -- Summary: unqualified atomic access Product: gcc Version: unknown

[Bug libgomp/45192] New: OpenMP fails in DLLs

2010-08-05 Thread john at quivinco dot com
I have an OpenMP code segment: #pragma omp parallel for for (i = 0; i < size; i++) Built with mingw gcc 4.4.0. Run on Windows XP SP3, AMD 64 Athlon FX62 dual core. Run in an exe application it works fine, however when invoked as code in a DLL the for loop threads do not increment properly and th

[Bug libstdc++/45193] New: unqualified atomic access

2010-08-05 Thread bkoz at gcc dot gnu dot org
current implementation has issues with namespace scopes and allows unqualified access, ie: #include int main() { atomic_int ai; return 0; } this should require std::atomic_int -- Summary: unqualified atomic access Product: gcc Version: unknown

[Bug libstdc++/45193] unqualified atomic access

2010-08-05 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-08-05 09:34 --- *** This bug has been marked as a duplicate of 45191 *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug libstdc++/45191] unqualified atomic access

2010-08-05 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-08-05 09:34 --- *** Bug 45193 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45191

[Bug libgomp/45192] OpenMP fails in DLLs

2010-08-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-08-05 09:42 --- You probably have to build applications that use the DLL thread-aware. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45192

[Bug debug/45189] [4.6 regression] New stack alignment test failures

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

[Bug debug/45188] [4.6 regression] Failed to bootstrap on Linux/ia64

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

[Bug fortran/45186] [4.5/4.6 Regression] Gfortran 4.5.0 emits wrong linenumbers

2010-08-05 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2010-08-05 11:13 --- confirmed with 4.5/4.6, works with 4.3/4.4. Compiling with -fdump-tree-all-lineno and looking into tx_f90_pointers.f90.003t.original shows that most of the lineno info has disappeared in 4.5. -- jv244 at cam dot ac d

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-08-05 Thread bernds at gcc dot gnu dot org
--- Comment #56 from bernds at gcc dot gnu dot org 2010-08-05 11:31 --- Created an attachment (id=21400) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21400&action=view) A patch to aid debugging This patch should help pinpoint exactly what went wrong. It adds a dbg-cnt to the cod

[Bug lto/45194] New: lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292

2010-08-05 Thread jamborm at gcc dot gnu dot org
With gcc trunk revision 162816 I am unable to compile Firefox with WHOPR (or LTO, for that matter) because I get the following ICE: lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292 I will attach preprocessed versions of four source files which are necessary to repro

[Bug lto/45194] lto1: internal compiler error: in lto_varpool_replace_node, at lto-symtab.c:292

2010-08-05 Thread jamborm at gcc dot gnu dot org
--- Comment #1 from jamborm at gcc dot gnu dot org 2010-08-05 11:53 --- Created an attachment (id=21401) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21401&action=view) Original testcase After extracting, set CC and CXX variables to paths to c and c++ compilers respectively and r

[Bug fortran/44065] [OOP] Undefined reference to vtab$...

2010-08-05 Thread janus at gcc dot gnu dot org
--- Comment #14 from janus at gcc dot gnu dot org 2010-08-05 11:58 --- (In reply to comment #13) > On x86_64-apple-darwin10.4.0 at r162881, I have tested all the codelets I have > for the PRs fixed by r162879 with both -m32 and -m64 without linking error. Great. So I guess we can close

[Bug fortran/42051] [OOP] ICE on array-valued function with CLASS formal argument

2010-08-05 Thread janus at gcc dot gnu dot org
--- Comment #23 from janus at gcc dot gnu dot org 2010-08-05 12:11 --- For me all the test cases seems to be working now. Mikael, can we close this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42051

[Bug tree-optimization/45195] New: incorrect "array subscript above bounds" warning

2010-08-05 Thread rahul at icerasemi dot com
Using GCC 4.4.1 and the following command, test generates an "array subscript is above array bounds" warning. gcc -S -Os test.c -Wall void foo (int b[2][6]) { int i = 0; for (i = 0; i < 6; i++) { int *pb = &b[1][i]; *pb = 0; } } Output from VRP looks like foo (int[6] *

[Bug libgomp/45192] OpenMP fails in DLLs

2010-08-05 Thread john at quivinco dot com
--- Comment #2 from john at quivinco dot com 2010-08-05 12:39 --- Thanks, but how is that done? Is it in the documentation? (In reply to comment #1) > You probably have to build applications that use the DLL thread-aware. > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45192

[Bug fortran/42051] [OOP] ICE on array-valued function with CLASS formal argument

2010-08-05 Thread mikael at gcc dot gnu dot org
--- Comment #24 from mikael at gcc dot gnu dot org 2010-08-05 12:59 --- (In reply to comment #23) > For me all the test cases seems to be working now. Mikael, can we close this? > I'll backport the fixes to 4.5. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42051

[Bug fortran/44857] [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996

2010-08-05 Thread clerman at fuse dot net
--- Comment #17 from clerman at fuse dot net 2010-08-05 13:03 --- Subject: Re: [4.6 Regression] ICE in output_constructor_regular_field, at varasm.c:4996 Hello, Your fix worked fine, and I am now again able to build my application. Thanks again. Yours truly, Norm Norman S. Clerm

[Bug tree-optimization/45195] incorrect "array subscript above bounds" warning

2010-08-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-08-05 13:16 --- Fixed in 4.4.3. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|

[Bug testsuite/42855] FAIL: gcc.dg/tree-ssa/pr42585.c scan-tree-dump-times optimized *

2010-08-05 Thread jamborm at gcc dot gnu dot org
--- Comment #8 from jamborm at gcc dot gnu dot org 2010-08-05 13:36 --- Subject: Bug 42855 Author: jamborm Date: Thu Aug 5 13:36:18 2010 New Revision: 162913 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162913 Log: 2010-08-05 Martin Jambor PR testsuite/42855

[Bug target/45196] New: ld: warning: can't add line info to anonymous symbol

2010-08-05 Thread howarth at nitro dot med dot uc dot edu
The cleanups to i386 prologue/epilogue generation (r162882 -r162891) cause 161 libstdc++ failures at -m32 on *86*-apple-darwin10 due to new warnings of the form... Executing on host: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/g++ -shared-libgcc -B/sw/src/fink.build/gcc46-4.6.0-1000/da

[Bug c/45176] restrict qualifier is not used in a manually unrolled loop

2010-08-05 Thread siarhei dot siamashka at gmail dot com
--- Comment #4 from siarhei dot siamashka at gmail dot com 2010-08-05 13:40 --- Looks like this missed optimization regression was introduced in gcc 4.5 Are any similar fixes possible in 4.5 branch? -- siarhei dot siamashka at gmail dot com changed: What|Removed

[Bug c/45176] restrict qualifier is not used in a manually unrolled loop

2010-08-05 Thread bmei at broadcom dot com
--- Comment #5 from bmei at broadcom dot com 2010-08-05 13:44 --- I tried to apply the patches (this one alone is not enough) Richard suggested. It becomes a chain of too many patches in the end. I am confident any more to apply them to 4.5. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug fortran/44929] [OOP] Parsing error of derived type name starting with 'REAL'

2010-08-05 Thread janus at gcc dot gnu dot org
--- Comment #21 from janus at gcc dot gnu dot org 2010-08-05 13:56 --- Subject: Bug 44929 Author: janus Date: Thu Aug 5 13:56:00 2010 New Revision: 162914 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162914 Log: 2010-08-05 Janus Weil Steven G. Kargl

[Bug fortran/44929] [OOP] Parsing error of derived type name starting with 'REAL'

2010-08-05 Thread janus at gcc dot gnu dot org
--- Comment #22 from janus at gcc dot gnu dot org 2010-08-05 13:57 --- Fixed on trunk an 4.5. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/45189] [4.6 regression] New stack alignment test failures

2010-08-05 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-08-05 14:04 --- It is caused by revision 162888: http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00099.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45189

[Bug target/45196] ld: warning: can't add line info to anonymous symbol

2010-08-05 Thread iains at gcc dot gnu dot org
--- Comment #1 from iains at gcc dot gnu dot org 2010-08-05 14:23 --- does this solve the problem? (it's a hack - we should ensure that the debug sections do not appear in between our program sections, but that's for another day). Index: gcc/config/darwin.c ===

[Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2010-08-05 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-08-05 14:38 --- Ian, is this a libgcc issue? Can you suggest the best wa to triage it? Thanks. -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug fortran/45197] New: [F2008] Allow IMPURE elemental procedures

2010-08-05 Thread domob at gcc dot gnu dot org
In Fortran 2008, an ELEMENTAL procedure needs not necessarily be PURE. Procedures can now be specified to be IMPURE, and if this is applied to an ELEMENTAL procedure it is not automatically PURE as it otherwise is. For instance, the following code will fill b(n) with cumulative sum of elements in

[Bug target/45198] New: Unnecessary spill slot for highpart extraction of xmm reg

2010-08-05 Thread rguenth at gcc dot gnu dot org
When building g++.dg/torture/pr36445.C at -O2 you can see call_Z5func2v movaps %xmm0, (%rsp) movq(%rsp), %rdx movq8(%rsp), %rax movq%rdx, 16(%rsp) movl%eax, 24(%rsp) where the stack-slot spills are caused by (insn 26 5 27 2 (se

[Bug fortran/45197] [F2008] Allow IMPURE elemental procedures

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

[Bug target/45198] Unnecessary spill slot for highpart extraction of xmm reg

2010-08-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-08-05 15:03 --- Created an attachment (id=21402) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21402&action=view) patch needed Patch needed to trigger this exact situation with that exact testcase. -- http://gcc.gnu.org/

[Bug debug/45189] [4.6 regression] New stack alignment test failures

2010-08-05 Thread rth at gcc dot gnu dot org
--- Comment #2 from rth at gcc dot gnu dot org 2010-08-05 15:40 --- Subject: Bug 45189 Author: rth Date: Thu Aug 5 15:39:54 2010 New Revision: 162917 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162917 Log: PR 45189 Unbreak ia64 build after last dwarf2out.c change. Modified:

[Bug debug/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges

2010-08-05 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2010-08-05 15:43 --- Also seen on darwin9. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/45190] Compile-time error on valid code: can't convert TYPE(_gfortran_iso_c_binding_c_ptr) to TYPE(c_ptr)

2010-08-05 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2010-08-05 15:46 --- The problem also occurs with 4.6.0. Note, if you remove the ', only : c_ptr' in NAG_J_TYPES, the code compiles and produces laptop:kargl[214] gfc4x -o z tr.f90 laptop:kargl[215] ./z C_ASSOCIATED = T ASSOCIATED = T

[Bug target/45198] Unnecessary spill slot for highpart extraction of xmm reg

2010-08-05 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-08-05 15:53 --- Sth like Index: config/i386/i386.md === --- config/i386/i386.md (revision 162913) +++ config/i386/i386.md (working copy) @@ -1957,6 +1957,30 @@ (define

[Bug target/45198] Unnecessary spill slot for highpart extraction of xmm reg

2010-08-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-08-05 15:55 --- (subreg:DI + (match_operand:V4SF 1 "register_operand" + "x,x") 0) That is not a valid subreg and should have be rejected. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45198

[Bug target/45198] Unnecessary spill slot for highpart extraction of xmm reg

2010-08-05 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-08-05 15:58 --- How did you get that subreg in the first place; it should have produced a vec_extract there instead of a subreg. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45198

[Bug fortran/45190] Compile-time error on valid code: can't convert TYPE(_gfortran_iso_c_binding_c_ptr) to TYPE(c_ptr)

2010-08-05 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-08-05 16:03 --- > The problem also occurs with 4.6.0. As well as with 4.4.4. Note that an other pr related to the use of ONLY (pr44702) has been fixed by Tobias Burnus: I CCed him. -- dominiq at lps dot ens dot fr changed:

[Bug target/45198] Unnecessary spill slot for highpart extraction of xmm reg

2010-08-05 Thread rguenther at suse dot de
--- Comment #5 from rguenther at suse dot de 2010-08-05 16:16 --- Subject: Re: Unnecessary spill slot for highpart extraction of xmm reg On Thu, 5 Aug 2010, pinskia at gcc dot gnu dot org wrote: > --- Comment #4 from pinskia at gcc dot gnu dot org 2010-08-05 15:58 > --- > H

[Bug debug/45189] [4.6 regression] New stack alignment test failures

2010-08-05 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-08-05 16:38 --- -fpic is broken. On Fedora 13, I got: [...@gnu-15 gcc]$ ./xgcc -B./ /net/gnu-6/export/gnu/import/git/gcc/gcc/testsuite/g++.dg/torture/stackalign/eh-thiscall-1.C -mstackrealign -mpreferred-stack-boundary=5 -O -c [..

[Bug target/45198] Unnecessary spill slot for highpart extraction of xmm reg

2010-08-05 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2010-08-05 16:44 --- Unlike integer modes, middle-end only knows memory when moving with subreg on vector mode. -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug target/45198] Unnecessary spill slot for highpart extraction of xmm reg

2010-08-05 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2010-08-05 16:58 --- Can we add direct support for moving with (subreg:DI (reg:TI)) and (subreg:TI (reg:OI))? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45198

[Bug bootstrap/45174] Make fails in zlib

2010-08-05 Thread rwild at gcc dot gnu dot org
--- Comment #13 from rwild at gcc dot gnu dot org 2010-08-05 17:01 --- config.log excerpt from zlib: configure:7903: result: yes configure:7936: checking whether the gcc -m64 linker (ld) supports shared libraries configure:9020: result: yes configure:9265: checking dynamic linker chara

[Bug fortran/37829] Incorrect name mangling with iso_c_binding

2010-08-05 Thread mikael at gcc dot gnu dot org
--- Comment #13 from mikael at gcc dot gnu dot org 2010-08-05 17:51 --- *** Bug 45190 has been marked as a duplicate of this bug. *** -- mikael at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/45190] Compile-time error on valid code: can't convert TYPE(_gfortran_iso_c_binding_c_ptr) to TYPE(c_ptr)

2010-08-05 Thread mikael at gcc dot gnu dot org
--- Comment #3 from mikael at gcc dot gnu dot org 2010-08-05 17:51 --- I think it is the same as pr37829. *** This bug has been marked as a duplicate of 37829 *** -- mikael at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/45196] ld: warning: can't add line info to anonymous symbol

2010-08-05 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-08-05 17:55 --- This bug doesn't occur with the actual committed version of the cleanups to i386 prologue/epilogue generation (as opposed to the proposed patches). Let's leave this open for now in case it reappears. --

[Bug debug/45188] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-08-05 Thread rth at gcc dot gnu dot org
--- Comment #1 from rth at gcc dot gnu dot org 2010-08-05 17:59 --- Fixed. -- rth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug target/45189] [4.6 regression] New stack alignment test failures

2010-08-05 Thread rth at gcc dot gnu dot org
--- Comment #4 from rth at gcc dot gnu dot org 2010-08-05 18:01 --- I've now reproduced this on a 64-bit host with -m32, though still not on the 32-bit host. -- rth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/45189] [4.6 regression] New stack alignment test failures

2010-08-05 Thread rth at gcc dot gnu dot org
--- Comment #5 from rth at gcc dot gnu dot org 2010-08-05 18:05 --- Subject: Bug 45189 Author: rth Date: Thu Aug 5 18:04:58 2010 New Revision: 162919 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162919 Log: PR target/45189 Fix unwind for i386 stack re-alignment. Modified:

[Bug target/45189] [4.6 regression] New stack alignment test failures

2010-08-05 Thread rth at gcc dot gnu dot org
--- Comment #6 from rth at gcc dot gnu dot org 2010-08-05 18:13 --- Fixed. -- rth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-08-05 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #57 from dave at hiauly1 dot hia dot nrc dot ca 2010-08-05 19:26 --- Subject: Re: [4.6 regression] Revision 162270 failed to bootstrap On Thu, 05 Aug 2010, bernds at gcc dot gnu dot org wrote: > If you could experiment with passing -fdbg-cnt=bug:N to the compiler,

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-08-05 Thread bernds at gcc dot gnu dot org
--- Comment #66 from bernds at gcc dot gnu dot org 2010-08-05 19:56 --- (In reply to comment #57) > Failure occurs for N = 0. N = 1 compiles successfully. Attached files. Argh. I seem to have swapped the logic of the dbg_cnt test. Still, this result appears useful. I think initial

[Bug tree-optimization/45199] New: ICE in loop distribution

2010-08-05 Thread spop at gcc dot gnu dot org
When compiled with -O3 the following code ICEs on amd64-linux. parameter(numlev=3,numoblev=1000) integer i_otyp(numoblev,numlev), i_styp(numoblev,numlev) logical l_numob(numoblev,numlev) do ixe=1,numoblev do iye=1,numlev i_otyp(ixe,iye)=0 i_

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-08-05 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #67 from dave at hiauly1 dot hia dot nrc dot ca 2010-08-05 20:54 --- Subject: Re: [4.6 regression] Revision 162270 failed to bootstrap > I think initial RTL generation is fine, so it looks like my change has exposed > a latent bug. What seems to happen is that some pass b

[Bug c++/45200] New: ICE in template instantiation

2010-08-05 Thread mr dot chr dot schmidt at online dot de
The attached code leads to segfaults when compiled with gcc-4.5.0 or gcc-4.5.1. gcc-4.4.1 accepts the code. I have absolutely no idea what is actually causing the segfault, as the very same instantiation does not segfault in another context. -- Summary: ICE in template instantiation

[Bug c++/45200] ICE in template instantiation

2010-08-05 Thread mr dot chr dot schmidt at online dot de
--- Comment #1 from mr dot chr dot schmidt at online dot de 2010-08-05 21:02 --- Created an attachment (id=21411) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21411&action=view) preprocessed source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200

[Bug c++/45200] ICE in template instantiation

2010-08-05 Thread mr dot chr dot schmidt at online dot de
--- Comment #2 from mr dot chr dot schmidt at online dot de 2010-08-05 21:04 --- Created an attachment (id=21412) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21412&action=view) g++ -v / g++ reverse.cpp output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45200

[Bug fortran/44064] [OOP] ICE with file containing two modules and one program

2010-08-05 Thread mikael at gcc dot gnu dot org
--- Comment #15 from mikael at gcc dot gnu dot org 2010-08-05 21:08 --- Subject: Bug 44064 Author: mikael Date: Thu Aug 5 21:08:36 2010 New Revision: 162921 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162921 Log: 2010-08-05 Mikael Morin Janus Weil P

[Bug fortran/45151] [4.6 regression] New Fortran failuires

2010-08-05 Thread mikael at gcc dot gnu dot org
--- Comment #16 from mikael at gcc dot gnu dot org 2010-08-05 21:08 --- Subject: Bug 45151 Author: mikael Date: Thu Aug 5 21:08:36 2010 New Revision: 162921 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162921 Log: 2010-08-05 Mikael Morin Janus Weil P

[Bug fortran/42051] [OOP] ICE on array-valued function with CLASS formal argument

2010-08-05 Thread mikael at gcc dot gnu dot org
--- Comment #25 from mikael at gcc dot gnu dot org 2010-08-05 21:08 --- Subject: Bug 42051 Author: mikael Date: Thu Aug 5 21:08:36 2010 New Revision: 162921 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162921 Log: 2010-08-05 Mikael Morin Janus Weil P

[Bug c++/45200] ICE in template instantiation

2010-08-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-08-05 21:08 --- Trunk gives: ..\..\..\..\../boost/fusion/view/reverse_view/detail/end_impl.hpp:39:13: internal compiler error: tree check: accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:10167 Please submit a full bug r

[Bug fortran/42051] [OOP] ICE on array-valued function with CLASS formal argument

2010-08-05 Thread mikael at gcc dot gnu dot org
--- Comment #26 from mikael at gcc dot gnu dot org 2010-08-05 21:11 --- Done -- mikael at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/45199] ICE in loop distribution

2010-08-05 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-08-05 21:11 --- Confirmed on x86_64-apple-darwin10 (for both -m32 and -m64) and the code compiles with -O2 -ftree-vectorize. Revision 162490 is OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45199

[Bug c++/45200] ICE in template instantiation

2010-08-05 Thread mr dot chr dot schmidt at online dot de
--- Comment #4 from mr dot chr dot schmidt at online dot de 2010-08-05 21:14 --- A workaround is to wrap the faulting template instantiation in a thin wrapper: typename detail::forward_as_lref< Seq , typename detail::remove_reference::type::seq_type >::type ... does not work, wher

[Bug fortran/44660] [4.4/4.5 Regression] ICE in resolve_equivalence()

2010-08-05 Thread mikael at gcc dot gnu dot org
--- Comment #21 from mikael at gcc dot gnu dot org 2010-08-05 21:38 --- Subject: Bug 44660 Author: mikael Date: Thu Aug 5 21:38:36 2010 New Revision: 162922 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162922 Log: 2010-08-05 Mikael Morin PR fortran/44660 *

[Bug tree-optimization/45199] ICE in loop distribution

2010-08-05 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-08-05 21:40 --- Backtrace #0 find_uses_to_rename_use (bb=0x141f28138, use=0x141f13058, use_blocks=, need_phis=) at ../../work/gcc/tree-ssa-loop-manip.c:1242 #1 0x000100780838 in find_uses_to_rename_bb (bb=, use_blocks=0x14192

[Bug fortran/44660] [4.4 Regression] ICE in resolve_equivalence()

2010-08-05 Thread mikael at gcc dot gnu dot org
--- Comment #22 from mikael at gcc dot gnu dot org 2010-08-05 21:40 --- Only 4.4 left. Let's not weaken now. -- mikael at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45201] New: ICE: stack overflow during debug information generation

2010-08-05 Thread mr dot chr dot schmidt at online dot de
The attached code will lead to a stack overflow if compiled with -std=c++0x and -g . The code compiles fine without -g. gcc-4.5.0 accepts the code just fine as well, even when compiled with -g. -- Summary: ICE: stack overflow during debug information generation Product: gcc

[Bug c++/45201] ICE: stack overflow during debug information generation

2010-08-05 Thread mr dot chr dot schmidt at online dot de
--- Comment #1 from mr dot chr dot schmidt at online dot de 2010-08-05 21:53 --- Created an attachment (id=21413) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21413&action=view) preprocessed source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201

[Bug c++/45201] ICE: stack overflow during debug information generation

2010-08-05 Thread mr dot chr dot schmidt at online dot de
--- Comment #2 from mr dot chr dot schmidt at online dot de 2010-08-05 21:54 --- Created an attachment (id=21414) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21414&action=view) g++ -v / g++ proto_fusion.cpp -std=c++0x -g output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug libstdc++/45202] New: Strict aliasing warning in stl_tree (returning a copy of a set from a member function in a loop)

2010-08-05 Thread eric_moyer at yahoo dot com
The following code (as small as I can get but I'm not sure its minimal) #include struct X{ unsigned a; X(){} bool operator<(const X& i)const { return a < i.a; } }; struct R{ std::set getSet() const{ std::set result; result.insert(X()); return result; } }; void bug(){ fo

[Bug libstdc++/45202] Strict aliasing warning in stl_tree (returning a copy of a set from a member function in a loop)

2010-08-05 Thread eric_moyer at yahoo dot com
--- Comment #1 from eric_moyer at yahoo dot com 2010-08-05 22:02 --- Created an attachment (id=21415) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21415&action=view) Test case: original source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45202

[Bug libstdc++/45202] Strict aliasing warning in stl_tree (returning a copy of a set from a member function in a loop)

2010-08-05 Thread eric_moyer at yahoo dot com
--- Comment #2 from eric_moyer at yahoo dot com 2010-08-05 22:03 --- Created an attachment (id=21416) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21416&action=view) Test case: preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45202

[Bug libstdc++/45202] Strict aliasing warning in stl_tree (returning a copy of a set from a member function in a loop)

2010-08-05 Thread eric_moyer at yahoo dot com
--- Comment #3 from eric_moyer at yahoo dot com 2010-08-05 22:04 --- Created an attachment (id=21417) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21417&action=view) Test case: output of g++ 4.4.1-ubutntu9 with -v switch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45202

[Bug libstdc++/45202] Strict aliasing warning in stl_tree (returning a copy of a set from a member function in a loop)

2010-08-05 Thread eric_moyer at yahoo dot com
--- Comment #4 from eric_moyer at yahoo dot com 2010-08-05 22:18 --- This is not a duplicate of bug# 39390 because my copy of g++ compiles the test case for that bug without complaint. It may be related to 42032 since that does not compile correctly but (1) the error messages are diff

[Bug c++/45200] ICE in template instantiation

2010-08-05 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-08-05 22:42 --- It is caused by revision 145440: http://gcc.gnu.org/ml/gcc-cvs/2009-04/msg00060.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug c++/45203] New: [Feature request] #pragma start_no_warn_regex

2010-08-05 Thread eric_moyer at yahoo dot com
I am requesting a pragma to suppress warnings that match a given regular expression. (Really I'd be happy with any way to suppress arbitrary warnings for small sections of code. This is just my proposal of a simple way to do it.) I propose adding two new pragmas: #pragma start_no_warn_regex [re

[Bug c++/45203] [Feature request] #pragma start_no_warn_regex

2010-08-05 Thread eric_moyer at yahoo dot com
-- eric_moyer at yahoo dot com changed: What|Removed |Added Severity|normal |enhancement Summary|[Feature request] #pragma |[Feature req

[Bug c++/45203] [Feature request] #pragma start_no_warn_regex

2010-08-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-08-05 23:17 --- Starting with 4.5 you can disable a class of warnings in the source. This is better than a regular expression as it is safe for internationalization. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45203

[Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile

2010-08-05 Thread lacombar at gmail dot com
--- Comment #11 from lacombar at gmail dot com 2010-08-05 23:29 --- I encountered that issue with gcc 4.3.4 on the following target: mips-unknown-linux-uclibc. I'm currently confirming with gcc 4.3.5. If it still happen, would it be worth pulling to the 4.3 branch ? -- http://gcc.gn

[Bug c/45204] New: gcc generates incorrect code

2010-08-05 Thread contact at philipashmore dot com
Apologies in advance for not being able to create a small code sample. The code is in SourceForge GIT repository for treedb. To build treedb you will need v3c - the GIT version. First download v3c and "make prefix=[install-location] && [sudo] make install". cd [treedb-dir] "make debug check" works

[Bug bootstrap/41818] Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile

2010-08-05 Thread lacombar at gmail dot com
--- Comment #12 from lacombar at gmail dot com 2010-08-06 00:01 --- ok, 3.4.5, same target is bad too: ./mips-unknown-linux-uclibc/libstdc++-v3/config.log: error while loading shared libraries: /targets/mips-unknown-linux-uclibc/build/build-cc/./gcc/libgcc_s.so.1: ELF file data encoding

[Bug c/45205] New: printf does not print some long doubles correctly

2010-08-05 Thread kmmertes at gmail dot com
The following code should print "18014398509481983.0" but it prints "36028797018963967.0" instead . long double a = 18014398509481984.0; long double b = -1.0; long double c = a + b; printf("%.1Lf\n", c); I used "gcc -v -save-temps -Wall main.c" -- S

[Bug c/45205] printf does not print some long doubles correctly

2010-08-05 Thread kmmertes at gmail dot com
--- Comment #1 from kmmertes at gmail dot com 2010-08-06 00:41 --- Created an attachment (id=21418) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21418&action=view) short program that demonstrates the problem and possible cause -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45

[Bug c/45205] printf does not print some long doubles correctly

2010-08-05 Thread kmmertes at gmail dot com
--- Comment #2 from kmmertes at gmail dot com 2010-08-06 00:44 --- Created an attachment (id=21419) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21419&action=view) preprocessed file for main.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45205

[Bug target/45205] printf does not print some long doubles correctly

2010-08-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-08-06 01:13 --- Can you provide the output of "gcc -v" ? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45203] [Feature request] #pragma start_no_warn_regex

2010-08-05 Thread eric_moyer at yahoo dot com
--- Comment #2 from eric_moyer at yahoo dot com 2010-08-06 02:09 --- If you are talking about "#pragma GCC diagnostic" that looks good. Turning off error classes is sufficiently fine grained. However the pragma is only guaranteed to work on a file-wide scope. The 4.5 manual says, "A

[Bug target/45205] printf does not print some long doubles correctly

2010-08-05 Thread kmmertes at gmail dot com
--- Comment #4 from kmmertes at gmail dot com 2010-08-06 03:15 --- Sorry I forgot to include output of gcc -v: Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/

[Bug target/45205] printf does not print some long doubles correctly

2010-08-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-08-06 03:17 --- You should report this to Apple and here. We don't support 4.0.x any more. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/45205] printf does not print some long doubles correctly

2010-08-05 Thread kmmertes at gmail dot com
--- Comment #6 from kmmertes at gmail dot com 2010-08-06 04:17 --- Can you compile and run the program on a PowerPC computer with a version of gcc that you do support to see if the problem persists? Here is the output from my system: a -> 18014398509481984.0 : 43 50 00 00 00 0

[Bug target/45205] printf does not print some long doubles correctly

2010-08-05 Thread kmmertes at gmail dot com
--- Comment #7 from kmmertes at gmail dot com 2010-08-06 04:21 --- Prettier version of output (I hope): a -> 18014398509481984.0 : 43 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +b -> -1.0 : bf f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =c -> 36028797018963967.0 :

[Bug bootstrap/45206] New: [4.6 regression] ICE in ix86_expand_epilogue compiling libgcc

2010-08-05 Thread ebotcazou at gcc dot gnu dot org
The error is: /home/eric/gnat/gnat-head/native32/./gcc/xgcc -B/home/eric/gnat/gnat-head/native32/./gcc/ -B/home/eric/install/gnat-head/i586-suse-linux/bin/ -B/home/eric/install/gnat-head/i586-suse-linux/lib/ -isystem /home/eric/install/gnat-head/i586-suse-linux/include -isystem /home/eric/install/

[Bug bootstrap/45206] [4.6 regression] ICE in ix86_expand_epilogue compiling libgcc

2010-08-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-08-06 06:21 --- Created an attachment (id=21420) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21420&action=view) Preprocessed file. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45206

[Bug libstdc++/45202] Strict aliasing warning in stl_tree (returning a copy of a set from a member function in a loop)

2010-08-05 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-08-06 06:53 --- *** This bug has been marked as a duplicate of 42032 *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug c++/42032] Aliasing errors in stl_tree.h

2010-08-05 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2010-08-06 06:53 --- *** Bug 45202 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added