[Bug tree-optimization/23475] Frequences are not updated for empty loop removal

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 06:01 --- I should note I found this while looking into PR 23358. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23475

[Bug libstdc++/23358] _Destroy doesn't optimize for scalar types

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 06:01 --- Confirmed. -- What|Removed |Added Severity|normal |minor

[Bug libgcj/23431] abstract method resolve error in gij

2005-08-19 Thread snambi at gmail dot com
--- Additional Comments From snambi at gmail dot com 2005-08-19 06:17 --- some more analysis of the problem. looks like this bug has been introduced in gcj 4.0.1 it works correctly in gcj 3.3.3 and javac 1.4.2, ie it gives an error while compiling. please look below, to see the

[Bug tree-optimization/23476] New: [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread pinskia at gcc dot gnu dot org
Testcase: int h(int); static inline int f(int t, const int i) { _Bool a = i t; if (a) return h(t); return 9; } int g(int t) { return f(t, 0x7FFF); } Compile with -O2 -fno-tree-copy-prop, and you will get an ICE: t.c: In function ‘g’: t.c:12: internal compiler error: in

[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 06:19 --- Honza and Diego, this is the VRP bug which Honza was talking about which he found working on his SSA based inliner. -- What|Removed |Added

[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 06:24 --- Ignore the comment about fold, copy prop is doing its job. Also here is a testcase which can be repduced with a simple -O2 so this is definitely a regression now and not just a latent bug waiting to be

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 09:05 --- Subject: Bug 23065 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-19 09:05:03 Modified files: gcc/fortran: ChangeLog gfortran.h module.c

[Bug c++/23477] New: default-initializing array new expression uses memcpy() instead of memset(), bloats executable

2005-08-19 Thread avi at argo dot co dot il
the program int main() { new int[1000](); } generates a 40MB executable. it compiles into a memcpy() of 40MB of zeros into the newly-allocated array. tested at -O0 and -O3. gcc version 4.0.1 20050727 (Red Hat 4.0.1-5) -- Summary:

[Bug target/23436] [4.1 Regression] Insn does not satisfy its constraints (reload_cse_simplify_operands)

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 09:20 --- Subject: Bug 23436 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-19 09:20:31 Modified files: gcc: ChangeLog gcc/config/arm :

[Bug target/23436] [4.1 Regression] Insn does not satisfy its constraints (reload_cse_simplify_operands)

2005-08-19 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-08-19 09:23 --- Fixed. Patch also generates slightly better code in other cases too:-) -- What|Removed |Added

[Bug target/23473] [4.1 Regression] ICE at config/arm/arm.c:3280

2005-08-19 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-08-19 09:44 --- OK. I think I understand what's failing here. Testing patch. -- What|Removed |Added

[Bug target/19161] No emms or femms emitted between MMX and FP instructions

2005-08-19 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-08-19 10:19 --- (In reply to comment #13) current mainline bootstrap still fails. ../../gcc/unwind.inc: In function '_Unwind_ForcedUnwind': ../../gcc/unwind.inc:215: internal compiler error: in create_pre_exit, at

[Bug rtl-optimization/23478] New: Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread jakub at redhat dot com
The following testcase is miscompiled on x86_64-linux at -O2. Before global alloc/reload, the interesting part of code is: (reg:DI %rax) = (call _Znwm (1)) (reg:DI 81) = (reg:DI %rax) ... (reg:DI %rdi) = (reg:DI 81) (call _ZN2C1C1ERK2C3S2_S2_RPS1_ (%rdi, ...)) - may throw, EH pad .Leh ... (reg:DI

[Bug rtl-optimization/23478] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-08-19 11:09 --- Created an attachment (id=9546) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9546action=view) pr23478.C Testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23478

[Bug middle-end/23477] [4.1 Regression] default-initializing array new expression uses makes stack usage go way up

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 11:28 --- This has been semi fixed on the mainline: main: pushl %ebp movl%esp, %ebp pushl %esi pushl %ebx subl$4000, %esp pushl $4000

[Bug libstdc++/23358] _Destroy doesn't optimize for scalar types

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 11:35 --- PR 23361 is the bug about unrolling the loops. -- What|Removed |Added BugsThisDependsOn|

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-08-19 11:35 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED

[Bug middle-end/23467] alignment of member doesn't always carry over to alignment of struct.

2005-08-19 Thread amylaar at gcc dot gnu dot org
-- What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- ||patches/2005- |

[Bug preprocessor/23479] New: Implement binary constants with a 0b prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
It is suggested to implement binary contants as a GCC extension to the language. This is a frequently requested item in microcontroller environments, and several other compilers already implement it. The commonly used prefix is 0b, as this does not contradict the standard C syntax, and allows

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2005-08-19 12:24 --- Created an attachment (id=9547) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9547action=view) Patch to implement binary constants (taken against gcc-4.1-20050813 snapshot) --

[Bug c++/23480] New: default-initializing variable size array new expression does not work

2005-08-19 Thread avi at argo dot co dot il
the following function int* f(int n) { return new int[n](); } translates to _Z1fi: .LFB2: pushl %ebp .LCFI0: movl%esp, %ebp .LCFI1: sall$2, 8(%ebp) leave .LCFI2: jmp _Znaj which does not default-initialize the array. --

[Bug c++/23480] default-initializing variable size array new expression does not work

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 13:04 --- new int[2] () is broken in 3.4.x, see PR 20427. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23480

[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread dnovillo at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot |dot org |org

[Bug target/23473] [4.1 Regression] ICE at config/arm/arm.c:3280

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 13:17 --- Subject: Bug 23473 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-19 13:17:04 Modified files: gcc: ChangeLog gcc/config/arm :

[Bug target/23473] [4.1 Regression] ICE at config/arm/arm.c:3280

2005-08-19 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-08-19 13:17 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/23480] default-initializing variable size array new expression for basic types does not work

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|default-initializing|default-initializing |variable size array new |variable size array new

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 13:22 --- Confirmed, note I would actually disable binary constants by default instead of what the patch currently does, pedwarns about them. Or maybe pedwarn about them by default with an option to turn off that

[Bug middle-end/23467] alignment of member doesn't always carry over to alignment of struct.

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 13:24 --- Confirmed. Do you know if this is a regression? -- What|Removed |Added

[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-08-19 13:27 --- Testing patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23476

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-08-19 13:36 --- caller-save.c inserts the restore insns after the can_throw_internal () CALL_INSN and as the rest of reload excepts fixup_abnormal_edges to fix the mess up. But, fixup_abnormal_edges only inserts the instructions

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2005-08-19 13:57 --- (In reply to comment #2) Confirmed, note I would actually disable binary constants by default instead of what the patch currently does, pedwarns about them. Curious: why? There are more than two

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 14:12 --- (In reply to comment #3) Curious: why? There are more than two dozen GCC language extensions enabled by default, most of them would allow GCC to accept a program that will not be accepted by a

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2005-08-19 14:24 --- (In reply to comment #4) The main reason is because adding extensions are bad now adays. We are removing extensions which are not used that much and hard to keep working. OK, I accept that. But

[Bug c++/23481] New: [4.1 regression] ICE with long int and sizeof in template

2005-08-19 Thread reichelt at gcc dot gnu dot org
The following code snippet causes a segfault in fold-const.c on mainline: = templatetypename T bool foo() { const long int i = sizeof(T) 1 ? sizeof(T) : 0; return i 0; } =

[Bug c++/23481] [4.1 regression] ICE with long int and sizeof in template

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 14:29 --- This is most likely the same bug as PR 23357. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23481

[Bug c++/23481] [4.1 regression] ICE with long int and sizeof in template

2005-08-19 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=23481

[Bug c++/23357] [4.1 Regression] ICE with __alignof__ on template arguments

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:34 --- *** Bug 23481 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/23481] [4.1 regression] ICE with long int and sizeof in template

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:34 --- Indeed. Sorry for the dupe. I'll attach the testcase there, too. *** This bug has been marked as a duplicate of 23357 *** -- What|Removed |Added

[Bug c++/23357] [4.1 Regression] ICE with __alignof__ on template arguments

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:35 --- Confirmed. Similar testcase from PR 23481: = templatetypename T bool foo() { const long int i = sizeof(T) 1 ? sizeof(T) : 0; return i 0; }

[Bug c++/23357] [4.1 Regression] ICE with __alignof__ on template arguments

2005-08-19 Thread reichelt at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23357

[Bug tree-optimization/22543] [4.1 regression] ICE: verify_ssa failed with -ftree-vectorize

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:44 --- Just for the record: This was really fixed by the patch in PR8. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22543

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread fritz dot ganter at gmail dot com
--- Additional Comments From fritz dot ganter at gmail dot com 2005-08-19 14:46 --- I think this is realy a needed feature for mikrocontroller programing. Please implement it. Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479

[Bug tree-optimization/22228] [4.1 regression] ICE with -ftree-vectorize in verify_ssa

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:47 --- Fixed on mainline. Btw, this fixes also the ICE from PR 23352 for me. -- What|Removed |Added

[Bug tree-optimization/23352] ICE with vectorizer: verify_ssa failed - definition does not dominate use

2005-08-19 Thread reichelt at gcc dot gnu dot org
-- Bug 23352 depends on bug 8, which changed state. Bug 8 Summary: [4.1 regression] ICE with -ftree-vectorize in verify_ssa http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8 What|Old Value |New Value

[Bug tree-optimization/21859] ICE with -ftree-vectorize and -O2 or higher

2005-08-19 Thread reichelt at gcc dot gnu dot org
-- Bug 21859 depends on bug 8, which changed state. Bug 8 Summary: [4.1 regression] ICE with -ftree-vectorize in verify_ssa http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8 What|Old Value |New Value

[Bug libmudflap/18885] linker does not link libmudflap automatically with -fmudflap

2005-08-19 Thread ppluzhnikov at charter dot net
--- Additional Comments From ppluzhnikov at charter dot net 2005-08-19 14:48 --- Note that threaded programs need -lmudflapth instead of -lmudflap. The driver should add correct version of libmudflap automatically, or you'll get bug reports from users who link the wrong version in.

[Bug libfortran/15266] libgfortran doesn't compile on IRIX 5.3

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 14:51 --- Subject: Bug 15266 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-19 14:50:27 Modified files: fixincludes:

[Bug libgcj/21943] O32 libffi.so fails to link on IRIX 6

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 14:54 --- Subject: Bug 21943 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-19 14:53:02 Modified files: libffi :

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2005-08-19 15:18 --- Additional remark: GAS also recognizes 0bXXX constants. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 15:50 --- Subject: Bug 23065 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-19 15:50:43 Modified files: gcc/fortran:

[Bug target/21824] [meta-bug] bootstrap bugs for *-gnu*

2005-08-19 Thread tobi at gcc dot gnu dot org
-- Bug 21824 depends on bug 23065, which changed state. Bug 23065 Summary: MAXPATHLEN usage in fortran/{scanner,module}.c http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23065 What|Old Value |New Value

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2005-08-19 15:51 --- Fixed. -- What|Removed |Added CC||tobi at gcc dot

[Bug target/19421] [4.0/4.1 regression] ICE with soft-float on m68k

2005-08-19 Thread joel at oarcorp dot com
--- Additional Comments From joel at oarcorp dot com 2005-08-19 16:02 --- Subject: Re: [4.0/4.1 regression] ICE with soft-float on m68k Why did you turn this from m68k-* to m68k-rtems? It was reported against m68k-rtems but would have be duplicated on at least m68k-elf if not any

[Bug c++/23482] New: g++ crash building for m5307 arch

2005-08-19 Thread keith dot nicewarner at spacedev dot com
I reported this to the uClinux developer list (where I got my gcc cross-compiler toolchain), and they recommended that I report it here. I'm getting a compiler crash building a 3rd-party C++ lib (ACE) for uClinux. The lib compiles with g++ for every other platform known to man, so I'm sure the

[Bug libgcj/23466] Double.toString(0.0010) --- 0.001 ISO 0.0010

2005-08-19 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-08-19 16:20 --- I agree that this is most likely not a libgcj bug. Ronald, why do you think the _dtoa call ought to be changed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23466

[Bug libfortran/23483] New: [mingw32] Fortran runtime I/O error on correct program

2005-08-19 Thread dir at lanl dot gov
The program runs with out problem with g77, but fails with gfortran - [EMAIL PROTECTED] /d/Docume~1/rantad/mydocu~1/tests $ g77 -o write01 write01.f [EMAIL PROTECTED] /d/Docume~1/rantad/mydocu~1/tests $ write01 [EMAIL PROTECTED] /d/Docume~1/rantad/mydocu~1/tests $ gfortran -o write01 write01.f

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-08-19 16:28 --- If there was a voting system in this Bugzilla, I'd vote for this. It's a very useful feature in embedded programming. I also believe that it could be enabled by default in GNU C, since it's really easy and

[Bug c/23484] New: __builtin___memcpy_chk miscompilation

2005-08-19 Thread gbeauchesne at mandriva dot com
Hi, Compiling ruby on x86_64 with -D_FORTIFY_SOURCE=2 will cause failure in the testsuite. This can be reproduced with GNU C version 4.1.0 20050819 (experimental) (x86_64-unknown-linux-gnu) Here is a simplified testcase. extern void abort (void); #undef memcpy #define memcpy(dst, src, len

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23065

[Bug target/19421] [4.0/4.1 regression] ICE with soft-float on m68k

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 16:49 --- (In reply to comment #12) Subject: Re: [4.0/4.1 regression] ICE with soft-float on m68k Why did you turn this from m68k-* to m68k-rtems? It was reported against m68k-rtems but would have be

[Bug target/23482] g++ crash building for m5307 arch

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c++ |target Keywords||ice-on-valid-code

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|critical|normal Component|c |middle-end GCC host triplet|x86_64-unknown-linux-gnu

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-08-19 17:28 --- Subject: Re: New: Implement binary constants with a 0b prefix The patch does not document how the types of binary constants are determined. I suppose the rules are the same as for octal and hexadecimal

[Bug tree-optimization/23048] [4.1 Regression] ICE in get_loop_body with -O1 -ftree-vectorize on 4.1.x

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 17:54 --- Subject: Bug 23048 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-19 17:54:16 Modified files: gcc: ChangeLog tree-if-conv.c

[Bug c++/23437] [3.4/4.0/4.1 Regression] error: ... cannot appear in a constant-expression

2005-08-19 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-08-19 18:06 --- Patch posted, waiting for review: http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01169.html -- What|Removed |Added

[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 18:09 --- Subject: Bug 23476 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-19 18:08:56 Modified files: gcc: ChangeLog tree-cfgcleanup.c

[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-08-19 18:10 --- Fixed. http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01150.html. -- What|Removed |Added

[Bug target/23485] New: [ia64]: Integer dvide by zero doesn't raise a signal

2005-08-19 Thread hjl at lucon dot org
[EMAIL PROTECTED] zero]$ cat x.c int foo (int y, int x) { return y/x; } [EMAIL PROTECTED] zero]$ cat y.c #include stdio.h extern int foo (int, int); int main () { printf ((10/0) = %d\n, foo (10, 0)); return 0; } [EMAIL PROTECTED] zero]$ gcc x.c y.c [EMAIL PROTECTED] zero]$ ./a.out (10/0) =

[Bug tree-optimization/22320] -ftree-dominator-opts documentation is the same as -ftree-dce

2005-08-19 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-08-19 18:20 --- Fixed. http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01168.html. -- What|Removed |Added

[Bug target/23485] [ia64]: Integer dvide by zero doesn't raise a signal

2005-08-19 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-08-19 18:21 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01172.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23485

[Bug tree-optimization/22320] -ftree-dominator-opts documentation is the same as -ftree-dce

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22320

[Bug target/23485] [ia64]: Integer dvide by zero doesn't raise a signal

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:26 --- I don't see why this is a bug really as on some targets (PPC) divide by zero does not raise any thing and the result is undefined. You might want to test your patch's performance as it could cause a lot

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-19 18:32 --- I think it's caller-save's bug. The use of fixup_abnormal_edges in reload and reg-stack is to move output reloads to the fallthru edge. Well, the output reloads are not used on the eh edge, because by

[Bug tree-optimization/23048] [4.1 Regression] ICE in get_loop_body with -O1 -ftree-vectorize on 4.1.x

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:32 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-19 18:34 --- More, since you cannot insert insns on the abnormal EH edge, the fix to caller-save needs to be of the form don't caller-save this variable. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23478

[Bug c++/22454] [4.0/4.1 Regression] ICE with operator in default argument in template class

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 18:37 --- Even shorter testcase: === templateint struct A { A(void* = operator new); }; === -- What|Removed |Added

[Bug libffi/21943] O32 libffi.so fails to link on IRIX 6

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:43 --- Fixed als in 4.0.2. -- What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-08-19 18:51 --- It can't be inserted just on abnormal critical edges: gcc_assert (!((e-flags EDGE_ABNORMAL) EDGE_CRITICAL_P (e))); So I guess we could insert it on the EH edges if !EDGE_CRITICAL_P and only only avoid

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:54 --- Hmm, let look at the source: memcpy (tmp, s, natint ? sizeof(tmp) : 4); natint will be zero so we get -- What|Removed |Added

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:55 --- (In reply to comment #1) Ignore that comment, I am stupid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23484

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2005-08-19 18:55 --- (In reply to comment #9) Thank you very much for the useful comments. The patch does not document how the types of binary constants are determined. I suppose the rules are the same as for octal and

[Bug tree-optimization/23486] New: ICE in execute_todo, at passes.c:677

2005-08-19 Thread belyshev at depni dot sinp dot msu dot ru
// compile with -O3 struct v { int n; }; foo (struct v *v, int *q) { q [v-n ++] = 0; } bar (int b, void *p, int *q) { for (;;) foo (b ? p : 0, q); } // t2.c: In function ‘bar’: t2.c:7: internal compiler

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 19:00 --- It can be confirmed on x86 with: extern void abort (void); #undef memcpy #define memcpy(dst, src, len) \ __builtin___memcpy_chk (dst, src, len, __builtin_object_size (dst, 0)) int main (void) { static

[Bug tree-optimization/23486] [4.1 Regression] ICE in execute_todo, at passes.c:677

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 19:07 --- Confirmed. Testcase: struct v { int n; }; void bar (int b, void *p, int *q) { struct v *v; for (;;) { v = b?p:0; q [v-n ++] = 0; } } Compile at -O1 -funswitch-loops. --

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2005-08-19 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-08-19 19:10 --- Subject: Re: Implement binary constants with a 0b prefix On Fri, 19 Aug 2005, j at uriah dot heep dot sax dot de wrote: The patch is missing testcases. Is there a tutorial anywhere how to run

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-19 19:14 --- Maybe. I think you'll find that most of the time these edges *are* critical. I don't think it's worth bothering to make the distinction. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23478

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-08-19 19:16 --- I have a preliminary fix, will work on testcases now, then test it thoroughly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23484

[Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
stage1/xgcc -Bstage1/ -B/home/4/wilx/i386-unknown-freebsd4.10/bin/ -c -O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes-Werror -fno-common -DHAVE_CONFIG_H\ -I/home/4/wilx/include -I. -Iada -I../../srcdir/gcc

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 19:28 --- This is a bug in the freebsd specific section in init.c. -- What|Removed |Added

[Bug rtl-optimization/23453] [4.0/4.1 regression] miscompilation of PARI/GP on x86 with gcse after reload

2005-08-19 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-08-19 19:51 --- gcse after reload may move loads from stack around stack pointer changes. here is simple workaround, it is supposed to prevent gcse after reload from touching expressions containing stack pointer

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 19:51 --- According to FreeBSD man page for sigaction (http://www.freebsd.org/cgi/man.cgi?query=sigactionapropos=0sektion=0manpath=FreeBSD+5.4-RELEASE+and+Portsformat=html) the following looks like it should

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 19:57 --- More of the same: *** link.c.~1.16.~ Fri Jul 8 12:45:47 2005 --- link.c Fri Aug 19 21:55:40 2005 *** *** 154,166 const char *__gnat_object_library_extension = .a;

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 20:11 --- 2005-08-19 Vaclav Haisma [EMAIL PROTECTED] * init.c (FreeBSD's __gnat_install_handler): Cast __gnat_error_handler to proper type. * link.c (FreeBSD's

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 20:12 --- Errr, my surname is missing n at the end... 2005-08-19 Vaclav Haisman [EMAIL PROTECTED] * init.c (FreeBSD's __gnat_install_handler): Cast __gnat_error_handler to proper type.

[Bug tree-optimization/23486] [4.1 Regression] ICE in execute_todo, at passes.c:677

2005-08-19 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-08-19 20:18 --- breaks bootstrap with BOOT_CFLAGS=-O3 . -- What|Removed |Added

[Bug rtl-optimization/23488] New: extra reads from static variable

2005-08-19 Thread dann at godzilla dot ics dot uci dot edu
typedef int nl_item; extern char *nl_langinfo (nl_item __item) __attribute__ ((__nothrow__)); char * xtermEnvEncoding(void) { static char *result; if (result == 0) { result = nl_langinfo(1); ; } return result; } Compile the above code with -march=i686 -O2 4.1 generates extra

[Bug tree-optimization/23153] [4.1 Regression] code size regression from 4.0 on x86

2005-08-19 Thread dann at godzilla dot ics dot uci dot edu
--- Additional Comments From dann at godzilla dot ics dot uci dot edu 2005-08-19 21:47 --- Is there any reason that this PR is still in UNCONFIRMED state? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23153

[Bug target/23488] [4.1 Regression] extra reads from static variable

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 21:50 --- Confirmed. There are two issues here. First the regression was caused by: 2005-07-30 Jan Hubicka [EMAIL PROTECTED] * expr.c (expand_expr_real_1): Do not load mem targets into register.

[Bug tree-optimization/23153] [4.1 Regression] code size regression from 4.0 on x86

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||23488 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23153

[Bug target/23153] [4.1 Regression] [meta-bug] code size regression from 4.0 on x86

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 21:54 --- (In reply to comment #5) Is there any reason that this PR is still in UNCONFIRMED state? Because this really a meta-bug now. And it looks like all the remaining issues are caused by: 2005-07-30 Jan

  1   2   >