[Bug c/36024] Incorrect function name in linking error

2008-04-24 Thread ashutosh dot nema at nechclst dot in
--- Comment #3 from ashutosh dot nema at nechclst dot in 2008-04-24 06:55 --- Hi Richard, I agree because its a linking issue but the suggestion preposed by you is not working -Wl,--no-demangle to avoid demangling symbols. when i use -Wl,--no-demangle with gcc it again raise the same

[Bug target/36015] [4.3/4.4 Regression] -mregparm and fn decls without arguments

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-04-24 07:00 --- Subject: Bug 36015 Author: jakub Date: Thu Apr 24 06:59:55 2008 New Revision: 134621 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134621 Log: PR target/36015 * config/i386/i386.c

[Bug target/36015] [4.3/4.4 Regression] -mregparm and fn decls without arguments

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2008-04-24 07:04 --- Subject: Bug 36015 Author: jakub Date: Thu Apr 24 07:03:38 2008 New Revision: 134622 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134622 Log: PR target/36015 * config/i386/i386.c

[Bug target/36015] [4.3/4.4 Regression] -mregparm and fn decls without arguments

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2008-04-24 07:07 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/35982] [4.4 regression] ICE while building mplayer on ppc with -O3 -ffast-math -mcpu=970

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2008-04-24 07:14 --- Fixed on the 4.3 branch, but not on the trunk yet. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35678] [4.3/4.4 Regression] partial template specialization ICE in dependent_type_p, at cp/pt.c:15539

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-04-24 07:16 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/35982] [4.4 regression] ICE while building mplayer on ppc with -O3 -ffast-math -mcpu=970

2008-04-24 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2008-04-24 07:30 --- (In reply to comment #6) Fixed on the 4.3 branch, but not on the trunk yet. Yes, I'm going to do this during the next couple of hours. Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35982

[Bug c++/13402] Wrong default value for uninitialized pointer-to-member

2008-04-24 Thread s__nakayama at infoseek dot jp
--- Comment #3 from s__nakayama at infoseek dot jp 2008-04-24 08:05 --- (In reply to comment #2) The program has undefined semantics. By 12.1/5, the default constructor of B initializes the pointer as if it was default initialized as if a user specified constructor had an empty

[Bug other/36030] Throwing exceptions in multiple threads leads to spinning in call to _Unwind_Find_FDE

2008-04-24 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-04-24 08:27 --- This is a bug in your glibc. Current glibc has __dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info, size_t size, void *data), void *data) { struct link_map *l;

[Bug fortran/35892] gfortran lost memory blocks

2008-04-24 Thread george at gcc dot gnu dot org
--- Comment #18 from george at gcc dot gnu dot org 2008-04-24 08:29 --- I've investigated the PR code further. The relevant parts of the code are structured like so: module mod integer aa, bb common /oof/ aa,bb contains subroutine sub i = max(0,aa-1) print *, i, aa, bb end

[Bug libstdc++/36032] -fno-exceptions breaks simple if-statement.

2008-04-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-04-24 08:33 --- These defines are supposed to make libstdc++ work with -fno-exceptions, you are not really supposed to use -fno-exceptions with a program that uses exceptions ... of course a diagnostic would be nice here, instead

[Bug ada/32181] Legal program executes incorrectly, RM 3.4(27)

2008-04-24 Thread sam at gcc dot gnu dot org
--- Comment #5 from sam at gcc dot gnu dot org 2008-04-24 08:36 --- Ahn Vo: Pak2.Eq is *the same* as Pak1.Eq, that's the whole point. Thus both consider only T1 aspects of the objects. What you say would be true if the code had been: package Pak1 is type T1 is tagged null

[Bug libstdc++/36032] -fno-exceptions breaks simple if-statement.

2008-04-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-04-24 08:40 --- *** This bug has been marked as a duplicate of 25191 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/25191] exception_defines.h #defines try/catch

