[Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317

2010-08-23 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-08-23 06:40 --- Subject: Bug 45315 Author: jason Date: Mon Aug 23 06:39:42 2010 New Revision: 163466 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163466 Log: PR c++/45315 * init.c (build_new_1): Don't use

[Bug testsuite/45361] gcc.target/i386/volatile-2.c failed

2010-08-23 Thread nathan at gcc dot gnu dot org
--- Comment #10 from nathan at gcc dot gnu dot org 2010-08-23 07:42 --- Thanks Uros! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45361

[Bug target/45335] Use ldrd to load two consecutive words

2010-08-23 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug libfortran/45323] warnings compiling libgfortran/io/write.c: array subscript has type 'char'

2010-08-23 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2010-08-23 08:37 --- (In reply to comment #1) That's the lines: 1472char cup; 1467size_t dim_i; 1504cup = toupper (base_name[dim_i]); 1511cup = toupper (obj-var_name[dim_i]); and

[Bug libfortran/45165] unix.c:fallback_access() leaks file descriptors

2010-08-23 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2010-08-23 08:39 --- Index: io/unix.c === --- io/unix.c (revision 163225) +++ io/unix.c (working copy) @@ -151,11 +151,15 @@ static int fallback_access (const char

[Bug tree-optimization/45072] [4.6 Regression] 23_containers/vector/bool/modifiers/erase/1.cc FAILs with -fprofile-generate

2010-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-08-23 09:09 --- Couldn't reproduce with r163403, can you still reproduce it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45072

[Bug tree-optimization/44913] [4.6 Regression] -ftree-vectorize causes FAIL: gcc.dg/pr44838.c execution test

2010-08-23 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44913

[Bug c++/45382] internal compiler error: tree code �call_expr� is not supported in gimple streams

2010-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-08-23 10:09 --- Smaller testcase: templateclass T, unsigned long l inline unsigned long foo (T ()[l]) { return l; } struct S { char *s[4]; S (); }; S::S () { typedef int T[foo (s) == 4 ? 1 : -1]; } -- jakub at gcc dot gnu dot

[Bug c++/45382] internal compiler error: tree code �call_expr� is not supported in gimple streams

2010-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-08-23 10:16 --- As can be seen in inline unsigned long foo () { return 4; } struct S { S (); }; void bar () { typedef int T[foo () == 4 ? 1 : -1]; } S::S () { typedef int T[foo () == 4 ? 1 : -1]; } the problem only happens in cdtors,

[Bug libstdc++/45347] concurrence.h: In constructor '__gnu_cxx::__cond::__cond()': /home/jayk/obj/gcc451/alphaev67-dec-osf5.1/libstdc++-v3/include/ext/concurrence.h:276:29: warning: missing initialize

2010-08-23 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2010-08-23 11:22 --- this report isn't much help - does the warning occur when building the library, or using it? and I doubt it makes any difference, but you've reported it against 4.5.1 and then said you're using 4.5.0 The warning

[Bug libstdc++/45347] concurrence.h: In constructor '__gnu_cxx::__cond::__cond()': /home/jayk/obj/gcc451/alphaev67-dec-osf5.1/libstdc++-v3/include/ext/concurrence.h:276:29: warning: missing initialize

2010-08-23 Thread jay dot krell at cornell dot edu
--- Comment #2 from jay dot krell at cornell dot edu 2010-08-23 11:26 --- This is building libstdc++ 4.5.1. You can sort of tell from the path. I build in obj. I don't install to obj. The bootstrap compiler might have been 4.5.0. I can do it again with 4.5.1 as bootstrap. I

[Bug libstdc++/45347] concurrence.h: In constructor '__gnu_cxx::__cond::__cond()': /home/jayk/obj/gcc451/alphaev67-dec-osf5.1/libstdc++-v3/include/ext/concurrence.h:276:29: warning: missing initialize

2010-08-23 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2010-08-23 11:35 --- (In reply to comment #2) This is building libstdc++ 4.5.1. You can sort of tell from the path. I build in obj. I don't install to obj. Ah yeah - the report would have been more useful with that info though, so

[Bug middle-end/45379] [4.6 Regression] ~10% slowdown on test_fpu at revision 163278

2010-08-23 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-08-23 12:20 --- Reduced test ! MODULE kinds INTEGER, PARAMETER :: RK8 = SELECTED_REAL_KIND(15, 300) END MODULE kinds !

[Bug fortran/45366] Problem with procedure pointer dummy in PURE function

2010-08-23 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2010-08-23 12:26 --- Subject: Bug 45366 Author: janus Date: Mon Aug 23 12:26:42 2010 New Revision: 163468 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163468 Log: 2010-08-23 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/45366] Problem with procedure pointer dummy in PURE function

2010-08-23 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2010-08-23 12:29 --- Fixed with r163468. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/45323] warnings compiling libgfortran/io/write.c: array subscript has type 'char'

2010-08-23 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-08-23 12:39 --- Subject: Bug 45323 Author: burnus Date: Mon Aug 23 12:39:20 2010 New Revision: 163469 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163469 Log: 2010-08-23 Tobias Burnus bur...@net-b.de PR

[Bug libfortran/45323] warnings compiling libgfortran/io/write.c: array subscript has type 'char'

2010-08-23 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-08-23 12:43 --- Jay: thanks for again for the report! It would be useful if you could confirm that the patch fixes the warning for you. (It should.) Committed to the trunk, http://gcc.gnu.org/ml/fortran/2010-08/msg00317.html (By

[Bug c++/45383] New: [g++ = 4.5 ] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.

2010-08-23 Thread seysayux at gmail dot com
Consider this code: #include iostream struct null { null() {} templateclass T operator T*() const { return 0; } templateclass C, class T operator T C::*() const { return 0; } private: null(const null); null operator=(const

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2010-08-23 Thread anitha dot boyapati at atmel dot com
--- Comment #7 from anitha dot boyapati at atmel dot com 2010-08-23 13:08 --- Created an attachment (id=21547) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21547action=view) Reduced testcase Reduced testcase to reproduce the bug. --

[Bug c++/45383] [4.5/4.6 Regression] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.

2010-08-23 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2010-08-23 13:17 --- The summary seems backwards: the conversion shouldn't generate operator==, instead using operator== should trigger the conversion, but fails to when the conversion operator is a template. Strangely, adding a

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2010-08-23 Thread anitha dot boyapati at atmel dot com
--- Comment #8 from anitha dot boyapati at atmel dot com 2010-08-23 13:25 --- When -O2 is enabled result is 0xFF (255) which is incorrect. The code generated for the following shift operation: 13: return (left right); +00AB: C004RJMP PC+0x0005

[Bug fortran/42769] [OOP] ICE in resolve_typebound_procedure

2010-08-23 Thread janus at gcc dot gnu dot org
--- Comment #27 from janus at gcc dot gnu dot org 2010-08-23 13:25 --- (In reply to comment #24) Here is a somewhat modified version of comment #14, which compiles but produces wrong code: The example in comment #24 contains a statically-resolved TBP call (the pass object is

[Bug fortran/42769] [OOP] ICE in resolve_typebound_procedure

2010-08-23 Thread janus at gcc dot gnu dot org
--- Comment #28 from janus at gcc dot gnu dot org 2010-08-23 13:32 --- Comment #27 can be fixed by: Index: gcc/fortran/resolve.c === --- gcc/fortran/resolve.c (revision 163468) +++ gcc/fortran/resolve.c

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2010-08-23 Thread wvangulik at xs4all dot nl
--- Comment #9 from wvangulik at xs4all dot nl 2010-08-23 13:36 --- I already generated a simple testcase (although different)in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39635. The comments from Andy in the linked report might be worth reproducing here --

[Bug target/43461] unsigned int var; (var 0xFF) not translated to uxtb insn in Thumb mode

2010-08-23 Thread ramana at gcc dot gnu dot org
.ident GCC: (GNU) 4.6.0 20100823 (experimental) [trunk revision 163469] This was fixed by the fix to PR44999. Hence fixed. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/45072] [4.6 Regression] 23_containers/vector/bool/modifiers/erase/1.cc FAILs with -fprofile-generate

