[Bug target/27629] SIGSEGV in printstack()

2006-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2006-05-17 06:31 --- I cannot reproduce on the SPARC/Solaris 9 machine I use. Please provide as many details as you can on the OS, the linker, the assembler, GCC, GDB and so on. -- ebotcazou at gcc dot gnu dot org changed:

[Bug tree-optimization/27638] New: Strange initialization of uninitialized structure part

2006-05-17 Thread uros at kss-loka dot si
This testcase generates some kind of initalization of uninitialized part of the structure: --cut here-- struct ret_struct { int long_buf[10]; }; struct ret_struct strc_test (int i) { struct ret_struct ret; ret.long_buf[0] = i; ret.long_buf[1] = 0x2; ret.long_buf[2] = 0x3;

[Bug tree-optimization/27549] [4.1 Regression] ICE in coalesce_abnormal_edges

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2006-05-17 08:24 --- Subject: Bug 27549 Author: jakub Date: Wed May 17 08:23:55 2006 New Revision: 113843 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113843 Log: PR tree-optimization/27549 Backported from

[Bug tree-optimization/27283] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2006-05-17 08:24 --- Subject: Bug 27283 Author: jakub Date: Wed May 17 08:23:55 2006 New Revision: 113843 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113843 Log: PR tree-optimization/27549 Backported from

[Bug tree-optimization/27548] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2006-05-17 08:28 --- Subject: Bug 27548 Author: jakub Date: Wed May 17 08:27:57 2006 New Revision: 113844 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113844 Log: 2006-05-17 Zdenek Dvorak [EMAIL PROTECTED] PR

[Bug tree-optimization/27549] [4.1 Regression] ICE in coalesce_abnormal_edges

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2006-05-17 08:32 --- Subject: Bug 27549 Author: jakub Date: Wed May 17 08:31:51 2006 New Revision: 113845 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113845 Log: PR tree-optimization/27549 *

[Bug tree-optimization/27638] Strange initialization of uninitialized structure part

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-05-17 08:35 --- SRA decomposes structure assignment retval = ret strc_test (i) { struct ret_struct ret; bb 2: ret.long_buf[0] = i_1; ret.long_buf[1] = 2; ret.long_buf[2] = 3; ret.long_buf[3] = 4; ret.long_buf[4] = 5;

[Bug middle-end/27415] Iteration var in firstprivate or reduction clauses not reported

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2006-05-17 08:35 --- Subject: Bug 27415 Author: jakub Date: Wed May 17 08:35:01 2006 New Revision: 113846 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113846 Log: PR middle-end/27415 * tree.h

[Bug c++/27491] [4.1/4.2 regression] ICE on variable initialization

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2006-05-17 08:43 --- Subject: Bug 27491 Author: jakub Date: Wed May 17 08:42:47 2006 New Revision: 113847 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113847 Log: PR c++/27491 * semantics.c

[Bug c++/27491] [4.1/4.2 regression] ICE on variable initialization

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2006-05-17 08:44 --- Subject: Bug 27491 Author: jakub Date: Wed May 17 08:44:36 2006 New Revision: 113848 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113848 Log: PR c++/27491 * semantics.c

[Bug c++/27491] [4.1/4.2 regression] ICE on variable initialization

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2006-05-17 08:45 --- Fixed in SVN. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/27549] [4.1 Regression] ICE in coalesce_abnormal_edges

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2006-05-17 08:46 --- Fixed in SVN. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug rtl-optimization/18081] [3.4 regression] Infinite memory allocation on -O3

2006-05-17 Thread jserv at kaffe dot org
--- Comment #19 from jserv at kaffe dot org 2006-05-17 08:48 --- I encountered the same problem with gcc-3.4.6 for ARM targets. Even I applied 18081.patch, the situation of infinite memory allocation still exists. Since gcc-3.4 is closed, I wonder if there is a fix against gcc-3.4.6.

[Bug middle-end/27415] Iteration var in firstprivate or reduction clauses not reported

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2006-05-17 08:53 --- Fixed in SVN. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27627] __builtin_nanf() doesn't return a _quiet_ nan on parisc

2006-05-17 Thread soete dot joel at tiscali dot be
--- Comment #5 from soete dot joel at tiscali dot be 2006-05-17 08:56 --- Created an attachment (id=11481) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11481action=view) just another similar test case regarding double equivalent pb compile with -O2 the Nan3.s is: .LEVEL 1.1

