[Bug debug/34535] [4.3 Regression] FAIL: libmudflap.c++/fail24-frag.cxx ICE

2007-12-27 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-12-27 08:28 --- Subject: Bug 34535 Author: jakub Date: Thu Dec 27 08:28:16 2007 New Revision: 131195 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131195 Log: PR debug/34535 * tree-mudflap.c (mf_make_builtin)

[Bug target/34281] [4.3 Regression] ARM: varargs broken with 64bit parameters.

2007-12-27 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-12-27 08:32 --- Subject: Bug 34281 Author: jakub Date: Thu Dec 27 08:31:54 2007 New Revision: 131196 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131196 Log: PR target/34281 * config/arm/arm.c (arm_setup_inc

[Bug target/34281] [4.3 Regression] ARM: varargs broken with 64bit parameters.

2007-12-27 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-12-27 08:34 --- http://gcc.gnu.org/ml/gcc-testresults/2007-12/msg01313.html is with the patch I've just checked in, without the arm.c part there were additional FAILs for the newly added testcase, other than that identical results.

[Bug debug/34535] [4.3 Regression] FAIL: libmudflap.c++/fail24-frag.cxx ICE

2007-12-27 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-12-27 08:34 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/34545] ICE when compiling Fortran 95 code

2007-12-27 Thread jon_d_r at msn dot com
--- Comment #9 from jon_d_r at msn dot com 2007-12-27 10:33 --- Subject: RE: ICE when compiling Fortran 95 code -Original Message- From: kargl at gcc dot gnu dot org [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 26, 2007 3:08 PM To: [EMAIL PROTECTED] Subject: [Bug for

[Bug libstdc++/34538] [DR 697] combination of sstream, invalid_argument and -std=c++0x breaks valid code

2007-12-27 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-12-27 11:24 --- *** Bug 34597 has been marked as a duplicate of this bug. *** -- pcarlini at suse dot de changed: What|Removed |Added -

[Bug libstdc++/34597] [C++0x] namespace posix_error is mising

2007-12-27 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-12-27 11:24 --- *** This bug has been marked as a duplicate of 34538 *** -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/34597] New: [C++0x] namespace posix_error is mising

2007-12-27 Thread sylvain dot pion at sophia dot inria dot fr
In C++0x mode, the following program: #include #include int main() { throw std::invalid_argument("foo"); } fails to compile, as: error: 'invalid_argument' cannot be used as a function The problem is that introduces invalid_argument as an enum va

[Bug libstdc++/34538] [DR 697] combination of sstream, invalid_argument and -std=c++0x breaks valid code

2007-12-27 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2007-12-27 11:33 --- Ok, I'm fixing this issue, is bothering too many people... -- pcarlini at suse dot de changed: What|Removed |Added

[Bug target/34397] [4.3 regression] ICE on invalid default template parameter

2007-12-27 Thread ubizjak at gmail dot com
--- Comment #15 from ubizjak at gmail dot com 2007-12-27 12:58 --- (In reply to comment #14) > So, we can conclude that something is wrong with arg 3 of ARRAY_REF expr. > Perhaps it is left uninitialized? Probably it is not OK to build ARRAY_REF expr using build_x_binary_op(). Could a

[Bug fortran/34594] On error and END, no jump to ERR=

2007-12-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2007-12-27 12:34 --- Fixed on trunk. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/34553] Unsafe calls to mktemp and tmpname

2007-12-27 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2007-12-27 13:18 --- The fix is in SVN trunk and will be in GCC 4.3.0. Thanks for the report. -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/34598] GNAT BUG DETECTED

2007-12-27 Thread sam at gcc dot gnu dot org
--- Comment #3 from sam at gcc dot gnu dot org 2007-12-27 13:15 --- Confirmed on GCC 3.4.0 20071219 +===GNAT BUG DETECTED==+ | 4.3.0 20071219 (experimental) (i686-pc-linux-gnu) Assert_Failure atree.adb:886| | Error detected at fp-dbs.a

[Bug ada/34598] GNAT BUG DETECTED