2010-08-23 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-08-23 14:37 --- The testcase no longer crashes in r162940, r163261 and 163468 for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45072

[Bug fortran/45384] New: [OOP] double free with SELECT TYPE

2010-08-23 Thread sfilippone at uniroma2 dot it
=c,c++,fortran Thread model: posix gcc version 4.6.0 20100823 (experimental) (GCC) [sfili...@localhost bug20]$ gfortran -o bug20 bug20.f90 [sfili...@localhost bug20]$ ./bug20 NV = 10 *** glibc detected *** ./bug20: double free or corruption (fasttop): 0x018d8ae0

[Bug fortran/45384] [OOP] double free with SELECT TYPE

2010-08-23 Thread sfilippone at uniroma2 dot it
--- Comment #1 from sfilippone at uniroma2 dot it 2010-08-23 14:44 --- Created an attachment (id=21548) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21548action=view) test-case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45384

[Bug tree-optimization/45072] [4.6 Regression] 23_containers/vector/bool/modifiers/erase/1.cc FAILs with -fprofile-generate

2010-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-08-23 14:55 --- Worksforme then. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/45384] [OOP] double free with SELECT TYPE

2010-08-23 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-08-23 14:58 --- Confirmed. Valgrind gives ==89074== Invalid free() / delete / delete[] ==89074==at 0x10001079F: free (vg_replace_malloc.c:366) ==89074==by 0x10D15: MAIN__ (in ./a.out) ==89074==by 0x10D55: main

