[Bug c++/45588] unused-but-set-variable false trigger building gold

2010-09-08 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-09 06:51 --- Subject: Bug 45588 Author: jakub Date: Thu Sep 9 06:50:56 2010 New Revision: 164051 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164051 Log: PR c++/45588 * pt.c (tsubst) : Call mark_rvalue_u

[Bug c++/45609] 'is used uninitialized' becomes 'may be used uninitialized' on unrelated code changes (namespace addition)

2010-09-08 Thread gcc at abeckmann dot de
--- Comment #1 from gcc at abeckmann dot de 2010-09-09 06:24 --- Created an attachment (id=21746) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21746&action=view) minimized testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45609

[Bug c++/8966] [Alpha OSF5.1] Lost exceptions across library boundaries

2010-09-08 Thread mt at debian dot org
--- Comment #10 from mt at debian dot org 2010-09-09 06:23 --- I have tried to reproduce the problem with g++ 4.5 and couldn't make it fail anymore. The problem, however, is that I couldn't make it fail with g++ 4.4 either. Whatever the essential change might have been, the PPL instance

[Bug c++/45609] New: 'is used uninitialized' becomes 'may be used uninitialized' on unrelated code changes (namespace addition)

2010-09-08 Thread gcc at abeckmann dot de
(I looked for duplicate -Wuninitialized bugs but didn't see anything similar) In the attached minimized testcase I get a clear 'is used uninitialized' warning downgraded to a 'may be used uninitialized' warning on unrelated code changes. The program compiles correctly with the following flags: -O

[Bug middle-end/44554] Stack space after sigsetjmp is reused

2010-09-08 Thread christian dot eggers at kathrein dot de
--- Comment #10 from christian dot eggers at kathrein dot de 2010-09-09 06:17 --- (In reply to comment #9) > I've submitted a patch solving PR40386. So now we can solve this problem by > preventing slot sharing when setjmp is used. > > I'll send a patch soon. Could you please send me

[Bug fortran/45608] Bogus error about procedure attribute

2010-09-08 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-09-09 05:35 --- I am not sure how to improve this (internally). NAG also prints: f95 hjf.f90 Error: hjf.f90, line 26: Inconsistent usage of CURVE detected at )@% Error: hjf.f90, line 26: Component of function reference

[Bug middle-end/45230] gcc.c-torture/execute/strncmp-1.c ICEs with -fgraphite-identity

2010-09-08 Thread t66667 at gmail dot com
--- Comment #5 from t7 at gmail dot com 2010-09-09 04:55 --- What is the status of this PR ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45230

[Bug fortran/45608] New: Bogus error about procedure attribute

2010-09-08 Thread jvdelisle at gcc dot gnu dot org
This test case is invalid. It is rejected with an error message that is nonsense in this context. program test implicit none type line_struct integer :: width = 10 end type type symbol_struct integer :: typee = 10 end type type curve_struct type (line_struct) line type (symbol_struct)