2008-04-24 Thread pinskia at gcc dot gnu dot org
--- Comment #40 from pinskia at gcc dot gnu dot org 2008-04-24 08:40 --- *** Bug 36032 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/25191] exception_defines.h #defines try/catch

2008-04-24 Thread pinskia at gcc dot gnu dot org
--- Comment #41 from pinskia at gcc dot gnu dot org 2008-04-24 08:42 --- I'd rather you work around this in objective-c or objective c++. Well guess what, it is more than an objective-c or objective C++ issue as PR 36032 had a good example for why, it can produce wrong code: #include

[Bug target/35982] [4.4 regression] ICE while building mplayer on ppc with -O3 -ffast-math -mcpu=970

2008-04-24 Thread irar at gcc dot gnu dot org
--- Comment #8 from irar at gcc dot gnu dot org 2008-04-24 09:22 --- Subject: Bug 35982 Author: irar Date: Thu Apr 24 09:21:55 2008 New Revision: 134624 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134624 Log: PR tree-optimization/35982 * tree-vect-analyze.c

[Bug fortran/35892] gfortran lost memory blocks

2008-04-24 Thread KnowlesPJ at Cardiff dot ac dot uk
--- Comment #19 from KnowlesPJ at Cardiff dot ac dot uk 2008-04-24 09:34 --- As the originator of this report, I just wanted to add a context comment in case it is helpful. This construction (common declared both in the module and in subroutines (contained or external)) is horrible,

[Bug tree-optimization/36033] New: Non-optimal vectorization of interleaved data of different types

2008-04-24 Thread irar at il dot ibm dot com
With the fix of pr35982, interleaved data of different types (of the same size) can be vectorized only as a collection of single-element strided accesses, causing redundant misaligned loads. Better solution for such cases will be to perform all the vector loads and extraction operations as if the

[Bug target/35982] [4.4 regression] ICE while building mplayer on ppc with -O3 -ffast-math -mcpu=970

2008-04-24 Thread irar at il dot ibm dot com
--- Comment #9 from irar at il dot ibm dot com 2008-04-24 09:40 --- Fixed. I opened pr36033 to get rid off the redundant loads. Ira -- irar at il dot ibm dot com changed: What|Removed |Added

[Bug ada/32181] Legal program executes incorrectly, RM 3.4(27)

2008-04-24 Thread ludovic at ludovic-brenta dot org
--- Comment #6 from ludovic at ludovic-brenta dot org 2008-04-24 09:55 --- (In reply to comment #4) Anh Vo, you are perfectly right up to a point: Pak1.Eq returns True and Pak2.Eq returns False, therefore comparing the two results yields False. Where you are wrong is where you think

[Bug rtl-optimization/36008] [4.3/4.4 Regression] Function produces wrong results when inlined.

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2008-04-24 09:33 --- extern void abort (void); int g[48][3][3]; void __attribute__ ((noinline)) bar (int x[3][3], int y[3][3]) { static int i; if (x != g[i + 8] || y != g[i++]) abort (); } static inline void __attribute__

[Bug rtl-optimization/36006] [4.4 regression] invalid rtl sharing with -O2

