[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-04 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2010-07-04 06:07 --- A patch has been posted here http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00291.html laptop:kargl[208] gfc4x -o z -std=f2003 inquire_5.f90 inquire_5.f90:22.59: inquire (file = 'inquire_5.txt', number = unit8,

[Bug testsuite/44797] INQUIRE EXIST variable must be default LOGICAL

2010-07-04 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-07-04 07:25 --- (In reply to comment #0) INQUIRE_5.f90 lines 22, 26, and 28 use an EXIST variable which is not default LOGICAL. I believe this is not standard. For completeness: Since F2008 it is allowed: F95: R924

[Bug c/44774] -Werror=edantic

2010-07-04 Thread manu at gcc dot gnu dot org
--- Comment #12 from manu at gcc dot gnu dot org 2010-07-04 08:27 --- (In reply to comment #11) I do not object to -Wpedantic. Ah, ok! Then, I will start with this and worry about the other warnings when their time comes. Thanks! -- manu at gcc dot gnu dot org changed:

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-04 Thread lopezibanez at gmail dot com
--- Comment #9 from lopezibanez at gmail dot com 2010-07-04 08:33 --- Subject: Re: DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others On 4 July 2010 02:39, asmprog32 at hotmail dot com gcc-bugzi...@gcc.gnu.org wrote: A file has 3

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-04 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2010-07-04 08:34 --- (In reply to comment #8) After the bug has been closed. i has posted the question to gcc-help, thanks ( i has reported as bug because , i has thinked it was a bug ) I personally think that if this is not

[Bug c/44801] Finding max element in an unsigned int array fails with -O3

2010-07-04 Thread paavo at osa dot pri dot ee
--- Comment #3 from paavo at osa dot pri dot ee 2010-07-04 08:59 --- Thanks, that's what I suspected, but somehow was not able to find it in the bug database search. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44801

[Bug fortran/44693] Missed error for invalid SUM

2010-07-04 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2010-07-04 09:00 --- Created an attachment (id=21080) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21080action=view) proposed patch (causes unrelated breakage) This patch causes a segfault in dynamic_dispatch_6.f03, although the

[Bug fortran/44693] Missed error for invalid SUM

2010-07-04 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2010-07-04 09:20 --- It seems the dynamic_dispatch_6.f03 is independent of this patch. I'll submit this patch anyway. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44693

[Bug c++/44800] DECL_SAVED_TREE is always null on the first FUNCTION_DECL and is not null on the others

2010-07-04 Thread asmprog32 at hotmail dot com
--- Comment #11 from asmprog32 at hotmail dot com 2010-07-04 09:39 --- The problem is that i followed also external documentation, where PLUGIN_OVERRIDE_GATE is used to analyse AST. GCC documentation say to use PLUGIN_PRE_GENERICIZE and infact it work, so it is a my wrong. --

[Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-04 10:14 --- Subtle. pointer_map_insert invalidates slot pointers. I have a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44785

[Bug fortran/44773] [4.6 Regression] Unnecessary temporaries increase the runtime for channel.f90 by ~70%

2010-07-04 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2010-07-04 10:48 --- Note: The function ddx is not declared as PURE - and also cannot simply marked as pure as it host-associates the variables I and J - thus a simple check for no host association would not work. There is no

[Bug tree-optimization/44656] VN should value-replace operands during alias-oracle walk

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-04 10:53 --- Fixed for 4.6. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/44656] VN should value-replace operands during alias-oracle walk

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-04 10:53 --- Subject: Bug 44656 Author: rguenth Date: Sun Jul 4 10:52:43 2010 New Revision: 161798 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161798 Log: 2010-07-04 Richard Guenther rguent...@suse.de PR

[Bug fortran/44709] BLOCK and GOTO/EXIT/CYCLE

2010-07-04 Thread domob at gcc dot gnu dot org
--- Comment #2 from domob at gcc dot gnu dot org 2010-07-04 11:48 --- Mine. -- domob at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at

[Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-07-04 12:20 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/44785] [4.6 Regression] Invalid memory access in gfortran.dg/extends_3.f03

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-07-04 12:20 --- Subject: Bug 44785 Author: rguenth Date: Sun Jul 4 12:20:14 2010 New Revision: 161800 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161800 Log: 2010-07-04 Richard Guenther rguent...@suse.de PR

[Bug c++/44808] New: ICE: tree check: expected var_decl, have result_decl in gimplify_modify_expr

2010-07-04 Thread marc dot glisse at normalesup dot org
The following code produces the error: $ c++-c triangles_test.cpp -O9 triangles_test.cpp: In member function ‘virtual Halfedge_handle Ovl_visitor::insert_at_vertices()’: triangles_test.cpp:12:24: internal compiler error: tree check: expected var_decl, have result_decl in

[Bug middle-end/44809] New: Mozilla build fails in gimplification.

2010-07-04 Thread hubicka at gcc dot gnu dot org
/abuild/jh/trunk-install/bin/g++ -O2 qq.ii In file included from ../../../netwerk/cache/nsDiskCacheMap.cpp:44:0: ../../../netwerk/cache/nsDiskCacheMap.h: In member function ‘void nsDiskCacheHeader::Swap()’: ../../../netwerk/cache/nsDiskCacheMap.h:362:28: internal compiler error: in gimplify_expr,

[Bug middle-end/44809] Mozilla build fails in gimplification.

2010-07-04 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-04 13:21 --- Created an attachment (id=21081) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21081action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44809

[Bug rtl-optimization/44479] false dependencies are computed after vectorization

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-04 13:27 --- I can see on current trunk when dumping rtl-expand-alias that some of the pointers created by the vectorizer miss alias information, namely those in the loop pre-header: bb 7: base_off.26_73 =

[Bug c++/44703] [C++0x] List initialization fail if parameter is typedef name for the std::initializer_list

2010-07-04 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug inline-asm/44810] New: [4.6 Regression] FAIL: g++.dg/torture/pr36745.C

2010-07-04 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/g++/../../g++ -B/test/gnu/ gcc/objdir/gcc/testsuite/g++/../../ /test/gnu/gcc/gcc/gcc/testsuite/g++.dg/tortu re/pr36745.C -nostdinc++ -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v 3/include/hppa64-hp-hpux11.11

[Bug middle-end/44738] c-c++-common/uninit-17.c failed

2010-07-04 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2010-07-04 14:34 --- Also seen on hppa64-hp-hpux11.11. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44808] [4.6 Regression] ICE: tree check: expected var_decl, have result_decl in gimplify_modify_expr

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-04 14:38 --- Confirmed. The value-expr is odd: ;; Function virtual Halfedge_handle Ovl_visitor::insert_at_vertices() (null) ;; enabled by -tree-original { struct Halfedge_handle res [value-expr: retval]; struct

[Bug fortran/44596] [OOP] Dynamic dispatch uses broken types

2010-07-04 Thread pault at gcc dot gnu dot org
--- Comment #11 from pault at gcc dot gnu dot org 2010-07-04 14:40 --- Subject: Bug 44596 Author: pault Date: Sun Jul 4 14:40:34 2010 New Revision: 161801 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161801 Log: 2010-07-04 Paul Thomas pa...@gcc.gnu.org PR

[Bug middle-end/44745] [4.6 regression] FAIL: gfortran.dg/dynamic_dispatch_6.f03

2010-07-04 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2010-07-04 14:40 --- Subject: Bug 44745 Author: pault Date: Sun Jul 4 14:40:34 2010 New Revision: 161801 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161801 Log: 2010-07-04 Paul Thomas pa...@gcc.gnu.org PR

[Bug middle-end/44809] Mozilla build fails in gimplification.

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-04 14:42 --- Mine (mem-ref related). Reducing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44811] New: non controlable bogus warning: right/left shift count is negative

2010-07-04 Thread gpiez at web dot de
templateint N uint64_t shift(uint64_t b) { if (N 0) return b N; else return b -N; } int main() { int a = shift-5(0x100); int b = shift5(0x100); return a+b; } --- I am using this function template in a header, and other warnings and even errors tend to get

[Bug c++/44810] [4.6 Regression] FAIL: g++.dg/torture/pr36745.C

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-04 15:00 --- I have analyzed this already. The problem is that struct QMapData { QBasicAtomicInt ref; static QMapData shared_null; }; the static QMapData shared_null has DECL_ALIGN of 8 bits. So we end up passing an

[Bug c++/44811] non controlable bogus warning: right/left shift count is negative

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-04 15:02 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/44809] Mozilla build fails in gimplification.

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-04 15:14 --- Reduced testcase: unsigned int mEvictionRank[(1 5)]; void Unswap(int i) { mEvictionRank[i] = ({ unsigned int __v = i; __v; }); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44809

[Bug lto/44812] New: m32 lto produces non-relocatable subtraction expression errors

2010-07-04 Thread howarth at nitro dot med dot uc dot edu
On x86_64-apple-darwin* and i*86-apple-darwin*, a number of lto failures remain at -m32 which are of the form... /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/ c_lto_2008_0.o c_lto_2008_1.o -O0 -fwhopr -m32 -o

[Bug lto/44812] m32 lto produces non-relocatable subtraction expression errors

2010-07-04 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-07-04 15:23 --- Created an attachment (id=21082) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21082action=view) assembly file 2008_0.s /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc

[Bug middle-end/44809] Mozilla build fails in gimplification.

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-04 15:24 --- Created an attachment (id=21083) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21083action=view) patch Patch I'm testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44809

[Bug lto/44812] m32 lto produces non-relocatable subtraction expression errors

2010-07-04 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-07-04 15:24 --- Created an attachment (id=21084) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21084action=view) assembly file 2008_1.s /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/gcc/xgcc

[Bug lto/44812] m32 lto produces non-relocatable subtraction expression errors

2010-07-04 Thread howarth at nitro dot med dot uc dot edu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2010-07-04 15:25 --- Created an attachment (id=21085) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21085action=view) assembly file gcc-dg-lto-2008-01.ltrans0.s

[Bug rtl-optimization/44479] false dependencies are computed after vectorization

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-07-04 16:08 --- Subject: Bug 44479 Author: rguenth Date: Sun Jul 4 16:08:21 2010 New Revision: 161802 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161802 Log: 2010-07-04 Richard Guenther rguent...@suse.de PR

[Bug rtl-optimization/44479] false dependencies are computed after vectorization

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-07-04 16:09 --- Can you re-check now? I'm not good at reading scheduler dumps but at expansion time it looks good to me even with IVOPTs turned on now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44479

[Bug rtl-optimization/44479] false dependencies are computed after vectorization

