[Bug tree-optimization/29145] unsafe use of restrict qualifier

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #13 from dorit at gcc dot gnu dot org 2007-07-01 08:32 --- Fix committed, PR can be closed. -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/29925] Wrong code with -ftree-vectorize

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #12 from dorit at gcc dot gnu dot org 2007-07-01 08:35 --- A fix was committed, looks like the patch can be closed. -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30795] [4.3 Regression] ice for legal code with -ftree-vectorize -O2

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #5 from dorit at gcc dot gnu dot org 2007-07-01 08:38 --- This fix was committed with the wrong PR number (sorry about that): 2007-02-19 Dorit Nuzman [EMAIL PROTECTED] PR tree-optimization/30975 * tree-vect-trasnform.c (vect_get_vec_def_for_stmt_copy):

[Bug tree-optimization/31333] ICE with -fno-tree-dominator-opts -ftree-vectorize -msse

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #2 from dorit at gcc dot gnu dot org 2007-07-01 08:42 --- (oops - wrong keyword) -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/32569] Use of different numbers in logfile test output makes diff output baloon

2007-07-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-01 08:43 --- This is not how you are supposed to compare testsuite log files. Use contrib/compare_tests to compare the .sum files. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/31966] Miscompiles valid code with -ftree-vectorize and -march=nocona

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #3 from dorit at gcc dot gnu dot org 2007-07-01 08:47 --- I was able to reproduce the behavior on a Pentinum4 with a recent 4.3 snapshot. It doesn't look like it's the vectorizer's fault - nothing gets vectorized. However, if I disable the tree-level if-conversion (which is

[Bug tree-optimization/32533] [4.1/4.2 regression] miscompilation at -O3 -ffast-math -ftree-vectorize -march=native

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #7 from dorit at gcc dot gnu dot org 2007-07-01 08:51 --- PR31966 is also wrong code which seems to be a result of the tree-level if-conversion (nothing gets vectorized these, and if tree-if-conversion is disabled everything works ok). --

[Bug tree-optimization/31966] Miscompiles valid code with -ftree-vectorize and -march=nocona

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-07-01 08:52 --- This may be related to PR32533 (also wrong-code due to tree-if-conversion). -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/32570] Compiling GCC 4.3.0 with CIL instead of using GCC 4.2 or 4.3 finds many warnings that GCC does not report

2007-07-01 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-01 08:52 --- /root/downloads/gcc-4_3-trunk/gcc/toplev.c:558: Error: There is a definition already for floor_log2 This is because floor_log2 uses the GNU C extern inline. /gcc-4_3-trunk/gcc/config/i386/i386.c:4121: warning:

[Bug c++/31164] Problem with GCC 4.1 and Boost signals

2007-07-01 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-07-01 09:13 --- The test runs differently when compiled with g++-3.4.6 (GCC) 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10) and g++-4.1.2 (GCC) 4.1.2 (Gentoo 4.1.2) versions of the GCC Yes and 4.1.x result is the correct

[Bug tree-optimization/32568] [4.3 Regression] internal compiler error: in vn_lookup, at tree-vn.c:290

2007-07-01 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-07-01 09:21 --- I did the svn this morning (PDT). Do I need to do another svn? Yes, it was modified at 2007-06-30 19:20:06 -0700. So 7:20 pm PDT :). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32568

[Bug tree-optimization/32568] [4.3 Regression] internal compiler error: in vn_lookup, at tree-vn.c:290

2007-07-01 Thread trog24 at comcast dot net
--- Comment #4 from trog24 at comcast dot net 2007-07-01 09:22 --- Subject: Re: [4.3 Regression] internal compiler error: in vn_lookup, at tree-vn.c:290 Thank you. Frank On Jul 1, 2007, at 2:21 AM, pinskia at gcc dot gnu dot org wrote: --- Comment #3 from pinskia at gcc dot

[Bug tree-optimization/25371] -ftree-vectorize results in internal compiler error on AMD64

2007-07-01 Thread dorit at il dot ibm dot com
--- Comment #12 from dorit at il dot ibm dot com 2007-07-01 09:30 --- Subject: Re: -ftree-vectorize results in internal compiler error on AMD64 Zdenek's patch for cleaning the dataref analysis is also fixing this bug. http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00634.html So now