[Bug fortran/45384] [OOP] double free with SELECT TYPE

2010-08-23 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2010-08-23 15:36 --- Reduced test case: program bug20 type :: d_base_sparse_mat integer :: v(10) = 0. end type d_base_sparse_mat class(d_base_sparse_mat),allocatable :: a allocate (d_base_sparse_mat :: a) select type(aa

[Bug middle-end/45312] GCC 4.4.4 miscompiles (?) the Linux kernel, makes kernel unusable

2010-08-23 Thread hpa at zytor dot com
--- Comment #8 from hpa at zytor dot com 2010-08-23 16:00 --- Created an attachment (id=21549) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21549action=view) Potential test cases These are the four modules which this change seem to affect, from *my* build... please note that I do

[Bug lto/45343] LTO doesn't work with Boost on MinGW

2010-08-23 Thread gordon dot magnusson at gmail dot com
--- Comment #4 from gordon dot magnusson at gmail dot com 2010-08-23 16:00 --- gcc-4.6-20100821 exhibits the same problem, with the same error messages. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45343

[Bug c++/45385] New: -Wconversion fails to detect a real conversion loss

2010-08-23 Thread mendola at gmail dot com
Hi, compiling the following code with -Wconversion doesn't give a warning while with compiler version 4.3.2 does. As you can verify the posted code has a real conversion loss at runtime giving: expected: 80 obtained: 3705032704

[Bug target/45365] X86 SSE FP add and multiply aren't commutative with 2 NaNs

2010-08-23 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-08-23 16:29 --- ICC people say -- In my opinion, FP multiplication and addition should be considered commutative at both the C and intrinsic level. The only case where the underlying instructions behave in a non-commutative

[Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9

2010-08-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #54 from howarth at nitro dot med dot uc dot edu 2010-08-23 16:32 --- http://llvm.org/svn/llvm-project/lldb/trunk/source/Plugins/Process/Utility/libunwind/src/UnwindLevel1-gcc-ext.c contains the sources for the libunwind in darwin10 (which shows the aborting and

[Bug c++/45383] [4.5/4.6 Regression] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.

2010-08-23 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-08-23 16:35 --- It is caused by revision 155415: http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00559.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/45379] [4.6 Regression] ~10% slowdown on test_fpu at revision 163278

2010-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-08-23 17:04 --- Can't reproduce on x86_64-linux. Please try to pinpoint the codegen difference that causes the slowdown. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/45379] [4.6 Regression] ~10% slowdown on test_fpu at revision 163278

2010-08-23 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-08-23 17:24 --- Can't reproduce on x86_64-linux. My timings were on an Intel Core2Duo 2.53Ghz. Please try to pinpoint the codegen difference that causes the slowdown. I don't know if this what you ask for, but comparing

[Bug middle-end/45379] [4.6 Regression] ~10% slowdown on test_fpu at revision 163278

2010-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-08-23 17:46 --- Can you try Index: gcc/emit-rtl.c === --- gcc/emit-rtl.c (revision 163472) +++ gcc/emit-rtl.c (working copy) @@ -1788,6 +1788,7 @@

[Bug preprocessor/45386] New: [4.6 Regression] valgrind reports out-of-bounds read in search_line_sse2

2010-08-23 Thread zsojka at seznam dot cz
testcase.c int i; Actually, it seems any C file will suffice to reproduce. Valgrind output: $ valgrind -q --trace-children=yes gcc testcase.c -c ==10251== Invalid read of size 8 ==10251==at 0xFEE4F3: search_line_sse2 (lex.c:372) ==10251==by 0xFEE6E9:

[Bug debug/45387] New: mips: non-dynamic relocations refer to dynamc symbol

2010-08-23 Thread aurelien at aurel32 dot net
In some conditions on mips/mipsel, when compiling with -g, ld fails to link the resulting objects (see attached testcase): | gcc -O2 -g -fPIC -shared -o libb.so yb.c | gcc -O2 -g -o ya.o -c ya.c | gcc -O2 -g -o y ya.o -L. -lb | /usr/bin/ld: non-dynamic relocations refer to dynamic symbol

[Bug debug/45387] mips: non-dynamic relocations refer to dynamc symbol

2010-08-23 Thread aurelien at aurel32 dot net
--- Comment #1 from aurelien at aurel32 dot net 2010-08-23 18:15 --- Created an attachment (id=21550) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21550action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45387

[Bug fortran/45380] ICE in gfc_conv_intrinsic_any_all at -O{n0}

2010-08-23 Thread mikael at gcc dot gnu dot org
--- Comment #4 from mikael at gcc dot gnu dot org 2010-08-23 18:42 --- Subject: Bug 45380 Author: mikael Date: Mon Aug 23 18:42:21 2010 New Revision: 163484 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163484 Log: 2010-08-23 Mikael Morin mik...@gcc.gnu.org PR

[Bug tree-optimization/45260] [4.5/4.6 Regression] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541

2010-08-23 Thread changpeng dot fang at amd dot com
--- Comment #6 from changpeng dot fang at amd dot com 2010-08-23 18:59 --- Committed to trunk as Revision: 163475: http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00688.html Committed to 4.5 branch as Revision: 163483 http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00696.html --

[Bug middle-end/45379] [4.6 Regression] ~10% slowdown on test_fpu at revision 163278

2010-08-23 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-08-23 19:01 --- Can you try ... This does not change the timing for test_fpu.f90 and the reduced test in comment #1. AFAICT the problem is within the loop DO j = 1, n c = b(k,j)*d do i = 1, n b(i,j) =

[Bug tree-optimization/45340] __builtin_expect and -Os generates stupid code

2010-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-08-23 19:12 --- jne .L6 jmp .L7 .L8: #APP # 18 t.c 1 #mem # 0 2 #NO_APP .L6: --- CUT --- I added #mem inside the inline-asm which is empty and got the above code. Which means that the inline-asm

[Bug preprocessor/45386] [4.6 Regression] valgrind reports out-of-bounds read in search_line_sse2

2010-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-08-23 20:05 --- I think that's by design (it won't cross page boundary though). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45383] [4.5/4.6 Regression] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.

