[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-09-07 Thread dodji at gcc dot gnu dot org
--- Comment #13 from dodji at gcc dot gnu dot org 2010-09-07 07:08 --- Fixed in 4.5.2 and trunk (4.6). -- dodji at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/45505] [4.6 Regression] gfortran.dg/pr25923.f90

2010-09-07 Thread hp at gcc dot gnu dot org
--- Comment #3 from hp at gcc dot gnu dot org 2010-09-07 07:11 --- (In reply to comment #2) > xfail the test-case for ilp32 targets with a reference to this PR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45505

[Bug c++/45293] ICE in iterative_hash_template_arg, at cp/pt.c:1589

2010-09-07 Thread dodji at gcc dot gnu dot org
--- Comment #11 from dodji at gcc dot gnu dot org 2010-09-07 07:12 --- Fixed in 4.5.2 and trunk (4.6) -- dodji at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45558] typedef of typename fails to equal its underlying type

2010-09-07 Thread dodji at gcc dot gnu dot org
--- Comment #4 from dodji at gcc dot gnu dot org 2010-09-07 07:13 --- Fixed in 4.5.2 and trunk (4.6) -- dodji at gcc dot gnu dot org changed: What|Removed |Added

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

2010-09-07 Thread sfilippone at uniroma2 dot it
--- Comment #9 from sfilippone at uniroma2 dot it 2010-09-07 07:20 --- (In reply to comment #8) > Created an attachment (id=21673) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21673&action=view) [edit] > Modifying the conftest source gives the following: [snfi...@josquin libiber

[Bug target/45559] [4.4 regression] wrong conversion from unsigned int/long to float

2010-09-07 Thread lucas at lucas-nussbaum dot net
--- Comment #2 from lucas at lucas-nussbaum dot net 2010-09-07 07:32 --- Yes, confirmed. (sid)lu...@smetana:~$ gcc -o t t.c t.c: In function ‘main’: t.c:7: warning: incompatible implicit declaration of built-in function ‘printf’ (sid)lu...@smetana:~$ ./t t=254733465 f=482062944 (sid)

[Bug fortran/45576] New: [4.6 Regression] ICE on character stuff

2010-09-07 Thread jv244 at cam dot ac dot uk
this started failing with today's trunk SUBROUTINE get_r_val() INTEGER, PARAMETER :: default_string_length=128 CHARACTER(len=default_string_length) :: c_val LOGICAL :: check check = c_val(LEN_TRIM(c_val):LEN_TRIM(c_val))=="]" END SUBROUTINE get_r_v

[Bug fortran/45576] [4.6 Regression] ICE on character stuff

2010-09-07 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added CC||tkoenig at netcologne dot de Target Milestone|---

[Bug fortran/45576] [4.6 Regression] ICE on character stuff

2010-09-07 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-09-07 07:56 --- Confirmed: 163913 works, 163940 gives an ICE. The backtrace is Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x gfc_dep_compare_expr (e1=0x0

[Bug fortran/45505] [4.6 Regression] gfortran.dg/pr25923.f90

2010-09-07 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-07 08:05 --- This isn't specific to Fortran, struct S { int a; }; struct S foo (struct S *arg) { struct S s; if (bar ()) baz ("not valid"); else s = *arg; return s; } has the exactly same difference. I believe thi

[Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions

2010-09-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||jamborm at gcc dot gnu dot |

[Bug rtl-optimization/45570] [4.6 Regression] ICE: in cfg_preds_1, at sel-sched-ir.c:4584

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

[Bug middle-end/45569] [4.5/4.6 Regression] ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions

2010-09-07 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-07 08:37 --- Hm, that expr shouldn't throw. I'll have a look. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug ada/45568] [4.6 Regression] [prj-nmsc.o] raised STORAGE_ERROR : stack overflow (or erroneous memory access)

2010-09-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|bootstrap |ada Keywords||build Target M

[Bug fortran/45567] [4.6 Regression] gfortran.dg/popcnt_poppar_2.F90 ICEs in emit_library_call_value_1, at calls.c:3485 with -ftree-ter

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

[Bug c++/45571] [4.6 Regression] ICE: verify_stmts failed: Invalid address operand in MEM_REF. on invalid C++ code

2010-09-07 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-07 08:37 --- I'll have a look. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedT

[Bug middle-end/45566] [4.5/4.6 Regression] ICE: in convert_to_eh_region_ranges, at except.c:2446 with -freorder-blocks-and-partition -fnon-call-exceptions -fprofile-use

2010-09-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45566

[Bug middle-end/45565] [4.6 Regression] ICE: in execute_todo, at passes.c:1276 with -fno-toplevel-reorder -fno-inline -fipa-cp-clone -fkeep-inline-functions

2010-09-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||jamborm at gcc dot gnu dot |

[Bug rtl-optimization/45354] [4.5/4.6 Regression] ICE: verify_flow_info failed: fallthru edge crosses section boundary (bb 6) with gcc.dg/tree-prof/update-cunroll-2.c

2010-09-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45354

[Bug fortran/45564] gfortran.dg/achar_4.f90 ICE: verify_gimple failed: type mismatch in comparison expression with -fbounds-check

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

[Bug middle-end/45534] [4.6 Regression] ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1031

2010-09-07 Thread dominiq at lps dot ens dot fr
--- Comment #17 from dominiq at lps dot ens dot fr 2010-09-07 09:12 --- Also fixed on x86_64-apple-darwin10.4, trunk configured with the default value for --enable-checking, see http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg00616.html The failures on ppc reported in comment #3 have a

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

2010-09-07 Thread dominiq at lps dot ens dot fr
Between revisions 163718 (working) and 163913, the following code (and friends) gives a possibly bogus error: [macbook] f90/bug% cat allocate_type_red.f90 program main type b_obj integer,allocatable :: c(:) end type b_obj type (b_obj),allocatable :: b(:) integer,allocatable :: c(:) integer ::

[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-09-07 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2010-09-07 09:25 --- We just calculated SP in the code following the comment: "/* eh_return epilogues need %ecx added to the stack pointer. */" So, stack pointer should be valid at the end. I'm testing following patch: Index: i386.c =

[Bug target/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2)

2010-09-07 Thread ibolton at gcc dot gnu dot org
--- Comment #17 from ibolton at gcc dot gnu dot org 2010-09-07 09:26 --- (In reply to comment #16) > I'd like it backported to 4.4 if possible, thanks > Just awaiting approval on the mailing list. It's ready to go. -- ibolton at gcc dot gnu dot org changed: What|R

[Bug tree-optimization/44328] switch/case optimization produces an invalid lookup table index

2010-09-07 Thread ibolton at gcc dot gnu dot org
--- Comment #35 from ibolton at gcc dot gnu dot org 2010-09-07 09:27 --- (In reply to comment #32) > I don't know if there are plans for more releases in the 4.4 series, but can > it > be applied to the 4.4 branch too? > The backport for 4.4 is ready. I am just waiting for approval

[Bug tree-optimization/45563] [4.6 Regression] g++.dg/opt/devirt1.C ICEs in ipcp_init_cloned_node, at ipa-cp.c:190 with -fno-early-inlining -fipa-cp-clone

2010-09-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||jamborm at gcc dot gnu dot |

[Bug c++/45562] [4.6 Regression] ICE: SIGSEGV in cp_build_unary_op (typeck.c:5083) with -std=gnu++0x -fipa-cp-clone -fcompare-debug

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

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

2010-09-07 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-09-07 09:29 --- Hi Janus. I wonder whether it could be due to the fix PR fortran/45507; could you have a look? -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/45574] ifstream::getline() is extremely slow

2010-09-07 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-09-07 09:42 --- If the problem is in the stdio sync code, then file a glibc PR. -- paolo dot carlini at oracle dot com changed: What|Removed |Added --

[Bug target/45559] [4.4 regression] wrong conversion from unsigned int/long to float

2010-09-07 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2010-09-07 10:15 --- Well then, the bug is not in gcc but in the Linux kernel's math emulation code. You need to update your kernel to one that includes the fix. The fix is commit f8324e20f8289dffc646d64366332e05eaacab25 in Linus' tree, and

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

2010-09-07 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2010-09-07 10:26 --- (In reply to comment #1) > Hi Janus. I wonder whether it could be due to the fix PR fortran/45507; could > you have a look? Yes. This seems to be the same problem reported by Salvatore (cf. http://gcc.gnu.org/ml/fortr

[Bug tree-optimization/45578] New: [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163940

2010-09-07 Thread dominiq at lps dot ens dot fr
--with-cloog=/opt/sw64 Thread model: posix gcc version 4.6.0 20100907 (experimental) [trunk revision 163940p4] (GCC) COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.4' '-O2' '-ftree-vectorize' '-v' '-shared-libgcc' '-mtune=generic' /opt/

[Bug middle-end/45579] New: Re-enable IPA-CP for "fn spec"

2010-09-07 Thread burnus at gcc dot gnu dot org
Follow up to PR 43665. Both "fn spec" (a TYPE_ATTRIBUTES) and -fipa-cp are important optimization features. However, -fipa-cp can eliminate arguments and does not update "fn spec", leading to wrong code. Thus, ipa-cp has been disabled if it encounters an attribute, cf. PR 43665 's attachment 21714

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

2010-09-07 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-09-07 10:42 --- > I posted a patch at http://gcc.gnu.org/ml/fortran/2010-09/msg00176.html. The patch fixes this pr. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45577

[Bug libstdc++/45574] ifstream::getline() is extremely slow

2010-09-07 Thread tstarling at wikimedia dot org
--- Comment #2 from tstarling at wikimedia dot org 2010-09-07 10:46 --- (In reply to comment #1) > If the problem is in the stdio sync code, then file a glibc PR. > I mean the "stdio sync code" as in the code in libstdc++ which synchronises with glibc, not actual code within glibc. If

[Bug target/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2)

2010-09-07 Thread ibolton at gcc dot gnu dot org
--- Comment #18 from ibolton at gcc dot gnu dot org 2010-09-07 11:07 --- Subject: Bug 45070 Author: ibolton Date: Tue Sep 7 11:07:31 2010 New Revision: 163945 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163945 Log: 2010-09-07 Ian Bolton Backport from mainline

[Bug libstdc++/45574] ifstream::getline() is extremely slow

2010-09-07 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-09-07 11:15 --- There is nothing we can do to speed up further the v3 side of the synced code, thus, unless you have evidence that other implementations perform much better than v3, and provide details, this is closed. --

[Bug target/43137] redundant register move for sign extending

2010-09-07 Thread bernds at gcc dot gnu dot org
--- Comment #3 from bernds at gcc dot gnu dot org 2010-09-07 11:16 --- Fixed. -- bernds at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/45571] [4.6 Regression] ICE: verify_stmts failed: Invalid address operand in MEM_REF. on invalid C++ code

2010-09-07 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-07 11:17 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/45569] [4.5/4.6 Regression] ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions

2010-09-07 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-07 11:18 --- Subject: Bug 45569 Author: rguenth Date: Tue Sep 7 11:17:44 2010 New Revision: 163946 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163946 Log: 2010-09-07 Richard Guenther PR middle-end/45569

[Bug middle-end/31528] Inlining with -Os increases code size

2010-09-07 Thread abnikant dot singh at atmel dot com
--- Comment #9 from abnikant dot singh at atmel dot com 2010-09-07 11:36 --- gcc version 4.6.0 20100907 (experimental) is not performing the inline in -Os for the test case: #define UCSRA (*(volatile unsigned char *)0x2B) #define UDRE 5 #define UDR (*(volatile unsigned char *)0x2C

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

2010-09-07 Thread burnus at gcc dot gnu dot org
--- Comment #15 from burnus at gcc dot gnu dot org 2010-09-07 11:37 --- Created an attachment (id=21725) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21725&action=view) tree.h patch tp add build[0-9]_loc (In reply to comment #9) > grep -w build[0-9] trans*.c | wc -l > 38 > grep -

[Bug target/45559] [4.4 regression] wrong conversion from unsigned int/long to float

2010-09-07 Thread zimmerma+gcc at loria dot fr
--- Comment #4 from zimmerma+gcc at loria dot fr 2010-09-07 11:47 --- this is indeed a duplicate of #44631. It can be reproduced also with GCC 4.3 and -mcpu=v9. I suggest adding GMP-ECM "make check" in the regression tests for GCC (some time ago it was used for the efficiency tests). Th

[Bug target/44631] [sparc] long long to double conversion error

2010-09-07 Thread zimmerma+gcc at loria dot fr
--- Comment #12 from zimmerma+gcc at loria dot fr 2010-09-07 11:47 --- *** Bug 45559 has been marked as a duplicate of this bug. *** -- zimmerma+gcc at loria dot fr changed: What|Removed |Added --

[Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163940

2010-09-07 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-09-07 12:07 --- Created an attachment (id=21726) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21726&action=view) Split code for mdbx and good and bad assembly files. > It may be due to revision 163915. mdbx is miscompiled at

[Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163940

2010-09-07 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-09-07 12:13 --- > 163913 (centcm_b.s) Pasto!-(centcm_b.s is for 163915). -- dominiq at lps dot ens dot fr changed: What|Removed |Added -

[Bug tree-optimization/45580] New: [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()

2010-09-07 Thread aanisimov at inbox dot ru
When building JSGlobalObject.cpp from webkit's source with GCC rev.163944 the compiler ICEs in gimple_fold_obj_type_ref_known_binfo() because it attempts to execute "fndecl = TREE_VALUE (v)" with v equal to NULL. The preprocessed source is quite big, but I've got no knowledge of webkit's internals

[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()

2010-09-07 Thread aanisimov at inbox dot ru
--- Comment #1 from aanisimov at inbox dot ru 2010-09-07 12:27 --- Created an attachment (id=21727) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21727&action=view) Preprocessed source for JSGlobalData.cpp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580

[Bug middle-end/45569] [4.5/4.6 Regression] ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions

2010-09-07 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-07 12:28 --- Subject: Bug 45569 Author: rguenth Date: Tue Sep 7 12:27:45 2010 New Revision: 163947 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163947 Log: 2010-09-07 Richard Guenther PR middle-end/45569

[Bug middle-end/45569] [4.5 Regression] ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions

2010-09-07 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-09-07 12:28 --- Fixed on trunk sofar. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug debug/45447] ICE with `-g -femit-struct-debug-baseonly'

2010-09-07 Thread ibolton at gcc dot gnu dot org
-- ibolton at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keyw

[Bug fortran/45576] [4.6 Regression] ICE on character stuff

2010-09-07 Thread mikael at gcc dot gnu dot org
--- Comment #2 from mikael at gcc dot gnu dot org 2010-09-07 12:56 --- Index: dependency.c === --- dependency.c(r��vision 163944) +++ dependency.c(copie de travail) @@ -182,6 +182,12 @@ gfc_dep_compare_expr (

[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()

2010-09-07 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||jamborm at gcc dot gnu dot |

[Bug tree-optimization/45256] Missed arithmetic simplification at tree level

2010-09-07 Thread ibolton at gcc dot gnu dot org
--- Comment #2 from ibolton at gcc dot gnu dot org 2010-09-07 13:05 --- (In reply to comment #1) > Created an attachment (id=21454) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21454&action=view) [edit] > Testcase > OK. I can see this happening on trunk, when compiled as follow

[Bug libstdc++/45398] [C++0x] Missing atomic<_Tp*>::store definition

2010-09-07 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-09-07 13:19 --- Seems trivial, just matter of forwarding to atomic_address... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug tree-optimization/43430] Missed vectorization: "stmt not supported: cond_expr"

2010-09-07 Thread matz at gcc dot gnu dot org
--- Comment #7 from matz at gcc dot gnu dot org 2010-09-07 13:24 --- The remaining problem is the support for ncopies > 1 in vectorizable_condition. http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00550.html implements this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43430

[Bug libstdc++/45398] [C++0x] Missing atomic<_Tp*>::store definition

2010-09-07 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-09-07 13:25 --- Here, I'm only adding the non-volatile version, the rest of the volatile overloads belong to PR43451. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45398

[Bug tree-optimization/43432] Missed vectorization: "complicated access pattern" for increasing and decreasing data indexing

2010-09-07 Thread matz at gcc dot gnu dot org
--- Comment #2 from matz at gcc dot gnu dot org 2010-09-07 13:27 --- The patch at http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00548.html implements support for consecutive loads with negative step. It will vectorize the first testcase. But not the second one because it only handled lo

[Bug libstdc++/43451] [C++0x] atomic integral methods missing volatile overloads

2010-09-07 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-09-07 13:28 --- By the way the same problem exists for the atomic partial specialization. In general, audit for volatile. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43451

[Bug fortran/45505] [4.6 Regression] gfortran.dg/pr25923.f90

2010-09-07 Thread hp at gcc dot gnu dot org
--- Comment #5 from hp at gcc dot gnu dot org 2010-09-07 13:28 --- Subject: Bug 45505 Author: hp Date: Tue Sep 7 13:23:24 2010 New Revision: 163949 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163949 Log: PR fortran/45505 * gfortran.dg/pr25923.f90: XFAIL warni

[Bug tree-optimization/43434] Missed vectorization: "not vectorized: data ref analysis": pointer incremented by a parameter

2010-09-07 Thread matz at gcc dot gnu dot org
--- Comment #5 from matz at gcc dot gnu dot org 2010-09-07 13:42 --- Since Ira implemented unaligned support in SLP mode we get somewhat further, but not much. If complete unrolling is active that we can't disambiguate between *s and *(s+stride). That is correct because stride is unkno

[Bug c++/45581] internal compiler error: Segmentation fault

2010-09-07 Thread v dot haisman at sh dot cvut dot cz
--- Comment #1 from v dot haisman at sh dot cvut dot cz 2010-09-07 13:49 --- Created an attachment (id=21728) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21728&action=view) Reduced testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45581

[Bug c++/45581] New: internal compiler error: Segmentation fault

2010-09-07 Thread v dot haisman at sh dot cvut dot cz
Hi, the attached file testcase-src-15.cxx contains a testcase which makes the compiler segfault: amber2::wilx:~/tmp/log4cplus-svn/objdir/src/testcase> g++ -O3 -fkeep-inline-functions -c testcase-src-15.cxx testcase-src-15.cxx: In member function ‘void PropertyConfigurator::replaceEnvironVariables(

[Bug c++/45581] internal compiler error: Segmentation fault

2010-09-07 Thread v dot haisman at sh dot cvut dot cz
--- Comment #2 from v dot haisman at sh dot cvut dot cz 2010-09-07 13:51 --- Created an attachment (id=21729) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21729&action=view) Original unreduced testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45581

[Bug libstdc++/45398] [C++0x] Missing atomic<_Tp*>::store definition

2010-09-07 Thread paolo at gcc dot gnu dot org
--- Comment #5 from paolo at gcc dot gnu dot org 2010-09-07 14:11 --- Subject: Bug 45398 Author: paolo Date: Tue Sep 7 14:05:23 2010 New Revision: 163950 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163950 Log: 2010-09-07 Paolo Carlini PR libstdc++/45398 *

[Bug libstdc++/45398] [C++0x] Missing atomic<_Tp*>::store definition

2010-09-07 Thread paolo at gcc dot gnu dot org
--- Comment #6 from paolo at gcc dot gnu dot org 2010-09-07 14:12 --- Subject: Bug 45398 Author: paolo Date: Tue Sep 7 14:07:31 2010 New Revision: 163951 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163951 Log: 2010-09-07 Paolo Carlini PR libstdc++/45398 *

[Bug libstdc++/45398] [C++0x] Missing atomic<_Tp*>::store definition

2010-09-07 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2010-09-07 14:16 --- Done, for 4.6.0 and 4.5.2. -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug bootstrap/45445] [4.6 regression] ARM bootstrap failure: comparison failures after stage 3

2010-09-07 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2010-09-07 14:25 --- This set of bootstrap comparison failures were introduced by r162418: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00772.html It's been a pain to bisect because pretty much every week between then and now there's been some o

[Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915

2010-09-07 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-09-07 14:25 --- If I replace the loop DO i = 1 , MOLsa X0(1,i) = X0(1,i) - cm1 X0(2,i) = X0(2,i) - cm2 X0(3,i) = X0(3,i) - cm3 XIN(1,i) = XIN(1,i) - cm1 XIN(2,i) = XIN(2,i) - cm2

[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-09-07 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2010-09-07 14:38 --- Patch at [1]. [1] http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00563.html -- ubizjak at gmail dot com changed: What|Removed |Added -

[Bug tree-optimization/33244] Missed opportunities for vectorization due to PRE

2010-09-07 Thread matz at gcc dot gnu dot org
--- Comment #2 from matz at gcc dot gnu dot org 2010-09-07 14:41 --- Since the fix for PR44710 we can if-convert the conditions in the inner loop. With http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00542.html we also make sure that the latch block isn't filled, which in turn then triggers

[Bug bootstrap/45174] Make fails in zlib

2010-09-07 Thread ibolton at gcc dot gnu dot org
--- Comment #22 from ibolton at gcc dot gnu dot org 2010-09-07 14:44 --- (In reply to comment #21) > Subject: Re: Make fails in zlib > > Hello; > Well I solved my problem, however the issue still remains. I installed > the latest native binutils and gcc-4.5.1 on my linux insta

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

2010-09-07 Thread LpSolit at netscape dot net
--- Comment #30 from LpSolit at netscape dot net 2010-09-07 14:54 --- Daniel, did you get the email I sent you on August 19? I need some help to start working on this project. Just in case someone else can help too, here is the content of the email I sent to Daniel: The welcome email I

[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-07 Thread paolo dot carlini at oracle dot com
--- Comment #12 from paolo dot carlini at oracle dot com 2010-09-07 14:59 --- I think we should apply it and see how it goes. I'm thinking that after all we are not risking much: the class is empty anyway (in terms of ABI) and we are not risking rejecting valid iterators, only the other

[Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915

2010-09-07 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-07 15:02 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|rguen

[Bug fortran/45575] ICE on missing module file

2010-09-07 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-09-07 15:09 --- Works with x86_64-unknown-linux-gnu (4.6.0 20100907 (experimental) [trunk revision 163943]) and also under i686-w64-mingw and x86_64-w64-mingw. A test with i586-pc-mingw32 is pending; Kai offered to do it. Brad, if

[Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915

2010-09-07 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-09-07 15:13 --- IVOPTs is causing this - when we retain points-to info there we also copy alignment information, but that is of course bogus. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug driver/45582] New: gcda file names collision when profiling

2010-09-07 Thread bayerntoni at hotmail dot de
I got some "coverage mismatch for function" messages during the -fprofile-use stage. input/proc.c: In function 'Proc_2': input/proc.c:370:1: error: coverage mismatch for function 'Proc_2' while reading counter 'arcs' input/proc.c:370:1: note: checksum is 423e382 instead of 90c94998 input/proc.c:

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

2010-09-07 Thread burnus at gcc dot gnu dot org
--- Comment #16 from burnus at gcc dot gnu dot org 2010-09-07 15:29 --- (In reply to comment #15) > Created an attachment (id=21725) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21725&action=view) [edit] +#define build6_loc(l,c,t1,t2,t3,t4,t5,t6,t7) \ + build1_stat_loc (l,c,t1,t

[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-09-07 Thread uros at gcc dot gnu dot org
--- Comment #12 from uros at gcc dot gnu dot org 2010-09-07 15:39 --- Subject: Bug 45206 Author: uros Date: Tue Sep 7 15:38:59 2010 New Revision: 163955 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163955 Log: PR target/45206 * config/i386/i386.c (ix86_expand_

[Bug bootstrap/45518] [4.6 regression] bootstrap failure on SPARC 64-bit

2010-09-07 Thread ebotcazou at gcc dot gnu dot org
--- Comment #8 from ebotcazou at gcc dot gnu dot org 2010-09-07 15:41 --- Fixed on SPARC64/Solaris as well. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-09-07 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2010-09-07 15:42 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

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

2010-09-07 Thread tromey at gcc dot gnu dot org
--- Comment #31 from tromey at gcc dot gnu dot org 2010-09-07 15:50 --- (In reply to comment #30) > $ cvs -z9 -d :ext:lpso...@sourceware.org:/cvs/sourceware co sourceware > cvs server: cannot find module `sourceware' - ignored > cvs [checkout aborted]: cannot expand modules Use the mod

[Bug fortran/45564] gfortran.dg/achar_4.f90 ICE: verify_gimple failed: type mismatch in comparison expression with -fbounds-check

2010-09-07 Thread mikael at gcc dot gnu dot org
--- Comment #3 from mikael at gcc dot gnu dot org 2010-09-07 16:05 --- Subject: Bug 45564 Author: mikael Date: Tue Sep 7 16:04:55 2010 New Revision: 163958 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163958 Log: 2010-09-07 Mikael Morin * trans-stmt.c (gfc_trans_c

[Bug fortran/45564] gfortran.dg/achar_4.f90 ICE: verify_gimple failed: type mismatch in comparison expression with -fbounds-check

2010-09-07 Thread mikael at gcc dot gnu dot org
--- Comment #4 from mikael at gcc dot gnu dot org 2010-09-07 16:09 --- Fixed. -- mikael at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

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

2010-09-07 Thread gerald at pfeifer dot com
--- Comment #32 from gerald at pfeifer dot com 2010-09-07 16:15 --- I believe the following should work: cvs -z9 -d :ext:lpso...@gcc.gnu.org:/cvs/gcc co wwwdocs bugzilla is a subdirectory there, not a module. sourceware.org and gcc.gnu.org should both work, but since is GCC Bugzilla

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

2010-09-07 Thread LpSolit at netscape dot net
--- Comment #33 from LpSolit at netscape dot net 2010-09-07 16:22 --- I guess you meant to be CC'ed? -- LpSolit at netscape dot net changed: What|Removed |Added

[Bug target/44557] internal compiler error: in gen_thumb_movhi_clobber, at config/arm/arm.md:5811

2010-09-07 Thread ibolton at gcc dot gnu dot org
--- Comment #5 from ibolton at gcc dot gnu dot org 2010-09-07 16:24 --- (In reply to comment #4) > I my earlier tests I failed to notice that this test case triggers one of two > different ICEs, depending on options and compiler version. I also mistakenly > tested with a locally modifie

[Bug fortran/45583] New: Typo in onlinedocs/gfortran/COS.html / intrinsics.texi

2010-09-07 Thread burnus at gcc dot gnu dot org
http://gcc.gnu.org/onlinedocs/gfortran/COS.html shows a typo for the Specific names -- some superfluous "n" after COS. -- Summary: Typo in onlinedocs/gfortran/COS.html / intrinsics.texi Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keyword

[Bug bootstrap/45445] [4.6 regression] ARM bootstrap failure: comparison failures after stage 3

2010-09-07 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2010-09-07 16:42 --- Confirmed based on comment #2 -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/45576] [4.6 Regression] ICE on character stuff

2010-09-07 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2010-09-07 16:48 --- (In reply to comment #2) > Index: dependency.c > === > --- dependency.c(r��vision 163944) > +++ dependency.c(copie de travail) > @@ -182

[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()

2010-09-07 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-09-07 16:51 --- It is caused by revision 161655: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg6.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug c/45584] New: typeof with casting from const to non-const does not work properly

2010-09-07 Thread radoslaw dot biernacki at gmail dot com
typeof() does not property recognizes the non-const type, which was casted from const type: $ cat plik.c #include int main() { const unsigned long val; typeof( ((unsigned long)(val)) ) val2; val2 = 0; //compilation error } $ gcc -o plik plik.c plik.c: In function âmainâ: plik.c:7: e

[Bug fortran/43665] INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments

2010-09-07 Thread jamborm at gcc dot gnu dot org
--- Comment #18 from jamborm at gcc dot gnu dot org 2010-09-07 17:01 --- Subject: Bug 43665 Author: jamborm Date: Tue Sep 7 17:00:44 2010 New Revision: 163960 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163960 Log: 2010-09-07 Martin Jambor PR fortran/43665

[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()

2010-09-07 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-09-07 17:02 --- Valgrind reports: Compiler executable checksum: 49fb87eb28749ed7ad604cc77a74ec38 ==24854== Invalid read of size 2 ==24854==at 0x1258998: gimple_fold_obj_type_ref_known_binfo (gimple-fold.c:1383) ==24854==by

[Bug fortran/45576] [4.6 Regression] ICE on character stuff

2010-09-07 Thread mikael at gcc dot gnu dot org
--- Comment #4 from mikael at gcc dot gnu dot org 2010-09-07 17:14 --- (In reply to comment #3) > Hi Mikael, > > I'd rather fix this somewhere else. > If you want. Re-assigning to you then. -- mikael at gcc dot gnu dot org changed: What|Removed |

[Bug libstdc++/45574] ifstream::getline() is extremely slow

2010-09-07 Thread tstarling at wikimedia dot org
--- Comment #4 from tstarling at wikimedia dot org 2010-09-07 17:18 --- Benchmarking on Solaris indicates that cin.getline() takes only 1us per iteration there, but I don't think the source code is available, so it's hard to provide details. However, I think that a huge speedup could b

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

2010-09-07 Thread jamborm at gcc dot gnu dot org
--- Comment #1 from jamborm at gcc dot gnu dot org 2010-09-07 17:28 --- Patch posted to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00592.html -- jamborm at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/44737] ICE in instantiate_decl

2010-09-07 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-09-07 17:34 --- Maybe related to PR44118, both ICE on the same gcc_assert -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44737

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

2010-09-07 Thread dominiq at lps dot ens dot fr
Between revisions 163595 (working) and 163628 (failing) compiling gfortran.dg/transfer_simplify_2.f90 with -O2 -m64 gives an ICE [karma] f90/bug% gfc -O2 -m64 /opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/transfer_simplify_2.f90 /opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/transfer_simplify_2.f9

  1   2   >