[Bug rtl-optimization/42388] [4.5 Regression] ICE in move_bb_info with sel-sched and modulo-sched for 176.gcc

2009-12-23 Thread abel at gcc dot gnu dot org
--- Comment #3 from abel at gcc dot gnu dot org 2009-12-24 07:39 --- The problem was that the failing assert is actually too strict, when an empty block is removed, its predecessor could be outside the region. After fixing this, I have also further robustified the function to expect emp

[Bug middle-end/42488] spurious strict-aliasing warning

2009-12-23 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-12-24 05:40 --- Here is a reduced testcase without the include: struct complex { complex(float b = 0.0, float c = 0.0) { __real__ a = b; __imag__ a = c; } _Complex float a; }; struct A { virtual int value() const=0; }; stru

[Bug c++/42488] spurious strict-aliasing warning

2009-12-23 Thread michael at jarvis dot net
--- Comment #3 from michael at jarvis dot net 2009-12-24 05:13 --- Created an attachment (id=19385) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19385&action=view) full g++ -v output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42488

[Bug c++/42488] spurious strict-aliasing warning

2009-12-23 Thread michael at jarvis dot net
--- Comment #2 from michael at jarvis dot net 2009-12-24 05:12 --- Created an attachment (id=19384) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19384&action=view) preprocessed source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42488

[Bug c++/42488] spurious strict-aliasing warning

2009-12-23 Thread michael at jarvis dot net
--- Comment #1 from michael at jarvis dot net 2009-12-24 05:12 --- Created an attachment (id=19383) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19383&action=view) source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42488

[Bug c++/42488] New: spurious strict-aliasing warning

2009-12-23 Thread michael at jarvis dot net
The following very simple program is giving me a warning with g++ 4.4.2 with -Wall (or -Wstrict-aliasing=1, 2 or 3). I don't think it should be giving the warning, so I think this is a bug. Replacing std::complex with a simple user-defined complex-like class makes the warning go away, so maybe t

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

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
.. /sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/ /sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/debug/dwarf2/aranges-fnsec-1.c -gdwarf-2 -ffunction-sections -w -dA -S -o aranges-fn

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

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
The new testcase... FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges fails on x86_64-apple-darwin10... Executing on host: /sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/ /sw/src/fink.build

[Bug middle-end/42393] [4.5 Regression] [graphite] internal compiler error: in check_loop_closed_ssa_use

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
0) at ../../gcc-4.5-20091223/gcc/tree-ssa-loop-manip.c:425 425 } #0 check_loop_closed_ssa_use (bb=0x141e793a8, use=0x141e90160) at ../../gcc-4.5-20091223/gcc/tree-ssa-loop-manip.c:425 #1 0x0001007b9010 in verify_loop_closed_ssa () at ../../gcc-4.5-20091223/gcc/tree-ssa-loop-manip.c:4

[Bug middle-end/42393] [4.5 Regression] [graphite] internal compiler error: in check_loop_closed_ssa_use

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2009-12-24 02:37 --- Still fails on x86_64-apple-darwin10 at r155434... Executing on host: /sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/testsuite/gfortran/../../gfortran -B/sw/src/fink.build/gcc45-4.4.999

[Bug tree-optimization/42334] segfault in graphite-poly.h for 200.sixtrack

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #10 from howarth at nitro dot med dot uc dot edu 2009-12-24 02:34 --- The pr42334-1.f test case fails as... Executing on host: /sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/testsuite/gfortran/../../gfortran -B/sw/src/fink.build/gcc45-4.4.999-20091223

[Bug tree-optimization/42334] segfault in graphite-poly.h for 200.sixtrack

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2009-12-24 02:29 --- On x86_64-apple-darwin10, the two new test cases are cause ICEs... FAIL: gfortran.dg/graphite/pr42334-1.f -O (internal compiler error) FAIL: gfortran.dg/graphite/pr42334-1.f -O (test for excess errors)

[Bug target/42486] Parameter spilling can be merged into function prologue

2009-12-23 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-12-24 01:47 --- Created an attachment (id=19381) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19381&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42486

[Bug target/42486] New: Parameter spilling can be merged into function prologue