2008-04-24 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2008-04-24 10:24 --- (In reply to comment #4) I am set up for running the testsuite on x86_64-pc-mingw32, however it takes several days to complete. Is there a reduced set of tests that I can run? I have set up a crosscompiler to

[Bug tree-optimization/36008] [4.3/4.4 Regression] Function produces wrong results when inlined.

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2008-04-24 09:59 --- This is actually a tree optimization issue. In optimized dump without -DGOOD we have: bar (g[0][0] + 288, g[0][0]); bar (g[0][0] + 324, g[1][0]); bar (g[0][0] + 360, g[2][0]); bar (g[0][0] + 396, g[3][0]);

[Bug tree-optimization/36034] New: [4.3/4.4 Regression] wrong code vectorizing unrolled loop

2008-04-24 Thread rguenth at gcc dot gnu dot org
The following testcase, reduced from gfortran.dg/array_1.f90, aborts if vectorization is enabled. The test() function is miscompiled. double x[5][10] = { { 10, 11, 12, 13, 14, 15, -1, -1, -1, -1 }, { 21, 22, 23, 24, 25, 26, -1, -1, -1, -1 }, { 32, 33, 34,

[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled loop

2008-04-24 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||irar at il dot ibm dot com Known to fail|

[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled loop

2008-04-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-04-24 11:20 --- This blocks adding the early unrolling pass (because then gfortran.dg/array_1.f90 fails at -O3). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled loop

2008-04-24 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-04-24 11:27 --- bb 2: vect_px.14_32 = (vector double *) x; vect_px.9_31 = vect_px.14_32; vect_ptmp.24_42 = (vector double *) tmp; vect_ptmp.19_43 = vect_ptmp.24_42; bb 3: # SMT.20_50 = PHI SMT.20_58(4), SMT.20_51(D)(2)

[Bug tree-optimization/36008] [4.3/4.4 Regression] Function produces wrong results when inlined.

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2008-04-24 11:29 --- Created an attachment (id=15524) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15524action=view) gcc43-pr36008.patch Fix I'm bootstrapping/regtesting ATM. -- jakub at gcc dot gnu dot org changed:

[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled loop

2008-04-24 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-04-24 11:44 --- Testcase with 1d arrays (like produced by fortran): double x[50] = { 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, 21, 22, 23, 24, 25, 26, -1, -1, -1, -1, 32, 33, 34, 35, 36, 37, -1, -1,

[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled inner loop (SLP)

2008-04-24 Thread irar at il dot ibm dot com
--- Comment #4 from irar at il dot ibm dot com 2008-04-24 12:24 --- (In reply to comment #2) the final increment for ivtmp.15_36 is wrong -- it should be 48. Right. We are not supposed to vectorize this at all, since SLP currently doesn't support loads with gaps. Here is a

[Bug testsuite/36035] New: [4.4 Regression]: FAIL: gcc.dg/vect/vect-vfa-slp.c

2008-04-24 Thread hjl dot tools at gmail dot com
On Linux/ia32 and Linux/x86-64, revision 134542 gives FAIL: gcc.dg/vect/vect-vfa-slp.c scan-tree-dump-times vect Vectorizing an unaligned access 2 Revision 134539 is OK. It may be related to revision 134540 http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01607.html -- Summary: [4.4

[Bug testsuite/36035] [4.4 Regression]: FAIL: gcc.dg/vect/vect-vfa-slp.c

2008-04-24 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2008-04-24 12:45 --- Revision 134540 adds a new line which fails on Linux/x86: Index: gcc.dg/vect/vect-vfa-slp.c === --- gcc.dg/vect/vect-vfa-slp.c (revision 134500) +++

[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled inner loop (SLP)

2008-04-24 Thread rguenther at suse dot de
--- Comment #5 from rguenther at suse dot de 2008-04-24 12:55 --- Subject: Re: [4.3/4.4 Regression] wrong code vectorizing unrolled inner loop (SLP) On Thu, 24 Apr 2008, irar at il dot ibm dot com wrote: --- Comment #4 from irar at il dot ibm dot com 2008-04-24 12:24 ---

[Bug rtl-optimization/36006] [4.4 regression] invalid rtl sharing with -O2

2008-04-24 Thread nightstrike at gmail dot com
--- Comment #7 from nightstrike at gmail dot com 2008-04-24 14:21 --- (In reply to comment #6) (In reply to comment #4) I am set up for running the testsuite on x86_64-pc-mingw32, however it takes several days to complete. Is there a reduced set of tests that I can run? I have

[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled inner loop (SLP)

2008-04-24 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-04-24 14:22 --- Subject: Bug 36034 Author: rguenth Date: Thu Apr 24 14:21:45 2008 New Revision: 134628 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134628 Log: 2008-04-24 Ira Rosen [EMAIL PROTECTED] Richard

[Bug middle-end/36036] New: gcc emits warnings/notes from system headers.

2008-04-24 Thread pluto at agmk dot net
attached tarball contains small boost-1.35 based source and preprocessed file. $ make ii /local/devel/toolchain43/x86_64-gnu-linux/bin/x86_64-gnu-linux-g++ -c \ -pthread -Wall -O2 --save-temps \ -isystem ~/dvm/trunk/buildenv/linux/gcc-4.3/64/STLport-5.1.5/include/stlport \ -isystem

[Bug middle-end/36036] gcc emits warnings/notes from system headers.

2008-04-24 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2008-04-24 14:37 --- Created an attachment (id=15525) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15525action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36036

[Bug middle-end/36037] New: [4.4 regression] segfault in gt_ggc_mx_dw_loc_descr_struct

2008-04-24 Thread fxcoudert at gcc dot gnu dot org
Downloading the code at http://www.pci.unizh.ch/vandevondele/tmp/all_cp2k_gfortran.f90.gz, uncompressing it and compiling it with mainline GCC on x86_64-linux at -O2 -g gives: Program received signal SIGSEGV, Segmentation fault. 0x0053f99d in gt_ggc_mx_dw_loc_descr_struct

[Bug libstdc++/35968] nth_element fails to meet its complexity requirements

2008-04-24 Thread roger at eyesopen dot com
--- Comment #5 from roger at eyesopen dot com 2008-04-24 15:01 --- Well, I've now had time to read the Barriato, Hofri et al. 2002 paper, and the bad news is that such an approximate median selection algorithm can't be used to guarantee an O(N) worst-case std::nth_element

[Bug c/28575] misleading __builtin_choose_expr documentation error

2008-04-24 Thread vincent at vinc17 dot org
--- Comment #3 from vincent at vinc17 dot org 2008-04-24 15:04 --- Is there any reason why this hasn't been fixed yet? (The trunk still has the error. And I'm asking this because there's only one word to change.) -- vincent at vinc17 dot org changed: What|Removed

[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled inner loop (SLP)

2008-04-24 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-04-24 15:18 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/36034] [4.3/4.4 Regression] wrong code vectorizing unrolled inner loop (SLP)

2008-04-24 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-04-24 15:19 --- Subject: Bug 36034 Author: rguenth Date: Thu Apr 24 15:18:19 2008 New Revision: 134631 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134631 Log: 2008-04-24 Ira Rosen [EMAIL PROTECTED] Richard

[Bug ada/32181] Legal program executes incorrectly, RM 3.4(27)

2008-04-24 Thread anhvofrcaus at gmail dot com
--- Comment #7 from anhvofrcaus at gmail dot com 2008-04-24 15:37 --- Samuel and Ludovic, You both are right that GNAT has a bug, and the original test code was a good one. In fact, Pak2.Eq(Z1, Z2) would return True if GNAT worked correctly. --

[Bug target/27234] no way to stop gcc from mucking with the incoming argument stack on ia32

2008-04-24 Thread hubicka at gcc dot gnu dot org
--- Comment #19 from hubicka at gcc dot gnu dot org 2008-04-24 16:05 --- I am going to make patch that will with preserve-stack attribute in addition to inhibitting libcall also put REG_EQUIV notes on a copy instead of argument register itself that should be sufficient to prevent

[Bug tree-optimization/36008] [4.3/4.4 Regression] Function produces wrong results when inlined.

2008-04-24 Thread jakub at gcc dot gnu dot org
(try_move_mult_to_index): If s == NULL, divide the original op1, rather than delta by step. * gcc.c-torture/execute/20080424-1.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/20080424-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc

[Bug tree-optimization/36008] [4.3/4.4 Regression] Function produces wrong results when inlined.

2008-04-24 Thread jakub at gcc dot gnu dot org
(try_move_mult_to_index): If s == NULL, divide the original op1, rather than delta by step. * gcc.c-torture/execute/20080424-1.c: New test. Added: branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/20080424-1.c Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches

[Bug c++/35758] [4.3/4.4 Regression] vector_size attribute lost in function arguments for templates

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2008-04-24 16:30 --- Subject: Bug 35758 Author: jakub Date: Thu Apr 24 16:29:40 2008 New Revision: 134639 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134639 Log: PR c++/35758 * c-common.c

[Bug c++/35758] [4.3/4.4 Regression] vector_size attribute lost in function arguments for templates

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2008-04-24 16:32 --- Subject: Bug 35758 Author: jakub Date: Thu Apr 24 16:31:59 2008 New Revision: 134640 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134640 Log: PR c++/35758 * c-common.c

[Bug tree-optimization/36008] [4.3/4.4 Regression] Function produces wrong results when inlined.

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2008-04-24 16:32 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug testsuite/36035] [4.4 Regression]: FAIL: gcc.dg/vect/vect-vfa-slp.c

2008-04-24 Thread sje at gcc dot gnu dot org
--- Comment #2 from sje at gcc dot gnu dot org 2008-04-24 16:37 --- Subject: Bug 36035 Author: sje Date: Thu Apr 24 16:37:05 2008 New Revision: 134641 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134641 Log: PR testsuite/36035 * gcc.dg/vect/vect-vfa-slp.c:

[Bug libstdc++/35954] [4.3/4.4 Regression] cannot build from read-only source tree

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2008-04-24 16:56 --- Fixed on trunk and gcc-4_3-branch -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/35597] libstdc++ -ffunction-sections -fdata-sections disabled on AIX

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #7 from bkoz at gcc dot gnu dot org 2008-04-24 16:58 --- Second ping. David, I'm setting the target milestone to 4.3.1 for this. Can you please check in your patch to gcc-4_3-branch? -- bkoz at gcc dot gnu dot org changed: What|Removed

[Bug libstdc++/35969] GLIBCXX_DEBUG: list::merge triggers bad assert

2008-04-24 Thread paolo at gcc dot gnu dot org
--- Comment #7 from paolo at gcc dot gnu dot org 2008-04-24 17:03 --- Subject: Bug 35969 Author: paolo Date: Thu Apr 24 17:03:13 2008 New Revision: 134642 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134642 Log: 2008-04-24 Paolo Carlini [EMAIL PROTECTED] PR

[Bug libstdc++/35942] Self Reference In Dynamic Linked Library builds for building Cross-Compiler

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #1 from bkoz at gcc dot gnu dot org 2008-04-24 17:04 --- Since there is no 4.3.1 release, only 4.3.0, can I assume you mean 4.3.0 for the Reported Against field? libtool issues should be fixed in libtool if possible, and not hacked around in src/Makefile.am. Editing

[Bug libstdc++/35969] GLIBCXX_DEBUG: list::merge triggers bad assert

2008-04-24 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2008-04-24 17:05 --- Fixed for 4.4.0. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/35029] problem with -prefer-pic in comparing stages 2 and 3

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2008-04-24 17:09 --- Closing as one month without updates, problem report with pre-release compiler. If you can reproduce this with 4.3.0 or current 4_3-branch, please re-open. -- bkoz at gcc dot gnu dot org changed: What

[Bug libstdc++/34015] warning in backward_warning.h is illegible

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #7 from bkoz at gcc dot gnu dot org 2008-04-24 17:27 --- The goal for warnings should be to use an attribute on the specific class or function in question, not on a per-file basis. Unfortunately this does not work at the moment. So, the backwards_warning.h file has been

[Bug driver/35916] problem running GCC under Vista with relocated directory

2008-04-24 Thread bartoldeman at users dot sourceforge dot net
--- Comment #8 from bartoldeman at users dot sourceforge dot net 2008-04-24 17:41 --- I submitted a patch to MinGW to work around the problem (in crt1.o and crt2.o): http://sourceforge.net/tracker/index.phpfunc=detailaid=1951037group_id=2435atid=302435 -- bartoldeman at users dot

[Bug tree-optimization/36038] New: miscompiled loop in perlbmk for -Os

2008-04-24 Thread janis at gcc dot gnu dot org
Test 253.perlbmk from SPEC CPU2000 gets wrong answers with current trunk on powerpc64-unknown-linux-gnu when compiled with -m64 -Os due to wrong code generated for this loop: while (--count) *dst-- = *src--; where dst and src are of type struct sv **. I'll attach a simplified testcase in

[Bug tree-optimization/36038] miscompiled loop in perlbmk for -Os

2008-04-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug tree-optimization/36038] [4.4 Regression] miscompiled loop in perlbmk for -Os

2008-04-24 Thread janis at gcc dot gnu dot org
--- Comment #1 from janis at gcc dot gnu dot org 2008-04-24 17:57 --- Created an attachment (id=15526) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15526action=view) test case This testcase fails with current trunk on powerpc64-linux: elm3b187% /opt/gcc-nightly/trunk/bin/gcc -Os

[Bug libstdc++/35597] libstdc++ -ffunction-sections -fdata-sections disabled on AIX

2008-04-24 Thread dje at gcc dot gnu dot org
--- Comment #8 from dje at gcc dot gnu dot org 2008-04-24 17:59 --- Subject: Bug 35597 Author: dje Date: Thu Apr 24 17:59:01 2008 New Revision: 134644 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134644 Log: PR libstdc++/35597 * toplev.c (process_options):

[Bug libstdc++/35597] libstdc++ -ffunction-sections -fdata-sections disabled on AIX

2008-04-24 Thread dje at gcc dot gnu dot org
--- Comment #9 from dje at gcc dot gnu dot org 2008-04-24 18:06 --- Well, I did not receive your second ping. But I was traveling and had been planning to check it in today. -- dje at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35758] vector_size attribute lost in function arguments for templates

2008-04-24 Thread jakub at gcc dot gnu dot org
--- Comment #19 from jakub at gcc dot gnu dot org 2008-04-24 18:48 --- With the changes checked in, I believe there is no regression anymore, but using vector_size, altivec or spu_vector attributes on template parameters will still do bad and unexpected things. -- jakub at gcc dot

[Bug fortran/35892] gfortran lost memory blocks

2008-04-24 Thread jvdelisle at gcc dot gnu dot org
--- Comment #20 from jvdelisle at gcc dot gnu dot org 2008-04-24 19:05 --- The part that was causing the crash has been reverted. Can you try with current latest trunk version 4.4.0 and see if it really is the silver bullet? and report back here. --

[Bug fortran/35892] gfortran lost memory blocks

2008-04-24 Thread jvdelisle at gcc dot gnu dot org
--- Comment #21 from jvdelisle at gcc dot gnu dot org 2008-04-24 19:10 --- Reply to comment #18. I have not had time to dig further on these memory issues. I think after George has a revamped patch in, I will explore some more on this. We are probably just not freeing some memory

[Bug c++/36012] Wrong initialization in operator new.

2008-04-24 Thread s__nakayama at infoseek dot jp
--- Comment #3 from s__nakayama at infoseek dot jp 2008-04-24 19:39 --- Sorry, my code is undefined. By 12.1/7, member of foo is not initialized. I -- s__nakayama at infoseek dot jp changed: What|Removed |Added

[Bug fortran/35959] Recursive function with allocatable array

2008-04-24 Thread michael dot baudin at gmail dot com
--- Comment #10 from michael dot baudin at gmail dot com 2008-04-24 19:55 --- Subject: Re: Recursive function with allocatable array Thank you for fixing the bug. Michaël On Sun, Apr 20, 2008 at 12:32 AM, pault at gcc dot gnu dot org [EMAIL PROTECTED] wrote: --- Comment #9

[Bug target/34163] 10% performance regression since Nov 1 on Polyhedron's NF on AMD64

2008-04-24 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2008-04-24 19:56 --- Created an attachment (id=15527) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15527action=view) x86_64 asm dump of trisolve procedure (genereated without the patch) All the difference is in trisolve procedure

[Bug libstdc++/35887] stl parallel includes installed for --disable-libgomp

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #2 from bkoz at gcc dot gnu dot org 2008-04-24 21:10 --- Mine. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at

[Bug libstdc++/35942] Self Reference In Dynamic Linked Library builds for building Cross-Compiler

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #2 from bkoz at gcc dot gnu dot org 2008-04-24 21:28 --- instead of AC_LIBTOOL_DLOPEN AM_PROG_LIBTOOL AC_SUBST(enable_shared) AC_SUBST(enable_static) libgomp/acinclude.m4 has sinclude(../libtool.m4) dnl The lines below arrange for aclocal not to bring an installed dnl

[Bug regression/36039] New: -ftree-vectorize aborts on simple integer multiply vectorization

2008-04-24 Thread gnu at the-meissners dot org
The attached source when compiled with -O2 and -ftree-vectorize aborts with a gcc internal compiler error. It aborts in expand_simple_binop which is given VEC_SELECT as the code to expand. Both GCC 4.1 and GCC 4.3 compiles this fine, and expand_simple_binop is not called for the VEC_SELECT case

[Bug regression/36039] -ftree-vectorize aborts on simple integer multiply vectorization

2008-04-24 Thread gnu at the-meissners dot org
--- Comment #1 from gnu at the-meissners dot org 2008-04-24 21:49 --- Created an attachment (id=15528) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15528action=view) This is the test case that fails. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36039

[Bug fortran/35156] [patch] Deprecate -Mdir

2008-04-24 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2008-04-24 22:01 --- Updated patch: http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01871.html -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/36040] New: Using %rsi instead of %esi for a u32 in generated code

2008-04-24 Thread clalance at redhat dot com
I've recently run into a problem with some linux KVM code that may be a bug in gcc-4.3.0. I'm building the KVM modules on Fedora 9 x86_64, with gcc --version reporting: [EMAIL PROTECTED] kvm-userspace]# gcc --version gcc (GCC) 4.3.0 20080416 (Red Hat 4.3.0-7) Copyright (C) 2008 Free Software

[Bug target/36040] Using %rsi instead of %esi for a u32 in generated code

2008-04-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-04-24 22:26 --- Using %rsi some times is ok, as the 32bit instructions zero extend the values into the extended registers. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36039] [4.2 Regression] -ftree-vectorize aborts on simple integer multiply vectorization

2008-04-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|regression |tree-optimization Known to fail|

[Bug libstdc++/35887] stl parallel includes installed for --disable-libgomp

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #3 from bkoz at gcc dot gnu dot org 2008-04-24 23:31 --- Subject: Bug 35887 Author: bkoz Date: Thu Apr 24 23:30:10 2008 New Revision: 134649 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134649 Log: 2008-04-24 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug libstdc++/35887] stl parallel includes installed for --disable-libgomp

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2008-04-24 23:35 --- Fixed on trunk, gcc-4_3-branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35887

[Bug libstdc++/35922] std::unordered_map missing in debug mode

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2008-04-24 23:35 --- Fixed. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug libstdc++/35887] stl parallel includes installed for --disable-libgomp

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #5 from bkoz at gcc dot gnu dot org 2008-04-24 23:36 --- Subject: Bug 35887 Author: bkoz Date: Thu Apr 24 23:35:22 2008 New Revision: 134650 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134650 Log: 2008-04-24 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug libstdc++/35922] std::unordered_map missing in debug mode

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #5 from bkoz at gcc dot gnu dot org 2008-04-24 23:36 --- Ack! Wrong bug. But, I accept and re-open. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/35922] std::unordered_map missing in debug mode

2008-04-24 Thread bkoz at gcc dot gnu dot org
-- bkoz at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bkoz at gcc dot gnu dot org |dot org

[Bug libstdc++/35887] stl parallel includes installed for --disable-libgomp

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2008-04-24 23:37 --- Fixed. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/35968] nth_element fails to meet its complexity requirements

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2008-04-24 23:39 --- Can I re-classify this as an enhancement? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35968