[Bug middle-end/27620] [4.1/4.2 Regression] g++.dg/init/array15.C uses 4MB stack space

2006-05-17 Thread bernds at gcc dot gnu dot org
--- Comment #3 from bernds at gcc dot gnu dot org 2006-05-17 09:42 --- Subject: Bug 27620 Author: bernds Date: Wed May 17 09:42:23 2006 New Revision: 113850 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113850 Log: PR middle-end/27620 * expr.c (safe_from_p):

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2006-05-17 Thread dave dot korn at artimi dot com
--- Comment #15 from dave dot korn at artimi dot com 2006-05-17 10:03 --- I'm new maintainer for Cygwin gcc. I'll be rolling a release with the patch Paolo proposed rather than using the configure option, although if binary compatibility problems do crop up I'll look at the second

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2006-05-17 Thread pcarlini at suse dot de
--- Comment #16 from pcarlini at suse dot de 2006-05-17 10:09 --- Ok. Hopefully, before the end of this week I can tell you something trustworthy about binary compatibility. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196

[Bug tree-optimization/27548] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge

2006-05-17 Thread rakdver at gcc dot gnu dot org
--- Comment #8 from rakdver at gcc dot gnu dot org 2006-05-17 11:33 --- Subject: Bug 27548 Author: rakdver Date: Wed May 17 11:33:00 2006 New Revision: 113853 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113853 Log: PR tree-optimization/27548 *

[Bug tree-optimization/27639] New: [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread jakub at gcc dot gnu dot org
// { dg-do run } // { dg-options -O2 } char heap[5]; int main () { for (unsigned ix = sizeof (heap); ix--;) heap[ix] = ix; return 0; } (distilled from http://gcc.gnu.org/viewcvs?root=gccview=revrev=113851 PR middle-end/27620 testcase) is miscompiled on {x86_64,i?86}-linux at -O2.

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-05-17 11:58 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug fortran/27553] [4.1 only] Testsuite ICE with -Wunused-labels

2006-05-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-05-17 12:04 --- Subject: Bug 27553 Author: fxcoudert Date: Wed May 17 12:04:17 2006 New Revision: 113854 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113854 Log: PR fortran/27553 * parse.c (next_free):

[Bug fortran/27320] ICE with -fdump-parse-tree after error

2006-05-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-05-17 12:06 --- Subject: Bug 27320 Author: fxcoudert Date: Wed May 17 12:06:42 2006 New Revision: 113855 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113855 Log: PR fortran/27320 * dump-parse-tree.c

[Bug fortran/27553] [4.1 only] Testsuite ICE with -Wunused-labels

2006-05-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2006-05-17 12:07 --- Fixed on 4.1 and mainline. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/27373] [4.2 Regression] ICE: add_virtual_operand with pointers to arrays

2006-05-17 Thread dberlin at gcc dot gnu dot org
--- Comment #9 from dberlin at gcc dot gnu dot org 2006-05-17 12:07 --- Fixed -- dberlin at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-05-17 12:17 --- scev_probably_wraps_p returns false because we recorded a max of 49 iteration from (gdb) call debug_generic_expr ( loop-bounds-next-at_stmt) D.1993_10 = (charD.3) ixD.1987_7 using infer_loop_bounds_from_undefined

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-05-17 12:24 --- Not infering loop bounds from type conversions fixes it. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27640] New: segfault, related to constructor instantiation

2006-05-17 Thread tbm at cyrius dot com
I get the following segfault with gcc 4.2.0 20060419. 4.0/4.1 work. 14640:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c mini.c mini.c: In constructor 'refcountedT, scalar::refcounted(const A1) [with A1 = refnfsserv, T = nfsserv_ac]': mini.c:88: instantiated from 'void

[Bug c++/27640] segfault, related to constructor instantiation

2006-05-17 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-05-17 12:32 --- Created an attachment (id=11483) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11483action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27640

[Bug c++/27210] [4.2 Regression] ICE on c++ template

2006-05-17 Thread tbm at cyrius dot com
--- Comment #8 from tbm at cyrius dot com 2006-05-17 12:47 --- (In reply to comment #7) A regression hunt identified this patch: http://gcc.gnu.org/viewcvs?view=revrev=112869 r112869 | mmitchel | 2006-04-11 22:59:57 + (Tue, 11 Apr 2006) Mark, can you comment? --

