[Bug target/22497] A register is wasted in simple vectorised loops

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-18 06:49 --- (In reply to comment #2) > I have tested gcc snapshot 'gcc version 4.1.0 20050716 (experimental)', > with 'gcc -O2 -ftree-vectorize -msse2' and it still produces code with both % > eax and %edx used. > > A

[Bug tree-optimization/22532] [4.1 Regression] We produce worse code on the mainline for a loop

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-18 06:43 --- Created an attachment (id=9298) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9298&action=view) patch which I need to test This patch which needs more comments but should be complete otherwise. This

[Bug target/22497] A register is wasted in simple vectorised loops

2005-07-17 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-07-18 06:36 --- (In reply to comment #1) > With last night's compiler I get: Strange... I have tested gcc snapshot 'gcc version 4.1.0 20050716 (experimental)', with 'gcc -O2 -ftree-vectorize -msse2' and it still produces code w

[Bug bootstrap/22541] New: Building into empty PREFIX causes broken limits.h to be installed

2005-07-17 Thread dank at kegel dot com
When building gcc-3.4.3 or gcc-4.x into a clean $PREFIX, the configure script happily copies the glibc include files from include to sys-include; here's the line from the log file (with $PREFIX instead of the real prefix): Copying $PREFIX/i686-unknown-linux-gnu/include to $PREFIX/i686-unknown-lin

[Bug tree-optimization/22532] [4.1 Regression] We produce worse code on the mainline for a loop

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-18 05:17 --- The reason why eustore does not remove it is because we have a loop and a PHI intbetween the load and store: # d_15 = V_MUST_DEF ; d = s_2; # d_18 = V_MAY_DEF ; f (s_9); # VUSE ; s_16 = d

[Bug rtl-optimization/21527] BYTEmark bitmap test: Regression with Profiled Optimization

2005-07-17 Thread jbucata at tulsaconnect dot com
--- Additional Comments From jbucata at tulsaconnect dot com 2005-07-18 04:42 --- For me, with -march=athlon-xp, -funroll-loops on 4.0.0 did indeed pessimize slightly. However, -fprofile-{generate,use} pessimized more on top of that. So there's still a problem with regard to the PO. I

[Bug c++/20912] C++ FE emitting assignments to read-only global symbols

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-18 01:37 --- I wonder if this is the recent regression in eon again. -- What|Removed |Added Last reconf

[Bug tree-optimization/22534] [4.1 Regression] [DR236] gcc.c-torture/execute/20000603-1.c execution, -O2 fails

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-18 01:27 --- Some new discussion from the C standards committee: http://www.open-std.org/jtc1/sc22/wg14/ www/docs/n.htm -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22534

[Bug bootstrap/22517] Bootstrap ICE on latest CVS: tree check: tree-ssa

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-18 01:02 --- Can you try bootstrapping without using GCC 4.1 since I think your compiler which you are building with is before that patch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22517

[Bug bootstrap/22517] Bootstrap ICE on latest CVS: tree check: tree-ssa

2005-07-17 Thread mckelvey at maskull dot com
--- Additional Comments From mckelvey at maskull dot com 2005-07-18 01:00 --- Subject: Re: Bootstrap ICE on latest CVS: tree check: tree-ssa On Sunday 17 July 2005 00:48 am, pinskia at gcc dot gnu dot org wrote: > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-07

[Bug target/22539] Internal compiler error with maximum sized array

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-18 00:01 --- Confirmed. We should be producing a warning/error message for this like we do on PowerPC. t.c: In function 'main': t.c:5: warning: stack frame too large -- What|Removed

[Bug c++/22540] No access to public static members/functions of privately inherited base class

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 23:58 --- 4.1 is correct. private inherited base class means make that class's field all private in the class, even if they were public to begin with. >From 3.4.0 and above correctly rejects this code. --

[Bug target/22539] Internal compiler error with maximum sized array

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target GCC build triplet|FreeBSD 5.4-RELEASE i386| GCC host triplet|FreeBSD 5.4-RELEASE i386| GCC

[Bug c++/22540] New: No access to public static members/functions of privately inherited base class

2005-07-17 Thread mdweb at web dot de
) ../gcc/configure --enable-languages=c,c++ --prefix=/home/xxx/tmp Thread model: posix gcc version 4.1.0 20050717 (experimental) The following code is rejected: class A { public: static void foo() {} static int i; }; class B : private A { }; class C : public B { public

[Bug c/22539] New: Internal compiler error with maximum sized array

2005-07-17 Thread ulfalizer at gmail dot com
Compiling this: #define SIZE 2u << 31 - 2 int main() { char a[SIZE], b[SIZE]; } Gives this compilation error: bigcp.c: In function `main': bigcp.c:7: error: unrecognizable insn: (insn/f 34 33 35 (parallel [ (set (reg/f:SI 7 sp) (plus:SI (reg/f:SI 7 sp)

[Bug c++/22263] [4.0/4.1 Regression] explicit instantiation fails to emit symbols defined later

2005-07-17 Thread mmitchel at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|UNCONFIRMED

[Bug tree-optimization/22530] [4.1 Regression] ICE with static promotion

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||zadeck at naturalbridge dot ||com http://gcc.gnu.org/bugzilla/s

[Bug tree-optimization/21000] store should not be done if we don't change its value

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 22:52 --- Only f and f2 are fixed. comment #3 is fixed too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21000

[Bug tree-optimization/21000] store should not be done if we don't change its value

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 22:48 --- PR 22538 is another testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21000

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 22:45 --- Fixed, I filed the missed optimization under PR 22538. -- What|Removed |Added St

[Bug tree-optimization/22538] New: Eustore does not remove stores for struct assignments

2005-07-17 Thread pinskia at gcc dot gnu dot org
Take the following code: typedef struct dw_cfi_oprnd_struct { unsigned long reg; } dw_cfa_location; dw_cfa_location loc; void def_cfa_1 (void) { loc.reg = loc.reg; } We don't remove the store/load to loc.rec on the tree level. We even don't remove PIC startup code for ppc-darwin either: _

[Bug c++/21687] [4.0/4.1 Regression] ICE on valid code

2005-07-17 Thread mmitchel at gcc dot gnu dot org
-- Bug 21687 depends on bug 22139, which changed state. Bug 22139 Summary: [4.0/4.1 regression] Segfault with templates and friend functions http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22139 What|Old Value |New Value ---

[Bug c++/22139] [4.0/4.1 regression] Segfault with templates and friend functions

2005-07-17 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-07-17 22:33 --- Fixed in 4.0.2. -- What|Removed |Added Status|ASSIGNED|RESO

[Bug c++/22139] [4.0/4.1 regression] Segfault with templates and friend functions

2005-07-17 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-17 22:31 --- Subject: Bug 22139 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-17 22:30:58 Modified files: gcc/testsuite : Change

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-17 22:28 --- Subject: Bug 22531 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-17 22:28:19 Modified files: gcc: ChangeLog tree-ssa-pre.c Added files

[Bug target/22537] unable to find a register to spill in class "CREG"

2005-07-17 Thread schwab at suse dot de
-- What|Removed |Added Summary|unable to find a register to|unable to find a register to |spill in cl ass "CREG" |spill in class "CREG" http://gcc

[Bug target/22537] unable to find a register to spill in cl ass "CREG"

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c |target GCC host triplet|i586-suse-linux | GCC target triplet||i586-s

[Bug c/22537] unable to find a register to spill in cl ass ‘CREG’

2005-07-17 Thread mueller at kde dot org
-- What|Removed |Added Keywords||ice-on-valid-code Summary|unable to find a register to|unable to find a register to

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 22:16 --- Reduced testcase: typedef struct dw_cfi_oprnd_struct { unsigned long reg; } dw_cfa_location; void def_cfa_1 (void) { dw_cfa_location loc; loc.reg = loc.reg; } Confirmed, testing a patch for Daniel Ber

[Bug c/22537] New: unable to find a register to spill in cl

2005-07-17 Thread mueller at kde dot org
ass ‘CREG’ X-Bugzilla-Reason: CC compiling testcase: === Cut === struct nand_chip { · int · · page_shift; · int·· phys_erase_shift; }; extern void foo( int ); static void nand_writev_ecc (int *mtd, int *vecs, unsigned long count) { · int i, total

[Bug c++/22139] [4.0/4.1 regression] Segfault with templates and friend functions

2005-07-17 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-17 22:02 --- Subject: Bug 22139 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-17 22:02:10 Modified files: gcc/testsuite : ChangeLog gcc/cp : C

[Bug tree-optimization/22532] [4.1 Regression] We produce worse code on the mainline for a loop

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 21:37 --- (In reply to comment #1) > the eustores stuff i just committed should fix this now > please try again :) This was after eustores stuff was committed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2253

[Bug tree-optimization/22532] [4.1 Regression] We produce worse code on the mainline for a loop

2005-07-17 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-17 21:36 --- the eustores stuff i just committed should fix this now please try again :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22532

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 21:23 --- *** Bug 22536 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug bootstrap/22536] gcc/dwarf2out.c:751: internal compiler error at tree-into-ssa.c:2290

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 21:23 --- *** This bug has been marked as a duplicate of 22531 *** -- What|Removed |Added

[Bug bootstrap/22536] New: gcc/dwarf2out.c:751: internal compiler error at tree-into-ssa.c:2290

2005-07-17 Thread lucier at math dot purdue dot edu
stage1/xgcc -Bstage1/ -B/pkgs/gcc-mainline/powerpc-apple-darwin8.2.0/bin/ -c -g -O2 -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common -DHAVE_CONFIG_H-I. -I. -

[Bug c++/22454] [4.0/4.1 Regression] 'template class/operator overloading/default argument' internal compiler error

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 21:22 --- *** Bug 22535 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/22535] parse error with class operator as default argument

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 21:22 --- *** This bug has been marked as a duplicate of 22454 *** -- What|Removed |Added

[Bug tree-optimization/22483] [4.1 Regression] ICE : tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:466

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22444 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22483

[Bug tree-optimization/22444] [4.1 regression] testsuite failure:23_containers/set/explicit_instantiation/2.cc ICE

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 21:20 --- the patch in PR 22483 should fix this. -- What|Removed |Added OtherBugsDependingO|

[Bug tree-optimization/22534] [4.1 Regression] [DR236] gcc.c-torture/execute/20000603-1.c execution, -O2 fails

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 21:17 --- Hmm, there is still questions if this is valid: /* It is not clear whether this test is conforming. See DR#236 http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_236.htm. However, there seems to be c

[Bug tree-optimization/22534] [4.1 Regression] gcc.c-torture/execute/20000603-1.c execution, -O2 fails

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 21:14 --- Confirmed. -- What|Removed |Added CC||pinskia at

[Bug tree-optimization/22444] [4.1 regression] testsuite failure:23_containers/set/explicit_instantiation/2.cc ICE

2005-07-17 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-07-17 21:13 --- These failures have appeared for me on i686-pc-linux-gnu on 20050717. -- What|Removed |Added

[Bug c++/22535] New: parse error with class operator as default argument

2005-07-17 Thread bitmap at pan dot homelinux dot com
This used to work fine with g++-3.* $ cat test.cc struct o {}; template struct test { int m(int (o::*recv)(T&) = &o::operator()); }; $ g++ test.cc test.cc:6: internal compiler error: in cp_lexer_peek_nth_t

[Bug tree-optimization/22534] New: [4.1 Regression] gcc.c-torture/execute/20000603-1.c execution, -O2 fails

2005-07-17 Thread jsm28 at gcc dot gnu dot org
FAIL: gcc.c-torture/execute/2603-1.c execution, -O2 has appeared on mainline on 20050717 on at least hppa2.0w-hpux, hppa64-hpux, ia64-hpux. gcc-regression indicates failure on powerpc-darwin as well. -- Summary: [4.1 Regression] gcc.c-torture/execute/2603-1.c

[Bug other/22533] New: ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)

2005-07-17 Thread pluto at agmk dot net
gcc-4.1-20050717T1716UTC (...) stage1/xgcc -Bstage1/ -B/usr/x86_64-pld-linux/bin/ -c -march=x86-64 -O2 -gnatpg -gnata -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/output.adb -o ada/output.o raised STORAGE_ERROR : stack overflow (or erroneous memory access) make[2]: *** [ada/outpu

[Bug c/22529] [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function

2005-07-17 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-07-17 20:58 --- Subject: Re: [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function On Sun, 17 Jul 2005, pinskia at gcc dot gnu dot org wrote: > That is interesting as if we move

[Bug c/22529] [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 20:56 --- I believe you that this is invalid code. -- What|Removed |Added Status|UNCONFIRM

[Bug c++/22139] [4.0/4.1 regression] Segfault with templates and friend functions

2005-07-17 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-07-17 20:55 --- Thank you for reducing the test case! I now understand the bug, and am working on a fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22139

[Bug tree-optimization/19905] Extra V_MAY_DEF on a static variable whose address is not taken (we should be able to move the load out of the loop)

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 20:52 --- (In reply to comment #3) > This is not fixed Kenny's promote statics, in fact we now produce worse code > at -O3. Note on ppc- > darwin the code is fine since -fno-math-errno is done by default. I filed th

[Bug tree-optimization/22532] [4.1 Regression] We produce worse code on the mainline for a loop

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added OtherBugsDependingO||19905 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22532

[Bug tree-optimization/22532] [4.1 Regression] We produce worse code on the mainline for a loop

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||dberlin at gcc dot gnu dot ||org Target Milestone|---

[Bug tree-optimization/22532] New: [4.1 Regression] We produce worse code on the mainline for a loop

2005-07-17 Thread pinskia at gcc dot gnu dot org
Take the following code: #define NUMPOINTS 20 static float opoints[NUMPOINTS]; double sqrt (double); double f(double); void NormalizeVectors1 (void) { int i, r; float s, x, y, z; static float d = 0.0; d += 0.2f; s = d; for (i=0; ihttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=22532

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 20:47 --- And on ppc-darwin (a native build), reducing right now. /Users/pinskia/src/local2/gcc/gcc/dwarf2out.c:751: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'c

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-07-17 20:35 --- Also occurs on hppa64-hp-hpux11.11. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22531

[Bug tree-optimization/22493] [4.1 Regression] with -fwrapv -INT_MIN is still not positive

2005-07-17 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2005-07-17 20:35 --- (In reply to comment #2) > Created an attachment (id=9291) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9291&action=view) > Treat flag_wrapv and min value in a special way > patch cointains typo-bug.

[Bug tree-optimization/19905] Extra V_MAY_DEF on a static variable whose address is not taken (we should be able to move the load out of the loop)

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 20:34 --- This is not fixed Kenny's promote statics, in fact we now produce worse code at -O3. Note on ppc- darwin the code is fine since -fno-math-errno is done by default. -- http://gcc.gnu.org/bugzilla/show_b

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-07-17 20:22 --- Created an attachment (id=9297) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9297&action=view) Preprocessed source gzip -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22531

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread danglin at gcc dot gnu dot org
-- What|Removed |Added Attachment #9296 is|0 |1 obsolete|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22531

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-07-17 20:19 --- Created an attachment (id=9296) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9296&action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22531

[Bug c/22529] [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 20:18 --- That is interesting as if we move the variable declaration out of the function, it works in GCC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22529

[Bug c/22529] [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function

2005-07-17 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-07-17 20:13 --- Subject: Re: New: [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function On Sun, 17 Jul 2005, pinskia at gcc dot gnu dot org wrote: > Take the following code: > s

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 20:04 --- Could you attach the preprocessed source? -- What|Removed |Added CC|

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-07-17 20:03 --- (gdb) bt #0 internal_error ( gmsgid=0x81d990 "tree check: expected tree that contains %qs structure, have %qs in %s, at %s:%d") at ../../gcc/gcc/diagnostic.c:534 #1 0x005a6b10 in tree_contains_struc

[Bug fortran/22519] Memory and binary disk layout disagree for real*10

2005-07-17 Thread schnetter at uni-tuebingen dot de
--- Additional Comments From schnetter at uni-tuebingen dot de 2005-07-17 20:01 --- My argument -- which I had in my head, but didn't put down -- went as follows: ultimately, things have to be written by a system call, and a system call is expensive. (One system call per array element

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-07-17 19:56 --- Today, ~ 1 hour before this post. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22531

[Bug tree-optimization/22216] [4.1 regression] ICE during GC

2005-07-17 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2005-07-17 19:49 --- Definitely not fixed. -- What|Removed |Added Status|RESOLVED|UNCONFIR

[Bug fortran/22519] Memory and binary disk layout disagree for real*10

2005-07-17 Thread tkoenig at gcc dot gnu dot org
-- What|Removed |Added CC||tkoenig at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sh

[Bug fortran/22519] Memory and binary disk layout disagree for real*10

2005-07-17 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-17 19:45 --- I don't think the timing issue is valid. Look at these benchmarks: The first one simulates copying 12-byte values to 10-bit values, the second one a compact memcpy of a larger field. $ cat foo.c #include

[Bug tree-optimization/22530] [4.1 Regression] ICE with static promotion

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||jason at gcc dot gnu dot ||org, dnovillo at gcc dot gnu

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sh

[Bug tree-optimization/22531] [4.1 regression] ICE in mark_sym_for_renaming while compiling dwarf2out.c

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 19:34 --- What date is this from? -- What|Removed |Added Keywords|

[Bug tree-optimization/22531] [4.1 regression] tree-into-ssa.c:2290 ICE

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|[4.1 regression]|[4.1 regression] tree-into- |dwarf2out.c:751:ICE |ssa.c:2290 ICE http://gcc.gnu.org

[Bug tree-optimization/22531] New: [4.1 regression] dwarf2out.c:751:ICE

2005-07-17 Thread danglin at gcc dot gnu dot org
stage1/xgcc -Bstage1/ -B/home/dave/opt/gnu/gcc/gcc-4.1.0/hppa-linux/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype s -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror - fno-common -DHAVE_CONFIG_H-I. -I. -I../../gcc/gcc

[Bug tree-optimization/22530] [4.1 Regression] ICE with static promotion

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 19:18 --- Forgot to say the ICE for this testcase is: unhandled expression in get_expr_operands(): unit size align 32 symtab 0 alias set 3 fields SI file t.c line 3 size unit

[Bug tree-optimization/22530] [4.1 Regression] ICE with static promotion

2005-07-17 Thread dberlin at dberlin dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-17 19:17 --- Subject: Re: New: [4.1 Regression] ICE with static promotion On Sun, 2005-07-17 at 19:13 +, pinskia at gcc dot gnu dot org wrote: > Compile the following valid C99 code at -O3 and we get an ICE

[Bug tree-optimization/22530] [4.1 Regression] ICE with static promotion

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22530

[Bug tree-optimization/22530] New: [4.1 Regression] ICE with static promotion

2005-07-17 Thread pinskia at gcc dot gnu dot org
Compile the following valid C99 code at -O3 and we get an ICE: struct f1 { int i; }; void g(int); static struct f1 *f2 = &(struct f1){1}; int f(void) { g(f2->i); return f2->i; } -- Summary: [4.1 Regression] ICE with static promotion Product: gcc Version: 4.1

[Bug fortran/21480] [4.0 only] trivial reshape operation gives erroneous results

2005-07-17 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-17 19:12 --- Fixed in 4.0. -- What|Removed |Added Status|ASSIGNED|RESOLVE

[Bug fortran/21480] [4.0 only] trivial reshape operation gives erroneous results

2005-07-17 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-17 19:12 --- Subject: Bug 21480 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-17 19:12:07 Modified files: libgfortran: Change

[Bug c/22529] [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |3.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22529

[Bug c/22529] New: [3.4/4.0/4.1 Regression] Rejects valid C99 address of C99 struct in static variable in function

2005-07-17 Thread pinskia at gcc dot gnu dot org
Take the following code: struct f1 { int i; }; void f(void) { static struct f1 *f2 = &(struct f1){1}; } This is valid C99 at least according to both ICC and Comeau. And we acceptted it in 3.0.4 also. -- Summary: [3.4/4.0/4.1 Regression] Rejects valid C99 address of

[Bug target/22528] Optimized ARM 'unsigned short's assignments are incorrect for big-endian ARMv3 targets

2005-07-17 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2005-07-17 18:50 --- gcc-4.0.1 works fine. $ arm-linux-eabi-gcc gcc-pr22528.c -O2 -march=armv3 -S -mlittle-endian test: mov r3, #8 mov r2, #0 strbr3, [r0, #1] strbr2, [r0, #0]

[Bug target/22528] Optimized ARM 'unsigned short's assignments are incorrect for big-endian ARMv3 targets

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|rtl-optimization|target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22528

[Bug rtl-optimization/22528] New: Optimized ARM 'unsigned short's assignments are incorrect for big-endian ARMv3 targets

2005-07-17 Thread gcc at embisi dot com
//Reading specs from /usr/local/cross-arm/bin/../lib/gcc-lib/arm-linux/3.3.2/specs //Configured with: /home/localgjs/tnbt_cvstrees/software/tools/gcc/../../tools/gcc/configure --target=arm-linux --disable-shared --disable-threads --with-gnu-as --with-gnu-ld --enable-multilib --enable-languages=c -

[Bug bootstrap/22517] Bootstrap ICE on latest CVS: tree check: tree-ssa

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22517

[Bug tree-optimization/22525] tree based value profiling (-fprofile-use) produces mismatch types in conditional

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 17:53 --- Created an attachment (id=9295) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9295&action=view) patch which I need to test (from Honza) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22525

[Bug middle-end/22524] fold (or the front-ends) produces UNARY (BIT_NOT_EXPR) tree with mismatch types

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||phython at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sh

[Bug fortran/22527] New: fortran produces mismatch types in comparision with integer to logic assignment

2005-07-17 Thread pinskia at gcc dot gnu dot org
The following code: c { dg-do compile } c { dg-options "-O2 -std=legacy" } LOGICAL*1 l1 INTEGER*1 i1 l1 = i1 END produces mismatch types in comparision. See PR 22368 for the patch which catches this. logint-1.f: In function 'MAIN__': logint-1.f:5: error: types mismatch

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22527 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 17:33 --- Note the comparisions patch because of the way gimple removes casts to void* gets: int f(int *a, char*b) { return ((void*)a) == ((void*)b); } wrong. The following is also effected: g++.dg/abi/vbase13.C:

[Bug tree-optimization/22526] New: vectorizer produces mis-match types in conditionals

2005-07-17 Thread pinskia at gcc dot gnu dot org
take following example (compile with -O1 -ftree-vectorize -maltivec): void a(unsigned long long __n, int *__new_start) { for (; __n > 0; --__n, ++__new_start) *__new_start = 0; } With the second patch in PR 22368, we get the following error: pr18425.c: In function 'a': pr18425.c:2: error:

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22526 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug tree-optimization/22525] New: tree based value profiling (-fprofile-use) produces mismatch types in conditional

2005-07-17 Thread pinskia at gcc dot gnu dot org
The testcase is gcc.dg/tree-prof/val-prof-2.c. It only happens when profile use is used. Note this is worse if we use unsigned long long instead as we get a size mismatch. See PR 22368 for the patch to catch this (the second patch): /Users/pinskia/src/local/gcc/gcc/testsuite/gcc.dg/tree-prof/va

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22525 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug middle-end/22524] New: fold (or the front-ends) produces UNARY (BIT_NOT_EXPR) tree with mismatch types

2005-07-17 Thread pinskia at gcc dot gnu dot org
Testcase (reduced from 20020107-1.c) char buf[10]; char * a(); int main (void) { int i = (a() - 1) - buf; } I will attach the patch to catch this to PR 22368. 20020107-1.c: In function 'main': 20020107-1.c:7: error: types mismatch in unary operand intD.0 charD.1 * ~&bufD.1263; 20020107-1.c:7:

[Bug other/22368] [meta-bugs] mis-match types in GCC

2005-07-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||22524 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22368

[Bug c/22278] gcc -O2 discards cast to volatile

2005-07-17 Thread rth at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org | Status|UNCONFIRMED

[Bug c++/22464] [3.4/4.0/4.1 Regression] ICE on classes in template functions which attempt closure

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 16:31 --- *** Bug 22521 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/22521] internal compiler error: in tsubst_copy

2005-07-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 16:31 --- This code is invalid. You cannot access a local variable in a local class. *** This bug has been marked as a duplicate of 22464 *** -- What|Removed |Added -

  1   2   >