2010-07-04 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44479

[Bug middle-end/44809] Mozilla build fails in gimplification.

2010-07-04 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-07-04 16:55 --- Subject: Bug 44809 Author: rguenth Date: Sun Jul 4 16:55:40 2010 New Revision: 161803 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161803 Log: 2010-07-04 Richard Guenther rguent...@suse.de PR

[Bug middle-end/44813] New: ipa-split causes ice in ptr_deref_may_alias_decl_p, at tree-ssa-alias.c:173

2010-07-04 Thread hubicka at gcc dot gnu dot org
cc1plus -fpreprocessed nsTextFrameThebes.ii -dumpbase nsTextFrameThebes.cpp -mtune=generic -march=x86-64 -auxbase-strip nsTextFrameThebes.o -O2 -Os -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof

[Bug middle-end/44813] ipa-split causes ice in ptr_deref_may_alias_decl_p, at tree-ssa-alias.c:173

2010-07-04 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2010-07-04 17:49 --- Created an attachment (id=21086) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21086action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44813

[Bug c++/16630] missing type name in __PRETTY_FUNCTION__

2010-07-04 Thread manu at gcc dot gnu dot org
--- Comment #11 from manu at gcc dot gnu dot org 2010-07-04 18:17 --- Subject: Bug 16630 Author: manu Date: Sun Jul 4 18:16:59 2010 New Revision: 161805 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161805 Log: 2010-07-04 Manuel López-Ibáñez m...@gcc.gnu.org PR

[Bug c++/16630] missing type name in __PRETTY_FUNCTION__

2010-07-04 Thread manu at gcc dot gnu dot org
--- Comment #12 from manu at gcc dot gnu dot org 2010-07-04 18:19 --- Testcase added. Closing as FIXED. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/44814] New: ISO_C_BINDING types inherited from a USEd module are corrupted

2010-07-04 Thread jkrahn at nc dot rr dot com
$ cat ptr_bug.f90 module mod1 use iso_c_binding, only: C_ptr end module mod1 module mod2 use mod1 use iso_c_binding, only: C_NULL_ptr contains subroutine bug type(C_ptr) :: ptr ptr=C_NULL_ptr end subroutine bug end module mod2 $ /usr/local/gfortran/bin/gfortran -c ptr_bug.f90

[Bug fortran/44814] ISO_C_BINDING types inherited from a USEd module are corrupted

