[Bug target/31334] Bad codegen for vector initializer with constants prop'd into a vector initializer

2008-03-28 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2008-03-28 07:28 --- Subject: Bug 31334 Author: pinskia Date: Fri Mar 28 07:27:11 2008 New Revision: 133674 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133674 Log: 2008-03-28 Andrew Pinski <[EMAIL PROTECTED]> PR

[Bug target/31334] Bad codegen for vector initializer with constants prop'd into a vector initializer

2008-03-28 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2008-03-28 07:30 --- The original issue has now been fixed, the rest is registered as PR 32107 and PR 32110. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array

2008-03-28 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2008-03-28 08:33 --- (In reply to comment #3) > 1) If I am not mistaken, the first change is within a commented block (look at > the last line in the diff.: > ' } */') Yes, indeed - the comment has been made consistent with the inte

[Bug target/31110] Problem while compiling gcc for mn10300-elf

2008-03-28 Thread nickc at redhat dot com
--- Comment #9 from nickc at redhat dot com 2008-03-28 08:43 --- Hi Jeff, Thanks - I have checked the patch in. Cheers Nick -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31110

[Bug target/31110] Problem while compiling gcc for mn10300-elf

2008-03-28 Thread nickc at gcc dot gnu dot org
--- Comment #10 from nickc at gcc dot gnu dot org 2008-03-28 08:43 --- Subject: Bug 31110 Author: nickc Date: Fri Mar 28 08:42:36 2008 New Revision: 133675 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133675 Log: PR target/31110 * config/mn10300/mn10300.c (mn10300_secondary

[Bug target/31110] Problem while compiling gcc for mn10300-elf

2008-03-28 Thread mstein dot lists at googlemail dot com
--- Comment #11 from mstein dot lists at googlemail dot com 2008-03-28 08:54 --- Can the patch be applied to the 4.3 branch too? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31110

[Bug c++/35730] New: ICE on valid code convert_move expr.c:373

2008-03-28 Thread davids at webmaster dot com
The following code produces an ICE with GCC-4.3.0 when compiled with g++ and -O. Removing -O or using gcc removes the ICE. #include int moo(void) { unsigned char msg[] = { 0, 0 }; unsigned char data[2]; memcpy(data, msg, sizeof (msg)); return memcmp(data, msg, sizeof (data)) != 0; } Also, c

[Bug target/31232] Problem while compiling gcc for xstormy16-elf

2008-03-28 Thread mstein dot lists at googlemail dot com
--- Comment #5 from mstein dot lists at googlemail dot com 2008-03-28 08:56 --- Can the patch be applied to the 4.3 branch too? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232

[Bug fortran/35731] New: libfortran should use gettext to for localized error messages

2008-03-28 Thread burnus at gcc dot gnu dot org
Currently, only libcpp and the compilers ("gcc") use gettext for localized error messages. libgfortran should do the same. Note: Besides the actual change, the libgfortran.pot file needs also to uploaded at http://translationproject.org. I don't know where this is documented, but the release mana

[Bug c++/35730] ICE on valid code convert_move expr.c:373

2008-03-28 Thread davids at webmaster dot com
--- Comment #1 from davids at webmaster dot com 2008-03-28 09:24 --- #include int moo(void) { unsigned char msg1[] = { 0, 0 }; unsigned char msg2[] = { 0, 0 }; memcpy(msg1, msg2, 2); return memcmp(msg1, msg2, 2) != 0; } With this code, changing the sizes in both memcpy and memcmp

[Bug target/31110] Problem while compiling gcc for mn10300-elf

2008-03-28 Thread nickc at gcc dot gnu dot org
--- Comment #12 from nickc at gcc dot gnu dot org 2008-03-28 09:30 --- Subject: Bug 31110 Author: nickc Date: Fri Mar 28 09:30:05 2008 New Revision: 133676 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133676 Log: PR target/31110 * config/mn10300/mn10300.c (mn10

[Bug target/31110] Problem while compiling gcc for mn10300-elf

2008-03-28 Thread nickc at redhat dot com
--- Comment #13 from nickc at redhat dot com 2008-03-28 09:31 --- Subject: Re: Problem while compiling gcc for mn10300-elf Hi Mike, > Can the patch be applied to the 4.3 branch too? Done. Cheers Nick -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31110

[Bug target/31232] Problem while compiling gcc for xstormy16-elf

2008-03-28 Thread nickc at redhat dot com
--- Comment #6 from nickc at redhat dot com 2008-03-28 09:33 --- Subject: Re: Problem while compiling gcc for xstormy16-elf Hi Mike, > Can the patch be applied to the 4.3 branch too? Done. Cheers Nick -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232

[Bug target/31232] Problem while compiling gcc for xstormy16-elf

2008-03-28 Thread nickc at gcc dot gnu dot org
--- Comment #7 from nickc at gcc dot gnu dot org 2008-03-28 09:33 --- Subject: Bug 31232 Author: nickc Date: Fri Mar 28 09:33:01 2008 New Revision: 133677 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133677 Log: PR target/31232 * config/stormy16/stormy16.c (xstormy16_legiti

[Bug tree-optimization/9079] [tree-ssa] Inline constant function pointers

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2008-03-28 10:13 --- Note this is only fixed because we run inlining "twice". It isn't fixed properly in that the new inlining opportunity should be exposed during the first inlining pass. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug c/35728] Inlined function via function pointer emitted unnecessarily

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-28 10:15 --- Hm, interesting. Do we not remove unused functions after final inlining? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug rtl-optimization/35729] const volatile variable access incorrectly hoisted out of loop

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-28 10:26 --- Confirmed. RTL loop invariant motion moves the volatile load out of the function. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/31232] Problem while compiling gcc for xstormy16-elf