2009-12-23 Thread carrot at google dot com
Compile the attached source code with options -Os -mthumb, gcc generates: sort_basket: push{r4, r5, r6, r7, lr} sub sp, sp, #20 str r1, [sp, #8] // A b .L10 .L13: mov r0, r4 .L10: ldr r1, [sp, #8] add r3,

[Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #13 from howarth at nitro dot med dot uc dot edu 2009-12-24 01:35 --- Note that gcc.dg/graphite/block-4.c also ICEs with essentially the same backtrace... Executing on host: /sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc45-4.4.999

[Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
lst_interchange_select_inner (scop=, outer_father=, outer=, inner_father=) at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:706 706 for (inner = 0; VEC_iterate (lst_p, LST_SEQ (inner_father), inner, l); inner++) (gdb) bt #0 0x0001004e17e8 in lst_interchange_select_inner (scop=, outer_father=, outer

[Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #11 from howarth at nitro dot med dot uc dot edu 2009-12-24 01:26 --- I still get an ICE on x86_64-apple-darwin10 at r155434 as... Executing on host: /sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir

[Bug driver/42485] New: [4.4 regression] -V switch broken

2009-12-23 Thread arthur dot loiret at gmail dot com
Starting at GCC 4.4.0, the -V switch doesn't work: $ gcc-4.1 -V4.3 -dumpversion 4.3.4 $ gcc-4.4 -V4.3 -dumpversion $ -- Summary: [4.4 regression] -V switch broken Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/42181] [4.5 Regression] -fgraphite-identity miscompiles or ICEs on air.f90

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #10 from howarth at nitro dot med dot uc dot edu 2009-12-24 00:20 --- Problem doesn't exist for -O1 -fgraphite-identity on x86_64-apple-darwin10. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42181

[Bug middle-end/42181] [4.5 Regression] -fgraphite-identity miscompiles or ICEs on air.f90

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2009-12-24 00:18 --- Created an attachment (id=19380) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19380&action=view) assembly from 'gfortran -O2 -fgraphite-identity air.f90 --save-temps -o air' on x86_64-apple-darwin10

[Bug middle-end/42181] [4.5 Regression] -fgraphite-identity miscompiles or ICEs on air.f90

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #8 from howarth at nitro dot med dot uc dot edu 2009-12-24 00:15 --- Still broke on x86_64-apple-darwin10. -- howarth at nitro dot med dot uc dot edu changed: What|Removed |Added

[Bug middle-end/42181] [4.5 Regression] -fgraphite-identity miscompiles or ICEs on air.f90

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2009-12-24 00:14 --- This still appears to be broken at r155434 on x86_64-apple-darwin10 with... gfortran -O2 -fgraphite-identity air.f90 -o air ./air AIRFLOW IN A BOX Version 2.0 (c) Hanley Innovatio

[Bug c++/36848] const/nonconst virtual function ambiguity deserves a warning

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-12-23 23:47 --- When GCC supports C++ attributes you could get the diagnostics you want like this: class A_noconst [[base_check]] : public A { ... }; class A_const [[base_check]] : public A { ... }; c.f. http://www.open-std.org/jtc1

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-23 Thread dominiq at lps dot ens dot fr
--- Comment #41 from dominiq at lps dot ens dot fr 2009-12-23 23:34 --- With the patch in comment #38, the tests fail: [karma] f90/bug% gfcp -O3 where_2.f90 [karma] f90/bug% a.out 100 100 100 210 210 210 310 337

[Bug c++/37350] Specialized template base class name not accepted

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2009-12-23 23:31 --- *** This bug has been marked as a duplicate of 189 *** -- redi at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/189] [DR176] parse error in qualified member name lookup

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #18 from redi at gcc dot gnu dot org 2009-12-23 23:31 --- *** Bug 37350 has been marked as a duplicate of this bug. *** -- redi at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/40044] ICE when resolves overloaded functions

2009-12-23 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-23 23:00 --- Dodji, is this just a duplicate of PR38600? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40044

[Bug c++/38600] Trouble mangling template_id_expr

2009-12-23 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2009-12-23 22:59 --- *** Bug 36236 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug c++/36236] ICE with forwarding variadic function template in class template