[Bug tree-optimization/31966] [4.1/4.2/4.3 Regression] Miscompiles valid code with -ftree-vectorize

2007-07-01 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-07-01 09:33 --- Confirmed. This is the same bug as PR32533, but this one comes with the c testcase. The problem is in ifcvt pass. In -march=nocona case (-march=nocona -O2 -ftree-vectorize), we have following code before ifcvt pass:

[Bug target/32558] v850: unrecognizable insn compiling libgcc2 on 64-bit CPU

2007-07-01 Thread rask at sygehus dot dk
--- Comment #1 from rask at sygehus dot dk 2007-07-01 09:37 --- Additionally, the asm output has problems around the edges (seen in _pack_df): mov 9218868437227405312,r14 # 395 *movdi_internal/1 [length = 4] mov 0,r15 -- rask at sygehus dot dk changed:

[Bug tree-optimization/32533] [4.1/4.2 regression] miscompilation at -O3 -ffast-math -ftree-vectorize -march=native

2007-07-01 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2007-07-01 09:40 --- (In reply to comment #6) Hm, in the dump (gcc-4.1.3), preceeding ifcvt, we have: Isn't marked statement unreachable? The problem is in ifcvt pass, as confirmed by a c testcase in PR31966. This problem is also present

[Bug tree-optimization/25371] -ftree-vectorize results in internal compiler error on AMD64

2007-07-01 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2007-07-01 09:52 --- (In reply to comment #12) Subject: Re: -ftree-vectorize results in internal compiler error on AMD64 Zdenek's patch for cleaning the dataref analysis is also fixing this bug.

[Bug target/25413] wrong alignment or incorrect address computation in vectorized code on Pentium 4 SSE

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #7 from dorit at gcc dot gnu dot org 2007-07-01 09:59 --- I'm testing the following patch (seems to fix the two testcases in this PR on Pentium4. still need to bootstrap etc, and check the powerpc bits) Index: gcc/targhooks.c

[Bug target/32558] v850: unrecognizable insn compiling libgcc2 on 64-bit CPU

2007-07-01 Thread rask at sygehus dot dk
--- Comment #2 from rask at sygehus dot dk 2007-07-01 10:01 --- Created an attachment (id=13810) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13810action=view) First attempt at a patch The attached patch makes the v850 build on x86_64. There are a few regressions (when run on

[Bug tree-optimization/26362] ICE on the autovect-branch (gfortran example)

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-07-01 10:05 --- Closed based on Ira's comment. -- dorit at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/25371] -ftree-vectorize results in internal compiler error on AMD64

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #14 from dorit at gcc dot gnu dot org 2007-07-01 10:12 --- So now that Zdenek's patch went in, can someone confirm if this problem doesn't occur anymore on x86_64? Compiles OK for original and reduced testcase (-O2 -ftree-vectorize) with: Target:

[Bug tree-optimization/27659] ICE on autovect-branch

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-07-01 10:16 --- Can anyone still see this failure, or can this PR be closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27659

[Bug tree-optimization/25371] -ftree-vectorize results in internal compiler error on AMD64

2007-07-01 Thread uros at gcc dot gnu dot org
--- Comment #15 from uros at gcc dot gnu dot org 2007-07-01 10:30 --- Subject: Bug 25371 Author: uros Date: Sun Jul 1 10:30:31 2007 New Revision: 126163 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126163 Log: PR tree-optimization/25371 * gcc.dg/vect/pr25371.c:

[Bug tree-optimization/25371] -ftree-vectorize results in internal compiler error on AMD64

2007-07-01 Thread ubizjak at gmail dot com
--- Comment #16 from ubizjak at gmail dot com 2007-07-01 10:32 --- Closed, not marked as a regression. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug c++/31164] Problem with GCC 4.1 and Boost signals

2007-07-01 Thread cavedon at sssup dot it
--- Comment #7 from cavedon at sssup dot it 2007-07-01 10:37 --- Created an attachment (id=13811) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13811action=view) Patch to test.cpp, working with gcc 4.1 Adding the declaration of our template function before the default template

[Bug middle-end/32559] [4.3 regression] ICE with vector arithmetic

2007-07-01 Thread uros at gcc dot gnu dot org
--- Comment #2 from uros at gcc dot gnu dot org 2007-07-01 10:38 --- Subject: Bug 32559 Author: uros Date: Sun Jul 1 10:38:03 2007 New Revision: 126164 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126164 Log: PR middle-end/32559 * fold-const.c (fold-binary)

[Bug middle-end/32559] [4.3 regression] ICE with vector arithmetic

2007-07-01 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-07-01 10:40 --- Fixed in mainline SVN. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug tree-optimization/31333] ICE with -fno-tree-dominator-opts -ftree-vectorize -msse

2007-07-01 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-07-01 10:44 --- This works for me on x86_64 host, producing correct code (with the flags above, also with and without -m32, for all optimization levels. Also, this testcase doesn't fail for x86 targets for a long time... -- ubizjak

[Bug tree-optimization/32230] [4.3 Regression] Segfault in set_bb_for_stmt with -O -ftree-vectorize

2007-07-01 Thread patchapp at dberlin dot org
--- Comment #11 from patchapp at dberlin dot org 2007-07-01 11:15 --- Subject: Bug number PR 32230 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00018.html --

[Bug tree-optimization/32571] New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011

2007-07-01 Thread mstein at phenix dot rootshell dot be
Hello, there seems to be a problem compiling the attached source file with i686-pc-linux-gnu-gcc: gcc -m32 -Wp,-MD,drivers/infiniband/hw/mthca/.mthca_provider.o.d -nostdinc -isystem /home/mstein/host-gcc/trunk-2007-07-01/bin/../lib/gcc/i686-pc-linux-gnu/4.3.0/include -D__KERNEL__ -Iinclude

[Bug target/32218] [4.2/4.3 Regression] segfault with -O1 -ftree-vectorize

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #1 from dorit at gcc dot gnu dot org 2007-07-01 11:23 --- (In reply to comment #0) I'm getting the following segfault on IA-64 with current 4.2 and 4.3. This goes back at least to 20060721 - I don't have anything older to test here at the moment. I don't see this

[Bug target/32218] [4.2/4.3 Regression] segfault with -O1 -ftree-vectorize

2007-07-01 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2007-07-01 11:32 --- (In reply to comment #1) Can someone with access to ia64 provide more detail? gdb backtrace? vectorizer dump file (with -fdump-tree-vect-details)? (can't reproduce it on powerpc and i386) I'm afraid I still don't have a

[Bug target/32218] [4.2/4.3 Regression] segfault with -O1 -ftree-vectorize

2007-07-01 Thread tbm at cyrius dot com
--- Comment #3 from tbm at cyrius dot com 2007-07-01 11:33 --- Created an attachment (id=13812) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13812action=view) dump file of -fdump-tree-vect-details -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32218

[Bug tree-optimization/32571] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011

2007-07-01 Thread mstein at phenix dot rootshell dot be
--- Comment #1 from mstein at phenix dot rootshell dot be 2007-07-01 11:34 --- Created an attachment (id=13813) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13813action=view) preprocessed source file from linux-2.6.20, delta-reduced --

[Bug tree-optimization/32378] can't determine dependence (distinct sections of an array)

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #5 from dorit at gcc dot gnu dot org 2007-07-01 12:43 --- Dependence analysis now fails with a different message: (compute_affine_dependence (stmt_a = D.1373_43 = (*a_42(D))[D.1372_41]) (stmt_b = (*a_42(D))[D.1370_44] = D.1375_47) (subscript_dependence_tester

[Bug tree-optimization/32482] [i386] ICE verify_ssa failed

2007-07-01 Thread mstein at phenix dot rootshell dot be
--- Comment #2 from mstein at phenix dot rootshell dot be 2007-07-01 12:45 --- Created an attachment (id=13814) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13814action=view) preprocessed source file from linux-2.6.20, delta-reduced --

[Bug tree-optimization/32375] not vectorized: can't determine dependence (array sections)

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #3 from dorit at gcc dot gnu dot org 2007-07-01 12:46 --- Looks like a similar problem to PR32378: (compute_affine_dependence (stmt_a = D.1398_74 = (*aa_73(D))[D.1397_72]) (stmt_b = (*aa_73(D))[D.1393_68] = D.1408_88) (subscript_dependence_tester

[Bug tree-optimization/32377] can't determine dependence (source/destination overlap without more than size)

2007-07-01 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-07-01 12:48 --- Looks like the data-dependence analysis is doing it's job (it figures out that the dependence distance is 1), but the vectorizer is still not willing to vectorize. Need to look into this. --

[Bug tree-optimization/32477] ice for legal code with -O2 -ftree-vectorize

2007-07-01 Thread irar at il dot ibm dot com
--- Comment #3 from irar at il dot ibm dot com 2007-07-01 13:21 --- A fix to PR 32230 http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00018.html fixes this one too. Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32477

[Bug debug/32445] no debug information for loop counters

2007-07-01 Thread rakdver at gcc dot gnu dot org
--- Comment #2 from rakdver at gcc dot gnu dot org 2007-07-01 13:28 --- (In reply to comment #1) On the mainline, we have ivtmp.33 going from 1 to 101 so it does not equal the same as what i is. ... and ivopts do this transformation because of my favourite hack -- md of i386 claims

[Bug tree-optimization/23115] [4.1 Regression] -ftree-vectorize generates wrong code

2007-07-01 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2007-07-01 13:40 --- (In reply to comment #9) PR tree-optimization/23115 * tree-if-conv.c (find_phi_replacement_condition): Check domninated_by relation. This fix is not enough to solve problems described in Comment

[Bug tree-optimization/31966] [4.1/4.2/4.3 Regression] Miscompiles valid code with -ftree-vectorize

2007-07-01 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2007-07-01 14:20 --- In the tree-if-conv.c, there is a comment with the reference to PR23115, where similar problems were addressed: 4) If pred B is dominated by pred A then use pred B's condition. See PR23115. */ For

[Bug target/32437] [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c

2007-07-01 Thread zadeck at naturalbridge dot com
--- Comment #24 from zadeck at naturalbridge dot com 2007-07-01 14:45 --- Subject: Re: [4.3 Regression] MIPS: FAIL in gcc.dg/cleanup-[8|9|10|11].c ian at airs dot com wrote: --- Comment #23 from ian at airs dot com 2007-06-30 17:57 --- The patch in comment #19 of PR 32437

[Bug tree-optimization/31966] [4.1/4.2/4.3 Regression] Miscompiles valid code with -ftree-vectorize

2007-07-01 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2007-07-01 15:46 --- Well, the problem is, that we forgot to take into account false branch from bb4 to bb6. In notation form the Comment #6, this branch has the condition !C4, so the total condition for branch from bb4 leading to bb6 would

[Bug fortran/32554] [4.3 regression] Bug in P formatting

2007-07-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2007-07-01 15:46 --- Subject: Bug 32554 Author: jvdelisle Date: Sun Jul 1 15:46:33 2007 New Revision: 126173 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126173 Log: 2007-07-01 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/32554] [4.3 regression] Bug in P formatting

2007-07-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2007-07-01 15:49 --- Subject: Bug 32554 Author: jvdelisle Date: Sun Jul 1 15:49:37 2007 New Revision: 126174 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126174 Log: 2007-06-29 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/32239] optimize power in loops, use __builtin_powi instead of _gfortran_pow_r4_i4

2007-07-01 Thread jb at gcc dot gnu dot org
--- Comment #5 from jb at gcc dot gnu dot org 2007-07-01 16:24 --- Subject: Bug 32239 Author: jb Date: Sun Jul 1 16:24:38 2007 New Revision: 126175 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126175 Log: gcc/fortran: 2007-07-01 Janne Blomqvist [EMAIL PROTECTED] PR

gcc-core-4.2 does not build after 5/30/2007 snapshot

2007-07-01 Thread Dan Allen
I usually download and build each week's snapshot of GCC 4.2 on Mac OS X (10.4.10). I unpack just gcc-core-4.2, configure, and it builds perfectly. This process has worked fine for months up until the 5/30/2007 snapshot. Starting in June sometime this broke. It dies early on in

[Bug testsuite/32014] new gcc failures

2007-07-01 Thread patchapp at dberlin dot org
--- Comment #8 from patchapp at dberlin dot org 2007-07-01 17:56 --- Subject: Bug number PR32014 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00031.html --

[Bug tree-optimization/32572] New: Small C++ function fails to inline with large negative badness

2007-07-01 Thread astrange at ithinksw dot com
=pentium-m --with-tune=nocona --enable-target-optspace --disable-bootstrap --with-gmp=/sw --with-system-zlib --enable-languages=c,c++,objc,obj-c++ Thread model: posix gcc version 4.3.0 20070701 (experimental) /usr/local/gcc43/bin/g++ -O3 -c -fdump-ipa-all -fdump-tree-final_cleanup rt-inline

[Bug c++/31164] Problem with GCC 4.1 and Boost signals

2007-07-01 Thread vmpn at hitechman dot com
--- Comment #8 from vmpn at hitechman dot com 2007-07-01 19:38 --- Created an attachment (id=13815) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13815action=view) Test case fixed using forward declarations Thank you for your help. I think I now have a better understanding of what

[Bug c++/31164] Problem with GCC 4.1 and Boost signals

2007-07-01 Thread vmpn at hitechman dot com
--- Comment #9 from vmpn at hitechman dot com 2007-07-01 19:44 --- Created an attachment (id=13816) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13816action=view) Test case that does not call MyData visit_each (as expected) Attaching a test case without forward declarations, that

[Bug target/15184] [4.0/4.1/4.2/4.3 Regression] Direct access to byte inside word not working with -march=pentiumpro

2007-07-01 Thread rask at sygehus dot dk
--- Comment #13 from rask at sygehus dot dk 2007-07-01 19:52 --- This has regressed quite badly. Here's what we get with -O2 -fomit-frame-pointer -m32 -march=pentium4: fl: movzbl %al, %eax # 21*zero_extendqisi2_movzbw[length = 3] movlx, %edx #

[Bug c++/31164] Problem with GCC 4.1 and Boost signals

2007-07-01 Thread vmpn at hitechman dot com
--- Comment #10 from vmpn at hitechman dot com 2007-07-01 19:52 --- Created an attachment (id=13817) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13817action=view) Test case that calls MyData visit_each without forward declaration If the MydData visit_each is moved into the

[Bug c/32573] New: ice for legal code with -O3

2007-07-01 Thread dcb314 at hotmail dot com
I just tried to compile Suse Linux package physfs-1.0.1 with the GNU C compiler version 4.3 snapshot 20070629 The compiler said gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O3 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_THREAD_SAFE -MT zip.lo -MD -MP -MF .deps/zip.Tpo -c zip.c -fPIC

[Bug c/32573] ice for legal code with -O3

2007-07-01 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2007-07-01 21:07 --- Created an attachment (id=13818) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13818action=view) C source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32573

[Bug c/32574] New: running out of memory during compiling

2007-07-01 Thread marcus at jet dot franken dot de
following .i files run the compiler out of memory during compile. appeared in the last 2 days. gcc -m32 -O2 -c storage.i (note the -m32 on amd64 seems necessary strangely) -- Summary: running out of memory during compiling Product: gcc Version: 4.3.0

[Bug c/32574] running out of memory during compiling

2007-07-01 Thread marcus at jet dot franken dot de
--- Comment #1 from marcus at jet dot franken dot de 2007-07-01 21:28 --- Created an attachment (id=13819) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13819action=view) storage.i gcc -m32 -O2 -c storage.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32574

[Bug c/32575] New: GCC 4.3.0 with -ftree-vrp miscompiles a single line of code in SQLite

2007-07-01 Thread drh at sqlite dot org
A bug reported against SQLite appears to be a case of GCC 4.3.0 miscompiling a single line of code within SQLite. The problem only appears with -O2 or -Os. The problem goes away if we add the -fno-tree-vrp option. The original bug report can be found at

[Bug tree-optimization/32575] GCC 4.3.0 with -ftree-vrp miscompiles a single line of code in SQLite

2007-07-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-01 22:16 --- Can you at least provide the preprocessed source of vdbe.c ? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32571] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011

