[Bug c++/18123] [3.4/4.0 regression] ICE on templated enum

2004-10-24 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-10-24 08:44 --- Will look at it. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu

[Bug bootstrap/18125] New: bootstrap fails in libstdc++'s configure script, ICE on every C++ conftest.

2004-10-24 Thread debian-gcc at lists dot debian dot org
CVS HEAD 20041024, works ok for i486-linux configure:3264: /build/packages/gcc/snap/gcc-snapshot-20041024/build/gcc/xgcc -s hared-libgcc -B/build/packages/gcc/snap/gcc-snapshot-20041024/build/gcc/ -nostdi nc++ -L/build/packages/gcc/snap/gcc-snapshot-20041024/build/hppa-linux-gnu/libst dc++-v3/src

[Bug c++/18126] New: sizeof compound-literal not parsed correctly

2004-10-24 Thread jsm28 at gcc dot gnu dot org
The C++ parser fails to parse sizeof compound-literal correctly. For example, int x = sizeof (int) { 1 }; receives the error t.C:1: error: expected %,% or %;% before '{' token As shown in the grammar for GNU extensions in comments in cp/parser.c, compound literals are considered

[Bug bootstrap/18125] bootstrap fails in libstdc++'s configure script, ICE on every C++ conftest.

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 12:58 --- I think this is related to PR 17919 (or is a dup of that bug). I think this is GC related. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18125

[Bug other/16464] gfortran.dg test harness does not use loop

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16464

[Bug ada/18127] New: Bug box compiling s-fore.adb in libada

2004-10-24 Thread awreynolds at mac dot com
../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg s-fore.adb -o s-fore.o +===GNAT BUG DETECTED==+ | 4.0.0 20041023 (experimental) (powerpc-apple-darwin7.5.0) GCC error: | | in rs6000_emit_minmax, at config/rs6000/rs6000.c:11805

[Bug ada/18127] Bug box compiling s-fore.adb in libada

2004-10-24 Thread awreynolds at mac dot com
-- What|Removed |Added Keywords||ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18127

[Bug target/17956] [4.0 Regression] ICE in rs6000_emit_minmax, config/rs6000/rs6000.c:11725

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 16:23 --- *** Bug 18127 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug ada/18127] Bug box compiling s-fore.adb in libada

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 16:23 --- *** This bug has been marked as a duplicate of 17956 *** -- What|Removed |Added

[Bug target/17956] [4.0 Regression] ICE in rs6000_emit_minmax, config/rs6000/rs6000.c:11725

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 16:23 --- Confirmed via the dup bug. -- What|Removed |Added Status|UNCONFIRMED

[Bug c++/18126] sizeof compound-literal not parsed correctly

2004-10-24 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2004-10-24 18:48 --- Confirmed. As an additional data point, icc accepts the code without any problem. W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18126

[Bug c++/18126] sizeof compound-literal not parsed correctly

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Keywords|

[Bug c/18128] New: REGRESSION: Wrong precedence

2004-10-24 Thread adamm at zombino dot com
Produces wrong code on both 3.3.4 and 3.4.2 (in Debian Sid). It works perfectly with gcc 2.95. The problem is that, -A+B == B-A -A()+B == B-A() -A+B() == B()-A but, -A()+B() ?= B()-A() if A or B depend on each other, the last condition is !=. Otherwise, it is ==. This breaks any code that relies

[Bug c/18128] REGRESSION: Wrong precedence

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 19:01 --- Invalid: printf( -4.0 is %f\n, -A() + A()); either A() can be evaluated first which is the misunderstanding in your part. -- What|Removed |Added

[Bug middle-end/18129] New: -fwritable-strings doesn't work

2004-10-24 Thread jakub at gcc dot gnu dot org
struct S { char *a, *b; }; extern void foo (struct S *); int main () { struct S s[] = { {ABCDEFGH0123, T}, {ABCDEFGH4567, T}, {ABCDEFGH89ZYX, T}, {IJK012, T}, {IJK345, T}, {IJK678, T}, {IJKLMN, T}, {IJKOPQ, T}, {0, 0} }; foo (s); return 0; } at -O2

[Bug middle-end/18129] [3.4 Regression] -fwritable-strings doesn't work

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||wrong-code Summary|-fwritable-strings doesn't |[3.4 Regression] -fwritable-

[Bug middle-end/18129] [3.4 Regression] -fwritable-strings doesn't work

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 19:56 --- Confirmed. 20030422 (236) between 20030504 (237) -- What|Removed |Added

[Bug middle-end/18129] [3.4 Regression] -fwritable-strings doesn't work

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 20:31 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2004-10/msg02020.html. -- What|Removed |Added

[Bug java/18130] New: ICE when static class extends inner class

2004-10-24 Thread kon at iki dot fi
I doubt this code is valid, but anyway, GCC should display a proper error message rather than just crash. I am using a GCC checked out from CVS HEAD yesterday. I also get an ICE with GCC 3.3.4-11 and 3.4.1-17 from Debian, but i haven't tried the corresponding FSF releases. --- Source file ---

