[Bug c/31887] bad warning converting qualified void* to qualified array pointer

2007-08-15 Thread raeburn at raeburn dot org
--- Comment #3 from raeburn at raeburn dot org 2007-08-15 06:03 --- Section 6.7.3 says: If the specification of an array type includes any type qualifiers, the element type is so-qualified, not the array type. The more I think about it, the more I think the compiler is technically

[Bug c/33076] Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one

2007-08-15 Thread raeburn at raeburn dot org
--- Comment #1 from raeburn at raeburn dot org 2007-08-15 06:13 --- Subject: Re: New: Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one On Aug 14, 2007, at 23:45, martin dot ferrari at gmail dot com wrote: Sorry if I'm

[Bug c/33076] Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one

2007-08-15 Thread raeburn at raeburn dot org
--- Comment #2 from raeburn at raeburn dot org 2007-08-15 06:15 --- Subject: Re: New: Warning when passing a pointer to a const array to a function that expects a pointer to a non-cast one On Aug 14, 2007, at 23:45, martin dot ferrari at gmail dot com wrote: Sorry if I'm

[Bug c++/33035] [4.3 regression] ICE on local class destructor

2007-08-15 Thread paolo at gcc dot gnu dot org
--- Comment #3 from paolo at gcc dot gnu dot org 2007-08-15 09:06 --- Subject: Bug 33035 Author: paolo Date: Wed Aug 15 09:06:42 2007 New Revision: 127508 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127508 Log: /cp 2007-08-15 Paolo Carlini [EMAIL PROTECTED] PR

[Bug c++/33035] [4.3 regression] ICE on local class destructor

2007-08-15 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2007-08-15 09:07 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug c++/33035] [4.3 regression] ICE on local class destructor

2007-08-15 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33035

[Bug c++/33012] ICE on throwing copy of object returned by reference from method with traits-deduced return-type

2007-08-15 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-08-15 09:14 --- So the problem is already fixed in all the active branches. Thanks, anyway! -- pcarlini at suse dot de changed: What|Removed |Added

[Bug fortran/29459] Spurious warnings about anonymous variables

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2007-08-15 09:16 --- OK, I've found the culprit: the variable is created in gfc_trans_vla_one_sizepos(). However, it makes no sense to issue warnings about anonymous variables, since these are emitted by the front-end for internal

[Bug fortran/33077] New: gfortran.dg/random_7.f90: a.out uses uninitialized memory/test failure

2007-08-15 Thread burnus at gcc dot gnu dot org
If I run gfortran -g gfortran.dg/random_7.f90 valgrind a.out ==27210== Conditional jump or move depends on uninitialised value(s) ==27210==at 0x400A35: MAIN__ (random_7.f90:12) ==27210==by 0x400D0B: main (fmain.c:22) Using gfortran -g -fdefault-integer-8, ./a.out aborts and

[Bug fortran/33077] RANDOM_SEED failure for integer(kind=8)

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-08-15 09:54 --- (In reply to comment #0) ==27210== Conditional jump or move depends on uninitialised value(s) ==27210==at 0x400A35: MAIN__ (random_7.f90:12) ==27210==by 0x400D0B: main (fmain.c:22) Humpf, stupid me,

[Bug fortran/18850] padding within a sequence type

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-08-15 10:16 --- Fixing as FIXED: I think the -fpack-derived option is used for this very purpose. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32310] Intel-darwin specific ICE on CP2K code

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2007-08-15 10:41 --- cp2k compiles fine on i686-darwin as of today, and I can't see the memory leak any more, so I'm closing this. -- fxcoudert at gcc dot gnu dot org changed: What|Removed

[Bug fortran/29975] [meta-bugs] ICEs with CP2K

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #142 from fxcoudert at gcc dot gnu dot org 2007-08-15 10:44 --- As there's only one bug left here, and it's been worked on, I'm closing this PR. Hopefully, with the inclusion of cp2k into regression-testers, we won't need to REOPEN it! -- fxcoudert at gcc dot gnu dot

[Bug c++/31751] [4.1/4.2 regression] ICE with forgotten member declaration

2007-08-15 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-08-15 11:22 --- Cannot be reproduced anymore in mainline, likely because of 33035. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug middle-end/33074] [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925

2007-08-15 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2007-08-15 11:43 --- Caused by http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00571.html Testing a fix. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32616] Too short actual argument for array element storage sequence

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/32986] Improve diagnostic message for COMMON with automatic object

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/33015] g77 extension: Implement support for DATA jhlf /'f'/

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug c++/32992] [4.1/4.2/4.3 Regression] Incorrect code generated for anonymous union and return

2007-08-15 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-08-15 12:08 --- Subject: Bug 32992 Author: jakub Date: Wed Aug 15 12:08:42 2007 New Revision: 127510 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127510 Log: PR c++/32992 * typeck.c (check_return_expr): Don't