2008-03-28 Thread mstein dot lists at googlemail dot com
--- Comment #8 from mstein dot lists at googlemail dot com 2008-03-28 10:30 --- Fixed :) -- mstein dot lists at googlemail dot com changed: What|Removed |Added

[Bug c++/35730] ICE on valid code convert_move expr.c:373

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-03-28 10:30 --- *** This bug has been marked as a duplicate of 35526 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/35526] ICE on memcpy

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-03-28 10:30 --- *** Bug 35730 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/31110] Problem while compiling gcc for mn10300-elf

2008-03-28 Thread mstein dot lists at googlemail dot com
--- Comment #14 from mstein dot lists at googlemail dot com 2008-03-28 10:31 --- Fixed :) -- mstein dot lists at googlemail dot com changed: What|Removed |Added

[Bug fortran/27997] Fortran 2003: Support type-spec for array constructor

2008-03-28 Thread burnus at gcc dot gnu dot org
--- Comment #14 from burnus at gcc dot gnu dot org 2008-03-28 10:32 --- (In reply to comment #13) > Created an attachment (id=15374) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15374&action=view) [edit] > Patch padding for constant character lengths I assume that you have not bo

[Bug middle-end/35705] [4.3/4.4 Regression] Symbol address check eliminated by C frontend.

2008-03-28 Thread carlos at codesourcery dot com
--- Comment #14 from carlos at codesourcery dot com 2008-03-28 11:39 --- With the patch in comment #9, a glibc cvs head build completes successfully. The test results show some regressions, but this is almost always the case when switching to a new gcc branch. -- http://gcc.gnu.org

[Bug tree-optimization/30317] VRP cannot extract a range from (unsigned int) i + 0x0ffffffff > 4

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-03-28 12:21 --- Subject: Bug 30317 Author: rguenth Date: Fri Mar 28 12:20:09 2008 New Revision: 133680 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133680 Log: 2008-03-28 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #44 from rguenth at gcc dot gnu dot org 2008-03-28 12:21 --- Subject: Bug 30911 Author: rguenth Date: Fri Mar 28 12:20:09 2008 New Revision: 133680 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133680 Log: 2008-03-28 Richard Guenther <[EMAIL PROTECTED]>