[Bug java/18130] ICE when static class extends inner class

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 21:46 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug java/18131] New: [meta-bug] inner class problems in java front-end

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- Summary: [meta-bug] inner class problems in java front-end Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, ice-on-invalid-code, rejects-valid, accepts-invalid, meta-bug

[Bug java/18130] ICE when static class extends inner class

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||18131 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18130

[Bug java/18131] [meta-bug] inner class problems in java front-end

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||12788 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18131

[Bug java/18131] [meta-bug] inner class problems in java front-end

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||15714 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18131

[Bug java/17747] bogus duplicate class errors

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||18131 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17747

[Bug ada/18085] [Ada] - C++ interoperability sample program fails, 3.4.2, Linux 2.4.20-8, Red Hat 9.0

2004-10-24 Thread karl at grebyn dot com
--- Additional Comments From karl at grebyn dot com 2004-10-24 22:39 --- Problem is that the documentation has an incorrect specification of the interface. By changing ex7.h to the following, the program works. //ex7.h class Origin { public: int

[Bug other/18132] New: Problem compiling gcc 3.4.2

2004-10-24 Thread pierre42d at 9online dot fr
# make make[1]: Entering directory `/tmp/gcc-3.4.2/libiberty' if [ x-fpic != x ]; then \ gcc -c -DHAVE_CONFIG_H -s -O3 -march=i686 -I. -I./../include -W -Wall -Wtraditional -pedantic -fpic regex.c -o pic/regex.o; \ else true; fi regex.c:132: warning: conflicting types for built-in function

[Bug target/15286] ICE cause by reload

2004-10-24 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2004-10-24 22:52 --- This problem appears to be a confluence of issues between fix_truncdfdi2 and limitations of reload, exacerbated by Apple's LL64 mode. The problematic code is typedef unsigned long clock_t; clock_t clock(void);

[Bug other/18132] Problem compiling gcc 3.4.2

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 22:53 --- How did you configure GCC and what are your CFLAGS? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18132

[Bug other/18132] Problem compiling gcc 3.4.2

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |WAITING Keywords||build

[Bug tree-optimization/18133] New: computed gotos are not folded back to regual gotos when it is found it is not a computed goto at all

2004-10-24 Thread pinskia at gcc dot gnu dot org
void foo (void) { void *p; p = L0; goto *p; L0: return; } This is only needed for tree level. -- Summary: computed gotos are not folded back to regual gotos when it is found it is not a computed goto at all Product: gcc Version: 4.0.0

[Bug tree-optimization/18133] computed gotos are not folded back to regual gotos when it is found it is not a computed goto at all

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 23:36 --- Confirmed via Steven on IRC (really he was the one who gave the example). -- What|Removed |Added

[Bug tree-optimization/18134] New: computed goto and if statement

2004-10-24 Thread pinskia at gcc dot gnu dot org
int foo (int a) { void *p; if (a!=0) p = L0; else p = L1; goto *p; L0: return 1; L1: return 0; } this should be equivant to: int foo(int a) { return a !=0;} -- Summary: computed goto and if statement Product: gcc Version: 4.0.0 Status:

[Bug tree-optimization/18134] computed goto and if statement

2004-10-24 Thread steven at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||18133 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18134

[Bug tree-optimization/18133] computed gotos are not folded back to regual gotos when it is found it is not a computed goto at all

2004-10-24 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2004-10-24 23:52 --- Fixing this is easy for all bb if bb ends in a computed goto (which on tree means there is *only* a computed goto) find the computed goto target if the target is an SSA_NAME and the

[Bug tree-optimization/18134] computed goto and if statement

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-24 23:55 --- Confirmed via Steven. -- What|Removed |Added Status|UNCONFIRMED

[Bug libgcj/18135] New: gctest uses the installed libgcc_s on darwin

2004-10-24 Thread pinskia at gcc dot gnu dot org
I found this when I was running the testsuite on a new compiler with a new prefix that was empty. creating gctest make AR_FLAGS=rc CC_FOR_BUILD=gcc CFLAGS=-O2 -g -O2 CXXFLAGS=-g -O2 CFLAGS_FOR_BUILD= CFLAGS_FOR_TARGET=-O2 -g -O2 INSTALL=/usr/bin/install -c INSTALL_DATA=/usr/bin/install -c -m

[Bug libstdc++/14939] libstdc++ doesn't compile with uclibc headers

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 00:48 --- Can you tell us if this patch works? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14939

[Bug target/16719] [ColdFire] Illegal move of byte itno address register causes compiler to ICE

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Attachment #6828|application/octet-stream|text/plain mime type||

[Bug tree-optimization/18136] New: arguments being gimple registers cause redundant memory loads

2004-10-24 Thread hubicka at gcc dot gnu dot org
Since the arguments are gimple registers, gimple optimizers are happy to create many references to it. While lowering them to RTL these however compile to memory loads causing number of redundant loads. The attached quicksort loop on when compiled with -O2 -fno-loop-optimize (the other being

[Bug tree-optimization/18136] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread hubicka at gcc dot gnu dot org
--- Additional Comments From hubicka at gcc dot gnu dot org 2004-10-25 00:50 --- Created an attachment (id=7406) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7406action=view) the quicksort loop -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18136