[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2010-09-08 Thread lacombar at gmail dot com
--- Comment #3 from lacombar at gmail dot com 2010-09-09 04:34 --- Some random config of the linux kernel, as of 2.6.36-rc3 results on the following stat.c: In function 'show_stat': stat.c:123:1: error: unable to find a register to spill in class 'FP_REGS' stat.c:123:1: error: this is t

[Bug tree-optimization/41087] [4.5/4.6 Regression]: cris-elf gfortran.dg/zero_sized_3.f90 -O3 -funroll-loops execution

2010-09-08 Thread hp at gcc dot gnu dot org
--- Comment #8 from hp at gcc dot gnu dot org 2010-09-09 04:11 --- (In reply to comment #7) > And last but not > least, decorate the new insn(s) with REG_INC notes as appropriate, as regmove > (the next pass) seems to expect them: note that insn 1223 doesn't have one. See-also PR11052,

[Bug tree-optimization/41087] [4.5/4.6 Regression]: cris-elf gfortran.dg/zero_sized_3.f90 -O3 -funroll-loops execution

2010-09-08 Thread hp at gcc dot gnu dot org
--- Comment #7 from hp at gcc dot gnu dot org 2010-09-09 04:08 --- Bother, I should have spotted the general area of this bug faster. It's a matter of ifcvt.c calling emit_insn_before_setloc (seq, if_info->jump, INSN_LOCATOR (if_info->insn_a)); when

[Bug c++/45607] New: Inappropriate error message

2010-09-08 Thread anubhav dot saxena at wipro dot com
struct A{ enum A {yesterday, today, tomorrow}; }; int main(){} The code above gives error prog.cpp:2: error: ‘class A’ has the same name as the class in which it is declared It is at the best confusing. The error message could probably be 'declaration of a memeber of the same name as the cla

[Bug libstdc++/45574] cin.getline() is extremely slow

2010-09-08 Thread tstarling at wikimedia dot org
--- Comment #14 from tstarling at wikimedia dot org 2010-09-09 02:31 --- (In reply to comment #11) > So? We are not changing glibc here. The C++ library does *not* use buffering > in > the synced mode, and it does otherwise, for fstreams in particular. Where do > you think the performa

[Bug c++/45606] match a method prototyped a typedef alias with the original type (using stdlib)

2010-09-08 Thread hugo dot arregui at gmail dot com
--- Comment #1 from hugo dot arregui at gmail dot com 2010-09-09 02:28 --- Created an attachment (id=21745) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21745&action=view) ii file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45606

[Bug c++/45606] New: match a method prototyped a typedef alias with the original type (using stdlib)

2010-09-08 Thread hugo dot arregui at gmail dot com
I cannot reproduce the error without std. I wrote an small testcase, wich one I include to make clear the situation. The code: #include template class Test { protected: typedef std::list ListAlias; ListAlias list; public: typedef typename ListAlias::const_iterat

[Bug c++/45605] Missed devirtualization

2010-09-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-09-09 01:17 --- I think this is the same issue as PR 19816. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45605

[Bug c++/45605] New: Missed devirtualization

2010-09-08 Thread hubicka at gcc dot gnu dot org
The following testcase taken from testsuite (and many others): // PR 14535 // { dg-do run } // { dg-options "-O -finline" } // // Original test case failure required that Raiser constructor be inlined. extern "C" void abort(); bool destructor_called = false; struct B { virtual void Run(){}

[Bug testsuite/45604] New: [4.6 regression] New test failures

2010-09-08 Thread hjl dot tools at gmail dot com
On Linux/x86, revision 164033 gave FAIL: g++.dg/opt/pr30965.C scan-tree-dump-times optimized "variable_..D. = v_..D." 2 FAIL: g++.dg/tree-ssa/pointer-reference-alias.C scan-tree-dump-times optimized "\*a" 1 FAIL: g++.dg/tree-ssa/pr27090.C scan-tree-dump optimized "f_..D.->x;" Revision 164022 is O

[Bug middle-end/45406] internal compiler error: in rename_uses, at sese.c:534

2010-09-08 Thread t66667 at gmail dot com
--- Comment #4 from t7 at gmail dot com 2010-09-09 00:09 --- Status? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45406

[Bug c/25880] improve message of warning for discarding qualifiers

2010-09-08 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2010-09-08 23:33 --- (In reply to comment #5) > The changes done in pp_c_cv_qualifiers print "�__attribute__((const))�" > or > '"__attribute__((noreturn))"' for function pointer even if they are defined > with 'const' or 'volatile' in

[Bug target/45250] [4.6 Regression] FAIL: tr1/5_numerical_facilities/special_functions/01_assoc_laguerre/check_nan.cc

2010-09-08 Thread danglin at gcc dot gnu dot org
--- Comment #9 from danglin at gcc dot gnu dot org 2010-09-08 23:32 --- Subject: Bug 45250 Author: danglin Date: Wed Sep 8 23:32:06 2010 New Revision: 164036 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164036 Log: PR target/45250 * config/pa/pa.md (nonlocal_g

[Bug c++/45603] cc1plus crashes in "build_addr_func"

2010-09-08 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-09-08 23:31 --- Note, if you really need the name __cxa_guard_acquire to trigger the bug, which is in the implementor "namespace", due to the double underscore in front, this is a low priority ICE on *illegal*. -- http://

[Bug c/25880] improve message of warning for discarding qualifiers

2010-09-08 Thread rmansfield at qnx dot com
--- Comment #5 from rmansfield at qnx dot com 2010-09-08 23:05 --- The changes done in pp_c_cv_qualifiers print "‘__attribute__((const))’" or '"__attribute__((noreturn))"' for function pointer even if they are defined with 'const' or 'volatile' in the users code and this may be confusin

[Bug debug/45531] -fcompare-debug failure with -fvar-tracking-uninit, codegen differences

2010-09-08 Thread aoliva at gcc dot gnu dot org
--- Comment #4 from aoliva at gcc dot gnu dot org 2010-09-08 22:00 --- Fixed -- aoliva at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/45419] -fcompare-debug failure at -O3

2010-09-08 Thread aoliva at gcc dot gnu dot org
--- Comment #18 from aoliva at gcc dot gnu dot org 2010-09-08 21:56 --- Fixed -- aoliva at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/45531] -fcompare-debug failure with -fvar-tracking-uninit, codegen differences

2010-09-08 Thread aoliva at gcc dot gnu dot org
--- Comment #3 from aoliva at gcc dot gnu dot org 2010-09-08 21:54 --- Subject: Bug 45531 Author: aoliva Date: Wed Sep 8 21:54:02 2010 New Revision: 164032 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164032 Log: PR debug/45531 * cfglayout.c (fixup_reorder_chain): Skip debug

[Bug debug/45419] -fcompare-debug failure at -O3

2010-09-08 Thread aoliva at gcc dot gnu dot org
--- Comment #17 from aoliva at gcc dot gnu dot org 2010-09-08 21:54 --- Subject: Bug 45419 Author: aoliva Date: Wed Sep 8 21:53:48 2010 New Revision: 164031 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164031 Log: PR debug/45419 PR debug/45408 * tree-pretty-print.c (dump_gene

[Bug debug/45408] -fcompare-debug failure with -O2 -ftree-vectorize -fno-var-tracking-assignments

2010-09-08 Thread aoliva at gcc dot gnu dot org
--- Comment #5 from aoliva at gcc dot gnu dot org 2010-09-08 21:54 --- Subject: Bug 45408 Author: aoliva Date: Wed Sep 8 21:53:48 2010 New Revision: 164031 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164031 Log: PR debug/45419 PR debug/45408 * tree-pretty-print.c (dump_gener

[Bug target/44392] [4.5/4.6 Regression] libgcc compile with --enable-target-optspace (-Os) causes recursion in __bswapsi2

2010-09-08 Thread ramana at gcc dot gnu dot org
--- Comment #11 from ramana at gcc dot gnu dot org 2010-09-08 21:36 --- Subject: Bug 44392 Author: ramana Date: Wed Sep 8 21:35:48 2010 New Revision: 164029 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164029 Log: 2010-09-08 Ramana Radhakrishnan PR target/44392

[Bug web/43011] Upgrade gcc.gnu.org/bugzilla to Bugzilla 3.6

2010-09-08 Thread LpSolit at netscape dot net
--- Comment #39 from LpSolit at netscape dot net 2010-09-08 21:35 --- I have done some progress. The DB has been successfully upgraded to 3.6.2 (locally, of course), and I have converted GCC hardcoded columns into custom fields, i.e. using offically supported features in Bugzilla 3.x. So

[Bug fortran/38282] Bit intrinsics: ILEN and IBCHNG

2010-09-08 Thread w6ws at earthlink dot net
--- Comment #15 from w6ws at earthlink dot net 2010-09-08 21:32 --- Subject: Re: Bit intrinsics: ILEN and IBCHNG FX wrote: >--- Comment #14 from fxcoudert at gcc dot gnu dot org 2010-09-08 19:52 >--- >Possible remaining are only old extensions, not sure they're useful: ILEN a

[Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os

2010-09-08 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-09-08 21:13 --- Confirmed for SPARC/Solaris. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852

2010-09-08 Thread hubicka at gcc dot gnu dot org
--- Comment #10 from hubicka at gcc dot gnu dot org 2010-09-08 21:04 --- So hot-bb-frequency-fraction solves the whole regression? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44334

[Bug fortran/44334] rnflow.f90 ~27% slower with -fwhole-program -flto after revision 159852

2010-09-08 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2010-09-08 21:00 --- For what it is worth, on AMD Athlon 64 X2 4800+ / x86-64-linux, I get for gfortran -O3 -ffast-math -march=native -- and with with and without -flto: 0m45.132s -- (options as above) 0m52.731s -- additionally -fwhole-

[Bug c++/45603] New: cc1plus crashes in "build_addr_func"

2010-09-08 Thread jobnoorman at gmail dot com
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ./configure : (reconfigured) ./configure --enable-languages=c,c++,fortran,java,objc --no-create --no-recursion Thread model: posix gcc version 4.6.0 20100908 (experimental) (GCC)

[Bug middle-end/45585] [4.6 Regression] ICE on powerpc-apple-darwin9 for gfortran.dg/transfer_simplify_2.f90 with -O2 -m64

2010-09-08 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-09-08 20:14 --- This is due to revision 163598: http://gcc.gnu.org/viewcvs?view=revision&sortby=date&revision=163598 -- dominiq at lps dot ens dot fr changed: What|Removed |Added -

[Bug fortran/45602] New: Reject coarrays for move_alloc

2010-09-08 Thread burnus at gcc dot gnu dot org
For MOVE_ALLOC coarrays should not be allowed - maybe some other places should be checked as well. For MOVE_ALLOC, see interpretation request at http://j3-fortran.org/doc/meeting/193/10-200.txt Test program: integer, allocatable :: a[:], b call move_alloc (a, b) end -- Summary: Re

[Bug middle-end/44554] Stack space after sigsetjmp is reused

2010-09-08 Thread vmakarov at redhat dot com
--- Comment #9 from vmakarov at redhat dot com 2010-09-08 20:06 --- (In reply to comment #8) > (In reply to comment #7) > > Is this still a bug then? Should ira-share-spill-slots be automatically > > disabled for the caller function when a callee function can return twice? > > > I've n

[Bug fortran/38282] Bit intrinsics: ILEN and IBCHNG

2010-09-08 Thread fxcoudert at gcc dot gnu dot org
--- Comment #14 from fxcoudert at gcc dot gnu dot org 2010-09-08 19:52 --- Possible remaining are only old extensions, not sure they're useful: ILEN and IBCHNG. Closing? -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug other/18555] -isysroot is miss-documented

2010-09-08 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2010-09-08 19:42 --- Documentation fix committed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/18555] -isysroot is miss-documented

2010-09-08 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2010-09-08 19:39 --- Subject: Bug 18555 Author: fxcoudert Date: Wed Sep 8 19:39:13 2010 New Revision: 164022 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164022 Log: PR other/18555 * doc/cppopts.texi (-isys

[Bug fortran/38282] Add the remaining HPF bit intrinsics

2010-09-08 Thread fxcoudert at gcc dot gnu dot org
--- Comment #13 from fxcoudert at gcc dot gnu dot org 2010-09-08 19:35 --- Subject: Bug 38282 Author: fxcoudert Date: Wed Sep 8 19:35:35 2010 New Revision: 164021 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164021 Log: PR fortran/38282 * intrinsic.c (add_fu

[Bug fortran/45596] Implement simple static points-to analysis in Fortran FE

2010-09-08 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2010-09-08 19:30 --- This makes a ton of sense to do. We should also convert the frontend passes to a general expression walker, as you indicated in one comment. -- tkoenig at gcc dot gnu dot org changed: What|Remove

[Bug target/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread greened at obbligato dot org
--- Comment #11 from greened at obbligato dot org 2010-09-08 19:16 --- (In reply to comment #9) > >If it's an illegal program, gcc should at least emit a warning, if not an > error. > > > It is not an invalid program, Yes, you are quite right. I will take this up with the LLVM folks.

[Bug fortran/45532] gfortran namelist read error

2010-09-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2010-09-08 19:03 --- This is very interesting (aka a real bugger): Reversing the order of the declarations in type curve_struct type (line_struct) line type (symbol_struct) symbol end type to type curve_struct type (symbol_

[Bug target/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2010-09-08 19:01 --- vector types are naturally aligned just like integer types. That is they are aligned on their size. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45600

[Bug target/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2010-09-08 19:01 --- >If it's an illegal program, gcc should at least emit a warning, if not an error. It is not an invalid program, it is just undefined at runtime. There was a defect report against the C standard asking if a diagnos

[Bug target/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread greened at obbligato dot org
--- Comment #8 from greened at obbligato dot org 2010-09-08 18:59 --- (In reply to comment #6) > The alignment of llvm_cbe__24__StackDv_P53 is only 64bits so you are casting > to > a greater aligned type and then dereferencing it. I didn't know that typing something as a vector guarant

[Bug target/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread greened at obbligato dot org
--- Comment #7 from greened at obbligato dot org 2010-09-08 18:58 --- (In reply to comment #5) > Why is the code undefined? Can you explain in terms of the original test > source? I don't immediately see anything undefined there. Ah, the cast from int field5 to v4df? Yes, that doesn'

[Bug target/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2010-09-08 18:55 --- The alignment of llvm_cbe__24__StackDv_P53 is only 64bits so you are casting to a greater aligned type and then dereferencing it. That being said, the LLVM C back-end produces crazy c code that is also undefined bec

[Bug target/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread greened at obbligato dot org
--- Comment #5 from greened at obbligato dot org 2010-09-08 18:52 --- Why is the code undefined? Can you explain in terms of the original test source? I don't immediately see anything undefined there. -- greened at obbligato dot org changed: What|Removed

[Bug fortran/25096] Non-conforming shapes of DATA object and data

2010-09-08 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2010-09-08 18:22 --- (In reply to comment #3) > just a question. why is this illegal ? it is R528 in the section on the data statement of the F2003 standard that suggests this has to be a scalar-structure-component. Not so obvious why, if y

[Bug swing/17296] BasicGraphicsUtils.drawStringUnderlineCharAt() cannot handle drawing strings in a Graphics2D object since TextLayout is not implemented

2010-09-08 Thread LpSolit at netscape dot net
--- Comment #5 from LpSolit at netscape dot net 2010-09-08 18:18 --- Resetting the target milestone, which doesn't exist in the 'classpath' product. -- LpSolit at netscape dot net changed: What|Removed |Added ---

[Bug awt/19880] Frame.setIconImage broken

2010-09-08 Thread LpSolit at netscape dot net
--- Comment #4 from LpSolit at netscape dot net 2010-09-08 18:18 --- Resetting the target milestone, which doesn't exist in the 'classpath' product. -- LpSolit at netscape dot net changed: What|Removed |Added ---

[Bug awt/17295] GdkGlyphVector.c triggers assert()s for empty strings

2010-09-08 Thread LpSolit at netscape dot net
--- Comment #5 from LpSolit at netscape dot net 2010-09-08 18:18 --- Resetting the target milestone, which doesn't exist in the 'classpath' product. -- LpSolit at netscape dot net changed: What|Removed |Added ---

[Bug swing/16495] Timers are not firing actionevents

2010-09-08 Thread LpSolit at netscape dot net
--- Comment #5 from LpSolit at netscape dot net 2010-09-08 18:18 --- Resetting the target milestone, which doesn't exist in the 'classpath' product. -- LpSolit at netscape dot net changed: What|Removed |Added ---

[Bug swing/17294] JMenu doesn't support tearoff

2010-09-08 Thread LpSolit at netscape dot net
--- Comment #5 from LpSolit at netscape dot net 2010-09-08 18:18 --- Resetting the target milestone, which doesn't exist in the 'classpath' product. -- LpSolit at netscape dot net changed: What|Removed |Added ---

[Bug swing/16553] BasicInternalFrameUI needs LightweightDispatcher style redispatch

2010-09-08 Thread LpSolit at netscape dot net
--- Comment #3 from LpSolit at netscape dot net 2010-09-08 18:18 --- Resetting the target milestone, which doesn't exist in the 'classpath' product. -- LpSolit at netscape dot net changed: What|Removed |Added ---

[Bug swing/16530] InternalFrame dialogs for JOptionPane

2010-09-08 Thread LpSolit at netscape dot net
--- Comment #3 from LpSolit at netscape dot net 2010-09-08 18:18 --- Resetting the target milestone, which doesn't exist in the 'classpath' product. -- LpSolit at netscape dot net changed: What|Removed |Added ---

[Bug libobjc/28433] objc_write_type fails for floats and doubles

2010-09-08 Thread nicola at gcc dot gnu dot org
--- Comment #2 from nicola at gcc dot gnu dot org 2010-09-08 18:16 --- objc/typedstream.h has been deprecated in 4.6.0 and will be removed in the next GCC release. There is no point in trying to fix a bug in it. Please use gnustep-base or some other Foundation-type library if you need

[Bug other/45443] GCC documentation for -O3 flag doesn't mention -fipa-cp-clone

2010-09-08 Thread jamborm at gcc dot gnu dot org
--- Comment #5 from jamborm at gcc dot gnu dot org 2010-09-08 18:15 --- Fixed. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added Resolution|

[Bug other/45443] GCC documentation for -O3 flag doesn't mention -fipa-cp-clone

2010-09-08 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-09-08 18:13 --- Subject: Bug 45443 Author: jamborm Date: Wed Sep 8 18:13:03 2010 New Revision: 164018 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164018 Log: 2010-09-08 Martin Jambor PR other/45443 *

[Bug tree-optimization/20517] bit shift/mask optimization potential

2010-09-08 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-09-08 18:10 --- Created an attachment (id=21744) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21744&action=view) gcc46-pr20517.patch Untested patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20517

[Bug fortran/45577] [4.6 Regression] Bogus(?) "... type incompatible with source-expr ..." error

2010-09-08 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2010-09-08 18:08 --- If I revert the patch in comment #5 from revision 164002, compiling the code in comment #6 gives a segmentation fault. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45577

[Bug fortran/34633] Compiler crash on FORALL loop

2010-09-08 Thread gcc-bugzilla at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-01-01 01:25 --- That is because it is the same as PR 31217. *** This bug has been marked as a duplicate of 31217 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/23647] [4.0 Regression] Bug w\ while (1) loop and counter variable w\ optimization

2010-09-08 Thread gcc-bugzilla at gcc dot gnu dot org
When a while loop with the true condition (while (1)) contains an if statement with a modulus evaluated on a counter variable, it appears that gcc incorrectly optimizes out the modulus check as a constant (even though the counter variable is updated after the if statement). If the counter

[Bug fortran/45597] [4.6 Regression] ICE: in gfc_trans_cycle, at fortran/trans-stmt.c:4320

2010-09-08 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-09-08 17:52 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libobjc/23214] libobjc doesn't initialize protocols in some cases

2010-09-08 Thread nicola at gcc dot gnu dot org
--- Comment #8 from nicola at gcc dot gnu dot org 2010-09-08 17:52 --- Created an attachment (id=21743) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21743&action=view) A tidied up testcase ready for the GCC testsuite -- nicola at gcc dot gnu dot org changed: What

[Bug fortran/45595] segfault on omp collapse

2010-09-08 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-09-08 17:52 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libobjc/23215] libobjc doesn't work on windows.

2010-09-08 Thread nicola at gcc dot gnu dot org
--- Comment #7 from nicola at gcc dot gnu dot org 2010-09-08 17:50 --- Apologies, bugzilla confused me by jumping to the next bug and I attached a testcase to the wrong bug! ;-) Thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23215

[Bug tree-optimization/33113] Failing to represent the stride (with array) of a dataref when it is not a constant

2010-09-08 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2010-09-08 17:49 --- One of the first thing taught in fortran is that the loop ordering in the test in comment #0 is bad. If the loops are interchanged (as they should) the code vectorize. Is not -floop-interchange supposed to do that if

[Bug libobjc/23215] libobjc doesn't work on windows.

2010-09-08 Thread nicola at gcc dot gnu dot org
--- Comment #6 from nicola at gcc dot gnu dot org 2010-09-08 17:49 --- Created an attachment (id=21742) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21742&action=view) A tidied up testcase ready for the GCC testsuite -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23215

[Bug libobjc/23214] libobjc doesn't initialize protocols in some cases

2010-09-08 Thread nicola at gcc dot gnu dot org
--- Comment #7 from nicola at gcc dot gnu dot org 2010-09-08 17:48 --- Confirmed. Thanks -- nicola at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug middle-end/40386] wrong code generation for several SPEC CPU2000 benchmarks (lucas, mgrid, face, applu, apsi) with -O1 -fno-ira-share-spill-slots

2010-09-08 Thread vmakarov at redhat dot com
--- Comment #9 from vmakarov at redhat dot com 2010-09-08 17:44 --- The problem is in that pseudos (r121 in our case) spilled by IRA are not added to live_throughout of reload chain. As the result, pseudo_forbidden_regs are not set up for such pseudos and they can get a hard registers (

[Bug target/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-09-08 17:43 --- Yes this is invalid with respect of alignment requirements. It becomes obvious from the optimized at -O0 on the trunk. v4df llvm_cbe_r5585; v4df llvm_cbe_r5584; struct l_DV1 llvm_cbe__24__StackDv_P53; unsig

[Bug target/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-09-08 17:39 --- I think this code is undefined with respect of alignment requirements. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45600

[Bug other/45443] GCC documentation for -O3 flag doesn't mention -fipa-cp-clone

2010-09-08 Thread jamborm at gcc dot gnu dot org
--- Comment #3 from jamborm at gcc dot gnu dot org 2010-09-08 17:36 --- Subject: Bug 45443 Author: jamborm Date: Wed Sep 8 17:36:40 2010 New Revision: 164011 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164011 Log: 2010-09-08 Martin Jambor PR other/45443 *

[Bug other/45443] GCC documentation for -O3 flag doesn't mention -fipa-cp-clone

2010-09-08 Thread jamborm at gcc dot gnu dot org
--- Comment #2 from jamborm at gcc dot gnu dot org 2010-09-08 17:27 --- Subject: Bug 45443 Author: jamborm Date: Wed Sep 8 17:27:09 2010 New Revision: 164009 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164009 Log: 2010-09-08 Martin Jambor PR other/45443 *

[Bug fortran/45595] segfault on omp collapse

2010-09-08 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-08 17:24 --- Subject: Bug 45595 Author: jakub Date: Wed Sep 8 17:23:52 2010 New Revision: 164008 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164008 Log: PR fortran/45595 * openmp.c (resolve_omp_do): Rep

[Bug fortran/45595] segfault on omp collapse

2010-09-08 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-09-08 17:22 --- Subject: Bug 45595 Author: jakub Date: Wed Sep 8 17:22:36 2010 New Revision: 164007 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164007 Log: PR fortran/45595 * openmp.c (resolve_omp_do): Rep

[Bug fortran/43829] Scalarization of reductions

2010-09-08 Thread mikael at gcc dot gnu dot org
--- Comment #28 from mikael at gcc dot gnu dot org 2010-09-08 17:21 --- (In reply to comment #27) > What is the fate of the patch in comment #19? > Some (admittedly small) parts of the patch are already on trunk. The transpose patches still waiting review at http://gcc.gnu.org/ml/fortra

[Bug tree-optimization/44972] [4.6 Regression] ICE: in load_assign_lhs_subreplacements, at tree-sra.c:2475

2010-09-08 Thread jamborm at gcc dot gnu dot org
--- Comment #14 from jamborm at gcc dot gnu dot org 2010-09-08 17:01 --- Patches submitted to the mailing list for approval/comments: http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00674.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44972

[Bug c++/45601] explicit template instantiation problem

2010-09-08 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-09-08 16:58 --- Actually, it seems pretty straightforward to me that S is nondeduced in the last case: see 14.8.2.4/4, the last line. -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug fortran/45597] [4.6 Regression] ICE: in gfc_trans_cycle, at fortran/trans-stmt.c:4320

2010-09-08 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-09-08 16:47 --- Subject: Bug 45597 Author: jakub Date: Wed Sep 8 16:47:16 2010 New Revision: 164005 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164005 Log: PR fortran/45597 * trans-openmp.c (gfc_trans_omp_

[Bug fortran/45595] segfault on omp collapse

2010-09-08 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-09-08 16:46 --- Subject: Bug 45595 Author: jakub Date: Wed Sep 8 16:46:13 2010 New Revision: 164004 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164004 Log: PR fortran/45595 * openmp.c (resolve_omp_do): Rep

[Bug c++/45601] explicit template instantiation problem

2010-09-08 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-09-08 16:44 --- Please clarify: "As far as I can find on the net, it should work." No compiler to which I have access compiles it, I tried, besides GCC, Intel, SunStudio, Comeau, VC++8. Note I didn't really analyze the testcas

[Bug c++/45601] explicit template instanciation problem

2010-09-08 Thread stephane at magnenat dot net
--- Comment #2 from stephane at magnenat dot net 2010-09-08 16:31 --- Output of g++ -v -save-temps -o test.o -c test.cpp : Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gc

[Bug c++/45601] explicit template instanciation problem

2010-09-08 Thread stephane at magnenat dot net
--- Comment #1 from stephane at magnenat dot net 2010-09-08 16:30 --- Created an attachment (id=21741) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21741&action=view) Minimal test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45601

[Bug c++/45601] New: explicit template instanciation problem

2010-09-08 Thread stephane at magnenat dot net
The explicit template instantiation fails. As far as I can find on the net, it should work. See attached minimal test case. -- Summary: explicit template instanciation problem Product: gcc Version: unknown Status: UNCONFIRMED Severity: norma

[Bug bootstrap/45174] Make fails in zlib

2010-09-08 Thread rwild at gcc dot gnu dot org
--- Comment #24 from rwild at gcc dot gnu dot org 2010-09-08 16:26 --- (In reply to comment #22) > I've just read this thread and am now unsure as to whether there is a bug with > GCC or not. It sounds like your initial troubles have gone away and now there > is a new problem. Would it

[Bug rtl-optimization/43491] Unnecessary temporary for global register variable

2010-09-08 Thread ibolton at gcc dot gnu dot org
--- Comment #1 from ibolton at gcc dot gnu dot org 2010-09-08 16:21 --- reg is assigned to a temporary (reg.0) at the very first tree pass, as shown by this 004t.gimple dump: d () { struct b * const reg.0; unsigned int * D.2019; int D.2020; goto ; : c (); : reg.0 = reg;

[Bug tree-optimization/45598] [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218

2010-09-08 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-09-08 16:19 --- This is caused by revision 163973: http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00265.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45598

[Bug tree-optimization/20517] bit shift/mask optimization potential

2010-09-08 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-09-08 16:19 --- Yes, please, and assign to me (working on a simplify_comparison fix for that). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20517

[Bug bootstrap/45482] Bootstrap fails on PPC error: conflicting types for 'malloc'

2010-09-08 Thread sfilippone at uniroma2 dot it
--- Comment #12 from sfilippone at uniroma2 dot it 2010-09-08 16:11 --- (In reply to comment #11) > (In reply to comment #10) > > How did you configure those prebuilt gmp/mpfr/mpc libraries installed under > your home directory? In particular, did you configure them all with > --disabl

[Bug c/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread greened at obbligato dot org
--- Comment #2 from greened at obbligato dot org 2010-09-08 16:09 --- Created an attachment (id=21740) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21740&action=view) Reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45600

[Bug c/45600] gcc generates illegal AVX aligned moves

2010-09-08 Thread greened at obbligato dot org
--- Comment #1 from greened at obbligato dot org 2010-09-08 16:08 --- Compile with -c -mavx reduced.c. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45600

[Bug c/45600] New: gcc generates illegal AVX aligned moves

2010-09-08 Thread greened at obbligato dot org
For the attached testcase, gcc generates a vmovapd for the store to llvm_cbe__24__StackDv_P53. The latest Intel sde generates an alignment error: SDE ERROR: ALIGN32 FAILED PC=40048b MEMEA=7ff057d0 vmovapd ymmword ptr [rax], ymm0 It looks like gcc is considering 16-byte aligned data to be sui

[Bug bootstrap/45482] Bootstrap fails on PPC error: conflicting types for 'malloc'

2010-09-08 Thread mikpe at it dot uu dot se
--- Comment #11 from mikpe at it dot uu dot se 2010-09-08 16:00 --- (In reply to comment #10) > (In reply to comment #9) > > > I have found a cure. > > The original configuration had GMP, MPFR and MPC built and installed under the > user home directory (there were neither mpfr nor mpc

[Bug fortran/45577] [4.6 Regression] Bogus(?) "... type incompatible with source-expr ..." error

2010-09-08 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2010-09-08 15:52 --- The following code reduced from http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/76f99e7fd4f3e772# module type2_type implicit none type, abstract :: Type2 character :: typeName*(30) = "

[Bug bootstrap/45482] Bootstrap fails on PPC error: conflicting types for 'malloc'

2010-09-08 Thread sfilippone at uniroma2 dot it
--- Comment #10 from sfilippone at uniroma2 dot it 2010-09-08 15:35 --- (In reply to comment #9) > I have found a cure. The original configuration had GMP, MPFR and MPC built and installed under the user home directory (there were neither mpfr nor mpc system-wide, and gmp was a bit ol

  1   2   >