[Bug middle-end/34793] warning: 'areg' may be used uninitialized in this function

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-03-28 12:21 --- Subject: Bug 34793 Author: rguenth Date: Fri Mar 28 12:20:09 2008 New Revision: 133680 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133680 Log: 2008-03-28 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug fortran/35731] libfortran should use gettext to for localized error messages

2008-03-28 Thread joseph at codesourcery dot com
--- Comment #1 from joseph at codesourcery dot com 2008-03-28 12:48 --- Subject: Re: New: libfortran should use gettext to for localized error messages On Fri, 28 Mar 2008, burnus at gcc dot gnu dot org wrote: > Currently, only libcpp and the compilers ("gcc") use gettext for locali

[Bug tree-optimization/30317] VRP cannot extract a range from (unsigned int) i + 0x0ffffffff > 4

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-03-28 12:56 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/34793] warning: 'areg' may be used uninitialized in this function

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2008-03-28 13:02 --- I have two patches for the other missing parts to fix this PR. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/19580] [4.1/4.2/4.3 Regression] missed load/store motion

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #38 from rguenth at gcc dot gnu dot org 2008-03-28 13:40 --- Fixed in GCC 4.4 with the store-motion rewrite to use an alias-oracle: : r_I_lsm.18 = r[5]; r_I_lsm.13 = r[0]; r_I_lsm.14 = r[1]; r_I_lsm.15 = r[2]; r_I_lsm.16 = r[3]; r_I_lsm.17 = r[4]; r_I_lsm.27 =

[Bug rtl-optimization/19580] [4.1/4.2/4.3 Regression] missed load/store motion

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #39 from rguenth at gcc dot gnu dot org 2008-03-28 13:45 --- Subject: Bug 19580 Author: rguenth Date: Fri Mar 28 13:44:41 2008 New Revision: 133683 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133683 Log: 2008-03-28 Richard Guenther <[EMAIL PROTECTED]>

[Bug fortran/35721] ASSOCIATED returns false when strides confusing

2008-03-28 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-03-28 13:47 --- Subject: Bug 35721 Author: burnus Date: Fri Mar 28 13:47:06 2008 New Revision: 133684 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133684 Log: 2008-03-28 Tobias Burnus <[EMAIL PROTECTED]> PR fort

[Bug fortran/35721] ASSOCIATED returns false when strides confusing

2008-03-28 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-03-28 13:49 --- FIXED on the trunk (4.4.0). Thanks again for the report. -- burnus at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/35608] gcc.c-torture/compile/limits-structnest.c fails -O2 -Os

2008-03-28 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2008-03-28 14:04 --- The testcase has 10001 nested (), which is processed with recursive calls. My default stack limit is 8MB. 10001 recursive calls need around 8MB stack. Any changes in my setup will push it over the limit. I think we s

[Bug ada/32234] [Ada] Default pointer initialization not occuring - due to the use of <>

2008-03-28 Thread baldrick at gcc dot gnu dot org
--- Comment #13 from baldrick at gcc dot gnu dot org 2008-03-28 14:30 --- This has been fixed. -- baldrick at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/35655] [m68hc11] Segmentation fault when compiling libgcc2.c

2008-03-28 Thread mstein dot lists at googlemail dot com
--- Comment #1 from mstein dot lists at googlemail dot com 2008-03-28 14:51 --- backtrace: [EMAIL PROTECTED]:~/build/m68hc11-elf/build/gcc$ gdb -args /home/mstein/build/m68hc11-elf/build/./gcc/cc1 -quiet -nostdinc -v -I. -I. -I../.././gcc -I/home/mstein/combined-trunk/libgcc -I/home/ms

[Bug fortran/35732] New: -fbounds-check: LHS/RHS size mismatch: Misleading error message