2010-07-04 Thread jkrahn at nc dot rr dot com
--- Comment #1 from jkrahn at nc dot rr dot com 2010-07-04 19:09 --- I updated my code to use ISO_C_BINDING directly, but still get this bug. In order to avoid corruption by the USEd module, the ISO_C_BINDING imports must all be done on the first USE statement. This code still fails:

[Bug c++/44590] [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests

2010-07-04 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2010-07-04 19:12 --- I see the following similar fails on hppa64-hp-hpux11.11: FAIL: 27_io/basic_stringbuf/sputbackc/char/1.cc (test for excess errors) FAIL: 27_io/basic_stringbuf/sputbackc/wchar_t/1.cc (test for excess errors) FAIL:

[Bug rtl-optimization/44479] false dependencies are computed after vectorization

2010-07-04 Thread roy dot 1rosen at gmail dot com
--- Comment #6 from roy dot 1rosen at gmail dot com 2010-07-04 19:32 --- Subject: Re: false dependencies are computed after vectorization Unfortunatelly I am OOO until the end of next week. I would check it as soon as I get back. Thanks, Roy. 2010/7/4, rguenth at gcc dot

[Bug fortran/44814] ISO_C_BINDING types inherited from a USEd module are corrupted

2010-07-04 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added BugsThisDependsOn||37829 OtherBugsDependingO||32630

[Bug target/44626] [4.4 regression] ICE in output_operand: invalid expression as operand

2010-07-04 Thread mikpe at it dot uu dot se
--- Comment #6 from mikpe at it dot uu dot se 2010-07-04 19:54 --- Patch posted after successful (re)testing: http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00331.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44626

[Bug middle-end/44738] c-c++-common/uninit-17.c failed

2010-07-04 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2010-07-04 20:10 --- Also seen on {powerpc64,sparc64}-linux. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44738

[Bug c++/44815] New: Compiz Core miscompiles with GCC 4.5

2010-07-04 Thread ubizjak at gmail dot com
Found at [1]. quote Compiling Compiz Core with GCC 4.5 will cause a strange bug where static members of template classes will have their constructors called on dlopen (), causing key members such as plugin class reference counts to reset. This in turn will causes crashes in the near future as key

[Bug c++/44815] Compiz Core miscompiles with GCC 4.5

2010-07-04 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2010-07-04 21:52 --- Created an attachment (id=21087) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21087action=view) testcase This is a simple testcase for this bug. With G++ 4.5 you will get auch output: TestIndex constructor at

[Bug c++/44815] Compiz Core miscompiles with GCC 4.5

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-04 21:55 --- dlHnd1 = dlopen(./libp1.so, RTLD_LAZY); I think this is invalid as each get a private copy of the template class. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44815

[Bug c++/44815] Compiz Core miscompiles with GCC 4.5

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-04 21:56 --- Really I think this is a violation of the One definition rule. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44815

[Bug c/44816] New: ice in subst_reloads, at reload.c:6328

2010-07-04 Thread regehr at cs dot utah dot edu
[reg...@gamow tmp418]$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r161681-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured

[Bug target/44531] [4.5/4.6 Regression] [SH] Multilib configuration does not work as expected on darwin

2010-07-04 Thread kkojima at gcc dot gnu dot org
--- Comment #6 from kkojima at gcc dot gnu dot org 2010-07-04 22:07 --- Subject: Bug 44531 Author: kkojima Date: Sun Jul 4 22:07:29 2010 New Revision: 161807 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161807 Log: PR target/44531 * config.gcc (sh*-*-*): Use

[Bug rtl-optimization/44695] [4.6 Regression] ice in simplify_subreg, at simplify-rtx.c:5117

2010-07-04 Thread hjl at gcc dot gnu dot org
--- Comment #10 from hjl at gcc dot gnu dot org 2010-07-04 23:18 --- Subject: Bug 44695 Author: hjl Date: Sun Jul 4 23:18:06 2010 New Revision: 161813 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161813 Log: Change 8bit divmod to HImode. gcc/ 2010-07-04 H.J. Lu

[Bug middle-end/44817] New: Stage2/stage3 genautomata has invalid memory access

2010-07-04 Thread hjl dot tools at gmail dot com
On Linux/x86-64, revision 161806 gave: # /usr/bin/valgrind --tool=memcheck build/genautomata /export/gnu/import/svn/gcc-test/src-trunk/gcc/config/i386/i386.md insn-conditions.md /dev/null ==5903== Memcheck, a memory error detector ==5903== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward

[Bug middle-end/44817] Stage2/stage3 genautomata has invalid memory access

2010-07-04 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-07-05 00:05 --- The code is 0260 check_absence_pattern_sets: 260: 41 57 push %r15 262: 44 8b 1d 00 00 00 00mov0x0(%rip),%r11d# 269

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

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #17 from pinskia at gcc dot gnu dot org 2010-07-05 00:11 --- * Makefile.in (expmed.o-warn): Add -Wno-error. There is no comment in Makefile.in why this is there, can you add one. Also is this a false warning from gcc or a true one, I cannot tell. Note I also get

[Bug middle-end/44817] Stage2/stage3 genautomata has invalid memory access

2010-07-04 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-07-05 00:20 --- There is a 128byte red-zone. The code seems OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44817

[Bug c++/44811] non controllable bogus warning: right/left shift count is negative

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-05 01:14 --- Related to PR 11856. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44811

[Bug target/44793] [4.5/4.6 Regression] libgcc does not include t-ppccomm on rtems

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-07-05 01:18 --- Neither. rtems should be moved to the new style libgcc config and include ./config/rs6000/t-ppccomm . -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44786] -fcatch-undefined-behavior: Turn on runtime code generation to check for undefined behavior

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-05 01:21 --- -ftrapv checks for one undefined behavior which is not mentioned in that list. Why isn't that listed? # Shift operators where the amount shifted is greater or equal to the promoted bit-width of the

[Bug c++/44781] unjustified warning about uinitialized variable

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-05 01:26 --- Does not warn with: GNU C++ (GCC) version 4.6.0 20100627 (experimental) [trunk revision 161476] (x86_64-unknown-linux-gnu) compiled by GNU C version 4.6.0 20100627 (experimental) [trunk revision 161476], GMP

[Bug c/44782] implement -ferror-limit=

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-05 01:28 --- Note Fortran has this feature already: -fmax-errors=nMaximum number of errors to report -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44782

[Bug c++/44753] [4.5 Regression] class partial specialization error

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-05 01:29 --- Works on the trunk: GNU C++ (GCC) version 4.6.0 20100627 (experimental) [trunk revision 161476] (x86_64-unknown-linux-gnu) compiled by GNU C version 4.6.0 20100627 (experimental) [trunk revision 161476], GMP

[Bug rtl-optimization/44752] insn-automata.c: empty translation unit

2010-07-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug rtl-optimization/44752] insn-automata.c: empty translation unit

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-07-05 01:35 --- Created an attachment (id=21088) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21088action=view) patch which needs testing I have not tested this fix but it should work and should remove the warning/error for

[Bug c++/44516] unclear error message for invalid operands to operator

2010-07-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-05 01:47 --- Note I would keep GCC's wording as it is more correct with respect of C++. Though I would say what the types are. This is true for any operator. The reason is that the user could overridden the operator for those

[Bug c++/44516] unclear error message for invalid operands to operator

2010-07-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug target/44793] [4.5/4.6 Regression] libgcc does not include t-ppccomm on rtems

2010-07-04 Thread corsepiu at gcc dot gnu dot org
--- Comment #6 from corsepiu at gcc dot gnu dot org 2010-07-05 03:30 --- (In reply to comment #5) rtems should be moved to the new style libgcc config and include ./config/rs6000/t-ppccomm . Hmm. Doesn't RTEMS already do so? From config.gcc: ... powerpc-*-rtems*)

[Bug target/44793] [4.5/4.6 Regression] libgcc does not include t-ppccomm on rtems

2010-07-04 Thread corsepiu at gcc dot gnu dot org
--- Comment #7 from corsepiu at gcc dot gnu dot org 2010-07-05 04:17 --- (In reply to comment #6) (In reply to comment #5) rtems should be moved to the new style libgcc config and include ./config/rs6000/t-ppccomm . Hmm. Doesn't RTEMS already do so? Did you mean

[Bug c++/22138] Better error message for rejecting local template declaration.

2010-07-04 Thread pzhao at gcc dot gnu dot org
--- Comment #2 from pzhao at gcc dot gnu dot org 2010-07-05 05:36 --- Subject: Bug 22138 Author: pzhao Date: Mon Jul 5 05:36:02 2010 New Revision: 161818 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161818 Log: gcc/cp/ 2010-07-05 Shujing Zhao pearly.z...@oracle.com