[Bug lto/40392] ICE in lto_end_uncompression, at lto-compress.c:282

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2009-09-29 06:29 --- (In reply to comment #6) Problem still happens with 4.5.0 20090928 (experimental) [lto revision 152240] (lto merged with rev 150842). Without the langhooks.c patch -flto is currently unusable/untestable (ICEs on

[Bug tree-optimization/41498] New: ICE with graphite flags

2009-09-29 Thread eres at il dot ibm dot com
When running trunk -r 152114 on powerpc64 with these flags (which enable the Graphite identity transformation) I get the following ICE on most of SPEC2006 benchmarks: (the following is take from 429.mcf) /home/eres/mainline_45/build/bin/gcc -c -o pbeampp.o -DSPEC_CPU -DNDEBUG -DWANT_STDC_PROTO

[Bug c/41497] apparent integer wrong code bug

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-09-29 07:23 --- Fails on x86_64-linux too, the bug first appears in sccp. extern void abort (void); static unsigned short bar (unsigned short x, unsigned short y) { return x + y; } unsigned int a; unsigned char b, c; void foo

[Bug fortran/39626] Fortran 2008: Implement BLOCK construct

2009-09-29 Thread domob at gcc dot gnu dot org
--- Comment #5 from domob at gcc dot gnu dot org 2009-09-29 07:43 --- Subject: Bug 39626 Author: domob Date: Tue Sep 29 07:42:42 2009 New Revision: 152266 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152266 Log: 2009-09-29 Daniel Kraft d...@domob.eu PR fortran/39626

[Bug fortran/39626] Correctly implement details of Fortran 2008 BLOCK construct

2009-09-29 Thread domob at gcc dot gnu dot org
--- Comment #6 from domob at gcc dot gnu dot org 2009-09-29 07:48 --- Committed my patch linked above. This implements basic BLOCK support (what I as a user would reasonably expect it to behave) but misses a lot of finer details; I'll keep the PR open for those. See my mailing list

[Bug fortran/39626] Correctly implement details of Fortran 2008 BLOCK construct

2009-09-29 Thread domob at gcc dot gnu dot org
--- Comment #7 from domob at gcc dot gnu dot org 2009-09-29 07:49 --- Also, Tobias mentioned (in the linked thread): The patch looks good to me. It sometimes makes the diagnostics less useful, e.g. for recursive function func(i) integer :: i, func func = 1 entry func2(i) block

[Bug target/33637] [4.3/4.4/4.5 Regression] checking for nm: test: too many arguments causes Undefined symbol: __gxx_personality_v0

2009-09-29 Thread michael dot haubenwallner at salomon dot at
--- Comment #9 from michael dot haubenwallner at salomon dot at 2009-09-29 08:09 --- (In reply to comment #6) Can you try GCC 4.3.2 and see if that fails for you? Still failing with gcc-4.3.3 and gcc-4.4.1: The stage1 xgcc starts doing ICE once its libgcc_s.a is built, because

[Bug tree-optimization/41498] ICE with graphite flags on trunk

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-29 09:49 --- Can you provide preprocessed source? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-29 09:51 --- Thus, confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41496] [4.5 regression] Many regressions on trunk

2009-09-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41496

[Bug lto/41390] [LTO] ICE in lto_output_tree_pointers, at lto-streamer-out.c:1285

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-29 09:53 --- I'll add a testcase after the merge. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41494] temp and memcpy used when zeroing array

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-29 10:01 --- I wonder why it uses the extra temporary - that shouldn't be necessary. Ah, it's because of else if (ts.type == BT_DERIVED) { gfc_add_block_to_block (block, lse-pre); gfc_add_block_to_block

[Bug fortran/41494] [4.5 Regression] temp and memcpy used when zeroing array

2009-09-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||rguenth at gcc dot gnu dot |

[Bug lto/41173] [LTO] internal error: builtin function to __builtin_spe_mtspefscr already processed

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-29 10:02 --- Let's add a testcase after the merge. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41173

[Bug bootstrap/41491] [4.5 regression] ICE in set_value_range, at tree-vrp.c:386

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-29 10:03 --- Please attach preprocessed source. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/40392] ICE in lto_end_uncompression, at lto-compress.c:282

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-09-29 10:04 --- And s390(x). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40392