[Bug tree-optimization/27332] [4.2 Regression] ICE in try_interchange_loops with -ftree-loop-linear

2006-05-17 Thread spop at gcc dot gnu dot org
--- Comment #4 from spop at gcc dot gnu dot org 2006-05-17 12:47 --- Subject: Bug 27332 Author: spop Date: Wed May 17 12:47:43 2006 New Revision: 113856 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113856 Log: PR middle-end/27332 * tree-loop-linear.c

[Bug tree-optimization/27085] [4.2 regression] ICE in add_virtual_operand

2006-05-17 Thread tbm at cyrius dot com
--- Comment #5 from tbm at cyrius dot com 2006-05-17 12:49 --- (In reply to comment #4) Actually the orginal testcase here was not fixed by the patch which is going to fix PR 26626 either. So reopening. Daniel, since you fixed 26626, do you think you could take a look at this one

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rakdver at gcc dot gnu dot org
--- Comment #4 from rakdver at gcc dot gnu dot org 2006-05-17 13:02 --- (In reply to comment #2) scev_probably_wraps_p returns false because we recorded a max of 49 iteration from (gdb) call debug_generic_expr ( loop-bounds-next-at_stmt) D.1993_10 = (charD.3) ixD.1987_7 using

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-05-17 13:05 --- It's (set_scalar_evolution (scalar = D.1993_10) (scalar_evolution = {79, +, -1}_1)) ) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27639

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2006-05-17 13:05 --- And we infer Found new range for D.1993_10: [-INF, 79] from it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27639

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread aoliva at gcc dot gnu dot org
--- Comment #7 from aoliva at gcc dot gnu dot org 2006-05-17 13:08 --- I suspect http://gcc.gnu.org/viewcvs?root=gccview=revrev=113298 fixes it, testing now... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27639

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rakdver at gcc dot gnu dot org
--- Comment #8 from rakdver at gcc dot gnu dot org 2006-05-17 13:11 --- It's (set_scalar_evolution (scalar = D.1993_10) (scalar_evolution = {79, +, -1}_1)) ) Then it is a bug in chrec_convert (might also be related to PR 27619). --

[Bug c++/27641] New: libpthread.a core dump with STL