2009-12-23 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-12-23 22:59 --- *** This bug has been marked as a duplicate of 38600 *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug fortran/42481] generic interface not recognized

2009-12-23 Thread anlauf at gmx dot de
--- Comment #2 from anlauf at gmx dot de 2009-12-23 22:39 --- Note that I personally would declare sub as generic in mod1, e.g. module mod1 interface sub module procedure sub end interface contains subroutine sub(x) real x end subroutine sub end module mod1 and remove

[Bug fortran/42481] generic interface not recognized

2009-12-23 Thread anlauf at gmx dot de
--- Comment #1 from anlauf at gmx dot de 2009-12-23 22:31 --- (In reply to comment #0) Funny, ifort 11.1, xlf 12.1.0.5 and Sunstudio 12.1 accept the code, but nagfor 5.2 rejects it with: NAG Fortran Compiler Release 5.2(686) Warning: prog.f90, line 23: Unused dummy variable X

[Bug c++/36236] ICE with forwarding variadic function template in class template

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2009-12-23 22:25 --- the original testcase now gives: pr36236.cc: In function ‘int main()’: pr36236.cc:21:11: sorry, unimplemented: mangling template_id_expr pr36236.cc:21:11: sorry, unimplemented: mangling template_id_expr and the one in

[Bug middle-end/42484] New: ICE with -fopenmp

2009-12-23 Thread janus at gcc dot gnu dot org
Consider the following Fortran snippet: subroutine sub integer :: nRead !$omp critical if (nRead<3) return !$omp end critical end subroutine Compiling this with "gfortran -fopenmp" results in a segfault (with 4.4.1 and current trunk on x86_64-unknown-linux-gnu). The backtrace

[Bug c++/32081] Conflicting exception specifications not rejected in template specialization

2009-12-23 Thread redi at gcc dot gnu dot org
-- redi at gcc dot gnu dot org changed: What|Removed |Added CC||redi at gcc dot gnu dot org Status|UNCONFIRMED

[Bug c++/33041] g++ incorrectly resolves an identically named templated struct in a super class

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2009-12-23 21:17 --- A recent 4.5.0 doesn't accept this: pr33041.cc: In function ‘int main()’: pr33041.cc:20:26: error: no match for ‘operator<<’ in ‘std::cout << foo::foo’ compilation terminated due to -Wfatal-errors. Adding some parenth

[Bug driver/41564] -fdump-tree-all for lto does not work as expected

2009-12-23 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2009-12-23 21:01 --- Since LTO tree dump is quite different, can't we give it a different command line option, something like -fdump-tree-lto-all, instead of enabling it with -fdump-tree-all? -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug c++/41305] Infinite recursion with g++ at -O0

2009-12-23 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfi

[Bug c++/41305] Infinite recursion with g++ at -O0

2009-12-23 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-12-23 20:12 --- It is caused by revision 153958: http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00176.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug target/40956] GCSE opportunity in if statement

2009-12-23 Thread davidxl at gcc dot gnu dot org
--- Comment #3 from davidxl at gcc dot gnu dot org 2009-12-23 19:37 --- This bug is ARM specific (thumb) mode. In x86, the hoisting is unnecessary as the move instruction support the imm form. The issue here is more in the GIMPLE canonicalization (target specific). In this case, the IR

read() wont allow me to read files larger than 2 gig (on a 64bit)

2009-12-23 Thread test spam
Hi Sorry if I'm asking on the wrong mailinglist, but I've asked on various forums and I havn't found a solution. I can't read files larger than 2 gig on my ubuntu64bit using 'read()', the problem is not related to the allocation itself, which works. Attached is a sample program that illustrates th

[Bug middle-end/42393] [4.5 Regression] [graphite] internal compiler error: in check_loop_closed_ssa_use

2009-12-23 Thread spop at gcc dot gnu dot org
--- Comment #6 from spop at gcc dot gnu dot org 2009-12-23 18:27 --- Seems like this is fixed by the patch from PR42221. -- spop at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/41305] Infinite recursion with g++ at -O0

2009-12-23 Thread spop at gcc dot gnu dot org
--- Comment #4 from spop at gcc dot gnu dot org 2009-12-23 18:15 --- This used to work on 2009-10-15 on the graphite branch. -- spop at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/41305] ICE with -O3 -floop-interchange