[Bug lto/40392] ICE in lto_end_uncompression, at lto-compress.c:282

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-09-29 10:08 --- Diego, can't we simply drop the assemble_align call from lhd_begin_section? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40392

[Bug libstdc++/41448] std::sort on std::vectorfloat with certain values leads to segfault in the vector destructor

2009-09-29 Thread chris at bubblescope dot net
--- Comment #8 from chris at bubblescope dot net 2009-09-29 11:04 --- Just to clarify, it is not a memory leak which is occurring, it is memory corruption. Basically when std::sort is given a type which is not totally ordered as required, it tends to corrupt the memory immediately

[Bug libstdc++/41448] std::sort on std::vectorfloat with certain values leads to segfault in the vector destructor

2009-09-29 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2009-09-29 11:55 --- In C++03 this is not a bug. However, I seem to vaguely remember a recent discussion in the committee (basing on either a paper or a DR) about comparisons of floats, if somebody can find a reference I would

[Bug tree-optimization/41499] New: missed optimization: Scalar evolution analysis prevents vectorization

2009-09-29 Thread eres at il dot ibm dot com
The hot loop in SPEC2000/179.art scanner.c (line 615) does not get vectorized due to data ref analysis failure: (The original loop contains invariant store which I manually extracted out of the loop. Will try to generate a testcase.) Taken from the vectorizer dump: (instantiate_scev

[Bug lto/40754] lto1 dies with SIGBUS/SIGSEGV on Solaris 11/SPARC

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-29 12:09 --- Hm. Even lto_read_file_options causes unaligned accesses in some cases. It looks like the ELF sections in the wpa files are no aligned: Section Headers: [Nr] Name Type Address

[Bug tree-optimization/41499] Scalar evolution analysis prevents vectorization

2009-09-29 Thread eres at il dot ibm dot com
--- Comment #1 from eres at il dot ibm dot com 2009-09-29 12:14 --- I was using trunk -r152153 and run on powerpc64. -- eres at il dot ibm dot com changed: What|Removed |Added

[Bug lto/40392] ICE in lto_end_uncompression, at lto-compress.c:282

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-09-29 12:56 --- Subject: Bug 40392 Author: rguenth Date: Tue Sep 29 12:56:29 2009 New Revision: 152274 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152274 Log: 2009-09-29 Richard Guenther rguent...@suse.de PR

[Bug lto/40754] lto1 dies with SIGBUS/SIGSEGV on Solaris 11/SPARC

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-29 12:56 --- Subject: Bug 40754 Author: rguenth Date: Tue Sep 29 12:56:29 2009 New Revision: 152274 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152274 Log: 2009-09-29 Richard Guenther rguent...@suse.de PR

[Bug lto/41467] ICE in lto_symtab_prevailing_decl, at lto-symtab.c:727 for 483.xalancbmk

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-29 12:56 --- Subject: Bug 41467 Author: rguenth Date: Tue Sep 29 12:56:29 2009 New Revision: 152274 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152274 Log: 2009-09-29 Richard Guenther rguent...@suse.de PR

[Bug testsuite/41444] Typo in gcc/testsuite/gcc.dg/guality/guality.h

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-09-29 12:57 --- Subject: Bug 41444 Author: jakub Date: Tue Sep 29 12:56:46 2009 New Revision: 152275 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152275 Log: PR testsuite/41444 * gcc.dg/guality/guality.h

[Bug lto/40392] ICE in lto_end_uncompression, at lto-compress.c:282

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2009-09-29 12:58 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug testsuite/41444] Typo in gcc/testsuite/gcc.dg/guality/guality.h

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-09-29 12:58 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug lto/40754] lto1 dies with SIGBUS/SIGSEGV on Solaris 11/SPARC

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-09-29 12:58 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41467] ICE in lto_symtab_prevailing_decl, at lto-symtab.c:727 for 483.xalancbmk

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-29 12:58 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/41500] New: [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc

2009-09-29 Thread armin76 at gentoo dot org
Since 4.4 i'm unable to rebuild gcc, check downstream bug: http://bugs.gentoo.org/286251 Steps to reproduce: - extract gcc-4.4.1 tarball -./configure -make LDFLAGS=-Wl,-O1 STAGE1_CFLAGS=-O LIBPATH=/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.1 'BOOT_CFLAGS= -march=armv5te -pipe -O2'

[Bug tree-optimization/41501] New: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02'

2009-09-29 Thread jason dot vas dot dias at gmail dot com
gcc-4.4.2 testsuite failures: FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE FAIL: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE using binutils 2.20.51.20090927 Copying sources to a temporary directory and repeating commands used by testsuite

[Bug ada/41493] [4.5 regression] ACATS c34006g fails on arm-linux and sparc-rtems

2009-09-29 Thread laurent at guerby dot net
--- Comment #1 from laurent at guerby dot net 2009-09-29 13:32 --- This happens also on arm-linux at rev 152122 http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg02662.html .,. C34006G ACATS 2.5 09-09-28 14:27:54^M C34006G CHECK THAT THE REQUIRED PREDEFINED OPERATIONS ARE DECLARED

[Bug ada/41493] [4.5 regression] ACATS c34006g fails on arm-linux and sparc-rtems

2009-09-29 Thread joel at gcc dot gnu dot org
--- Comment #2 from joel at gcc dot gnu dot org 2009-09-29 13:35 --- Add powerpc-rtems4.10 to the list of targets that fail. -- joel at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/41325] ACATS c37105a wrong code on armv5tel

2009-09-29 Thread laurent at guerby dot net
--- Comment #3 from laurent at guerby dot net 2009-09-29 13:38 --- Together with PR41493 these are the only two ACATS fail on arm-linux as of rev 152122: http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg02662.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41325

[Bug middle-end/41502] New: ICE in expand_call_inline

2009-09-29 Thread rguenth at gcc dot gnu dot org
gcc.dg/attr-warn-unused-result.c ICEs in Program received signal SIGSEGV, Segmentation fault. 0x00c790bc in expand_call_inline (bb=0x771a0a10, stmt=0x77198000, id=0x7fffd810) at /space/rguenther/src/svn/lto/gcc/tree-inline.c:3661 3661 gcc_assert

[Bug middle-end/41502] ICE in expand_call_inline

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-29 13:46 --- Reduced testcase, fails at -O1: typedef void (*fnt) (void); extern inline void check3 (void) { bar (); } void test (void) { const fnt pcheck3 = check3; pcheck3 (); } all details important: extern, the call

[Bug tree-optimization/41089] [4.5 Regression] r147980 (New SRA) breaks stdargs

2009-09-29 Thread jamborm at gcc dot gnu dot org
--- Comment #31 from jamborm at gcc dot gnu dot org 2009-09-29 13:49 --- (In reply to comment #12) Thus I believe SRA has nothing to do with these remaining failures. If you want to confirm this independently, compile them with -fno-tree-sra. ...and so I un-assign this bug from

[Bug c++/41503] New: function_parameter_expanded_from_pack_p segfaults when passed a PARM_DECL created by IPA-SRA

2009-09-29 Thread jamborm at gcc dot gnu dot org
function_parameter_expanded_from_pack_p() segfaults when compiling 20_util/reference_wrapper/24803.cc and IPA-SRA turned on. The reason is that it is presented a PARM_DECL that was created by IPA-SRA and which does not have language specific data. The backtrace is: #0 0x004b872f in

[Bug middle-end/41502] ICE in expand_call_inline

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-29 14:04 --- static void ipa_passes (void) { ... /* Remove the bodies of extern inline functions that we never inlined. */ cgraph_remove_unreachable_nodes (false, dump_file); that's bogus and too early. --

[Bug middle-end/41502] ICE in expand_call_inline

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-29 14:20 --- Papered over. ./xgcc -B. -o t.o -shared attr-warn-unused-result.3.i -O -fPIC -flto still ICEs the old way. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41502

[Bug middle-end/41502] ICE in expand_call_inline

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-29 14:21 --- Subject: Bug 41502 Author: rguenth Date: Tue Sep 29 14:20:37 2009 New Revision: 152277 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152277 Log: 2009-09-29 Richard Guenther rguent...@suse.de *

[Bug libfortran/41504] New: Incorrect __gthread_active_p version with weak symbols (pthread_cancel does not bring in pthread_mutex_trylock)

2009-09-29 Thread DumaShkurko at gmail dot com
Hello, Compile the following file with gcc: void s () { pthread_cancel(); /*pthread_mutex_trylock (); */ } and the following file with gfortran: program test print*, Bug end program test Link both files using gfortran -static -pthread. Note that the program dies with SEGV in

[Bug libfortran/41504] Incorrect __gthread_active_p version with weak symbols (pthread_cancel does not bring in pthread_mutex_trylock)

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-29 14:31 --- You need to link libpthread.a with -Wl,--whole-archive In general static linking is not recommended with glibc and threads. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug debug/41438] [4.5 Regression] VTA: libgomp build fails due to inconsistent debug info

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-09-29 14:40 --- My http://gcc.gnu.org/ml/gcc-patches/2009-09/msg02070.html patch fixes this too. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/41501] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02'

2009-09-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-09-29 14:58 --- This was fixed on the trunk, I don't have the changelog entry handy though, but it was done by Jakub IIRC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41501

[Bug libfortran/41504] Incorrect __gthread_active_p version with weak symbols (pthread_cancel does not bring in pthread_mutex_trylock)

2009-09-29 Thread DumaShkurko at gmail dot com
--- Comment #2 from DumaShkurko at gmail dot com 2009-09-29 15:09 --- Is it possible to adjust specs file for -static and/or -pthread? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41504

[Bug fortran/41479] [4.3/4.4/4.5 Regression] intent(out) for types with default initialization

2009-09-29 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41479

[Bug target/41505] New: GCC choosing poor code sequence for certain stores (x86)

2009-09-29 Thread law at redhat dot com
Consider: foo(int *x) { *x = 0; } Compile with -Os -fomit-frame-pointer and you'll get something like this: movl4(%esp), %eax movl$0, (%eax) It would be 2 bytes shorter to instead load the constant 0 via an xor instruction into a scratch register, then store the

[Bug gcov-profile/41506] New: all gcov tests fail because gcov.c's use of '#define __USE_GNU' has no effect

2009-09-29 Thread jason dot vas dot dias at gmail dot com
Every gcov test in the gcov testsuite ( gcc/testsuite/gcc.misc-tests/gcov.exp ) fails because gcov gets a SIGSEGV on its first invocation of 'fgets()' - 'char *fgets_unlocked( char *buf, size_t size, FILE *stream ) ' is NOT declared, because '__USE_GNU' is NOT defined ; __USE_GNU is

[Bug gcov-profile/41506] all gcov tests fail because gcov.c's use of '#define __USE_GNU' has no effect

2009-09-29 Thread jason dot vas dot dias at gmail dot com
--- Comment #1 from jason dot vas dot dias at gmail dot com 2009-09-29 15:59 --- Created an attachment (id=18666) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18666action=view) Patch to fix gcov -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41506

[Bug gcov-profile/41506] all gcov tests fail because gcov.c's use of '#define __USE_GNU' has no effect

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-09-29 16:06 --- It would be helpful to know what you are patching, because neither 4.4 branch nor trunk gcov.c has anything like that, see e.g.

[Bug target/41505] GCC choosing poor code sequence for certain stores (x86)

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-29 16:07 --- difficult -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41505

[Bug target/41327] [4.4 regression] ICE (segmentation fault) with -O3

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-09-29 16:09 --- Can't reproduce with x86_64-linux - s390x-linux cross (-O3 -m31). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41327

[Bug bootstrap/41395] [4.5 regression] Revision 151800 failed bootstrap

2009-09-29 Thread jamborm at gcc dot gnu dot org
--- Comment #37 from jamborm at gcc dot gnu dot org 2009-09-29 16:16 --- (In reply to comment #34) It is tree.o object of stage2 gcc that gets miscompiled when -fipa-sra is added to BOOT_CFLAGS. If tree.o is substituted with the one from the build without BOOT_CFLAGS, gcc is again

[Bug fortran/41507] New: Documentation misleading on MAXLOC/MINLOC array type requirement

2009-09-29 Thread domob at gcc dot gnu dot org
The gfortran manual's documentation about MAXLOC/MINLOC is misleading. It claims that the 'array' argument may be of CHARACTER type, which is true for Fortran 2003. However, the manual claims the intrinsic is Fortran 90/95 without further notice about CHARACTER type being allowed only since

[Bug c++/41503] function_parameter_expanded_from_pack_p segfaults when passed a PARM_DECL created by IPA-SRA

2009-09-29 Thread jamborm at gcc dot gnu dot org
--- Comment #1 from jamborm at gcc dot gnu dot org 2009-09-29 16:42 --- The following patch fixes the problem, I will send it to the mailing list soon: 2009-09-29 Martin Jambor mjam...@suse.cz PR c++/41503 * cp/pt.c (function_parameter_expanded_from_pack_p): Return

[Bug c++/41503] function_parameter_expanded_from_pack_p segfaults when passed a PARM_DECL created by IPA-SRA

2009-09-29 Thread jamborm at gcc dot gnu dot org
--- Comment #2 from jamborm at gcc dot gnu dot org 2009-09-29 16:52 --- (In reply to comment #1) The following patch fixes the problem, I will send it to the mailing list soon: http://gcc.gnu.org/ml/gcc-patches/2009-09/msg02105.html --

[Bug target/41505] GCC choosing poor code sequence for certain stores (x86)

2009-09-29 Thread law at redhat dot com
--- Comment #2 from law at redhat dot com 2009-09-29 17:12 --- I don't understand your comment Richard. Isn't it just something like this? (define_peephole2 [(match_scratch:SI 2 r) (set (match_operand:SI 0 memory_operand ) (match_operand:SI 1 const_0_operand ))] [(set

[Bug debug/41438] [4.5 Regression] VTA: libgomp build fails due to inconsistent debug info

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-09-29 17:34 --- Subject: Bug 41438 Author: jakub Date: Tue Sep 29 17:33:58 2009 New Revision: 152282 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152282 Log: PR debug/41438 * dwarf2out.c

[Bug debug/41438] [4.5 Regression] VTA: libgomp build fails due to inconsistent debug info

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

[Bug debug/41474] [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-09-29 17:40 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug testsuite/41496] [4.5 regression] Many regressions on trunk

2009-09-29 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-09-29 17:36 --- Hi Janis, I think one of your patches causes this. It removed -ansi -pedantic-errors -Wno-long-long in the second run for --target_board 'unix{-m32,}'. -- hjl dot tools at gmail dot com changed: What

[Bug testsuite/41496] [4.5 regression] Many regressions on trunk

2009-09-29 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-09-29 18:02 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2009-09/msg02117.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug libstdc++/41495] libstdc++ --enable-clocale=ieee_1003.1-2001 fails

