[Bug rtl-optimization/29329] [4.1 regression] internal consistency failure

2007-01-21 Thread ebotcazou at gcc dot gnu dot org
PROTECTED] * combine.c (distribute_notes) REG_DEAD: Do not consider SETs past the insn to which the note was originally attached. Added: trunk/gcc/testsuite/gcc.c-torture/compile/20070121.c Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c trunk/gcc/testsuite/ChangeLog

[Bug rtl-optimization/29329] [4.1 regression] internal consistency failure

2007-01-21 Thread ebotcazou at gcc dot gnu dot org
PROTECTED] * combine.c (distribute_notes) REG_DEAD: Do not consider SETs past the insn to which the note was originally attached. Added: branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/20070121.c Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2

[Bug rtl-optimization/29329] [4.1 regression] internal consistency failure

2007-01-21 Thread ebotcazou at gcc dot gnu dot org
PROTECTED] * combine.c (distribute_notes) REG_DEAD: Do not consider SETs past the insn to which the note was originally attached. Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/20070121.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1

[Bug rtl-optimization/29329] [4.1 regression] internal consistency failure

2007-01-21 Thread ebotcazou at gcc dot gnu dot org
--- Comment #10 from ebotcazou at gcc dot gnu dot org 2007-01-21 22:40 --- At long last. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

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

2007-01-21 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-01-21 22:44 --- Created an attachment (id=12929) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12929action=view) patch This is what I currently have for this - it fails to bootstrap because it miscompares. A variant without

[Bug fortran/30532] New: ^Z as EOF?

2007-01-21 Thread tkoenig at gcc dot gnu dot org
^Z (ASCII 26) is interpreted as EOF, which is strange. g77 accepts this. $ cat ab.f print *, end $ od -t d1 -t a ab.f 000 32 32 32 32 32 32 112 114 105 110 116 32 42 44 34 26 sp sp sp sp sp sp p r i n t sp * ,sub 020

[Bug libfortran/30533] New: minval, maxval missing for kind=1 and kind=2

2007-01-21 Thread tkoenig at gcc dot gnu dot org
Yet another missing intrinsic kind... Also watch out for PR 30512 when fixing this. $ cat minval-1.f90 program main integer(kind=1), allocatable :: a(:,:) integer(kind=2), allocatable :: b(:,:) allocate (a(0:-1,1:1)) allocate (b(0:-1,1:1)) print *,maxval(a,dim=1) ,minval(a,dim=1)

[Bug java/29812] env-klass value is not updated during the native calls

2007-01-21 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2007-01-21 23:13 --- Thanks for the report. I'm sorry this got lost for so long -- Andrew Overholt pointed out the problem again the other day... I am testing a fix. If you've got a short test case, that would be helpful; otherwise I

[Bug other/30530] dfp.c assumes DPD encoding

2007-01-21 Thread hjl at lucon dot org
--- Comment #2 from hjl at lucon dot org 2007-01-21 23:26 --- The updated patch is posted at http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01750.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30530

[Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] -M not fully chops dirname

2007-01-21 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2007-01-21 23:30 --- Subject: Bug number PR preprocessor/30468 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-01/msg01751.html --

[Bug objc/30479] [4.1/4.2 Regression] Precompiled headers don't seem to work with GNU ObjC

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2007-01-21 23:33 --- Subject: Bug 30479 Author: pinskia Date: Sun Jan 21 23:33:46 2007 New Revision: 121040 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121040 Log: 2007-01-20 Andrew Pinski [EMAIL PROTECTED] PR

[Bug middle-end/26061] error and warning count

2007-01-21 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2007-01-21 23:35 --- Gabriel, what do you think about this? Does it need testcases? Should I submit it? Index: gcc/toplev.c === --- gcc/toplev.c(revision 121027) +++

[Bug c++/30534] New: [4.3 regression] ICE with invalid template argument

2007-01-21 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline: templatebool struct A; templateint void foo() { A__builtin_constant_p(.) a; } bug.cc: In function 'void foo()': bug.cc:5: internal compiler error: tree

[Bug c++/30534] [4.3 regression] ICE with invalid template argument

2007-01-21 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30534

[Bug c++/30535] New: [4.2/4.3 regression] ICE with invalid template operator

2007-01-21 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline and 4.2 branch: struct A {}; templateA, typename T int operator-(A, T); int i = A() - 0; bug.cc:3: error: 'struct A' is not a valid type for a template

[Bug c++/30535] [4.2/4.3 regression] ICE with invalid template operator

2007-01-21 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30535

[Bug target/30519] [4.3 Regression] Configuration mismatch -- extra parts

2007-01-21 Thread mckelvey at maskull dot com
--- Comment #2 from mckelvey at maskull dot com 2007-01-21 23:53 --- That patch did the trick for me. Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30519

[Bug c++/30536] New: [4.1/4.2/4.3 regression] ICE with __thread and register

2007-01-21 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.1.0: struct A { __thread register int i; }; bug.cc:1: error: multiple storage classes in declaration of 'i' bug.cc:1: internal compiler error: tree

[Bug c++/30536] [4.1/4.2/4.3 regression] ICE with __thread and register