2009-12-23 Thread spop at gcc dot gnu dot org
--- Comment #3 from spop at gcc dot gnu dot org 2009-12-23 18:11 --- The testcase fails without graphite at -O0, probably a problem in the C++ front-end: stopping the execution randomly, I get the following backtraces: #0 0x00660ccc in structural_comptypes (t1=0x7f097e143690, t

[Bug c/42483] New: AVR fails all whopr/lto tests

2009-12-23 Thread hutchinsonandy at gcc dot gnu dot org
When LTO is enabled AVR fails all whopr/lto tests: Testsuite fails all lto/whopr tests: Example: Executing on host: /media/verbatim/gcchead/obj-dir/gcc/xgcc -B/media/verbatim/gcchead/obj-dir/gcc/ /media/verbatim/gcchead/trunk/gcc/testsuite/gcc.c-torture/execute/builtins/abs-1.c /media/verbatim/

[Bug middle-end/42130] [graphite-branch] dealII fails

2009-12-23 Thread spop at gcc dot gnu dot org
--- Comment #9 from spop at gcc dot gnu dot org 2009-12-23 17:37 --- The testcase still fails with -fgraphite-identity. -- spop at gcc dot gnu dot org changed: What|Removed |Added

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

2009-12-23 Thread wouter dot vermaelen at scarlet dot be
--- Comment #2 from wouter dot vermaelen at scarlet dot be 2009-12-23 17:21 --- Seems this problem got introduced in revision 152492 (152491 still works, 152492 shows the problem). 2009-10-06 Martin Jambor PR bootstrap/41395 * opts.c (decode_options): Run IPA-SRA a

[Bug rtl-optimization/42475] ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954

2009-12-23 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-12-23 17:09 --- Fixed in 4.4/4.5. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|AS

[Bug debug/42454] [4.5 Regression] debug_ranges table contains empty range for unused .text section with -ffunction-sections

2009-12-23 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-12-23 17:09 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED

[Bug rtl-optimization/42475] ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954