[Bug tree-optimization/18137] New: arguments being gimple registers cause redundant memory loads

2004-10-24 Thread hubicka at gcc dot gnu dot org
Since the arguments are gimple registers, gimple optimizers are happy to create many references to it. While lowering them to RTL these however compile to memory loads causing number of redundant loads. The attached quicksort loop on when compiled with -O2 -fno-loop-optimize (the other being

[Bug tree-optimization/18137] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread hubicka at gcc dot gnu dot org
--- Additional Comments From hubicka at gcc dot gnu dot org 2004-10-25 00:51 --- Created an attachment (id=7407) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7407action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18137

[Bug target/16719] [ColdFire] Illegal move of byte itno address register causes compiler to ICE

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 00:59 --- Confirmed, here is a reduced testcase: unsigned char a, b, c, d, e, f, g; void safer_ecb_encrypt(unsigned char *block_out, unsigned char *key, unsigned int round) { while(round-- 0) { a ^=

[Bug tree-optimization/18137] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 01:03 --- *** This bug has been marked as a duplicate of 18136 *** -- What|Removed |Added

[Bug tree-optimization/18136] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 01:03 --- *** Bug 18137 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18136

[Bug tree-optimization/18137] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 01:08 --- Lets reopen this one as this is the one with the testcase. -- What|Removed |Added

[Bug tree-optimization/18136] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 01:09 --- *** This bug has been marked as a duplicate of 18137 *** -- What|Removed |Added

[Bug tree-optimization/18137] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 01:09 --- *** Bug 18136 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18137

[Bug c/5675] [4.0 regression] const variables wrongly considered part of constant expressions

2004-10-24 Thread geoffk at gcc dot gnu dot org
--- Additional Comments From geoffk at gcc dot gnu dot org 2004-10-25 02:21 --- GCC is now more consistent about when this bug triggers, so some cases which passed in 3.4 fail in 4.0. There are testcases for this bug, gcc.dg/c90-const-expr-3.c and gcc.dg/c99-const-expr-3.c. --

[Bug c/5675] [4.0 regression] const variables wrongly considered part of constant expressions

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5675

[Bug target/15923] [4.0 Regression] gcc.c-torture/execute/931004-12.c fails on powerpc-apple-darwin

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 02:35 --- Fixed by: 2004-10-24 Geoffrey Keating [EMAIL PROTECTED] * config/rs6000/darwin.h (BLOCK_REG_PADDING): Define. -- What|Removed |Added

[Bug target/14262] Structure size computed wrong

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 02:35 --- The darwin problem has now been fixed by: 2004-10-24 Geoffrey Keating [EMAIL PROTECTED] * config/rs6000/darwin.h (BLOCK_REG_PADDING): Define. -- What|Removed

[Bug target/15923] [4.0 Regression] gcc.c-torture/execute/931004-12.c fails on powerpc-apple-darwin

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- Bug 15923 depends on bug 14262, which changed state. Bug 14262 Summary: Structure size computed wrong http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14262 What|Old Value |New Value

[Bug tree-optimization/18137] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org

[Bug tree-optimization/18137] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||missed-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18137

[Bug rtl-optimization/18137] arguments being gimple registers cause redundant memory loads

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 03:33 --- This is really a rtl problem, the problem comes from greg. before that we have: (insn:HI 7 11 8 0 (set (reg/v:SI 68 [ start ]) (mem/i:SI (reg/f:SI 16 argp) [3 start+0 S4 A32])) 44 {*movsi_1} (nil)

[Bug regression/18138] New: [3.4/4.0 regression] libgcc_s.so.1 not found by 64-bit testsuite

2004-10-24 Thread billingd at gcc dot gnu dot org
The following patch breaks the 64-bit testsuite for mips-sgi-irix6.5. I have tracked it down in HEAD but the same patch causes a similar problem in the 3.4 branch. 2004-11-18 H.J. Lu [EMAIL PROTECTED] PR bootstrap/17684 * Makefile.in (clean): Remove

[Bug other/18138] [3.4/4.0 regression] libgcc_s.so.1 not found by 64-bit testsuite

2004-10-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 03:41 --- Confirmed, Eric Botcazou posted a patch here: http://gcc.gnu.org/ml/gcc-patches/2004-10/ msg02011.html to fix the problem. -- What|Removed |Added

[Bug other/18138] [3.4/4.0 regression] libgcc_s.so.1 not found by 64-bit testsuite

2004-10-24 Thread david dot billinghurst at comalco dot riotinto dot com dot au
--- Additional Comments From david dot billinghurst at comalco dot riotinto dot com dot au 2004-10-25 03:56 --- Subject: RE: [3.4/4.0 regression] libgcc_s.so.1 not found by 64-bit testsuite The gfortran.exp part works for me on mips-sgi-irix6.5. Will try the rest overnight.