2009-09-29 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2009-09-29 18:09 --- Testing the trivial fix on Solaris 10/x86 to see how far this gets me. -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/41496] [4.5 regression] Many regressions on trunk

2009-09-29 Thread hjl at gcc dot gnu dot org
--- Comment #3 from hjl at gcc dot gnu dot org 2009-09-29 18:29 --- Subject: Bug 41496 Author: hjl Date: Tue Sep 29 18:29:24 2009 New Revision: 152287 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152287 Log: 2009-09-29 H.J. Lu hongjiu...@intel.com PR testsuite/41496

[Bug bootstrap/41395] [4.5 regression] Revision 151800 failed bootstrap

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #38 from ubizjak at gmail dot com 2009-09-29 18:36 --- (In reply to comment #37) Can you please attach pre-processed source of it so that I can try running it through a cross-compiler? Additionally, -fdump-tree-cddce-slim and -fdump-tree-eipa_sra-details dumps would

[Bug tree-optimization/41501] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE - `-fprofile-use' fails with '-02'

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2009-09-29 18:47 --- (In reply to comment #1) This was fixed on the trunk, I don't have the changelog entry handy though, but it was done by Jakub IIRC. 2009-08-07 Jakub Jelinek ja...@redhat.com * dwarf2out.c (output_fde):

[Bug c++/41508] New: error: no matching function for call to ...

2009-09-29 Thread mwarshofsk at aol dot com
I am currently porting an app from Sun Solaris where we use the Solaris cc compiler (version 5.8). Have a 12 year old legacy app that compiles fine in the current environment :-) While trying to migrate to RedHat Linux and the GNU g++ compiler (version 4.1.2) I am repeatedly running into error:

[Bug tree-optimization/14741] missing transformations lead to poorly optimized code

2009-09-29 Thread jv244 at cam dot ac dot uk
--- Comment #16 from jv244 at cam dot ac dot uk 2009-09-29 18:59 --- since graphite should be able to fix this PR, I tried it without luck: gfortran -ffast-math -O3 -march=native -fgraphite -floop-interchange -floop-block test.f90 test.f90: In function ‘MAIN__’: test.f90:1:0: sorry,

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-09-29 19:15 --- Can you show the line where the call to EJPeriod::EJPeriod is done? It might be because String that you are passing is a rvalue which cannot be bound to String as that would mean it needs to be bound to a lvalue.

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread mwarshofsk at aol dot com
--- Comment #2 from mwarshofsk at aol dot com 2009-09-29 19:24 --- This is the method where I am receiving the compiler error: enum err_stat EJPeriod::rollup( ListEmplJob src, ListEJPeriod dst, Date startDt, Date endDt ) { // then theres a bunch of code

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-09-29 19:25 --- What type does get_job_title_mgmt_ind return? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41508

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread mwarshofsk at aol dot com
--- Comment #4 from mwarshofsk at aol dot com 2009-09-29 19:32 --- Here's the definition for that call ... I think you're on to something String get_job_title_mgmt_ind() const { return _jobTitleMgmtInd; }; When I change the constructor to non reference paramters it seems to compile

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-09-29 19:41 --- Yes GCC is correct as in C++ rvalues don't bind to references as only lvalues bind to references. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/39708] add a debug_privnames section

2009-09-29 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2009-09-29 20:03 --- This is obsoleted by the newer idea in PR 41130. *** This bug has been marked as a duplicate of 41130 *** -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/41130] GCC should emit an index of publicly named entities

2009-09-29 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2009-09-29 20:03 --- *** Bug 39708 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41130

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-09-29 20:08 --- If the ctor isn't going to change it, you could as well change the argument type to const String instead. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41508

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread mwarshofsk at aol dot com
--- Comment #7 from mwarshofsk at aol dot com 2009-09-29 20:34 --- Comment 6 is perfect! That makes total sense. Thanks so much! Actually, I bet the Solaris compiler is implicitly treating this same code as a const String behind the scenes. We'll just explicitly make that promise/fix

[Bug tree-optimization/19778] Unnecessary jumps for comparisons

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-09-29 20:45 --- This is not alpha specific, but generic tree issue. The _.optimized dump: bb 2: if (x_2(D) == 0) goto bb 4; else goto bb 3; bb 3: D.2022_3 = x_2(D) + -1; D.2023_4 = D.2022_3 x_2(D); D.2016_9 =

[Bug tree-optimization/19778] Unnecessary jumps for comparisons

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2009-09-29 20:53 --- In fact, this implements short-cut of boolean OR. Function returns early for x == 0 and should not execute right part of OR expression in this case. Something like: if (x == 0 || (x (x - 1)) == 0) return 1; else

[Bug bootstrap/41395] [4.5 regression] Revision 151800 failed bootstrap

2009-09-29 Thread rth at gcc dot gnu dot org
--- Comment #39 from rth at gcc dot gnu dot org 2009-09-29 20:54 --- (In reply to comment #35) static tree build_function_type_list_1 (bool vaargs, tree return_type, va_list argp) Passing va_list by value is non-portable. One fix here is to pass argp by reference. Dunno if that

[Bug tree-optimization/19778] Unnecessary jumps for comparisons

2009-09-29 Thread falk at debian dot org
--- Comment #5 from falk at debian dot org 2009-09-29 21:02 --- Of course the optimization would be wrong if the second clause had side effects, but it doesn't and this will frequently be the case. So this is definitely a valid and in my opinion worthwhile optimization. --

[Bug target/41505] GCC choosing poor code sequence for certain stores (x86)

2009-09-29 Thread rth at gcc dot gnu dot org
--- Comment #3 from rth at gcc dot gnu dot org 2009-09-29 21:18 --- There are already peepholes for this, though the condition appears to be slightly wrong for -Os. See i386.md:21121 : (define_peephole2 [(match_scratch:SI 1 r) (set (match_operand:SI 0 memory_operand )

[Bug rtl-optimization/22031] Poor code from unrolled simple loop

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-09-29 21:18 --- Not alpha specific, happens on current mainline, where on x86_64 we produce the code as shown in comment #5. I think that Richi will be interested in the fact that the usage of __restrict does not change generated code

[Bug libmudflap/28077] [4.3 regression] pass39-frag.c produces mudflap violation on alpha

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2009-09-29 21:41 --- (In reply to comment #6) Can someone check if this still fails on latest 4.3 branch? It doesn't. See [1]. [1] http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg01497.html -- ubizjak at gmail dot com changed:

[Bug target/41279] [4.5 Regression] 252.eon performance regression

2009-09-29 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-09-29 21:42 --- I've looked at what code generation changes the jump from r151310 to r151312 (aka VTA merge) and on eon.cc at -O3 -funroll-loops -fpeel-loops on ia64-linux the difference is that r151310 unroll something that r151312

[Bug testsuite/29737] make check fixinclude test FAILURES

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-09-29 21:52 --- This is fixed in 4.3+: All fixinclude tests pass make[2]: Leaving directory `/space/uros/gcc-build-43/fixincludes' -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug bootstrap/29889] jc1 segfaults while bootstrap

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2009-09-29 21:55 --- (In reply to comment #1) Also the date here is from before the big gcj-eclipse merge. So, maybe things are different now. Sure, they are fixed [1]. [1]: http://gcc.gnu.org/ml/gcc-testresults/2009-08/msg01386.html

[Bug target/41505] GCC choosing poor code sequence for certain stores (x86)

2009-09-29 Thread law at redhat dot com
--- Comment #4 from law at redhat dot com 2009-09-29 21:55 --- Subject: Re: GCC choosing poor code sequence for certain stores (x86) On 09/29/09 15:18, rth at gcc dot gnu dot org wrote: --- Comment #3 from rth at gcc dot gnu dot org 2009-09-29 21:18 --- There are already

[Bug c++/29918] FAIL: 23_containers/vector/cons/4.cc

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-09-29 21:58 --- (In reply to comment #0) libstdc++ test 23_containers/vector/cons/4.cc fails: No more [1]. [1] http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg00242.html -- ubizjak at gmail dot com changed: What

[Bug target/32866] gcc-4.2.1 ICE in stage2 during make bootstrap

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-09-29 22:02 --- Please try with newer gcc, 4.2.x is not supported anymore. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug testsuite/33263] [4.3/4.4/4.5 regression] libjava testsuite failures on alpha-linux

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2009-09-29 22:06 --- Libjava has zero failures with gcc 4.3.5, 4.4.2 and 4.5.0 for me on latest Gentoo. Please reopen if it still fails for you. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/38581] Tru64 outputs non-virtual thunks as non-weak symbols