[Bug middle-end/33074] [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925

2007-08-15 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-08-15 12:11 --- Subject: Bug 33074 Author: jakub Date: Wed Aug 15 12:11:38 2007 New Revision: 127511 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127511 Log: PR middle-end/33074 * emit-rtl.c (try_split): Use

[Bug middle-end/33074] [4.3 regression] ICE in copy_insn_1, at emit-rtl.c:4925

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

[Bug c++/32870] Unclear error message when declaring struct in wrong namespace

2007-08-15 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-08-15 12:35 --- working on it. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at

[Bug fortran/33077] RANDOM_SEED failure for integer(kind=8)

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-08-15 12:36 --- Subject: Bug 33077 Author: fxcoudert Date: Wed Aug 15 12:35:57 2007 New Revision: 127512 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127512 Log: PR fortran/33077 * intrinsics/random.c

[Bug fortran/33077] RANDOM_SEED failure for integer(kind=8)

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-08-15 12:37 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33078] New: g++ treats extern c static void foo(void); different to extern c {static void foo(void);}

2007-08-15 Thread room_debugs at outgesourced dot org
g++ --version g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) on debian lenny i386; reproduced on sid amd64 too. g++ -DUNIX_THREADING -D_THREAD_SAFE -D_REENTRANT -ggdb -Wall -DLINUX -D_POSIX_ SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -DUSE_STRCASECMP -DUSE_STRNCASECMP -g -pg -c test1.cpp

[Bug c++/33078] g++ treats extern c static void foo(void); different to extern c {static void foo(void);}

2007-08-15 Thread room_debugs at outgesourced dot org
--- Comment #1 from room_debugs at outgesourced dot org 2007-08-15 12:39 --- Created an attachment (id=14061) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14061action=view) simple test file failing -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33078

[Bug fortran/29459] Spurious warnings about anonymous variables

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2007-08-15 12:39 --- Subject: Bug 29459 Author: fxcoudert Date: Wed Aug 15 12:39:18 2007 New Revision: 127513 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127513 Log: PR fortran/29459 * trans.c

[Bug fortran/29459] Spurious warnings about anonymous variables

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #11 from fxcoudert at gcc dot gnu dot org 2007-08-15 12:39 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33078] g++ treats extern c static void foo(void); different to extern c {static void foo(void);}

2007-08-15 Thread room_debugs at outgesourced dot org
--- Comment #2 from room_debugs at outgesourced dot org 2007-08-15 12:40 --- Created an attachment (id=14062) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14062action=view) same code with {}; and not failing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33078

[Bug fortran/30658] Optionally, generate .mod files with the interface for files containing only procedures

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug libfortran/33079] New: Optional empty strings do not appear to be 'PRESENT'

2007-08-15 Thread P dot Schaffnit at access dot rwth-aachen dot de
Hi! See http://gcc.gnu.org/ml/fortran/2007-08/msg00336.html and http://gcc.gnu.org/ml/fortran/2007-08/msg00338.html GFortran seems to handle in a slightly surprising way optional empty strings... Cheers! Philippe PS: a testcase from François-Xavier Coudert CHARACTER(LEN=1) :: s s =

[Bug libfortran/33079] Optional empty strings do not appear to be 'PRESENT'

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug target/32765] Testsuite failures due to undefined symbol ___emutls_get_address

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-08-15 13:11 --- Subject: Bug 32765 Author: fxcoudert Date: Wed Aug 15 13:11:40 2007 New Revision: 127514 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127514 Log: PR target/32765 *

[Bug target/32765] Testsuite failures due to undefined symbol ___emutls_get_address

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-08-15 13:12 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/33079] Optional empty strings do not appear to be 'PRESENT'

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-08-15 14:05 --- The problem is shared by the TRIM and MIN/MAX. It is demonstrated by: character(len=1) :: s character(len=0) :: s0 s = s0 = call bar () call bar (s) call bar (s0) call bar (trim(s)) call bar

[Bug libfortran/33079] Optional empty strings do not appear to be 'PRESENT'

2007-08-15 Thread schwab at suse dot de
--- Comment #2 from schwab at suse dot de 2007-08-15 14:18 --- Why do you need to special case len == 0? The other strings aren't NUL terminated either. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33079

