[Bug c++/30340] pure virtual function called on const & declared with previous declaration without a definition, const & assigned by temporary

2007-01-01 Thread gdr at integrable-solutions dot net
--- Comment #5 from gdr at integrable-solutions dot net 2007-01-01 09:47 --- Subject: Re: pure virtual function called on const & declared with previous declaration without a definition, const & assigned by temporary "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | For

[Bug bootstrap/30341] New: Makefile using mv instead of ln not working on WinXP Cygwin Bash

2007-01-01 Thread rob1weld at aol dot com
I am compiling on WinXP using Cygwin's Bash - I compiled 4.1.1 OK but not 4.2.0 (CVS). The makefile works away for a long time and finally stops - unfinished. What I did to fix it: After you run the ./configure script there will be a makefile in your build directory. Open it in wordpad and also o

[Bug bootstrap/30342] New: Tough time building 4.2.0 (CVS) on WinXP with Cygwin

2007-01-01 Thread rob1weld at aol dot com
I had a lot of trouble getting __everything__ to work. I've tried rebuilding a few times this last month and have managed to get everything (really) working except I can not compile ada (I will try some more). Here is the output of gcc-v : Using built-in specs. Target: athlon_xp-pc-cygwin Configu

[Bug libfortran/30162] I/O with named pipes does not work

2007-01-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2007-01-01 15:17 --- (In reply to comment #7) > I have formatted named pipe I/O working, at least for the equivalent test > cases > given here. Great! If you want me to, I'll be willing to test your patch. Thomas -- http://gcc.g

[Bug c++/30340] pure virtual function called on const & declared with previous declaration without a definition, const & assigned by temporary

2007-01-01 Thread fang at csl dot cornell dot edu
--- Comment #6 from fang at csl dot cornell dot edu 2007-01-01 16:42 --- You can confirm the lifetime of B() by printing something during its destruction, and during the constructor of C. You'll be left with a dangling reference to a temporary whose vptr has been invalidated, hence the

[Bug c++/30340] pure virtual function called on const & declared with previous declaration without a definition, const & assigned by temporary

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-01-01 16:57 --- Invalid as the life time of B() ends after the assigmnet statement ends so the code is undefined after that point. -- pinskia at gcc dot gnu dot org changed: What|Removed |Adde

[Bug libfortran/30162] I/O with named pipes does not work

2007-01-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2007-01-01 17:51 --- Preliminary patch for formatted only. Index: io/unix.c === *** io/unix.c (revision 120301) --- io/unix.c (working copy) *** fd_flush

[Bug target/29281] natPlainDatagramSocketImpl.cc:148: internal compiler error

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-01-01 18:27 --- No feedback in 3 months. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/30343] New: False positive: allocating zero-element array

2007-01-01 Thread gjasny at web dot de
Hi, The following code produces a false positive warning "allocating zero-element array". template class Array { public: Array() { if (size) { new T[size]; } } }; void foo() { Array bar; } the new command is guarded by a if(size). So allocating a zero size array is impossib

[Bug c++/30344] New: template type argument cannot be initialized by a default parameter

2007-01-01 Thread Bernd dot Donner at gmx dot net
The following code sample is compiled by several other compilers. Gcc compiles the following example, when the function f is put into the global scope. The example can also be compiled, when v has only a single template parameter. template class v { }; class c2 { void f(const v &t = v()) {

[Bug c++/30344] template type argument cannot be initialized by a default parameter

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-01 19:02 --- *** This bug has been marked as a duplicate of 57 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/57] [DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #33 from pinskia at gcc dot gnu dot org 2007-01-01 19:02 --- *** Bug 30344 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/30343] False positive: allocating zero-element array

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-01 19:03 --- *** This bug has been marked as a duplicate of 4210 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/4210] should not warning with dead code

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #19 from pinskia at gcc dot gnu dot org 2007-01-01 19:03 --- *** Bug 30343 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/30253] [4.3 Regression] ICE with statement expression inside a conditional

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2007-01-01 19:21 --- I am going to test this and then apply it as obvious once the testing is finished. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30253

[Bug c++/30340] pure virtual function called on const & declared with previous declaration without a definition, const & assigned by temporary

2007-01-01 Thread mjtruog at fastmail dot ca
--- Comment #8 from mjtruog at fastmail dot ca 2007-01-01 20:34 --- Thank you for looking at this. My mistake. I didn't realize that when you assign a temporary to a const &, the object is still destroyed after the assignment (and should then not be used in such a way, since the conten

[Bug middle-end/30322] ((-i-1) + i) +1) is turned into ~i + (i+1) and never into 0 on the tree level