2007-12-27 Thread andry dot ogorodnik at gmail dot com
--- Comment #2 from andry dot ogorodnik at gmail dot com 2007-12-27 12:50 --- Created an attachment (id=14834) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14834&action=view) source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34598

[Bug ada/34553] Unsafe calls to mktemp and tmpname

2007-12-27 Thread sam at gcc dot gnu dot org
--- Comment #1 from sam at gcc dot gnu dot org 2007-12-27 13:04 --- Subject: Bug 34553 Author: sam Date: Thu Dec 27 13:04:14 2007 New Revision: 131201 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131201 Log: gcc/ada/ PR ada/34553 * adaint.c (__gnat_open_new

[Bug c++/33890] [4.3 regression] ICE in tsubst_copy with OpenMP

2007-12-27 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-12-27 14:02 --- Yeah, introduced by PR32177 fix, just needs !processing_template_decl guards. Mine. -- jakub at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/34397] [4.1/4.2/4.3 regression] ICE on invalid default template parameter

2007-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2007-12-27 14:44 --- Then this has been a bug since 4.0.0 when array ref was changed to be a 4 operand expression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/34533] DTIME returns total process time and not since last invocation

2007-12-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #13 from tkoenig at gcc dot gnu dot org 2007-12-27 12:36 --- Let's close this. If anybody disagrees, please reopen :-) -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/34538] [DR 697] combination of sstream, invalid_argument and -std=c++0x breaks valid code

2007-12-27 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2007-12-27 13:00 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/33410] [4.2/4.3 regression] ICE in iv_analyze_expr, at loop-iv.c:934

2007-12-27 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2007-12-27 12:59 --- Currently breaks with a df-verify error with a cross from i686-cygwin to alpha-linux-gnu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33410

[Bug libstdc++/34538] [DR 697] combination of sstream, invalid_argument and -std=c++0x breaks valid code

2007-12-27 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2007-12-27 11:54 --- You are right. Actually, I'm under the impression that we should do quite a bit of work to update the whole to the current working draft. But Benjamin probably wants to take care of that, I'm just going to make sure people

[Bug libstdc++/34538] [DR 697] combination of sstream, invalid_argument and -std=c++0x breaks valid code

2007-12-27 Thread sylvain dot pion at sophia dot inria dot fr
--- Comment #5 from sylvain dot pion at sophia dot inria dot fr 2007-12-27 11:36 --- Thank you Paolo, Looking at the current workding draft N2461, the protecting namespace is already there. So maybe the problem has already been dealt with independently, and issue 697 has been forgotte

[Bug tree-optimization/34458] [4.3 Regression] ICE in int_cst_value, at tree.c:8047 at -O3

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #6 from reichelt at gcc dot gnu dot org 2007-12-27 15:42 --- Confirmed. Even shorter testcase: == struct A { int x[8]; }; void foo(struct A* p, long long j) { int i; for (i = 0; i < 2; ++i) p->x[i+j+1] = p->x[i+j]; } ==

[Bug fortran/34565] internal write to string array fails

2007-12-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-12-27 15:36 --- Reduce test case: $ cat end-2.f90 program main implicit none character(len=6) :: c (2) = "" write (c (2:1:-1), "(I2)") 5 end program main $ gfortran end-2.f90 $ ./a.out At line 4 of file end-2.f90 Fortran runt

[Bug ada/34598] GNAT BUG DETECTED

2007-12-27 Thread andry dot ogorodnik at gmail dot com
--- Comment #1 from andry dot ogorodnik at gmail dot com 2007-12-27 12:33 --- Created an attachment (id=14833) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14833&action=view) error message from gnat error when use tagged_type.method notation -- http://gcc.gnu.org/bugzilla/s

[Bug target/34397] [4.3 regression] ICE on invalid default template parameter