Invite

2008-04-24 Thread Subshark Invite System
Hello, Ezt a levelet azert kapod mert 'MurvaiP' nevu tagunk szeretne meghivni tagjaink koze. O mar minden bizonnyal ismertetett a dolgok mikentjenek a hogyanjarol, de azert elkuldjuk mi is az adatokat. Tehat eloszor is a lenyeg, a tartalomrol: A site pillanatnyi tartalmat a kovetkezo 48

[Bug c/36041] New: Speed up builtin_popcountll

2008-04-24 Thread intvnut at gmail dot com
The current __builtin_popcountll (and likely __builtin_popcount) are fairly slow as compared to a simple, short C version derived from what can be found in Knuth's recent publications. The following short function is about 3x as fast as the __builtin version, which runs counter to the idea that

[Bug c/36041] Speed up builtin_popcountll

2008-04-24 Thread intvnut at gmail dot com
--- Comment #1 from intvnut at gmail dot com 2008-04-25 00:36 --- Created an attachment (id=15529) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15529action=view) Popcount sample implementations These implementations are derived from insights in Henry S. Warren's Hacker's Delight

[Bug middle-end/36041] Speed up builtin_popcountll

2008-04-24 Thread intvnut at gmail dot com
--- Comment #2 from intvnut at gmail dot com 2008-04-25 00:39 --- When run on my Opteron 280 system, the four separate implementations give the following run times: popcount64_1 = 1313 clocks popcount64_2 = 648 clocks popcount64_3 = 374 clocks popcount64_4 = 549 clocks