2007-01-01 Thread roger at eyesopen dot com
--- Comment #3 from roger at eyesopen dot com 2007-01-01 20:46 --- Hi Richard (Happy New Year), I was wondering whether you could confirm whether the patch I committed fixes the loop termination conditions in tramp3d? It resolves the example code given in the description which now redu

[Bug fortran/25135] [4.2 and 4.1 only] Interface name does not conflict with subroutine name

2007-01-01 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-01-01 20:47 --- I seem not to have taken this one on. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/30230] Incorrect ia64 EH info when an EH region ends in the middle of a bundle

2007-01-01 Thread wilson at gcc dot gnu dot org
--- Comment #4 from wilson at gcc dot gnu dot org 2007-01-01 21:00 --- Fixed by Jakub's patch for 4.1, 4.2, and mainline. -- wilson at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/29966] crash in cc1 with backtrace from free()

2007-01-01 Thread patchapp at dberlin dot org
--- Comment #9 from patchapp at dberlin dot org 2007-01-01 21:53 --- Subject: Bug number PR preprocessor/29966 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/2006-12/msg01848.html -- http://gcc.gnu.o

[Bug preprocessor/28165] _Pragma GCC system_header broken

2007-01-01 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2007-01-01 21:56 --- Subject: Bug number PR preprocessor/28165 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/2006-12/msg01850.html -- http://gcc.gnu.o

[Bug preprocessor/19753] different LANG settings and ccache don't work together

2007-01-01 Thread patchapp at dberlin dot org
--- Comment #2 from patchapp at dberlin dot org 2007-01-01 21:57 --- Subject: Bug number PR preprocessor/19753 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/2006-12/msg01851.html -- http://gcc.gnu.o

[Bug preprocessor/28709] [4.0/4.1 regression] Bad diagnostic pasting tokens with ##

2007-01-01 Thread patchapp at dberlin dot org
--- Comment #5 from patchapp at dberlin dot org 2007-01-01 21:57 --- Subject: Bug number PR preprocessor/28709 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/2006-12/msg01852.html -- http://gcc.gnu.o

[Bug preprocessor/22168] #if #A == #B should have a diagnostic in ISO C mode

2007-01-01 Thread patchapp at dberlin dot org
--- Comment #14 from patchapp at dberlin dot org 2007-01-01 21:57 --- Subject: Bug number PR preprocessor/22168 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/2006-12/msg01853.html -- http://gcc.gnu.

[Bug fortran/25080] ICE/missing error on different ranks for dummy and actual arguments

