[Bug debug/43176] var-tracking fails to notice a value change

2010-03-06 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-03-06 09:36 --- Created an attachment (id=20035) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20035&action=view) gcc45-pr43176.patch Updated patch. -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug fortran/43265] [4.3/4.4/4.5 Regression] No EOF condition if reading with '(x)' from an empty file

2010-03-06 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2010-03-06 09:49 --- In terms of the standard, probably everything is OK for I/O: "The set of input/output error conditions is processor dependent." (See "9.11.1 General" for a non-definition when EOF occurs.) Looking at other compilers

[Bug c/39170] provide an option to silence -Wconversion warnings for bit-fields

2010-03-06 Thread manu at gcc dot gnu dot org
--- Comment #11 from manu at gcc dot gnu dot org 2010-03-06 12:18 --- (In reply to comment #10) > However, with so many lines of legacy code out there using bit-filed that have > been proven to work, it doesn't make sense to revisit/modify them. Would it > be > possible for gcc to prov

[Bug c++/43273] New: use in template constant from another template

2010-03-06 Thread dushistov at mail dot ru
such code cause ICE or template instantiation depth exceeds maximum error, if uncomment (1) and comment (2) all compiles successfully. #include #include template struct ConstDependOnType; template <> struct ConstDependOnType { enum { val1 = 4 }; }; template struct Foo { //1 //enum {

[Bug target/43264] Arithmetic expression error

2010-03-06 Thread n-takeda at kwansei dot ac dot jp
--- Comment #4 from n-takeda at kwansei dot ac dot jp 2010-03-06 13:10 --- (In reply to comment #3) > What is the size of long on h8300-elf? > The size of long is 32bit. LONG_MAX is 2,147,483,647. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43264

[Bug tree-optimization/43269] [4.5 Regression] removing non dead store

2010-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-06 14:05 --- Yeah. Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|una

[Bug tree-optimization/43270] array-bounds false negative

2010-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-03-06 14:27 --- Err - it's just because the code is broken: tree low_bound, up_bound = array_ref_up_bound (ref); low_sub = up_sub = TREE_OPERAND (ref, 1); if (!up_bound || TREE_NO_WARNING (ref) || TREE_CODE (up_boun

[Bug tree-optimization/43270] array-bounds false negative

2010-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-03-06 14:28 --- Created an attachment (id=20036) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20036&action=view) untested patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43270

[Bug middle-end/43274] New: [4.5 regression] Revision 157244 failed libgomp.graphite/force-parallel-2.c

2010-03-06 Thread hjl dot tools at gmail dot com
On Linux/x86, revision 157244: http://gcc.gnu.org/ml/gcc-cvs/2010-03/msg00116.html caused: FAIL: libgomp.graphite/force-parallel-2.c scan-tree-dump-times graphite "2 loops carried no dependency" 2 -- Summary: [4.5 regression] Revision 157244 failed libgomp.graph

[Bug middle-end/43274] [4.5 regression] Revision 157244 failed libgomp.graphite/force-parallel-2.c

2010-03-06 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43274

[Bug c++/43275] New: Unclear error message

2010-03-06 Thread kai dot extern at googlemail dot com
This error message: error: type 'type1' is not derived from 'type2' is rather unclear. The first reaction is to look at the source, see that indeed, type1 is not derived from type2, and say "... and why does that matter?!" Source: template < typename A > struct B { typedef int C; }; template

[Bug bootstrap/43276] New: [4.5 Regression] lto-elf.c:388:10: error: 'EM_SPARC'

2010-03-06 Thread danglin at gcc dot gnu dot org
/test/gnu/gcc/objdir/./prev-gcc/xgcc -B/test/gnu/gcc/objdir/./prev-gcc/ -B/opt/g nu64/gcc/gcc-4.5.0/hppa64-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-4.5.0/hppa64-hp -hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-4.5.0/hppa64-hp-hpux11.11/lib/ -isystem /op t/gnu64/gcc/gcc-4.5.0/hppa64-hp-hpux11.11/include -isyst

[Bug bootstrap/43276] [4.5 Regression] lto-elf.c:388:10: error: 'EM_SPARC'

2010-03-06 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-03-06 15:58 --- It is defined in /usr/include/libelf/elf_repl.h for libelf 0.8.12 so you'll need to find out what's going on here. -- ebotcazou at gcc dot gnu dot org changed: What|Removed

[Bug bootstrap/43276] [4.5 Regression] lto-elf.c:388:10: error: 'EM_SPARC'

2010-03-06 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2010-03-06 16:08 --- libelf uses the system's , not libelf/elf_repl.h. The system headers don't provide the SPARC defines. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43276

[Bug bootstrap/43276] [4.5 Regression] lto-elf.c:388:10: error: 'EM_SPARC'

2010-03-06 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-03-06 16:19 --- > libelf uses the system's , not libelf/elf_repl.h. The system > headers don't provide the SPARC defines. I see, one of those "severely broken" systems libelf/sys_elf.h talks about. We can probably put a kludge

[Bug fortran/41056] ICE with -finline-limit=600 and -fwhole-file: type mismatch between an SSA_NAME and its symbol

2010-03-06 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2010-03-06 17:09 --- With the following patch the test in comment #6 is hopefully valid (it compiles with '-O2 -fwhole-file', but gives an ICE with '-O3 -fwhole-file'): --- pr41056.f90 2010-02-24 17:38:27.0 +0100 +++ pr41056_db.f

[Bug c++/43277] New: thrower function with inlined stack destructor crash on darwin