2010-08-23 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=45383

[Bug c++/45382] internal compiler error: tree code �call_expr� is not supported in gimple streams

2010-08-23 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=45382

[Bug bootstrap/45381] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: error: AltiVec argument passed to unprototyped function

2010-08-23 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=45381

[Bug lto/45368] gcc.c-torture/execute/builtins/memcpy-chk.c -O2 -flto, etc ICEs with -fgraphite-identity

2010-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-08-23 20:12 --- *** This bug has been marked as a duplicate of 44562 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/44562] [4.6 Regression] ICE: in get_alias_set, at alias.c:716 with -flto -fstrict-aliasing -fgraphite-identity

2010-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-08-23 20:12 --- *** Bug 45368 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4

2010-08-23 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.4.4 Summary|libgcc fails to configure: |[4.5

[Bug target/45359] poor -march=native choices for VIA C7 Esther processors

2010-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-08-23 20:17 --- Why do you think it's a poor choice? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/45357] [4.6 regression] Revision 163403 Failed to bootstrap

2010-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-08-23 20:18 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/45355] [4.6 regression] FAIL: gcc.c-torture/compile/pr43164.c

2010-08-23 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=45355

[Bug libgomp/45351] many unaligned accesses in libgomp tests

2010-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-08-23 20:20 --- Can you possibly reduce one testcase? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45351

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-08-23 Thread sje at cup dot hp dot com
--- Comment #75 from sje at cup dot hp dot com 2010-08-23 20:49 --- Paolo, are you looking at this? The hppa64-*-* bootstrap is still broken. -- sje at cup dot hp dot com changed: What|Removed |Added

[Bug middle-end/45388] New: [4.6 Regression] Global constructor not found

2010-08-23 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/abi/c ovariant3.C -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++- v3/include/hppa2.0w-hp-hpux11.11

[Bug middle-end/45388] [4.6 Regression] Global constructor not found