2008-03-28 Thread burnus at gcc dot gnu dot org
For integer :: a(2) integer, volatile :: i i = 1 a(1:i) = a(1:2) end The message is misleading: At line 4 of file aa.f90 Fortran runtime error: Array bound mismatch, size mismatch for dimension 1 of array 'a' (0/1) ISSUE: The size should be "1/2" and not "0/1" (For a zero-sized array the out

[Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code

2008-03-28 Thread baldrick at gcc dot gnu dot org
--- Comment #45 from baldrick at gcc dot gnu dot org 2008-03-28 14:58 --- The recent VRP improvements made no difference to this bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30911

[Bug fortran/35681] wrong result for vector subscripted array expression in MVBITS

2008-03-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2008-03-28 15:18 --- Reduced testcase: integer, dimension(10) :: ILA1 = (/1,2,3,4,5,6,7,8,9,10/) call mvbits ((ILA1((/9,9,6,2,4,9,2,9,6,10/))), 2, 4, ILA1, 3) write (*,'(10(I3))') ila1 end output is: 17 18 11 36 77 22 39

[Bug fortran/35681] wrong result for vector subscripted array expression in MVBITS

2008-03-28 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2008-03-28 15:29 --- For the second test in comment #1, ifort gives: fortcom: Error: pr35681_2.f90, line 2: The shapes of the arguments do not conform. [MVBITS] call mvbits ((ILA1((/9/))), 2, 4, ILA1, 3) -

[Bug fortran/35681] wrong result for vector subscripted array expression in MVBITS

2008-03-28 Thread dick dot hendrickson at gmail dot com
--- Comment #3 from dick dot hendrickson at gmail dot com 2008-03-28 15:48 --- Subject: Re: wrong result for vector subscripted array expression in MVBITS Right, in case you haven't found it yet, the first paragraph of 12.7.3, page 214, says effectively that all of the arguments must

[Bug fortran/35681] wrong result for vector subscripted array expression in MVBITS

2008-03-28 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2008-03-28 16:22 --- It looks like a missing temporary: integer, dimension(10) :: ILA1 = (/1,2,3,4,5,6,7,8,9,10/), ILA2, ILA3 ILA3 = (/9,9,6,2,4,9,2,9,6,10/) print '(10(I3))', ILA1((/9,9,6,2,4,9,2,9,6,10/)) ILA2 = ILA1 do i = 1

[Bug c/35733] New: Can't compile gcc 4.3.0 on old celeron processor (4.2.3 is ok)

2008-03-28 Thread fragabr at gmail dot com
Linux 2.6.24 glibc 2.7 Celeron (Mendocino) - 466MHz When i try to compile gcc 4.3.0, I get the following (gcc 4.2.3 compiles perfectly, but 4.3.0 doesn't): /home/fraga/b/./gcc/xgcc -B/home/fraga/b/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i

[Bug c++/35734] New: [4.3/4.4 regression] ICE with copy constructor in derived class

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE since GCC 4.3.0 when compiled with "-W": = struct A { A(); template A(const T&); }; struct B : A { B(const B&) {} }; = bug.cc: In copy constructor 'B::B(const B&

[Bug c++/35734] [4.3/4.4 regression] ICE with copy constructor in derived class

2008-03-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35734

[Bug target/35733] Can't compile gcc 4.3.0 on old celeron processor (4.2.3 is ok)

2008-03-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-28 17:33 --- How did you configure GCC? How did you invoke make? How did you configure/build GMP/MPFR ? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/34226] [4.3/4.4 Regression][frv] ICE in default_secondary_reload, at targhooks.c:612

2008-03-28 Thread mstein dot lists at googlemail dot com
--- Comment #12 from mstein dot lists at googlemail dot com 2008-03-28 17:34 --- A simple 'int main (int argc, char *argv[]) { return 0; }' still fails with "error: in default_secondary_reload, at targhooks.c:612" in rev. 133684 (trunk). -- mstein dot lists at googlemail dot com c

[Bug c++/35734] [4.3/4.4 regression] ICE with copy constructor in derived class

2008-03-28 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2008-03-28 17:37 --- Manuel, Jason, was probably introduced by your patch: 2008-02-14 Manuel Lopez-Ibanez <[EMAIL PROTECTED]> Jason Merrill <[EMAIL PROTECTED]> PR c++/5645 PR c++/11159 * class.c

[Bug middle-end/35400] [4.4 Regression] -Wtype-limits -O2 causes ICE tree check: expected ssa_name, have addr_expr in get_value_range, at tree-vrp.c:469

2008-03-28 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2008-03-28 17:44 --- A short C++ testcase I ran into: struct A { A(); ~A(); }; void foo() { A x[1]; } == -- reichelt at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/35400] [4.4 Regression] -Wtype-limits -O2 causes ICE tree check: expected ssa_name, have addr_expr in get_value_range, at tree-vrp.c:469

2008-03-28 Thread reichelt at gcc dot gnu dot org
--- Comment #8 from reichelt at gcc dot gnu dot org 2008-03-28 18:13 --- Here's a reduced C testcase (fuirther reduced from PR35663): === struct A { struct A *p; }; int foo(const struct A *q) { return q->p == q; } void bar(int); void baz() { struct

[Bug target/35735] New: error in default_secondary_reload, at targhooks.c:649

2008-03-28 Thread mstein dot lists at googlemail dot com
Hi, compiling newlib now fails with: xgcc -c -O1 ldtoa-delta.c /home/mstein/combined-trunk/newlib/libc/stdlib/ldtoa.c: In function '_ldtoa_r': /home/mstein/combined-trunk/newlib/libc/stdlib/ldtoa.c:2857: internal compiler error: in default_secondary_reload, at targhooks.c:649 rev: 133684 --

[Bug c/35736] New: [4.4 regression] ICE with continue and -Wall

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline when compiled with "-Wall": = void foo() { while (1) for (;;({ continue; })) ; } = bug.c: In function 'foo': bug.c:4: internal compiler error: S

[Bug c/35736] [4.4 regression] ICE with continue and -Wall

2008-03-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736

[Bug target/35735] error in default_secondary_reload, at targhooks.c:649

2008-03-28 Thread mstein dot lists at googlemail dot com
--- Comment #1 from mstein dot lists at googlemail dot com 2008-03-28 18:23 --- Created an attachment (id=15393) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15393&action=view) delta-reduced -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35735

[Bug tree-optimization/35737] New: [4.3/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE since GCC 4.2.0 when compiled with "-O": = #include jmp_buf buf; int foo() { __complex__ int i = 0; if (__builtin_setjmp(buf)) { i = 1; bar(); } return i == 0; }

[Bug tree-optimization/35737] [4.3/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable

2008-03-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737

[Bug c++/35734] [4.3/4.4 regression] ICE with copy constructor in derived class

2008-03-28 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c/35738] New: ICE with #pragma omp atomic and conversion from pointer to int

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE since GCC 4.2.0 when compiled with "-fopenmp": = int foo(); void bar() { int i; #pragma omp atomic i += foo; } = bug.c: In function 'bar': bug.c:7: internal co

[Bug middle-end/34793] warning: 'areg' may be used uninitialized in this function

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2008-03-28 18:54 --- Patches: http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01803.html http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01811.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34793

[Bug c/35739] New: [4.3/4.4 regression] ICE with _Decimal128 and va_list

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE since GCC 4.3.0 when compiled with "-fmudflap -O": = _Decimal128 foo(int n, ...) { int i; _Decimal128 j; __builtin_va_list va; __builtin_va_start(va,n); for (i = 0; i < n; i++) j += __builtin_va

[Bug c/35739] [4.3/4.4 regression] ICE with _Decimal128 and va_list

2008-03-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35739

[Bug fortran/35740] New: a = conjg(transpose(a)) still gives wrong results, see bug 31994

2008-03-28 Thread dominik dot muth at gmx dot de
conjg(transpose(a)) still gives wrong results, if it is assigned to a. transpose(conjg(a)) works. program main implicit none complex, dimension(2,2) :: a,b,c a(1,1) = (1.,1.) a(2,1) = (2.,2.) a(1,2) = (3.,3.) a(2,2) = (4.,4.) print *, "original: ",a b = conjg(tr

[Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #46 from rguenth at gcc dot gnu dot org 2008-03-28 19:18 --- Ok, I didn't really expect that ;) Some new background information. With the middle-end type-system work we now omit conversions from sub-types T' to their base-types T. Thus we have the three cases T' sub;

[Bug fortran/35740] a = conjg(transpose(a)) still gives wrong results, see bug 31994

2008-03-28 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/30997] FRE does not simplify comparisons in COND_EXPRs

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-03-28 19:21 --- SCCVN now tries to simplify COND_EXPR conditions using their operands value number. This still doesn't remove redundant comparisons. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30997

[Bug c++/35741] New: [4.2/4.3/4.4 regression] ICE with offsetof and references

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following (valid ?) code snippet triggers an ICE since GCC 4.2.0: = struct A { char c; int& i; }; int j = __builtin_offsetof (A, i); = bug.cc:7: warning: invalid access to non-static data member 'A::i' of NU

[Bug c++/35741] [4.2/4.3/4.4 regression] ICE with offsetof and references

2008-03-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35741

[Bug fortran/35723] Can't use run-time array element in character declaration

2008-03-28 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-03-28 19:40 --- Confirmed. A simple patch would be the following: Index: expr.c === --- expr.c (Revision 133693) +++ expr.c (Arbeitskopie) @@ -2502,6 +2502,7

[Bug fortran/35740] a = conjg(transpose(a)) still gives wrong results, see bug 31994

2008-03-28 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-03-28 19:58 --- Confirm. There seems to be a temporary missing. Paul, you have fixed PR 31994, do you have an idea here? The problem seems to be in general expressions of this type: array = function(transpose(array)) where func

[Bug c/35742] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic: 'goto_expr' not supported by pp_c_expression

2008-03-28 Thread reichelt at gcc dot gnu dot org
A broken diagnostic is issued for the following invalid code snippet since GCC 4.1.0: = void foo() { for (;;) ({break;})(); } = #'goto_expr' not supported by pp_c_expression#'bug.c: In function 'foo': bug.c:4: e

[Bug c/35742] [4.1/4.2/4.3/4.4 regression] Broken diagnostic: 'goto_expr' not supported by pp_c_expression

2008-03-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35742

Priorites for PR 35435 and PR 35441

2008-03-28 Thread Volker Reichelt
Hi Joseph, on March 15 you changed to priority of PR 35435 and PR 35441 to P4. IMHO this is not in line with our current policy: * PR 35435 is not an error-recovery bug (i.e. we don't issue a valid error message before the ICE). So this should rather be P2, I think. * PR 35441 is a diagnostic b

Re: Priorites for PR 35435 and PR 35441

2008-03-28 Thread Joseph S. Myers
On Fri, 28 Mar 2008, Volker Reichelt wrote: > Hi Joseph, > > on March 15 you changed to priority of PR 35435 and PR 35441 to P4. > IMHO this is not in line with our current policy: > > * PR 35435 is not an error-recovery bug (i.e. we don't issue a valid > error message before the ICE). So this

[Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3

2008-03-28 Thread bugzilla-gcc at thewrittenword dot com
--- Comment #3 from bugzilla-gcc at thewrittenword dot com 2008-03-28 20:58 --- (In reply to comment #2) > (In reply to comment #1) > > ld is running at this time so I doubt this is a GCC bug. > > The Pid it is referring to ("Pid 18929 received a SIGSEGV for stack growth > failure.") i

[Bug fortran/35743] New: allocate negative memory for zero-sized WHERE construct

2008-03-28 Thread dick dot hendrickson at gmail dot com
The following program fails when rg0025 attempts to allocate a negative amount of memory under windows XP. It doesn't abort when the array subscripts are explicit constants instead of variables. Dick Hendrickson program try_rg0025 ! fails on Windows XP ! gcc version 4.4.0 20080312 (experime

[Bug c/35744] New: [4.1/4.2/4.3/4.4 regression] ICE attributes for invalid types

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following invalid code snippets triggers an ICE since GCC 4.1.0: = struct A { void x[1] __attribute__((packed)); }; = bug.c:3: error: declaration of 'x' as array of voids bug.c:3: internal compiler error: tree c

[Bug fortran/35745] New: Divide incorrectly extracted from WHERE block?; run time abort

2008-03-28 Thread dick dot hendrickson at gmail dot com
The following program aborts at run-time opening a box that says "a.exe has encountered a problem and needs to close. We are sorry for the inconvenience." And then offers to send an error report to Microsoft. I believe the problem is the extraction of the 1/NF0 from within the WHERE block.

[Bug c/35744] [4.1/4.2/4.3/4.4 regression] ICE attributes for invalid types

2008-03-28 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2008-03-28 21:45 --- Mine. Patch here: http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01822.html -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/35746] New: [4.3/4.4 regression] ICE with undefined variables

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following invalid code snippets triggers an ICE since GCC 4.3.0: == int foo(int i); void bar() { __complex__ int i; X j; if (i = foo(j)) ; } == bug.c: In function 'bar': bug.c:6: error: 'X' undeclared (first use in this function) bug.c:6: er

[Bug c/35746] [4.3/4.4 regression] ICE with undefined variables

2008-03-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35746

[Bug c++/35747] New: [4.3/4.4 regression] ICE with undefined variable in statement expression

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following invalid code snippets triggers an ICE since GCC 4.3.0: = void foo() { ({ i; ({ i; }); 0; }); } = bug.cc: In function 'void foo()': bug.cc:3: error: 'i' was not declared in this scope gimplification failed: > head

[Bug c++/35747] [4.3/4.4 regression] ICE with undefined variable in statement expression

2008-03-28 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35747

[Bug c/35748] New: ICE with cast to invalid union

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since at least GCC 2.95.3: = union U { void x[1]; }; void foo() { (union U)0; } = bug.c:1: error: declaration of 'x' as array of voids bug.c: In function 'foo': bug.c:5: internal

[Bug c/35749] New: Mudflap false violation

2008-03-28 Thread eugen at familiamorjolic dot ro
This is my code that is generating a false violation when compiled with mudflap and the following options export MUDFLAP_OPTIONS='-mode-check -viol-segv -backtrace=4 -verbose-violations -check-initialization' #include #include #include #include #include #include #include #include int mai

[Bug fortran/35745] Divide incorrectly extracted from WHERE block?; run time abort

2008-03-28 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-03-28 22:05 --- Confirm. Valgrind shows: Process terminating with default action of signal 8 (SIGFPE): dumping core Integer divide by zero at address 0x40274EADB at 0x4008C6: MAIN__ (ghfhgk.f90:15) > Divide incorrectly extra

[Bug c/35750] New: ICE with invalid old-style parameter declaration

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since at least GCC 2.95.3: = void foo(int[]); void foo(x) int x[](); {} = bug.c: In function 'foo': bug.c:2: error: declaration of 'x' as array of functions bug.c:2: internal compile

[Bug c/35751] New: ICE with invalid variable after #pragma omp parallel

2008-03-28 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.2.0: = void foo(int i) { extern int a[i]; #pragma omp parallel a[0] = 0; } = bug.c: In function 'foo': bug.c:3: error: object with variably modified type must ha

[Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #47 from rguenth at gcc dot gnu dot org 2008-03-28 22:12 --- What is interesting is that j__target_type___XDLU_10__20 is a unsigned sub type with range [10, 20] of a signed base type with range [-128, 127]. So, we enter compare_values ((js__TtB)20, (j__target_type___XDLU_10

[Bug fortran/35699] [4.3/4.4 regression] run-time abort writing zero sized section to direct access file

2008-03-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-03-28 22:14 --- Subject: Bug 35699 Author: jvdelisle Date: Fri Mar 28 22:13:17 2008 New Revision: 133699 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133699 Log: 2008-03-28 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #48 from rguenth at gcc dot gnu dot org 2008-03-28 22:14 --- Created an attachment (id=15394) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15394&action=view) patch for comment #47 This is what I was playing with. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30

[Bug fortran/35699] [4.3/4.4 regression] run-time abort writing zero sized section to direct access file

2008-03-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-03-28 22:17 --- Subject: Bug 35699 Author: jvdelisle Date: Fri Mar 28 22:16:29 2008 New Revision: 133700 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133700 Log: 2008-03-28 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug bootstrap/35752] New: Combined gcc + binutils source tree doesn't bootstrap

2008-03-28 Thread hjl dot tools at gmail dot com
I combined the current gcc and binutils mainlines into a combined gcc + binutils source tree. When I tried to bootstrap it on Linux/ia32 and Linux/Intel64 with shared library enabled, it went to an infinite loop when as or ld from stage 2 was used. The problem is ld-new tries to use itself to relin

[Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #49 from rguenth at gcc dot gnu dot org 2008-03-28 22:35 --- As of "The TYPE_MIN/MAX_VALUEs are of the type of the base type, so target_first_66s value range is [10, 20] at the point of this comparison. Is this supposed to be a comparison with -128 or with 128? That is, i

[Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code

2008-03-28 Thread baldrick at free dot fr
--- Comment #50 from baldrick at free dot fr 2008-03-28 22:42 --- Subject: Re: VRP fails to eliminate range checks in Ada code > T' sub; > T x; > > x = sub; (1) > sub = (T')x; (2) > x = VIEW_CONVERT_EXPR (sub); (3) > > where VRP for the simple copy (1) does not rest

[Bug c++/35708] jump to label enters catch block

2008-03-28 Thread bruno at clisp dot org
--- Comment #3 from bruno at clisp dot org 2008-03-28 22:46 --- > you are entering a scope that has objects constructed. Can you point out the sections in the ISO C++ standard that say that an 'if' statement can create the scope for some objects? -- http://gcc.gnu.org/bugzilla/show

[Bug c++/35708] jump to label enters catch block

2008-03-28 Thread bruno at clisp dot org
--- Comment #4 from bruno at clisp dot org 2008-03-28 22:48 --- The bug also occurs with g++ 4.3.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35708

[Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code

2008-03-28 Thread baldrick at free dot fr
--- Comment #51 from baldrick at free dot fr 2008-03-28 22:48 --- Subject: Re: VRP fails to eliminate range checks in Ada code > This is fold simplifying (js__TtB) target_first == -128 to > target_first == 128 via fold_sign_changed_comparison. Right, that was my instant guess. The Ad

[Bug fortran/34714] ICE-on-invalid in gfc_conv_descriptor_dtype

2008-03-28 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2008-03-28 22:58 --- Subject: Bug 34714 Author: dfranke Date: Fri Mar 28 22:57:25 2008 New Revision: 133701 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133701 Log: gcc/fortran: 2008-03-28 Daniel Franke <[EMAIL PROTECTED]>

[Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code

2008-03-28 Thread rguenth at gcc dot gnu dot org
--- Comment #52 from rguenth at gcc dot gnu dot org 2008-03-28 22:58 --- I'm now testing a variant of the patch that fixes fold_sign_changed_comparison and just initializes incoming parameter value-ranges based on their types. This seems to do the same range-check removals and looks lik

[Bug fortran/34714] ICE-on-invalid in gfc_conv_descriptor_dtype

2008-03-28 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2008-03-28 23:02 --- Fixed in trunk, no backport. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added ---

  1   2   >