2010-03-06 Thread larsfolser at gmail dot com
A very simple exception test case results in an abort trap: host% cat exctest.cpp struct StackThing { ~StackThing() { } }; struct Thrower { static void Throw() { StackThing obj; throw -1; } }; int main() { try { Thrower::Throw(); } catch (...) { } } hos

[Bug java/43278] New: shs.h:62: syntax error before `*' token

2010-03-06 Thread diskman at kc dot rr dot com
uname -a Linux jericho.southkc.net 2.6.17-1.2187_FC5.6axp #1 Tue Feb 27 02:55:25 MSK 2007 alpha alpha alpha GNU/Linux [r...@jericho libjava]# cat /proc/cpuinfo cpu : Alpha cpu model : EV68AL cpu variation : 7 cpu revision: 0 cpu serial number : system

[Bug c++/43277] thrower function with inlined stack destructor crash on darwin

2010-03-06 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-03-06 19:09 --- This doesn't occur with gcc trunk on x86_64-apple-darwin10 but does for gcc 4.4.3. Perhaps backporting r151960 to avoid compact unwind code on gcc 4.4 branch for darwin10 would solve this. -- http://gc

[Bug fortran/41056] ICE with -finline-limit=600 and -fwhole-file: type mismatch between an SSA_NAME and its symbol

2010-03-06 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2010-03-06 19:42 --- Created an attachment (id=20037) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20037&action=view) Another reduced test case; 34 lines, shows no warning with NAG f95 and gfortran And another test case. Just 34 l

[Bug c++/43277] thrower function with inlined stack destructor crash on darwin

2010-03-06 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-03-06 20:22 --- r151960 doesn't eliminate the problem in gcc 4.4 branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43277

[Bug debug/41371] [4.5 Regression] var-tracking is slow and memory hungry

2010-03-06 Thread aoliva at gcc dot gnu dot org
--- Comment #18 from aoliva at gcc dot gnu dot org 2010-03-06 20:26 --- Subject: Bug 41371 Author: aoliva Date: Sat Mar 6 20:26:15 2010 New Revision: 157257 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157257 Log: * var-tracking.c (dataflow_set_merge): Swap src and src2. Reve

[Bug debug/42897] [4.5 Regression] yet another ice in verify_ssa

2010-03-06 Thread aoliva at gcc dot gnu dot org
--- Comment #5 from aoliva at gcc dot gnu dot org 2010-03-06 20:28 --- Subject: Bug 42897 Author: aoliva Date: Sat Mar 6 20:28:04 2010 New Revision: 157258 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157258 Log: PR debug/42897 * tree-vect-loop.c (vect_transform_loop): Kill o

[Bug debug/42897] [4.5 Regression] yet another ice in verify_ssa

2010-03-06 Thread aoliva at gcc dot gnu dot org
--- Comment #6 from aoliva at gcc dot gnu dot org 2010-03-06 20:30 --- Subject: Bug 42897 Author: aoliva Date: Sat Mar 6 20:30:10 2010 New Revision: 157259 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157259 Log: PR debug/42897 * gimple-iterator.c (gsi_remove): Propagate only

[Bug debug/42897] [4.5 Regression] yet another ice in verify_ssa

2010-03-06 Thread aoliva at gcc dot gnu dot org
--- Comment #7 from aoliva at gcc dot gnu dot org 2010-03-06 21:08 --- Fixed -- aoliva at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/43272] -Wmissing-prototypes doesn't work in C++ mode

2010-03-06 Thread erh+gcc at nimenees dot com
--- Comment #2 from erh+gcc at nimenees dot com 2010-03-06 21:34 --- So does this mean bug #13687 is going to be reopened? Or is there some workaround that hasn't been mentioned? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43272

[Bug fortran/41056] ICE with -finline-limit=600 and -fwhole-file: type mismatch between an SSA_NAME and its symbol

2010-03-06 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2010-03-06 22:58 --- (In reply to comment #8) > Created an attachment (id=20037) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20037&action=view) -- reduced test case /dev/shm/test/domi14.f90:7:0: error: type mismatch between an S

[Bug c++/43277] thrower function with inlined stack destructor crash on darwin

2010-03-06 Thread howarth at nitro dot med dot uc dot edu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2010-03-07 00:00 --- This bug occurs in both gcc 4.4.3 and 4.4.2 on x86_64-apple-darwin10, however it doesn't occur under x86_64-apple-darwin9. This may be a compatibility issue with the FSF gcc unwinder code executed on the li

[Bug target/43277] thrower function with inlined stack destructor crash on darwin

2010-03-06 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-03-07 00:02 --- This is most likely related to PR 43099. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43277

[Bug target/43277] thrower function with inlined stack destructor crash on darwin

2010-03-06 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2010-03-07 02:01 --- I wonder if the remaining failure on *86*-apple-darwin9 for PR41991 could also be due to PR43099? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43277

[Bug c++/12909] ambiguity in mangling vector types

2010-03-06 Thread jason at gcc dot gnu dot org
--- Comment #21 from jason at gcc dot gnu dot org 2010-03-07 05:36 --- Hmm, that's odd. Why would Darwin satisfy dg-require-alias when it doesn't have ASM_OUTPUT_DEF? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909

[Bug c++/43272] -Wmissing-prototypes doesn't work in C++ mode

2010-03-06 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-03-07 05:49 --- (In reply to comment #2) > So does this mean bug #13687 is going to be reopened? Or is there some > workaround that hasn't been mentioned? No. I think the issue has been discussed at length there. W. -- bangerth at