[Bug libfortran/33079] Optional empty strings do not appear to be 'PRESENT'

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-08-15 14:22 --- (In reply to comment #2) Why do you need to special case len == 0? The other strings aren't NUL terminated either. The zero-termination is just a detail to avoid keeping memory uninitialized. The thing is

[Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with var under 2.95.x and 3.x

2007-08-15 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2007-08-15 14:22 --- (In reply to comment #8) *** Bug 17172 has been marked as a duplicate of this bug. *** I see that the xfail is still there, so how can this be fixed ? http://gcc.gnu.org/svn/gcc/trunk/gcc/testsuite/gcc.dg/uninit-B.c

[Bug fortran/31820] Warning if case label value exceeds maximum value for type

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-08-15 14:38 --- (In reply to comment #1) * An INTEGER SELECT construct has a CASE that can never be matched as its lower value is greater than its upper value. It is also implemented: $ cat u1.f90 integer :: i, j

[Bug c/7258] The message variable might be used uninitialised does not tell the location

2007-08-15 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2007-08-15 14:41 --- I am not so sure this is fixed. I need to double check this. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/22456] [4.1/4.2/4.3 regression] missing is used uninitialized warning

2007-08-15 Thread manu at gcc dot gnu dot org
--- Comment #13 from manu at gcc dot gnu dot org 2007-08-15 15:02 --- (In reply to comment #12) Created an attachment (id=13354) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13354action=view) [edit] patch to preserve uninitialized PHI arguments in CCP like so. -O -Wall gives

[Bug middle-end/22456] [4.1/4.2/4.3 regression] missing is used uninitialized warning

2007-08-15 Thread manu at gcc dot gnu dot org
--- Comment #14 from manu at gcc dot gnu dot org 2007-08-15 15:05 --- Diego, I think this is caused by CCP silently merging UNDEFINED PHI nodes. We could group similar cases into PR18501, don't you think? -- manu at gcc dot gnu dot org changed: What|Removed

[Bug c/30542] gcc 4.1.1 missing uninitialized variable warnings

2007-08-15 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2007-08-15 15:21 --- (In reply to comment #3) Is it really quite as 22456? That bug is about variable used for initializing itself, and really strange do-nothing code, while this one is straightforward use of unitialized variable:

[Bug tree-optimization/17506] [4.0/4.1 regression] warning about uninitialized variable points to wrong location

2007-08-15 Thread manu at gcc dot gnu dot org
--- Comment #35 from manu at gcc dot gnu dot org 2007-08-15 15:23 --- If there are not going to be more releases of GCC 4.0 or 4.1, I guess we can close this, no? -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31516] ICE on nested templates

2007-08-15 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2007-08-15 15:25 --- This is a duplicate of 33035 and indeed the latter isn't a regression, I'm fixing that. *** This bug has been marked as a duplicate of 33035 *** -- pcarlini at suse dot de changed: What|Removed

[Bug c++/33035] [4.3 regression] ICE on local class destructor

2007-08-15 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-08-15 15:25 --- *** Bug 31516 has been marked as a duplicate of this bug. *** -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/33080] New: Building libstdc++ with static libgcc

2007-08-15 Thread janka dot gcc at mailnull dot com
Add possibility (maybe a configure param) for building libstdc++ (and other gcc companion libraries) with libgcc linked-in staticaly. -- Summary: Building libstdc++ with static libgcc Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/32596] [4.3 Regression] ICE with inline template specialization in anonymous namespace

2007-08-15 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-08-15 15:31 --- Caused by PR31923. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32596

[Bug middle-end/19430] V_MAY_DEF (taking address of var) causes missing uninitialized warning

2007-08-15 Thread manu at gcc dot gnu dot org
--- Comment #14 from manu at gcc dot gnu dot org 2007-08-15 15:36 --- Trying to improve the summary to help spot duplicates. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/33065] warning in Comparing stages 2 and 3: cd: stage3-gcc: No such file or directory

2007-08-15 Thread mbo dot massimo at tiscali dot it
--- Comment #5 from mbo dot massimo at tiscali dot it 2007-08-15 15:56 --- Created an attachment (id=14063) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14063action=view) make log of the build process log of the make produced during build gcc --

[Bug bootstrap/33065] warning in Comparing stages 2 and 3: cd: stage3-gcc: No such file or directory

2007-08-15 Thread mbo dot massimo at tiscali dot it
--- Comment #6 from mbo dot massimo at tiscali dot it 2007-08-15 15:56 --- I tryed to build gcc in a different directory from the source directory and I obtained the following error: make[3]: Leaving directory `/home/compiler/build/temporary_build/build-gcc' Comparing stages 2 and 3

[Bug libstdc++/33080] Building libstdc++ with static libgcc

2007-08-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-15 16:44 --- Use --disable-shared --enable-shared=libstdc++, libffi,ada,libada,libjava,libobjc instead. Anyways you don't want to use the static version of libgcc in many places, because exceptions will not always work now.

[Bug c++/26068] [4.0 Regression] extern C static function should not be allowed

2007-08-15 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2007-08-15 16:40 --- *** Bug 33078 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31382] Internal compiler Error (Is this a bug?)

2007-08-15 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-08-15 16:37 --- Feedback not forthcoming... -- pcarlini at suse dot de changed: What|Removed |Added

[Bug c++/33078] g++ treats extern c static void foo(void); different to extern c {static void foo(void);}

2007-08-15 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-15 16:40 --- This is on purpose. *** This bug has been marked as a duplicate of 26068 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31132] [4.1/4.2/4.3 regression] ICE on inconsistent friend declaration