[Bug libstdc++/29367] pb_ds hash containers vs. _GLIBCXX_DEBUG

2008-04-24 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2008-04-25 01:03 --- Fixed. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/35673] ldist-1.f90 fails on amd64/FC8 with latest trunk

2008-04-24 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-04-25 01:48 --- I think this is fixed. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/36042] New: cast from const void * into void * produces a warning

2008-04-24 Thread nenad at intrepid dot com
I created the following test code: int x; inline myfun (void*m) { x = *(int *)m; } int bar (const void *p) { myfun ((void *)p); } If I compile it as: gcc -c test.c I don't get a warning. However: gcc -O -c test.c produces the following: test.c: In function ‘bar’: test.c:9: warning:

[Bug fortran/35993] [4.3/4.4 regression] wrong answer for PRODUCT with scalar mask

2008-04-24 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-04-25 04:36 --- I am working on this. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/36042] cast from const void * into void * produces a warning

2008-04-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-04-25 05:09 --- Fixed in 4.3.0 already, almost won't be fixed in 4.2.x. *** This bug has been marked as a duplicate of 29478 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/29478] [4.2 Regression] optimization generates warning for casts

2008-04-24 Thread pinskia at gcc dot gnu dot org
--- Comment #31 from pinskia at gcc dot gnu dot org 2008-04-25 05:09 --- *** Bug 36042 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/36030] Throwing exceptions in multiple threads leads to spinning in call to _Unwind_Find_FDE

2008-04-24 Thread an at atrn dot org
--- Comment #5 from an at atrn dot org 2008-04-25 05:27 --- Which glibc version do you use? As per description it's FreeBSD 7's (aka STABLE) libc who's ld.so implementation uses gcc's glibc-specific unwinding. You should probably report this as a bug to your vendor. Done with