2007-01-01 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-01-01 21:58 --- (In reply to comment #2) > We now reject the reporter's code as we should. We could still reject the code > in comment #1, but none of the other compilers I tried reject it. Marking this > as low priority (I think it w

[Bug target/29166] broken unwind information for many life variables resulting in register corruption

2007-01-01 Thread schwab at gcc dot gnu dot org
--- Comment #6 from schwab at gcc dot gnu dot org 2007-01-01 22:03 --- Subject: Bug 29166 Author: schwab Date: Mon Jan 1 22:03:23 2007 New Revision: 120319 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120319 Log: PR target/29166 * config/ia64/ia64.c (ia64_comp

[Bug target/29166] broken unwind information for many life variables resulting in register corruption

2007-01-01 Thread schwab at gcc dot gnu dot org
--- Comment #7 from schwab at gcc dot gnu dot org 2007-01-01 22:07 --- Subject: Bug 29166 Author: schwab Date: Mon Jan 1 22:07:30 2007 New Revision: 120320 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120320 Log: PR target/29166 * config/ia64/ia64.c (ia64_comp

[Bug c++/30348] New: '#define false FALSE' undefines '#define FALSE false'

2007-01-01 Thread h8_spam at sonic dot net
I ran into an issue where doing #define FALSE false followed by #define false FALSE undefined the first FALSE which is not what I would expect. Perhaps this is part of the standard, but in case not, I'm reporting it. --- #de

[Bug target/29166] broken unwind information for many life variables resulting in register corruption

2007-01-01 Thread schwab at suse dot de
--- Comment #8 from schwab at suse dot de 2007-01-01 22:11 --- Fixed for 4.2+. -- schwab at suse dot de changed: What|Removed |Added Status|NEW

[Bug middle-end/30253] [4.3 Regression] ICE with statement expression inside a conditional

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2007-01-01 22:20 --- Subject: Bug 30253 Author: pinskia Date: Mon Jan 1 22:19:58 2007 New Revision: 120321 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120321 Log: 2007-01-01 Andrew Pinski <[EMAIL PROTECTED]> PR

[Bug middle-end/30253] [4.3 Regression] ICE with statement expression inside a conditional

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2007-01-01 22:21 --- Fixed. Thanks both for the report. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-01 22:34 --- so what is happening here is the following: #define FALSE false #define false FALSE bool a = FALSE; So we get again: bool a = FALSE; This is the same problem as: int b; #define a b #define b a int main() { i

[Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'

2007-01-01 Thread h8_spam at sonic dot net
--- Comment #2 from h8_spam at sonic dot net 2007-01-01 22:43 --- Right, but since true and false are keywords, I would expect the #define true TRUE and false FALSE to be no-ops. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30348

[Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'

2007-01-01 Thread h8_spam at sonic dot net
--- Comment #3 from h8_spam at sonic dot net 2007-01-01 22:44 --- So I would expect it NOT to be the same as the a b b a example you give. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30348

[Bug debug/8354] Incorrect DWARF-2/3 emitted for const + array

2007-01-01 Thread gary at intrepid dot com
--- Comment #12 from gary at intrepid dot com 2007-01-01 22:47 --- Jim Wilson posted thi follow up to the GDB list: http://sourceware.org/ml/gdb/2007-01/msg7.html From: Jim Wilson Date: Mon, 01 Jan 2007 14:15:47 -0800 Subject: RE: how to support C type qualifiers applied to ar

[Bug preprocessor/21521] -finput-charset -save-temps converts characters twice

2007-01-01 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-01-01 22:55 --- Subject: Bug number PR preprocessor/21521 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/msg00027.html -- http://gcc.gnu.o

Re: [Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'

2007-01-01 Thread Andrew Pinski
On Mon, 2007-01-01 at 22:43 +, h8_spam at sonic dot net wrote: > Right, but since true and false are keywords, I would expect the > #define true > TRUE and false FALSE to be no-ops. How? Preprocessing happens before tokenazation happens. -- Pinski

[Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'

2007-01-01 Thread pinskia at gmail dot com
--- Comment #4 from pinskia at gmail dot com 2007-01-01 23:37 --- Subject: Re: '#define false FALSE' undefines '#define FALSE false' On Mon, 2007-01-01 at 22:43 +, h8_spam at sonic dot net wrote: > Right, but since true and false are keywords, I would expect the > #define t

[Bug pch/13675] #including a precompiled header more than once in the same unit fails

2007-01-01 Thread tim at klingt dot org
--- Comment #14 from tim at klingt dot org 2007-01-01 23:53 --- this is still a problem in the 4.2 branch -- tim at klingt dot org changed: What|Removed |Added

[Bug middle-end/30311] [4.3 regression] revision 120211 failed to compile perlbench

2007-01-01 Thread jsm28 at gcc dot gnu dot org
--- Comment #5 from jsm28 at gcc dot gnu dot org 2007-01-02 00:38 --- Subject: Bug 30311 Author: jsm28 Date: Tue Jan 2 00:38:21 2007 New Revision: 120329 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120329 Log: gcc: PR middle-end/30311 * caller-save.c (add_sto

[Bug middle-end/30349] New: gcc/libssp/ssp.c:177: ICE: in cgraph_expand_all_functions, at cgraphunit.c:1220

2007-01-01 Thread danglin at gcc dot gnu dot org
/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/ -B/opt/gnu/gcc/gcc -4.3.0/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11 /lib/ -isystem /opt/gnu/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11/include -isystem /op t/gnu/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11/sys-include -c

Re: [Bug middle-end/30349] New: gcc/libssp/ssp.c:177: ICE: in cgraph_expand_all_functions, at cgraphunit.c:1220

2007-01-01 Thread Andrew Pinski
This should have been fixed by: 2007-01-01 Jan Hubicka <[EMAIL PROTECTED]> Andrew Pinski <[EMAIL PROTECTED]> * cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions before starting IPA passes. -- Pinski

[Bug middle-end/30349] gcc/libssp/ssp.c:177: ICE: in cgraph_expand_all_functions, at cgraphunit.c:1220

2007-01-01 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2007-01-02 01:12 --- Subject: Re: New: gcc/libssp/ssp.c:177: ICE: in cgraph_expand_all_functions, at cgraphunit.c:1220 This should have been fixed by: 2007-01-01 Jan Hubicka <[EMAIL PROTECTED]> Andrew Pinski <[EMAIL P

[Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111

2007-01-01 Thread eesrjhc at bath dot ac dot uk
uite/gfortran/../../gfortran version 4.3.0 20070101 (experimental) Thanks very much, I really appreciate your hard work. Roger. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867

[Bug c++/30303] [4.2/4.3 regression] ICE with invalid constructor definition

2007-01-01 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-01-02 02:10 --- I am testing a slightly different patch which is closer to what the rest of the function does, in that return NULL_TREE instead of error_mark_node. This fixes the problem still and also removes the error "throws diff

[Bug middle-end/30349] gcc/libssp/ssp.c:177: ICE: in cgraph_expand_all_functions, at cgraphunit.c:1220

2007-01-01 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2007-01-02 02:28 --- Subject: Re: gcc/libssp/ssp.c:177: ICE: in cgraph_expand_all_functions, at cgraphunit.c:1220 > This should have been fixed by: Will check. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30349

Re: [Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-01-01 Thread Daniel Berlin
On 1 Jan 2007 00:41:44 -, mark at codesourcery dot com <[EMAIL PROTECTED]> wrote: --- Comment #26 from mark at codesourcery dot com 2007-01-01 00:41 --- Subject: Re: [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should dberlin at gcc dot gnu d

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-01-01 Thread dberlin at dberlin dot org
--- Comment #27 from dberlin at gcc dot gnu dot org 2007-01-02 03:01 --- Subject: Re: [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should On 1 Jan 2007 00:41:44 -, mark at codesourcery dot com <[EMAIL PROTECTED]> wrote: > > > --- Comment #2

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-01-01 Thread mark at codesourcery dot com
--- Comment #28 from mark at codesourcery dot com 2007-01-02 03:24 --- Subject: Re: [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should dberlin at dberlin dot org wrote: > It would be nice if we could transform those attributes on > gimplification

[Bug libfortran/24459] [4.1 Only] gfortran namelist problem

2007-01-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #22 from jvdelisle at gcc dot gnu dot org 2007-01-02 04:35 --- *** Bug 30193 has been marked as a duplicate of this bug. *** -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libfortran/30193] Namelist issues when reading in asterisk preceeded arrays

2007-01-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2007-01-02 04:35 --- Already fixed *** This bug has been marked as a duplicate of 24459 *** -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/30170] The STATUS specified in OPEN statement at (1) cannot have the value SCRATCH if a FILE specifier is present

2007-01-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-01-02 04:39 --- I see no need to provide this non-standard behavior. A simple edit of the source code of the user program will resolve this. -- jvdelisle at gcc dot gnu dot org changed: What|Removed

[Bug libfortran/30056] Exceeding recl on direct access

2007-01-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-01-02 04:42 --- No need to backport this further. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libfortran/30009] [4.1 only] Unformatted reads exceeding storage units gives EOF instead of ERR

2007-01-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #18 from jvdelisle at gcc dot gnu dot org 2007-01-02 04:48 --- Closing, we need to focus resources on current trunk if we can. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/29835] Error message of unknown edit descriptor needs improvement

2007-01-01 Thread jvdelisle at gcc dot gnu dot org
-- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |minor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29835

[Bug fortran/25057] default initialization and DATA statement conflict

2007-01-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-01-02 05:06 --- Still working on it! -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added A