2007-07-01 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||dberlin at gcc dot gnu dot |

[Bug c/32575] GCC 4.3.0 with -ftree-vrp miscompiles a single line of code in SQLite

2007-07-01 Thread drh at sqlite dot org
--- Comment #2 from drh at sqlite dot org 2007-07-01 22:52 --- (In reply to comment #1) Can you at least provide the preprocessed source of vdbe.c ? Certainly. But before I do, I just noticed that I gave the wrong GCC version number in the bug report. The error is in GCC 4.2.0,

[Bug c/32575] GCC 4.2.0 with -ftree-vrp miscompiles a single line of code in SQLite

2007-07-01 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/32576] New: [4.3 Regression] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1011

2007-07-01 Thread jojelino at gmail dot com
svn revision: 126178 $ gcc adpcm.i -c -O1 In file included from adpcm.c:22: avcodec.h:2252: warning: 'ImgReSampleContext' is deprecated avcodec.h:2258: warning: 'ImgReSampleContext' is deprecated adpcm.c: In function 'adpcm_decode_frame': adpcm.c:854: internal compiler error: in set_ssa_val_to, at

[Bug tree-optimization/32576] [4.3 Regression] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1011

2007-07-01 Thread jojelino at gmail dot com
--- Comment #1 from jojelino at gmail dot com 2007-07-01 23:04 --- Created an attachment (id=13820) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13820action=view) preprocessed file #1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32576