2007-12-27 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2007-12-27 12:32 --- (In reply to comment #13) > For some reason it works correctly on i386-apple-darwin and > powerpc-linux-gnu. > I wonder if something is not miscompiling the C++ front-end. No, I have build non-bootstrapped gcc with gcc

[Bug fortran/34599] IOSTAT variable in data transfer input/output list

2007-12-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2007-12-27 16:20 --- This is invalid (but we could catch it, as an enhancement). >From the F95 draft, 9.4.1: In a data transfer statement, the variable specified in an IOSTAT= or a SIZE= specifier, if any, shall not be associated with

[Bug rtl-optimization/33410] [4.2/4.3 regression] ICE in iv_analyze_expr, at loop-iv.c:934

2007-12-27 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2007-12-27 15:28 --- Actually, that df failure was due to a local patch. With a clean tree, a cross from cygwin to alpha does not ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33410

[Bug tree-optimization/34458] [4.3 Regression] ICE in int_cst_value, at tree.c:8047 at -O3

2007-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-12-27 15:59 --- I always wondered why x86 uses HWI as being 32bits, it has registers which is 128bit wide now with SSE. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2007-12-27 16:03 --- Shorter testcase that crashes already with "-O -fopenmp": == void foo(); struct A { A() throw() { foo(); } }; void bar() { #pragma omp parallel A a, b; } =

[Bug fortran/34594] On error and END, no jump to ERR=

2007-12-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-12-27 12:34 --- Subject: Bug 34594 Author: tkoenig Date: Thu Dec 27 12:33:52 2007 New Revision: 131199 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131199 Log: 2007-12-27 Thomas Koenig <[EMAIL PROTECTED]> PR li

[Bug ada/34598] New: GNAT BUG DETECTED

2007-12-27 Thread andry dot ogorodnik at gmail dot com
4.3.0 20071005 (experimental) (i686-pc-linux-gnu) Assert_Failure atree.adb:960| | Error detected at fp-dbs.adb:3489:35 -- Summary: GNAT BUG DETECTED Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/34538] [DR 697] combination of sstream, invalid_argument and -std=c++0x breaks valid code

2007-12-27 Thread paolo at gcc dot gnu dot org
--- Comment #7 from paolo at gcc dot gnu dot org 2007-12-27 12:59 --- Subject: Bug 34538 Author: paolo Date: Thu Dec 27 12:59:01 2007 New Revision: 131200 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131200 Log: 2007-12-27 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libfortran/22423] Warnings when building libgfortran

2007-12-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #15 from tkoenig at gcc dot gnu dot org 2007-12-27 15:00 --- Subject: Bug 22423 Author: tkoenig Date: Thu Dec 27 15:00:10 2007 New Revision: 131204 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131204 Log: 2007-12-27 Thomas Koenig <[EMAIL PROTECTED]> PR

[Bug fortran/34565] internal write to string array fails

2007-12-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2007-12-27 15:07 --- With the new transfer_array functions, this should be fairly easy to do. I'll take a shot at this. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/34599] New: Order: IOSTAT is wrongly set before data is transferred

2007-12-27 Thread burnus at gcc dot gnu dot org
This program is based on a failing test of the Unicomp Fortran 95 test suite; while not all tests are correct (I found one which is listed as invalid code in the Fortran 2003 standard, which fails in gfortran), I think the following is valid. The problem is that gfortran sets the variable "is" to z

[Bug debug/32507] [4.1 regression] ICE with typedef in local class

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2007-12-27 16:30 --- The bug appeared in GCC 4.0.0, but is already fixed on the 4.1 branch, on the 4.2 branch (in version 4.2.1) and on mainline. -- reichelt at gcc dot gnu dot org changed: What|Removed

[Bug c++/31498] [4.1 Regression] ICE with vector initializer in template

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2007-12-27 17:10 --- Confirmed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug target/34484] pulls in allegedly unneeded floatingpoint exception access funcs

2007-12-27 Thread hjl at lucon dot org
--- Comment #5 from hjl at lucon dot org 2007-12-27 16:56 --- Any update on this? -- hjl at lucon dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug middle-end/31947] [4.2 Regression] ICE in calc_dfs_tree, at dominance.c:374

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #8 from reichelt at gcc dot gnu dot org 2007-12-27 16:55 --- Confirmed. Even shorter testcase: struct A { virtual void foo() {} } a; struct B { ~B() {} }; struct C : B { A* p; C() : p(&a) { p->foo(); } } c;