2006-05-17 Thread philippe dot thibault at umontreal dot ca
The following code segfaults if compiled statically using libpthread.a from Fedora Core 4 (2.6.16-1.2107_FC4) with gcc-4.0.2, but will run ok if dynamically linked to libpthread.so.0. Here the code: #include list #include pthread.h void* tf (void* tp) { pthread_exit (0); } int main () {

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rakdver at gcc dot gnu dot org
--- Comment #9 from rakdver at gcc dot gnu dot org 2006-05-17 13:12 --- (In reply to comment #8) It's (set_scalar_evolution (scalar = D.1993_10) (scalar_evolution = {79, +, -1}_1)) ) Then it is a bug in chrec_convert (might also be related to PR 27619). sorry, I

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread aoliva at gcc dot gnu dot org
--- Comment #10 from aoliva at gcc dot gnu dot org 2006-05-17 13:18 --- Yep, confirmed, that fixes it. Richard, will you propose your patch for 4.1 as well, or should I? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27639

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenther at suse dot de
--- Comment #11 from rguenther at suse dot de 2006-05-17 13:22 --- Subject: Re: [4.1/4.2 regression] VRP miscompilation of simple loop On Wed, 17 May 2006, aoliva at gcc dot gnu dot org wrote: --- Comment #10 from aoliva at gcc dot gnu dot org 2006-05-17 13:18 ---

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2006-05-17 13:24 --- Ok, the patch fixes this PR, but not PR26719. Index: tree-chrec.c === --- tree-chrec.c(revision 113852) +++ tree-chrec.c(working

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2006-05-17 13:33 --- I cannot reproduce this bug on the 4.1 branch at all. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27639

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rakdver at gcc dot gnu dot org
--- Comment #14 from rakdver at gcc dot gnu dot org 2006-05-17 13:40 --- (In reply to comment #12) Ok, the patch fixes this PR, but not PR26719. Index: tree-chrec.c === --- tree-chrec.c(revision 113852) +++

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread aoliva at gcc dot gnu dot org
--- Comment #15 from aoliva at gcc dot gnu dot org 2006-05-17 13:41 --- That's odd. I can't reproduce the bug in mainline, but I could in the 4.1 branch, until I applied your patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27639

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2006-05-17 13:47 --- (bugzilla doesn't like my mail-replies it seems) Currently we have a type-mismatch type vs. ct, where ct is the canonical type for step/base. I guess this was a typo. --

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rakdver at gcc dot gnu dot org
--- Comment #17 from rakdver at gcc dot gnu dot org 2006-05-17 13:54 --- (In reply to comment #16) (bugzilla doesn't like my mail-replies it seems) Currently we have a type-mismatch type vs. ct, where ct is the canonical type for step/base. I guess this was a typo. Umm.. right,

[Bug bootstrap/22541] Building into empty PREFIX causes broken limits.h to be installed

2006-05-17 Thread bernds at gcc dot gnu dot org
--- Comment #3 from bernds at gcc dot gnu dot org 2006-05-17 13:54 --- Subject: Bug 22541 Author: bernds Date: Wed May 17 13:54:38 2006 New Revision: 113859 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113859 Log: PR bootstrap/22541 From Dan Kegel [EMAIL

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2006-05-17 14:03 --- Hmm, I see. But scev_probably_wraps_p is messed up for non-matching types, and fixing it the other way around doesn't work. At least I think we should also bail out if the original chrec wraps. Think of (int)

[Bug fortran/26551] gfortran compiles recursive subroutines declared without the RECURSIVE attribute

2006-05-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-05-17 14:11 --- Subject: Bug 26551 Author: fxcoudert Date: Wed May 17 14:11:40 2006 New Revision: 113860 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113860 Log: PR fortran/26551 * resolve.c

[Bug fortran/26551] gfortran compiles recursive subroutines declared without the RECURSIVE attribute

2006-05-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2006-05-17 14:15 --- Subject: Bug 26551 Author: fxcoudert Date: Wed May 17 14:14:56 2006 New Revision: 113861 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113861 Log: Testcase forgotten in the previous commit.

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2006-05-17 14:21 --- if we are checking in scev_probably_wraps_p if the chrec does wrap in the target type we should _not_ use signed-types-don't-wrap as we do now: /* After having set INIT_IS_MAX, we can return false: when not

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #20 from rguenth at gcc dot gnu dot org 2006-05-17 14:24 --- Still, this all looks like a mess at the moment. Sebastian, can you please have a look? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/26435] [4.1/4.2 regression] ICE with -O1 -ftree-loop-linear and higher optimization

2006-05-17 Thread spop at gcc dot gnu dot org
--- Comment #6 from spop at gcc dot gnu dot org 2006-05-17 14:26 --- Subject: Bug 26435 Author: spop Date: Wed May 17 14:25:59 2006 New Revision: 113862 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113862 Log: PR middle-end/20256 PR middle-end/26435 *

[Bug tree-optimization/20256] Perfect nest transformation not conservative enough

2006-05-17 Thread spop at gcc dot gnu dot org
--- Comment #11 from spop at gcc dot gnu dot org 2006-05-17 14:26 --- Subject: Bug 20256 Author: spop Date: Wed May 17 14:25:59 2006 New Revision: 113862 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113862 Log: PR middle-end/20256 PR middle-end/26435 *

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenther at suse dot de
--- Comment #21 from rguenther at suse dot de 2006-05-17 15:06 --- Subject: Re: [4.1/4.2 regression] VRP miscompilation of simple loop On Wed, 17 May 2006, rakdver at gcc dot gnu dot org wrote: --- Comment #14 from rakdver at gcc dot gnu dot org 2006-05-17 13:40 ---

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenther at suse dot de
--- Comment #22 from rguenther at suse dot de 2006-05-17 15:06 --- Subject: Re: [4.1/4.2 regression] VRP miscompilation of simple loop On Wed, 17 May 2006, rakdver at gcc dot gnu dot org wrote: --- Comment #8 from rakdver at gcc dot gnu dot org 2006-05-17 13:11 ---

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #23 from rguenth at gcc dot gnu dot org 2006-05-17 15:07 --- The patch in comment #12 bootstrapped and regtested ok on x86_64-unknown-linux-gnu, which just hints at very poor testsuite coverage of all this stuff. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27639

[Bug libgcj/27352] SecurityManager.checkPermission() called unnecessarily

2006-05-17 Thread bryce at gcc dot gnu dot org
--- Comment #7 from bryce at gcc dot gnu dot org 2006-05-17 15:10 --- Subject: Bug 27352 Author: bryce Date: Wed May 17 15:09:57 2006 New Revision: 113863 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113863 Log: PR libgcj/27352 * java/lang/Class.java

[Bug target/27629] SIGSEGV in printstack()

2006-05-17 Thread sebor at roguewave dot com
--- Comment #4 from sebor at roguewave dot com 2006-05-17 15:12 --- Here's the verbose output from the compiler driver: $ gcc -v t.c Using built-in specs. Target: sparc-sun-solaris2.9 Configured with: /build/sebor/gcc-4.1.0/configure --enable-languages=c,c++

[Bug libgcj/27352] SecurityManager.checkPermission() called unnecessarily

2006-05-17 Thread mckinlay at redhat dot com
--- Comment #8 from mckinlay at redhat dot com 2006-05-17 15:18 --- Fixed -- mckinlay at redhat dot com changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/27548] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge

2006-05-17 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2006-05-17 15:29 --- Subject: Bug 27548 Author: jakub Date: Wed May 17 15:29:18 2006 New Revision: 113864 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113864 Log: PR tree-optimization/27548 *

[Bug fortran/27642] New: gfortran - fails to build MacOSX - 10.4.6

2006-05-17 Thread dir at lanl dot gov
I updated the source tree this morning and the gfortran build now fails - rm -rf libbackend.a ar rc libbackend.a double-int.o tree-chrec.o tree-scalar-evolution.o tree-data-ref.o tree-cfg.o tree-dfa.o tree-eh.o tree-ssa.o tree-optimize.o tree-gimple.o gimplify.o tree-pretty-print.o

[Bug target/26885] [4.1/4.2 regression] -m64 -m32 no longer creates 32-bit object

2006-05-17 Thread mmitchel at gcc dot gnu dot org
--- Comment #18 from mmitchel at gcc dot gnu dot org 2006-05-17 15:36 --- It appears that HJ's patches are now checked in. Can we close this PR? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26885

[Bug c++/26068] [4.0/4.1/4.2 Regression] extern C static function should not be allowed

2006-05-17 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org

[Bug target/27642] [4.2 regression] gfortran - fails to build MacOSX - 10.4.6

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-17 16:01 --- Can someone also test 4.1.1? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/27620] [4.1/4.2 Regression] g++.dg/init/array15.C uses 4MB stack space

2006-05-17 Thread bernds at gcc dot gnu dot org
--- Comment #4 from bernds at gcc dot gnu dot org 2006-05-17 16:03 --- Subject: Bug 27620 Author: bernds Date: Wed May 17 16:03:25 2006 New Revision: 113866 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113866 Log: PR middle-end/27620 * expr.c (safe_from_p):

[Bug tree-optimization/27548] [4.2 regression] ICE: SSA corruption - Conflict across an abnormal edge

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-05-17 16:11 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/27643] New: ICE in java_mark_cni_decl_local compiling bytecode-native