2007-01-21 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30536

[Bug middle-end/30537] New: [4.3 regression] ICE with -fno-unit-at-a-time an inlining

2007-01-21 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline when compiled with gcc -fno-unit-at-a-time -O: static inline void foo() {} void bar() { foo(); } bug.c:6: error: inlined_to pointer is set but no

[Bug middle-end/30537] [4.3 regression] ICE with -fno-unit-at-a-time an inlining

2007-01-21 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30537

[Bug objc/30479] [4.1 Regression] Precompiled headers don't seem to work with GNU ObjC

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2007-01-22 00:16 --- Testing on the 4.1 branch now. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30521] if (i == n) ++i; or i += i == n;?

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-22 00:29 --- CSE is pushing i+=1; down into the conditional which causes ifcvt not to catch the if(i) i+=1;. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30538] New: gcc reach gcc_unreachable()

2007-01-21 Thread kuba at et dot pl
GCC gets gcc_unreachable() when trying to lower firstprivate, lastprivate or reduction clauses in #pragma omp for clause. This is because, GCC doesn't check if it is in parallel context. -- Summary: gcc reach gcc_unreachable() Product: gcc Version: 4.3.0

[Bug middle-end/30537] [4.3 regression] ICE with -fno-unit-at-a-time an inlining

2007-01-21 Thread hubicka at gcc dot gnu dot org
--- Comment #1 from hubicka at gcc dot gnu dot org 2007-01-22 00:40 --- Mine -- hubicka at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug target/30519] [4.3 Regression] Configuration mismatch -- extra parts

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-22 00:44 --- Subject: Bug 30519 Author: pinskia Date: Mon Jan 22 00:43:56 2007 New Revision: 121047 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121047 Log: 2007-01-21 Andrew Pinski [EMAIL PROTECTED] PR

[Bug target/30519] [4.3 Regression] Configuration mismatch -- extra parts

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-22 00:44 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug middle-end/30538] gcc reach gcc_unreachable()

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-22 00:46 --- Do you have a testcase? If gcc_unreachable is called, that is an ICE (internal compiler error). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29683] [4.1/4.2 Regression] Arg split between stack/regs can cause stack corruption

2007-01-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|Arg split between stack/regs|[4.1/4.2 Regression] Arg |can cause stack

[Bug middle-end/30333] [4.3 Regression] Segmentation fault for -O2 on legal code

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-22 00:59 --- I think this was already fixed a while back. Can you try again? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

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

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-22 01:07 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30509

[Bug c++/30458] ice for legal code at -O3

2007-01-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30458

[Bug fortran/29410] [4.2 only] bug with TRANSFER() and -O2

2007-01-21 Thread pinskia at gmail dot com
--- Comment #11 from pinskia at gmail dot com 2007-01-22 01:08 --- Subject: Re: [4.2 only] bug with TRANSFER() and -O2 On Sun, 2007-01-14 at 11:19 +, pault at gcc dot gnu dot org wrote: Were you going to apply this to 4.2, together with revision 119211, or will you close them

[Bug middle-end/30490] Segmentation fault for legal code with -O2

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-22 01:10 --- I think this has already been fixed already, can you retry? This was caused by a GC issue. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30490] [4.3 Regression] Segmentation fault for legal code with -O2

2007-01-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|Segmentation fault for legal|[4.3 Regression] |code with -O2

[Bug middle-end/30538] gcc reach gcc_unreachable()

2007-01-21 Thread kuba at et dot pl
--- Comment #2 from kuba at et dot pl 2007-01-22 01:41 --- int foo() { int a = 0, i; #pragma omp for firstprivate(a) for(i = 0; i 10; i++) a += i; return a; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30538

[Bug middle-end/30538] gcc reach gcc_unreachable()

2007-01-21 Thread kuba at et dot pl
--- Comment #3 from kuba at et dot pl 2007-01-22 01:41 --- Try my patch: http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01755.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30538

[Bug c++/30539] New: Accepts invalid explicit specialization declaration

2007-01-21 Thread bangerth at dealii dot org
The following invalid code (note the duplicate X1::X1::) is accepted and apparently has always been: template int dim struct X { void f(); }; template void X1::X1::f(); -- Summary: Accepts invalid explicit specialization declaration

[Bug c++/30509] [4.3 Regression] ice for legal code with -O3

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-22 02:01 --- Reduced testcase: struct all{ }; struct g { g(const all __a){ } }; templatetypename _Tp struct vector: protected g { vector(const all __a = all()) : g(__a) { } }; void f() throw(); struct Logger

[Bug objc/30479] [4.1 Regression] Precompiled headers don't seem to work with GNU ObjC

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2007-01-22 02:03 --- Fixed in 4.1.2. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug objc/30479] [4.1 Regression] Precompiled headers don't seem to work with GNU ObjC

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2007-01-22 02:03 --- Subject: Bug 30479 Author: pinskia Date: Mon Jan 22 02:03:02 2007 New Revision: 121048 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121048 Log: 2007-01-21 Andrew Pinski [EMAIL PROTECTED] PR