2009-09-29 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-09-29 22:12 --- 4.2.4 is not supported anymore. Please try with newer gcc. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/41365] [4.5 Regression] gcc.dg/vect/vect-cond-[123].c abort due to bad code generation at -O1 and above

2009-09-29 Thread sje at gcc dot gnu dot org
--- Comment #3 from sje at gcc dot gnu dot org 2009-09-29 22:21 --- Subject: Bug 41365 Author: sje Date: Tue Sep 29 22:21:27 2009 New Revision: 152306 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152306 Log: 2009-09-29 Steve Ellcey s...@cup.hp.com Alexander

[Bug target/41365] [4.5 Regression] gcc.dg/vect/vect-cond-[123].c abort due to bad code generation at -O1 and above

2009-09-29 Thread sje at cup dot hp dot com
--- Comment #4 from sje at cup dot hp dot com 2009-09-29 22:36 --- Fixed. -- sje at cup dot hp dot com changed: What|Removed |Added Status|ASSIGNED

[Bug target/41327] [4.4 regression] ICE (segmentation fault) with -O3

2009-09-29 Thread debian-gcc at lists dot debian dot org
--- Comment #3 from debian-gcc at lists dot debian dot org 2009-09-29 22:44 --- confirmed: https://buildd.debian.org/fetch.cgi?pkg=gcc-snapshotver=20090923-1arch=alphastamp=1253933048file=log https://buildd.debian.org/fetch.cgi?pkg=gcj-4.4ver=4.4.1-4arch=alphastamp=1252769258file=log

[Bug testsuite/33263] [4.3/4.4/4.5 regression] libjava testsuite failures on alpha-linux

2009-09-29 Thread debian-gcc at lists dot debian dot org
--- Comment #11 from debian-gcc at lists dot debian dot org 2009-09-29 22:45 --- confirmed: https://buildd.debian.org/fetch.cgi?pkg=gcc-snapshotver=20090923-1arch=alphastamp=1253933048file=log https://buildd.debian.org/fetch.cgi?pkg=gcj-4.4ver=4.4.1-4arch=alphastamp=1252769258file=log

[Bug target/41327] [4.4 regression] ICE (segmentation fault) with -O3

2009-09-29 Thread debian-gcc at lists dot debian dot org
--- Comment #4 from debian-gcc at lists dot debian dot org 2009-09-29 22:47 --- sorry, the last comment should have gone to PR33263, I'll need to find the time to recheck this issue. Matthias -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41327

[Bug target/41327] [4.4 regression] ICE (segmentation fault) with -O3

2009-09-29 Thread debian-gcc at lists dot debian dot org
--- Comment #5 from debian-gcc at lists dot debian dot org 2009-09-29 22:48 --- fixed -- debian-gcc at lists dot debian dot org changed: What|Removed |Added

  1   2   >