2006-05-17 Thread mckinlay at redhat dot com
The following test case crashes: $ gcj -C PipeImpl.java $ gcj -c *.class -o t.o PipeImpl.java:0: internal compiler error: in java_mark_cni_decl_local, at java/decl.c:2182 class PipeImpl { public PipeImpl () { VMPipe.init (this); } } final class VMPipe { static native void

[Bug tree-optimization/27638] Strange initialization of uninitialized structure part

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-17 16:20 --- This is not a bug, if this shows up in real code, it should be changed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27640] segfault, related to constructor instantiation

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-17 16:28 --- Back trace: #0 0x001a2758 in expand_virtual_init (binfo=0xd8c0c0, decl=0xd92840) at ../../gcc/cp/init.c:781 #1 0x0019fb7c in dfs_initialize_vtbl_ptrs (binfo=0xd8c0c0, data=0xdb63c0) at ../../gcc/cp/init.c:112 #2

[Bug tree-optimization/27639] [4.1/4.2 regression] VRP miscompilation of simple loop

2006-05-17 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/27085] [4.2 regression] ICE in add_virtual_operand

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-05-17 16:45 --- Both of the testcases here were fixed by the patch for PR 27373. *** This bug has been marked as a duplicate of 27373 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/27373] [4.2 Regression] ICE: add_virtual_operand with pointers to arrays

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-05-17 16:45 --- *** Bug 27085 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27642] [4.2 regression] gfortran - fails to build MacOSX - 10.4.6