[Bug target/28102] [4.2/4.3 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared

2007-12-27 Thread ojab at ojab dot ru
--- Comment #25 from ojab at ojab dot ru 2007-12-27 17:17 --- Is it any progress? -- ojab at ojab dot ru changed: What|Removed |Added CC|

[Bug tree-optimization/32694] [4.1 Regression] ICE with long long arithmetic

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2007-12-27 17:34 --- Confirmed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug target/28102] [4.2/4.3 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared

2007-12-27 Thread tschwinge at gnu dot org
--- Comment #26 from tschwinge at gnu dot org 2007-12-27 18:23 --- Here is what I proposed / asked: Unfortunately I didn't get a definitive answer. I did not yet start to implement the ideas I described. I don't know if such a patch wo

[Bug middle-end/33540] ICE with vectors in expand_simple_binop at optabs.c

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #6 from reichelt at gcc dot gnu dot org 2007-12-27 18:48 --- Confirmed. Reduced testcase that crashes on i686-pc-linux-gnu when compiled with "-msse -O" (as C or C++ code): == typedef int v4i __attribute__((vector_size(16)

[Bug fortran/34599] IOSTAT variable in data transfer input/output list

2007-12-27 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-12-27 19:14 --- > This is invalid (but we could catch it, as an enhancement). I somehow missed that clause. I think one can thus close this bug. The test suite seems to have more bugs than I hoped. (Though, having it fixed has the a

[Bug middle-end/33333] ICE with #pragma omp parallel for in try/catch statement

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2007-12-27 19:09 --- Confirmed. Shorter testcase (just compile with "-fopenmp"): == struct A { int n; void foo(); }; void A::foo() { try { #pragma omp parallel for for (int i = 0; i < n; ++

[Bug tree-optimization/34591] [4.3 Regression] internal compiler error: in cost_for_stmt, at tree-vect-transform.c:98

2007-12-27 Thread dorit at gcc dot gnu dot org
--- Comment #3 from dorit at gcc dot gnu dot org 2007-12-27 19:14 --- Subject: Bug 34591 Author: dorit Date: Thu Dec 27 19:14:17 2007 New Revision: 131206 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131206 Log: PR tree-optimization/34591 * tree-vect-trasnform.

[Bug middle-end/32950] [4.1/4.2 regression] ICE with __complex__ double

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2007-12-27 20:06 --- Confirmed. Reduced testcase that crashes on i686-pc-linux-gnu when compiled with "-march=i386 -O" or "-march=i486 -O": === struct A { __complex__ double c; }; struct B {

[Bug libgomp/31510] FAIL: libgomp.fortran/threadprivate[23].f90 -O3 -g

2007-12-27 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2007-12-27 22:26 --- Looking some more: Breakpoint 1, dbxout_symbol_location (decl=0x40068810, type=0x40053810, suffix=0x400561e4 "~*", home=0x3fb9) at ../../gcc/gcc/dbxout.c:2819 2819 if (!targetm.have_tls (gdb) p debug_tr

[Bug middle-end/32455] [4.1/4.2/4.3 regression] ICE with modified va_list

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2007-12-27 20:38 --- Confirmed. Here's a reduced testcase that crashes when compiled under i686-pc-linux-gnu: = typedef double* va_list; void __builtin_va_start(va_list, ...); void foo(const c

[Bug fortran/34565] internal write to string array fails

2007-12-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-12-28 01:00 --- The relevant code is in transfer.c (next_array_record). You will see the TODO in the comment. The array descriptor should be coming in fine to the library so this function just needs to be updated some. Enjoy!

[Bug target/33958] Using "-ftree-vectorize" , creates an illegal movaps instruction

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2007-12-28 01:01 --- I can reproduce the problem with GCC 4.2.0 and 4.2.1, but not with GCC 4.2.2. As Dorit already pointed out this was most likely fixed by the patch for PR25413. In fact, the structure of the testcases is very simila

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

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #23 from reichelt at gcc dot gnu dot org 2007-12-28 01:01 --- *** Bug 33958 has been marked as a duplicate of this bug. *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/34457] [4.3 regression] ICE with VLA and -combine

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2007-12-28 01:12 --- Confirmed. The bug appeared on mainline between 2007-06-16 and 2007-07-16. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/34458] [4.3 Regression] ICE in int_cst_value, at tree.c:8047 at -O3

2007-12-27 Thread hjl at lucon dot org
--- Comment #8 from hjl at lucon dot org 2007-12-28 01:23 --- I believe revision 125030: http://gcc.gnu.org/ml/gcc-cvs/2007-05/msg00730.html http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01061.html is the cause. -- hjl at lucon dot org changed: What|Removed

[Bug target/18346] [4.0/4.1/4.2/4.3 regression] mmix-knuth-mmixware testsuite failure: gcc.dg/trampoline-1.c

2007-12-27 Thread hp at gcc dot gnu dot org
--- Comment #9 from hp at gcc dot gnu dot org 2007-12-28 01:38 --- Taking the bug, planning to suspend it... -- hp at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/18346] [4.0/4.1/4.2/4.3 regression] mmix-knuth-mmixware testsuite failure: gcc.dg/trampoline-1.c

2007-12-27 Thread hp at gcc dot gnu dot org
-- hp at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|SUSPENDED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18346

[Bug tree-optimization/32171] [4.1/4.2 regression] ICE w/ -ftree-loop-linear

2007-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2007-12-28 01:42 --- Confirmed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug c++/34600] New: [4.2/4.3 regression] ICE with invalid use of extern

2007-12-27 Thread reichelt at gcc dot gnu dot org
The following invalid testcase triggers an ICE since GCC 4.2.0: namespace N { void foo() { extern int i = 0; } } bug6.cc: In function 'void N::foo()': bug6.cc:5: error: 'i' has both 'extern' and initializer bug6.cc:5: internal compiler error: in

[Bug c++/34600] [4.2/4.3 regression] ICE with invalid use of extern

2007-12-27 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=34600

[Bug c/34601] New: [4.3 regression] ICE with undefined enum

2007-12-27 Thread reichelt at gcc dot gnu dot org
The following invalid testcase triggers an ICE on mainline: void foo() { enum E e; } bug.c: In function 'foo': bug.c:3: error: storage size of 'e' isn't known bug.c:2: internal compiler error: tree check: expected class 'type', have 'exceptional' (error

[Bug c/34601] [4.3 regression] ICE with undefined enum

2007-12-27 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=34601

[Bug c++/34600] [4.2/4.3 regression] ICE with invalid use of extern

2007-12-27 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.0 |4.2.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34600

[Bug c/34601] [4.3 regression] ICE with undefined enum

2007-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-28 02:16 --- Related to PR 32295. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/34602] New: [4.1/4.2/4.3 regression] Internal error with invalid #line directive

2007-12-27 Thread reichelt at gcc dot gnu dot org
The following testcase triggers an internal error since GCC 3.1: #line bug.c:1:6: internal error: unspellable token EOF bug.c:1:6: error: "" after #line is not a positive integer -- Summary: [4.1/4.2/4.3 regression] Internal error with inval

[Bug preprocessor/34602] [4.1/4.2/4.3 regression] Internal error with invalid #line directive

2007-12-27 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=34602

[Bug c++/34603] New: [4.1/4.2/4.3 regression] ICE with broken template declaration

2007-12-27 Thread reichelt at gcc dot gnu dot org
The following invalid testcase triggers an ICE since GCC 4.0.0: template struct A; template A::A( struct A; bug.cc:3: error: template definition of non-template 'struct A< >::A' bug.cc:3: internal compiler error:

[Bug c++/34603] [4.1/4.2/4.3 regression] ICE with broken template declaration

2007-12-27 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=34603