[Bug target/30485] ICE in rs6000_emit_vector_compare when building with -fno-trapping-math

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-22 02:07 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30509] [4.3 Regression] ice for legal code with -O3

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-22 02:17 --- Still ICEs as of today. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/30475] assert(int+100 int) optimized away

2007-01-21 Thread felix-gcc at fefe dot de
--- Comment #41 from felix-gcc at fefe dot de 2007-01-22 02:18 --- So I tested some C++ vector code using at, in a desperate attempt to find ANY case where this so called optimization actually produces faster code. http://ptrace.fefe.de/vector2.C $ gcc -O3 -o vector2 vector2.C $

[Bug middle-end/30509] [4.3 Regression] ice for legal code with -O3

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-01-22 02:21 --- This is caused by exceptions and inlining: #1 0x084ebd68 in calc_dfs_tree (di=0xbfe06ef4, reverse=CDI_DOMINATORS) at /src/gcc/local/gcc/gcc/dominance.c:374 #2 0x084ec6ef in calculate_dominance_info

[Bug c/30475] assert(int+100 int) optimized away

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #42 from pinskia at gcc dot gnu dot org 2007-01-22 02:27 --- (In reply to comment #41) So I tested some C++ vector code using at, in a desperate attempt to find ANY case where this so called optimization actually produces faster code. Try looking at real code instead of

[Bug middle-end/30490] [4.3 Regression] Segmentation fault for legal code with -O2

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-22 02:42 --- Reducing ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30490

[Bug driver/30246] -ggdb3 does not cause -dD to be passed to cc1 for preprocessing

2007-01-21 Thread patchapp at dberlin dot org
--- Comment #5 from patchapp at dberlin dot org 2007-01-22 02:45 --- Subject: Bug number PR driver/30246 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-01/msg01757.html --

[Bug driver/30090] Incorrectness in `gcc.c'

2007-01-21 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2007-01-22 02:47 --- I have a patch for this which just removes the sentence. I'll submit shortly -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/30077] g++.dg/tree-ssa/pr28003.C fails now on spu-elf

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-22 02:54 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/12448] -MT / -MQ don't behave as documented.

2007-01-21 Thread tromey at gcc dot gnu dot org
--- Comment #9 from tromey at gcc dot gnu dot org 2007-01-22 03:29 --- I tested this and it works. I'm submitting it. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/12448] -MT / -MQ don't behave as documented.

2007-01-21 Thread patchapp at dberlin dot org
--- Comment #10 from patchapp at dberlin dot org 2007-01-22 03:30 --- Subject: Bug number PR driver/12448 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-01/msg01759.html --

[Bug driver/15303] When gcc sees an unrecognized option, the exit status indicates success

2007-01-21 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2007-01-22 04:16 --- The fix is simple -- change a single error() to a fatal(). I'll submit this after running the test suite. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented

2007-01-21 Thread davmac at davmac dot org
--- Comment #3 from davmac at davmac dot org 2007-01-22 04:17 --- You've got to be kidding - these things are genuinely useful. What sort of abuse are you worried about? In any case, I'd like to know if that is the general consensus among maintainers. I'm not going to write

[Bug middle-end/30490] [4.3 Regression] Segmentation fault for legal code with -O2

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-22 04:34 --- Fixed, I reduced a testcase for 4.3.0 20070106 and it was working today. Plus the original testcase is working. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/30458] [4.3 Regression] ice for legal code at -O3

2007-01-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Summary|ice for legal code at -O3

[Bug middle-end/30458] [4.3 Regression] ice for legal code at -O3

2007-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-22 04:41 --- Yes that patch fixed that bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/30532] ^Z as EOF?

2007-01-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-01-22 04:52 --- See scanner.c line 1067. This is deliberate at the moment. The question now is, do we want to leave this alone or not? Does the fortran standard define this in some particuloar way? I am looking. --

[Bug fortran/30532] ^Z as EOF?

2007-01-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-01-22 05:07 --- My read is that within quotes, the ctrl-z character is acceptable and we should not gobble what is left after seeing one as is done now. From F95 standard: Additional characters may be representable in the

[Bug fortran/30407] Elemental functions in WHERE assignments wrongly rejected

2007-01-21 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-01-22 05:17 --- Dang it! In spite of New Year's resolutions, I had better take it. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30538] gcc reach gcc_unreachable()

2007-01-21 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-01-22 07:48 --- *** This bug has been marked as a duplicate of 27416 *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/27416] ICE on invalid firstprivate/lastprivate

2007-01-21 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-01-22 07:48 --- *** Bug 30538 has been marked as a duplicate of this bug. *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/30512] MAXVAL() incorrect for zero-size int arrays, and for -HUGE-1 maximum values.

2007-01-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-01-22 07:56 --- I don't think it's a bug, since the negative number with the largest magnitude possible within the representation is not -huge()-1, but -huge(). If I understand the standard correctly, -huge()-1, although being

[Bug c++/19618] Does warn if bit-fields exceed the size of bool types

2007-01-21 Thread mueller at gcc dot gnu dot org
-- mueller at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mueller at gcc dot gnu dot |dot org

<    1   2