2006-05-17 Thread dir at lanl dot gov
version 4.1.1 20060517 (prerelease) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27642

[Bug c++/26068] [4.0/4.1/4.2 Regression] extern C static function should not be allowed

2006-05-17 Thread mmitchel at gcc dot gnu dot org
--- Comment #3 from mmitchel at gcc dot gnu dot org 2006-05-17 17:24 --- Subject: Bug 26068 Author: mmitchel Date: Wed May 17 17:24:00 2006 New Revision: 113869 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113869 Log: PR c++/26068 * parser.c

[Bug c++/26068] [4.0/4.1 Regression] extern C static function should not be allowed

2006-05-17 Thread mmitchel at gcc dot gnu dot org
--- Comment #4 from mmitchel at gcc dot gnu dot org 2006-05-17 17:27 --- Fixed in 4.2. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/27644] New: [4.1 regression] Bootstrap failure on native ARM targets

2006-05-17 Thread rearnsha at gcc dot gnu dot org
This patch: 2006-05-16 H.J. Lu [EMAIL PROTECTED] * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o. (gcc-options.o): New rule. * optc-gen.awk: Protect variables for gcc-options.o with #ifdef GCC_DRIVER/#endif. is causing bootstrap failures: gcc

[Bug bootstrap/27644] [4.1 regression] Bootstrap failure on native ARM targets

2006-05-17 Thread mark at codesourcery dot com
--- Comment #1 from mark at codesourcery dot com 2006-05-17 17:38 --- Subject: Re: New: [4.1 regression] Bootstrap failure on native ARM targets rearnsha at gcc dot gnu dot org wrote: This patch: 2006-05-16 H.J. Lu [EMAIL PROTECTED] * Makefile.in (GCC_OBJS): Replace

[Bug target/27629] SIGSEGV in printstack()

2006-05-17 Thread sebor at roguewave dot com
--- Comment #5 from sebor at roguewave dot com 2006-05-17 17:43 --- I'm told that the fault is due to a known problem in the Sun libc: 6372620 printstack() segfaults when called from static function It this doesn't provide sufficient detail to work around the bug in gcc (assuming you

[Bug target/27629] SIGSEGV in printstack()

2006-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2006-05-17 18:10 --- I'm told that the fault is due to a known problem in the Sun libc: 6372620 printstack() segfaults when called from static function It this doesn't provide sufficient detail to work around the bug in gcc

[Bug c/14366] variable previously declared `static' redeclared `extern' is valid ISO C - 3.4 and 4.0 regression

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-05-17 18:29 --- Hmm, I think this causes the following invalid code to be accepted (but I am not sure if this is invalid code or not): enum in_section { in_toc }; int f(void) { extern int in_toc; } -- In 3.3 and before we

[Bug target/27629] SIGSEGV in printstack()

2006-05-17 Thread sebor at roguewave dot com
--- Comment #7 from sebor at roguewave dot com 2006-05-17 18:34 --- Maybe it's one of the runtime library functions that's static (maybe _start?). The diff between the two .s files is empty. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27629

[Bug bootstrap/27645] New: arm-none-eabi doesn't build