[Bug tree-optimization/32576] [4.3 Regression] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1011

2007-07-01 Thread jojelino at gmail dot com
--- Comment #2 from jojelino at gmail dot com 2007-07-01 23:06 --- Created an attachment (id=13821) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13821action=view) preprocessed file #2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32576

[Bug tree-optimization/32576] [4.3 Regression] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1011

2007-07-01 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 rtl-optimization/32475] [4.3 Regression] function with asm() does not setup stack frame

2007-07-01 Thread zadeck at naturalbridge dot com
--- Comment #16 from zadeck at naturalbridge dot com 2007-07-02 00:19 --- Subject: Re: [4.3 Regression] function with asm() does not setup stack frame Ian Lance Taylor wrote: Adding the stack pointer for asms is certainly the easiest thing to do. I don't know if that is

[Bug tree-optimization/32571] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011

2007-07-01 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-02 00:52 --- Here is a more reduced testcase (without the inline-asm): struct list_head { struct list_head *next, *prev; }; struct ib_fmr { int *device; struct list_head list; }; static inline struct mthca_fmr

[Bug rtl-optimization/32475] [4.3 Regression] function with asm() does not setup stack frame

2007-07-01 Thread ian at airs dot com
--- Comment #17 from ian at airs dot com 2007-07-02 01:45 --- Before I tackle the specific questions, let me try to explain the issue that I see. The issue is that during a function the value of the stack pointer register must always be at or below the local variables. An interrupt