2007-08-15 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-08-15 17:07 --- On it. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at gcc dot

[Bug target/33075] (mingw) Dwarf2-EH causes stack leak with VLA

2007-08-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-15 17:14 --- gcc version 3.4.5 (mingw special) Can you try the trunk as it was the officially (for FSF versions) got dwarf2 eh support recently for win32? -- pinskia at gcc dot gnu dot org changed: What

[Bug tree-optimization/33082] New: [4.3 Regression] Revision 127491 causes FAIL: gcc.dg/dfp/convert-bfp-fold.c (test for excess errors)

2007-08-15 Thread hjl at lucon dot org
This patch http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00705.html causes [EMAIL PROTECTED] rrs]$ /export/gnu/import/rrs/127491/usr/bin/gcc -O /export/gnu/import/rrs/127491/src/gcc/testsuite/gcc.dg/dfp/convert-bfp-fold.c /tmp/cc2dvlFs.o: In function `main': convert-bfp-fold.c:(.text+0x3a):

[Bug tree-optimization/33082] [4.3 Regression] Revision 127491 causes FAIL: gcc.dg/dfp/convert-bfp-fold.c (test for excess errors)

2007-08-15 Thread hjl at lucon dot org
--- Comment #1 from hjl at lucon dot org 2007-08-15 17:37 --- I saw it on both Linux/ia32 and Linux/x86-64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33082

[Bug tree-optimization/32941] [4.3 regression] Bootstrap comparison failure

2007-08-15 Thread andreasmeier80 at gmx dot de
--- Comment #13 from andreasmeier80 at gmx dot de 2007-08-15 18:50 --- Fixed -- andreasmeier80 at gmx dot de changed: What|Removed |Added Status|NEW

[Bug c++/32364] Error from simple typedef/void combination

2007-08-15 Thread craig dot powers at gmail dot com
--- Comment #2 from craig dot powers at gmail dot com 2007-08-15 19:08 --- (In reply to comment #0) Came across this head-scratcher in building Qt with GCC 4.2.0. Heavily simplified version: foo.cxx: typedef void (*funcptr)(void); typedef void GLvoid; typedef

[Bug c++/32364] Error from simple typedef/void combination

2007-08-15 Thread craig dot powers at gmail dot com
--- Comment #3 from craig dot powers at gmail dot com 2007-08-15 19:13 --- Looking at CVS for glu.h, the official patch is: #ifdef __cplusplus typedef GLvoid (*_GLUfuncptr)(); #else ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32364

[Bug target/32963] ICE in failed_reload, could not find a spill register

2007-08-15 Thread sje at gcc dot gnu dot org
--- Comment #5 from sje at gcc dot gnu dot org 2007-08-15 20:08 --- Subject: Bug 32963 Author: sje Date: Wed Aug 15 20:08:43 2007 New Revision: 127523 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127523 Log: PR target/32963 caller-save.c (reg_save_code): Set

[Bug target/32963] ICE in failed_reload, could not find a spill register

2007-08-15 Thread sje at cup dot hp dot com
--- Comment #6 from sje at cup dot hp dot com 2007-08-15 20:12 --- Fixed with patch to caller-save.c -- sje at cup dot hp dot com changed: What|Removed |Added

[Bug target/32963] [4.3 Regression] ICE in failed_reload, could not find a spill register

2007-08-15 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|ICE in failed_reload, could |[4.3 Regression] ICE in |not find a spill register

[Bug target/33011] [4.3 Regression] frv: error: bad output_move_single operand

2007-08-15 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-08-15 20:46 --- Can you try after revision 127523? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33011

[Bug c/33083] New: noreturn function should be invoked via JMP

2007-08-15 Thread us15 at os dot inf dot tu-dresden dot de
When a noreturn function is called, the compiler should emit a jmp instruction rather than call, because the called function will not return. Saving callee-save registers in the function prologue also seems unnecessary since there won't be an epilogue to restore them. The following example uses

[Bug target/33075] (mingw) Dwarf2-EH causes stack leak with VLA

2007-08-15 Thread dannysmith at users dot sourceforge dot net
--- Comment #2 from dannysmith at users dot sourceforge dot net 2007-08-16 05:59 --- This executes with no stack growth on mingw32 4.3.0 with Dwarf2 EH unwind. Ditto for 4.2.1. I think this may be related to the deallocation problem reported in PR 19771 Danny -- dannysmith at