2010-08-23 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2010-08-23 20:58 --- Constructor is no longer global: .PARAM _GLOBAL__I__ZN2c12f6Ev,PRIV_LEV=3 L$FB0035: _GLOBAL__I__ZN2c12f6Ev: As a result, collect2 does not find the constructor. --

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

2010-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-08-23 21:09 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/26461] liveness of thread local references across function calls

2010-08-23 Thread dwood at sybase dot com
--- Comment #8 from dwood at sybase dot com 2010-08-23 21:13 --- I believe this is a bug or a serious oversite in understanding the need for support of USER thread local storage. There are two kinds of software threads; a) kernel threads(AKA LWP's on Solaris) scheduled by the OS; and

[Bug middle-end/26461] liveness of thread local references across function calls

2010-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2010-08-23 21:19 --- I think you should read: http://gcc.gnu.org/onlinedocs/gcc-4.5.0/gcc/C99-Thread_002dLocal-Edits.html#C99-Thread_002dLocal-Edits --- CUT --- In GCC's case the thread is only can be created via pthread. Note C++0x

[Bug c/45389] New: CPU2006 cactusADM: gcc 4.6 15% regression from 4.5

2010-08-23 Thread changpeng dot fang at amd dot com
On a AMD amdfam10 system, gcc 4.5 (892s) is 15% faster than gcc 4.6 (1026s) With the following settings: 4.6: gcc version 4.6.0 20100812 (experimental) (GCC) COPTIMIZE = -Ofast -funroll-all-loops -fno-tree-pre --param prefetch-latency=700 -mveclibabi=acml -m64 -march=amdfam10 FOPTIMIZE

[Bug middle-end/45355] [4.6 regression] FAIL: gcc.c-torture/compile/pr43164.c