2009-12-23 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-12-23 17:07 --- Subject: Bug 42475 Author: jakub Date: Wed Dec 23 17:07:04 2009 New Revision: 155431 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155431 Log: PR rtl-optimization/42475 * combine.c (make_compo

[Bug rtl-optimization/42475] ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954

2009-12-23 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-12-23 17:04 --- Subject: Bug 42475 Author: jakub Date: Wed Dec 23 17:04:07 2009 New Revision: 155430 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155430 Log: PR rtl-optimization/42475 * combine.c (make_compo

[Bug debug/42454] [4.5 Regression] debug_ranges table contains empty range for unused .text section with -ffunction-sections

2009-12-23 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-12-23 16:54 --- Subject: Bug 42454 Author: jakub Date: Wed Dec 23 16:54:35 2009 New Revision: 155429 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155429 Log: PR debug/42454 * dwarf2out.c (add_ranges_by_label

[Bug target/40670] Load floating point constant 0 directly

2009-12-23 Thread ramana at gcc dot gnu dot org
--- Comment #5 from ramana at gcc dot gnu dot org 2009-12-23 16:37 --- Fixed. -- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug bootstrap/42093] [4.5 regression] bootstrap hangs in stage2 run of build/gengtype

2009-12-23 Thread ramana at gcc dot gnu dot org
--- Comment #6 from ramana at gcc dot gnu dot org 2009-12-23 16:36 --- Subject: Bug 42093 Author: ramana Date: Wed Dec 23 16:36:40 2009 New Revision: 155428 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155428 Log: Fix PR target/42093 2009-12-23 Ramana Radhakrishnan

[Bug target/40670] Load floating point constant 0 directly

2009-12-23 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-12-23 16:29 --- Subject: Bug 40670 Author: ramana Date: Wed Dec 23 16:29:12 2009 New Revision: 155427 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155427 Log: Pass floating point constant moves to integer registers as mov

[Bug libmudflap/42279] libmudflap checks with the wrong CPP for execinfo.h

2009-12-23 Thread viriketo at gmail dot com
--- Comment #6 from viriketo at gmail dot com 2009-12-23 15:34 --- Done. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42279

[Bug middle-end/42482] New: [4.5 Regression] Many graphite test failures

2009-12-23 Thread hjl dot tools at gmail dot com
On Linux/Intel64, revision 155424 gave: FAIL: g++.dg/graphite/pr41305.C (test for excess errors) FAIL: g++.dg/graphite/pr41305.C (test for excess errors) FAIL: g++.dg/graphite/pr42130.C execution test FAIL: gcc.dg/graphite/pr40281.c (test for excess errors) FAIL: gfortran.dg/graphite/pr42393.f90

[Bug target/42404] Incorrect CFI generated

2009-12-23 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2009-12-23 15:25 --- Can't see anything in the backend that does CFI in prologue and epilogue for the ARM port. Reclassifying as a target bug rather than a debug bug. -- ramana at gcc dot gnu dot org changed: What|Remo

[Bug fortran/42481] New: generic interface not recognized

2009-12-23 Thread william dot mitchell at nist dot gov
! In this program, gfortran fails to identify the generic interface sub for ! sub_int. The compiler gives this error message: ! ! > gfortran prog.f90 ! prog.f90:40.9: ! ! call sub(1) ! 1 ! Error: Type mismatch in argument 'x' at (1); passed INTEGER(4) to REAL(4) ! ! However, if the use st

[Bug debug/31004] arm ABI bug in transfer structure on the 4th parameter

2009-12-23 Thread rearnsha at gcc dot gnu dot org
--- Comment #2 from rearnsha at gcc dot gnu dot org 2009-12-23 15:20 --- Fixed by Paul's patch: http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00378.html Prior to this patch, when debugging the testcase I see: (gdb) subfunc (a=492, b=2097148, c=0, d=...) at test.c:9 9 pr

[Bug libmudflap/42279] libmudflap checks with the wrong CPP for execinfo.h

2009-12-23 Thread ramana at gcc dot gnu dot org
--- Comment #5 from ramana at gcc dot gnu dot org 2009-12-23 15:12 --- (In reply to comment #4) > Created an attachment (id=19267) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19267&action=view) [edit] > Fix for libmudflap + libstdc++v3 for gcc 4.4.2 > > In gcc 4.4.2, libstdc++v3

[Bug objc/35165] Massive failures of objc on i686-apple-darwin9

2009-12-23 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #6 from developer at sandoe-acoustics dot co dot uk 2009-12-23 15:04 --- http://gcc.gnu.org/ml/gcc-patches/2009-12/msg01081.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35165

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-23 Thread irar at il dot ibm dot com
--- Comment #40 from irar at il dot ibm dot com 2009-12-23 14:49 --- (In reply to comment #39) > I have regtested the patch in comment #31 and I have ~75 regressions on > x86_64-apple-darwin10 in the gcc vect test suite (~100 on > powerpc-apple-darwin9). Is this expected? and do you want

[Bug fortran/42478] [meta-bug] gfortran OpenMP bugs

2009-12-23 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-12-23 14:43 --- (In reply to comment #1) > Shouldn't the "openmp" keyword > (http://gcc.gnu.org/bugzilla/describekeywords.cgi) be sufficient? Yes it should ... -- pinskia at gcc dot gnu dot org changed: What|Rem

[Bug middle-end/42476] "warning: will never be executed" about code which is executed with "-Wunreachable-code"

2009-12-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-12-23 14:37 --- Note -Wunreachable-code has since ben removed from the trunk ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42208] gcc trunk incorrectly linking against /usr/lib/libgcc_s.1.dylib

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2009-12-23 14:10 --- Current behavior is correct. -- howarth at nitro dot med dot uc dot edu changed: What|Removed |Added -

[Bug java/42307] WalkerTest execution failures

2009-12-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-12-23 14:09 --- Proposed patch at http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00998.html. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42307

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2009-12-23 Thread dominiq at lps dot ens dot fr
--- Comment #39 from dominiq at lps dot ens dot fr 2009-12-23 14:09 --- With the patch in comment #37, the tests pass, but are not vectorized. I did a mistake after applying the patch in comment #38 and I am doing a "quick" bootstrap (~5h). I have regtested the patch in comment #31 and

[Bug middle-end/42480] New: Wrong-code for air.f90 with "-O2 -fgraphite-identity"

2009-12-23 Thread dominiq at lps dot ens dot fr
At revision 155425 the executable for air.f90 compiled with "-O2 -fgraphite-identity" gives: ... ITERATION# TIME FINAL MASS RESIDUAL 14 100.43187820 0.0100 NaN deltat, final t, iterations 100.00100.4318782042

[Bug middle-end/42479] New: Wrong-code for induct.f90 with " -O3 -floop-block"

2009-12-23 Thread dominiq at lps dot ens dot fr
At revision 155425 the executable for induct.f90 compiled with " -O3 -floop-block" gives: ... Maximum wand/quad abs rel mutual inductance = 1.84138324899744549E-002 ... instead of ... Maximum wand/quad abs rel mutual inductance = 5.95379428444659381E-002 ... when compiled with "-O2 -flo

[Bug fortran/42478] [meta-bug] gfortran OpenMP bugs

2009-12-23 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2009-12-23 13:49 --- Shouldn't the "openmp" keyword (http://gcc.gnu.org/bugzilla/describekeywords.cgi) be sufficient? -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64

2009-12-23 Thread janus at gcc dot gnu dot org
--- Comment #10 from janus at gcc dot gnu dot org 2009-12-23 13:41 --- *** Bug 42477 has been marked as a duplicate of this bug. *** -- janus at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/42477] Runtime segfault with -fopenmp -static

2009-12-23 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-12-23 13:41 --- (In reply to comment #2) > Dupe of PR30471? Ah, yes, indeed. The segfault is cured by the workaround from comment #7 of that PR (i.e. compiling with -fopenmp -static -Wl,--whole-archive -lpthread -Wl,--no-whole-archiv

[Bug fortran/42477] Runtime segfault with -fopenmp -static

2009-12-23 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2009-12-23 13:32 --- Dupe of PR30471? -- dfranke at gcc dot gnu dot org changed: What|Removed |Added CC

[Bug fortran/42477] Runtime segfault with -fopenmp -static

2009-12-23 Thread janus at gcc dot gnu dot org
--- Comment #1 from janus at gcc dot gnu dot org 2009-12-23 13:29 --- Btw, one also gets the segfault without actually calling 'omp_get_num_procs': subroutine s !$ use omp_lib !$ print *, 'Number of processors:', omp_get_num_procs() end subroutine end This program can

[Bug fortran/42478] New: [meta-bug] gfortran OpenMP bugs

2009-12-23 Thread janus at gcc dot gnu dot org
-- Summary: [meta-bug] gfortran OpenMP bugs Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janus

[Bug fortran/42477] New: Runtime segfault with -fopenmp -static

2009-12-23 Thread janus at gcc dot gnu dot org
Consider this simple program: use omp_lib print *, 'Number of processors:', omp_get_num_procs() end After compiling this with "-fopenmp -static -fbacktrace", executing it gives the output: Number of processors: 2 Program received signal 11 (SIGSEGV): Segmentation fault. Backtrace fo

[Bug translation/42469] option help strings not properly using TAB

2009-12-23 Thread jsm28 at gcc dot gnu dot org
--- Comment #1 from jsm28 at gcc dot gnu dot org 2009-12-23 12:08 --- Part of this appears to be the same exgettext issue as bug 42467. The rest appears to be option help strings using one or more spaces where a single TAB should be used: common.opt:-Wframe-larger-than= Warn if a funct

[Bug translation/42468] Localization fails with --CLASSPATH line in gcc --help=Java

2009-12-23 Thread jsm28 at gcc dot gnu dot org
--- Comment #1 from jsm28 at gcc dot gnu dot org 2009-12-23 12:00 --- This is the same exgettext bug as bug 42467. *** This bug has been marked as a duplicate of 42467 *** -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added -

[Bug translation/42467] exgettext should not remove TABs from option help strings

2009-12-23 Thread jsm28 at gcc dot gnu dot org
--- Comment #4 from jsm28 at gcc dot gnu dot org 2009-12-23 12:00 --- *** Bug 42468 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42467

[Bug translation/42467] exgettext should not remove TABs from option help strings

2009-12-23 Thread jsm28 at gcc dot gnu dot org
--- Comment #3 from jsm28 at gcc dot gnu dot org 2009-12-23 11:58 --- The option help string is passed for translation as a whole before the special interpretation for TAB as described in options.texi: The help text is automatically line-wrapped before being displayed. Normally the

[Bug c/42476] New: "warning: will never be executed" about code which is executed with "-Wunreachable-code"

2009-12-23 Thread agraf at znc dot in
Compiling the following code snippet: int main(int argc, char **argv) { int i; int asize = 3; int array[3]; for (i = asize - 1; i < asize; i++) array[i] = 42; for (i = 0; i < asize; i++) printf("%i\n", array[i]); } with "gc

[Bug rtl-optimization/42429] [4.4 Regression] Miscompilation of 2fish on s390

2009-12-23 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2009-12-23 11:14 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/42472] class members not getting assigned access thru another method

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-12-23 11:09 --- C++ is not java, you cannot delegate to another constructor like this: primes::primes(ulong p):maxp(p) { primes(); } That creates a temporary object of type primes, it does not call the constructor. Therefore primes:

[Bug c++/38392] Template friend function injection

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #8 from redi at gcc dot gnu dot org 2009-12-23 11:02 --- See http://www.open-std.org/jtc1/sc22/wg21/prot/14882fdis/cwg_defects.html#329 I believe a "use" of the function must come after the definition for it to be instantiated, indeed if I add this after the explicit instant

[Bug c++/42471] No return value from operator =() is accepted by the compiler

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-12-23 10:41 --- 4.1.0 is no longer supported, but in any case I get a warning for this, just use -Wreturn-type or -Wall -- redi at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/42470] Conversion Constructor not accepted/recognized

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-12-23 10:30 --- The code should not compile, Visual Studio is wrong. Base b = 5; is a copy initialization, equivalent to Base b = Base(5); which requires a copy constructor, but your copy constructor takes a non-const Base& and

[Bug target/42448] [4.3/4.4/4.5 Regression] Wrong code with _Complex char in structure

2009-12-23 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-12-23 09:57 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2009-12/msg01067.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug objc/42475] ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954

2009-12-23 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-12-23 09:39 --- Combiner bug, testing a fix. -- jakub at gcc dot gnu dot org changed: What|Removed |Added As

[Bug objc/42475] ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954

2009-12-23 Thread yavor at gnu dot org
--- Comment #1 from yavor at gnu dot org 2009-12-23 09:06 --- Created an attachment (id=19379) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19379&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42475

[Bug objc/42475] New: ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954

2009-12-23 Thread yavor at gnu dot org
This happens only on x86_64-unknown-linux-gnu and x86_64-pc-kfreebsd-gnu. Complete command: gcc CynthiuneHeaderCell.m -c \ -MMD -MP -I/home/y/yavor/include -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -g -Wall -DDE

[Bug target/40887] GCC generates suboptimal code for indirect function calls on ARM

2009-12-23 Thread ramana at gcc dot gnu dot org
--- Comment #8 from ramana at gcc dot gnu dot org 2009-12-23 09:00 --- Patch submitted here. http://gcc.gnu.org/ml/gcc-patches/2009-12/msg01060.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40887

[Bug bootstrap/42474] New: SIGSEGV in linemap_lookup

2009-12-23 Thread andrewbachmann at yahoo dot com
While building gcc from tag gcc_4_4_1_release on Haiku, a segfault occurred several times in various files, in the same location in linemap_lookup: mn = set->cache; The set variable is NULL. I changed linemap_lookup to return NULL when the set is NULL and this problem went away. I also experi

[Bug debug/42395] [4.5 Regression] "error: definition in block 12 does not dominate use in block 19" with -O3 -g

2009-12-23 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-12-23 08:41 --- While that change triggered it because at *.ifcvt it causes a difference: : i_41 = j_4(D); - # DEBUG i => NULL + # DEBUG i => i_9 if (i_41 <= 4095) goto ; it doesn't to appear to be the bug, i_9 definitio

[Bug debug/42454] [4.5 Regression] debug_ranges table contains empty range for unused .text section with -ffunction-sections

2009-12-23 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-debug Priority|P3 |P2