2006-05-17 Thread kazu at gcc dot gnu dot org
My mainline gcc (with svn revision number 113869) doesn't build with --target=arm-none-eabi. While building cc1-dummy, I get: libbackend.a(options.o):(.rodata+0x4474): undefined reference to `target_fpe_name' libbackend.a(options.o):(.rodata+0x44b4): undefined reference to `target_fpe_name' A

[Bug c/27646] New: compiling very simple flex generated code results in global variabl error with GCC 4.0.1

2006-05-17 Thread jesser at pixelworks dot com
Hi, My system is a macbook pro (intel duo core) with standard install of OS X. GCC version 4.01 Build 5250. I am writing a flex program and ran across a very strange issue. When building and running the following flex (lex) program, the global variable access does not work properly. The

[Bug fortran/27633] Fortran accesses char array as integer with transfer

2006-05-17 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2006-05-17 19:03 --- (In reply to comment #1) I already mentioned before it should be using VIEW_CONVERT_EXPR instead of an address and a NOP_EXPR but nobody listened to me in the orginal bug report. Note this effects both strict

[Bug c/27646] compiling very simple flex generated code results in global variabl error with GCC 4.0.1

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-17 19:06 --- printf(%d = ret, glo = %d, yylex(), glo); The C standard does not specify if yylex() or glo is evulated first. So you are running into that effect and this is code undefined. See PR 11751 for future reference.

[Bug c/11751] wrong evaluation order of an expression

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #72 from pinskia at gcc dot gnu dot org 2006-05-17 19:06 --- *** Bug 27646 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27647] New: Different results depending on optimization level with gcc-4.0.1

2006-05-17 Thread scharest at druide dot com
I'm not sure if this is the right place to send this bug to. I sent this bug to Apple on March 2nd, 2006, but the bug is still open in their database as of today (May 17th). Here's the description: I've noticed a different behavior of my application depending on whether I turned optimization on

[Bug c++/27647] Different results depending on optimization level with gcc-4.0.1

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-17 19:17 --- This has already been fixed in 4.0.2. And this is a dup of bug 23326. Please don't report to the FSF untill you tried a FSF released compiler and a newer one at that. *** This bug has been marked as a duplicate

[Bug tree-optimization/23326] [4.0 Regression] Wrong code from forwprop

2006-05-17 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-05-17 19:17 --- *** Bug 27647 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27648] New: ICE on alias attribute casting

2006-05-17 Thread thor at math dot tu-berlin dot de
Enter the following program: int main(int argc,char **argv) { float x = 0.9; long y = reinterpret_castlong (static_castfloat __attribute((may_alias)) x); return y; } and compile with $ g++-4.0 -O3 -Wall aliastest.cpp Result is: aliastest.cpp: In function 'int main(int, char**)':

[Bug c++/27506] [4.2 Regression] bitfield enum handling regression

2006-05-17 Thread kazu at gcc dot gnu dot org
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-17 20:31 --- Reproduced as of svn revision 113870. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27506

[Bug c++/27506] [4.2 Regression] bitfield enum handling regression

2006-05-17 Thread mmitchel at gcc dot gnu dot org
--- Comment #4 from mmitchel at gcc dot gnu dot org 2006-05-17 20:33 --- Grumble. In my queue. I should have known better than to try to fix this the right way. :-) -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/27638] Strange initialization of uninitialized structure part

2006-05-17 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-05-17 20:37 --- This is still a missed optimization. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/26757] [4.2 regression] C++ front-end producing two DECLs with the same UID

2006-05-17 Thread mmitchel at gcc dot gnu dot org
--- Comment #24 from mmitchel at gcc dot gnu dot org 2006-05-17 20:38 --- Removing the 4.1 marker, as this is now fixed on the 4.1 branch. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27471] [4.2 Regression] ICE within build_c_cast cp/typeck.c:5434

2006-05-17 Thread kazu at gcc dot gnu dot org
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-17 20:39 --- Assigning to Mark Mitchell as he agreed. -- kazu at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27629] SIGSEGV in printstack()

2006-05-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #8 from ebotcazou at gcc dot gnu dot org 2006-05-17 20:40 --- Maybe it's one of the runtime library functions that's static (maybe _start?). Excerpt from gcc/config/sparc/sol2-c1.asm: .section.text .proc 022 .global _start _start:

[Bug c++/27505] [4.2 Regression] ICE in const folding with bitfields

2006-05-17 Thread kazu at gcc dot gnu dot org
--- Comment #5 from kazu at gcc dot gnu dot org 2006-05-17 20:41 --- Mark Mitchell checked in a patch recently. -- kazu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27650] New: internal compiler error while compiling Gecode

2006-05-17 Thread Harmon dot Nine at gmail dot com
On cygwin system, used gcc 3.4.4 to compile gcc 4.1.0. Installed gcc 4.1.0 in /usr/local. While compiling Gecode (with make), from gecode-1.1.0.tar.gz, encountered the following error: search/reco-stack.cc:85: internal compiler error: in maybe_emit_vtables, at cp/decl2.c:1548 exact command

  1   2   >