2010-08-23 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-08-23 21:25 --- (In reply to comment #2) Created an attachment (id=21536) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21536action=view) [edit] Potential fix Can you try this? It works. Thanks. --

[Bug c/45390] New: CPU2006 434.zeusmp: gcc 4.6 7% regression from gcc 4.6

2010-08-23 Thread changpeng dot fang at amd dot com
On an AMD amdfam10 system, gcc 4.5 (713s) is 7% faster than gcc 4.6 (763s) With the following settings: 4.6: gcc version 4.6.0 20100812 (experimental) (GCC) FOPTIMIZE = -Ofast -funroll-all-loops -fno-tree-pre -mveclibabi=acml -m64 -march=amdfam10 EXTRA_LDFLAGS = -L$(ACML_DIR) -lacml_mv

[Bug debug/45387] [4.4 regression] mips: non-dynamic relocations refer to dynamc symbol

2010-08-23 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45387

[Bug target/45376] no such instruction: `pcmpestri $0,(%rdi),%xmm0'

2010-08-23 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|bootstrap |target Keywords||build

[Bug target/45376] [4.6 Regression] no such instruction: `pcmpestri $0,(%rdi),%xmm0'

2010-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-08-23 21:42 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added URL|

[Bug target/45376] [4.6 Regression] no such instruction: `pcmpestri $0,(%rdi),%xmm0'

2010-08-23 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 c++/45374] template keyword incorrectness// failure to parse valid code.

2010-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-08-23 21:46 --- Looks related to PR 11814. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45374

[Bug c++/45374] template keyword incorrectness// failure to parse valid code.

2010-08-23 Thread dpovey at gmail dot com
--- Comment #2 from dpovey at gmail dot com 2010-08-23 21:51 --- (In reply to comment #1) Yes you are right, but it is more than that bug, because I created an example where gcc wrongly *rejects* code that it should accept, as well as one where it wrongly accepts code that it should

[Bug c++/45374] template keyword incorrectness// failure to parse valid code.

2010-08-23 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2010-08-23 22:01 --- (In reply to comment #2) BTW, Visual Studio (2010) has different behavior -- it accepts both of the statements in main(), even though they require different parse trees. EDG (Comeau) also accepts them both. --

[Bug target/45391] New: CPU2006 482.sphinx3: gcc4.6 5% regression from prefetching of vectorized loop

2010-08-23 Thread changpeng dot fang at amd dot com
With gcc-4.6 -Ofast -funroll-all-loops -fno-tree-pre -mveclibabi=acml -m64 -march=amdfam10 sphnix3 runs 5% slower than with gcc-4.6 -Ofast -funroll-all-loops -fno-prefetch-loop-arrays -fno-tree-pre -mveclibabi=acml -m64 -march=amdfam10 prefetching will not cause any slowdown if the vectorizer is

[Bug target/45391] CPU2006 482.sphinx3: gcc4.6 5% regression from prefetching of vectorized loop

2010-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-08-23 23:43 --- This might be related to PR 45021. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45391

[Bug target/45391] CPU2006 482.sphinx3: gcc4.6 5% regression from prefetching of vectorized loop

2010-08-23 Thread changpeng dot fang at amd dot com
--- Comment #2 from changpeng dot fang at amd dot com 2010-08-24 00:03 --- float f (float *x, float *y, float *z, unsigned n) { float ret = 0.0; unsigned i; for (i = 0; i n; i++) { float diff = x[i] - y[i]; ret -= diff * diff * z[i]; } return ret; } NO,

[Bug target/45391] CPU2006 482.sphinx3: gcc4.6 5% regression from prefetching of vectorized loop

2010-08-23 Thread changpeng dot fang at amd dot com
--- Comment #3 from changpeng dot fang at amd dot com 2010-08-24 00:22 --- I checked with open64 and did not find any regression. And for the above testcase, open64 generated 3 non-temporal prefetches. As a result, I am guessing that we are just unlucky that the prefetch kicks out

[Bug target/45391] CPU2006 482.sphinx3: gcc4.6 5% regression from prefetching of vectorized loop

2010-08-23 Thread changpeng dot fang at amd dot com
--- Comment #4 from changpeng dot fang at amd dot com 2010-08-24 00:46 --- Ooops, the open64 generated code posted in last comment is for non-vectorized loop, the vectorized one is similar: .LBB23_f: .loc1 7 0 movups 0(%r10),%xmm3# [0] id:65

[Bug c/45392] New: ICE floop-* flto

2010-08-23 Thread t66667 at gmail dot com
jcsample.i: In function 'int_downsample': jcsample.i:1437:1: internal compiler error: in get_alias_set, at alias.c:701 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. gcc -r -nostdlib jcsample.i -c -O2

[Bug c/45392] ICE floop-* flto

2010-08-23 Thread t66667 at gmail dot com
--- Comment #1 from t7 at gmail dot com 2010-08-24 01:45 --- Created an attachment (id=21551) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21551action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45392

[Bug c/45392] ICE floop-* flto

2010-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-08-24 02:02 --- *** This bug has been marked as a duplicate of 44562 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/44562] [4.6 Regression] ICE: in get_alias_set, at alias.c:716 with -flto -fstrict-aliasing -fgraphite-identity

2010-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2010-08-24 02:02 --- *** Bug 45392 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/45392] ICE floop-* flto

2010-08-23 Thread t66667 at gmail dot com
--- Comment #3 from t7 at gmail dot com 2010-08-24 02:48 --- Can not re-produce 44562 problem on Windows 7 x64 native gcc-trunk compiler target=x86_64-w64-mingw32 Compiled fine. gcc -O1 -flto -fstrict-aliasing -fgraphite-identity pr44562.c Can't compile on Windows 7 gcc-trunk

[Bug c/45392] ICE floop-* flto

2010-08-23 Thread t66667 at gmail dot com
--- Comment #4 from t7 at gmail dot com 2010-08-24 02:55 --- Both test from pr44562 compiled fine on Windows 7 x64 Native Win64 x86_64-w64-mingw32 Multi-lib 32/64 Bits capable GCC Compiler. gcc -O1 -flto -fstrict-aliasing -fgraphite-identity -c pr44562.c gcc -O3 -g -fwhopr -c

[Bug middle-end/26461] liveness of thread local references across function calls

2010-08-23 Thread dwood at sybase dot com
--- Comment #10 from dwood at sybase dot com 2010-08-24 03:31 --- (In reply to comment #9) I don't disagree with the thread local writeup however it is lacking in clarity. A flow of control must be associated with an execution context. The existance of getcontext/setcontext allows

[Bug tree-optimization/45340] __builtin_expect and -Os generates stupid code

2010-08-23 Thread socketpair at gmail dot com
--- Comment #5 from socketpair at gmail dot com 2010-08-24 03:35 --- There is nothing the compiler can do really. Why ? I compared assembler listings with likely() swapped with unlikely(). As I suggest, it helps to choose between je and jne in each case, and other circumstances are not

[Bug lto/44238] FAIL: gcc.dg/lto/20090914-2 c_lto_20090914-2_0.o assemble, -O0 -fwhopr

2010-08-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2010-08-24 05:07 --- Fixed as r159700. -- howarth at nitro dot med dot uc dot edu changed: What|Removed |Added