[Bug rtl-optimization/32475] [4.3 Regression] function with asm() does not setup stack frame

2007-07-01 Thread zadeck at naturalbridge dot com
--- Comment #18 from zadeck at naturalbridge dot com 2007-07-02 02:45 --- Subject: Re: [4.3 Regression] function with asm() does not setup stack frame ian at airs dot com wrote: --- Comment #17 from ian at airs dot com 2007-07-02 01:45 --- Before I tackle the specific

[Bug rtl-optimization/32475] [4.3 Regression] function with asm() does not setup stack frame

2007-07-01 Thread ian at airs dot com
--- Comment #19 from ian at airs dot com 2007-07-02 02:50 --- I don't see an inconsistency in my answers. If you mark local variables as having a reference to the stack pointer before combine, then you should handle log_links as appropriate. I am explicitly not telling you what to do.

[Bug target/32577] New: [SH] static inline attribute causes stack overflow

2007-07-01 Thread saito at densan dot co dot jp
When I use static inline attribute without any optimization as follows, stack space is stacked. As a result, a stack overflow is caused. This problem came from using gcc-4.2.0 for linux kernel which uses many inlines. -compile options- sh4-linux-gcc -S test.c -testcase

[Bug fortran/32554] [4.2 Only] Bug in P formatting

2007-07-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2007-07-02 04:11 --- Fixed on 4.3, will backport to 4.2 in about a week. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32571] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011

2007-07-01 Thread dberlin at gcc dot gnu dot org
--- Comment #3 from dberlin at gcc dot gnu dot org 2007-07-02 04:35 --- Subject: Bug 32571 Author: dberlin Date: Mon Jul 2 04:35:37 2007 New Revision: 126186 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126186 Log: 2007-07-01 Daniel Berlin [EMAIL PROTECTED] Fix PR