[Bug fortran/40070] Some math expressions containing exponents fail on a Windows 64 build

2010-02-04 Thread ktietz at gcc dot gnu dot org
--- Comment #16 from ktietz at gcc dot gnu dot org 2010-02-04 08:47 --- (In reply to comment #15) Any further word on this? As I said in comment #14, we fixed a strict-aliasing bug in our C runtime related to POSIX printf. As I tested it with current runtime, result looks ok to me. It

[Bug target/42951] GCC pedwarns about use of static inline functions from system headers in extern inline functions

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-04 09:55 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/42952] [4.5 Regression] possible integer wrong code bug

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-04 10:03 --- Confirmed. Fails with -O -fno-tree-pta as well. extern void abort (void); static int g[1]; static int *p = g[0]; static int *q = g[0]; int main(void) { g[0] = 1; *p = 0; *p = *q; if (g[0] != 0)

[Bug rtl-optimization/42952] [4.5 Regression] possible integer wrong code bug

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-04 10:33 --- Well, dse puts (mem/u/f/c/i:DI (symbol_ref:DI (q) [flags 0x2] var_decl 0x75ae7140 q) [0 q+0 S8 A64]) (mem/u/f/c/i:DI (symbol_ref:DI (p) [flags 0x2] var_decl 0x75ae70a0 p) [0 p+0 S8 A64]) into different

[Bug rtl-optimization/42952] [4.5 Regression] possible integer wrong code bug

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-04 10:36 --- The only addresses treated as the dse constant kind should be symbol-refs. Or we need to lookup the constant initializer the constant mem refers to and use that (but I have no idea if that's easily possible on RTL).

[Bug target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2010-02-04 Thread rearnsha at gcc dot gnu dot org
--- Comment #8 from rearnsha at gcc dot gnu dot org 2010-02-04 10:48 --- Created an attachment (id=19803) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19803action=view) Possible patch I've been testing the attached patch on ARM (well, thumb) where there's a similar issue. It's

[Bug rtl-optimization/36712] Inefficient loop unrolling

2010-02-04 Thread rearnsha at gcc dot gnu dot org
--- Comment #9 from rearnsha at gcc dot gnu dot org 2010-02-04 11:11 --- (In reply to comment #8) ldr r2, [r1, #0] mul r3, r2, r0 str r3, [r1], #4 ldr r2, [r1, #0] mul r3, r2, r0 str r3, [r1], #4

[Bug rtl-optimization/36712] Inefficient loop unrolling

2010-02-04 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2010-02-04 11:21 --- I'm going to crack this bug. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42290] strange 'warning: ISRA.2 may be used uninitialized in this function'

2010-02-04 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2010-02-04 11:26 --- (In reply to comment #7) I can't reproduce this issue in current trunk (r156468) Closing then as FIXED, the warning was caused by bug 42508. -- manu at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/36712] Inefficient loop unrolling

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-02-04 11:47 --- Also try the patches from PR42617 to see if they improve the pre-regalloc scheduling. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36712

[Bug fortran/42954] New: gfortran with libcpp: TARGET_*_CPP_BUILDINS issues (MinGW, FreeBSD, MIPS, Fry)

2010-02-04 Thread burnus at gcc dot gnu dot org
gcc/fortran/cpp.c contains: /* FIXME: Pandora's Box Using the macros below results in multiple breakages: - mingw will fail to compile this file as dependent macros assume to be used in c-cppbuiltin.c only. Further, they use flags only valid/defined in C (same as noted

[Bug fortran/42950] gfortran testsuite failures on mingw64

2010-02-04 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-04 12:31 --- Regarding (2): gcc/fortran/cpp.c contains the following, see PR 42954 /* FIXME: Pandora's Box Using the macros below results in multiple breakages: - mingw will fail to compile this file as dependent

[Bug fortran/36380] preprocessing: define built-in target-related macros

2010-02-04 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2010-02-04 13:03 --- *** This bug has been marked as a duplicate of 42954 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42954] gfortran with libcpp: TARGET_*_CPP_BUILDINS issues (MinGW, FreeBSD, MIPS, Fry)

2010-02-04 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2010-02-04 13:03 --- *** Bug 36380 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42954

[Bug regression/42955] New: undecorated cross-compiler gcc fails to find cc1

2010-02-04 Thread ossman at cendio dot se
I upgrade from gcc 4.1.2 to 4.4.3 and discovered that the gcc in /usr/$(target_noncanonical)/bin no longer is functional. Using it results in: gcc: error trying to exec 'cc1': execvp: No such file or directory Digging around, it turns out that the internal paths are screwed up: $

[Bug fortran/42954] gfortran with libcpp: TARGET_*_CPP_BUILDINS issues (MinGW, FreeBSD, MIPS, Fry)

2010-02-04 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-04 14:06 --- Daniel: Wouldn't it be enough to duplicate c-cppbuiltin.c's builtin_define_with_value and builtin_define_with_int_value for fortran/cpp.c? Regarding builtin_define_std: Couldn't one simply define __TXT and __TXT__

[Bug c/42956] New: internal compiler error: Segmentation fault with -O1

2010-02-04 Thread peb at mppmu dot mpg dot de
When building Cuba-1.6 (http://www.feynarts.de/cuba/Cuba-1.6.tar.gz) via configure make, there is an internal compiler error (segmentation fault) in the compilation of Divonne.c. This may or may not be related to #41155. gcc says: gcc-4.4.3 -O3 -fomit-frame-pointer -ffast-math -DHAVE_CONFIG_H

[Bug c/42956] internal compiler error: Segmentation fault with -O1

2010-02-04 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-02-04 14:26 --- Please follow the instructions here http://gcc.gnu.org/bugs/#report provide a preprocessed file. Thanks. -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c/42956] internal compiler error: Segmentation fault with -O1

2010-02-04 Thread peb at mppmu dot mpg dot de
--- Comment #2 from peb at mppmu dot mpg dot de 2010-02-04 14:27 --- Created an attachment (id=19804) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19804action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42956

[Bug c/42956] internal compiler error: Segmentation fault with -O1

2010-02-04 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last

[Bug c/34156] gcc ignores the __may_alias__ attribute on a struct typedef

2010-02-04 Thread vda dot linux at googlemail dot com
--- Comment #3 from vda dot linux at googlemail dot com 2010-02-04 14:33 --- I was bitten by this whet I was trying to get rid of warning: dereferencing type-punned pointer will break strict-aliasing rules on this fairly normal networking-related code: if (cmsgptr-cmsg_level ==

[Bug rtl-optimization/36712] Inefficient loop unrolling

2010-02-04 Thread steven at gcc dot gnu dot org
r2, [r1, #24] add r1, r1, #32 cmp r1, r8 str r3, [r1, #-4] bne .L2 ldmfd sp!, {r4, r5, r6, r7, r8} bx lr .size Unroll, .-Unroll .ident GCC: (GNU) 4.5.0 20100204 (experimental) [trunk revision 156492] (flags

[Bug rtl-optimization/36712] Inefficient loop unrolling

2010-02-04 Thread steven at gcc dot gnu dot org
--- Comment #13 from steven at gcc dot gnu dot org 2010-02-04 14:56 --- With -fno-web, the patches from bug 42617 do not help and the output is the same as that of comment #8 (second asm dump). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36712

[Bug rtl-optimization/42952] [4.5 Regression] possible integer wrong code bug

2010-02-04 Thread zadeck at naturalbridge dot com
--- Comment #5 from zadeck at naturalbridge dot com 2010-02-04 14:57 --- Richi, you are, of course, correct. kenny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42952

[Bug rtl-optimization/42952] [4.5 Regression] possible integer wrong code bug

2010-02-04 Thread matz at gcc dot gnu dot org
--- Comment #6 from matz at gcc dot gnu dot org 2010-02-04 15:03 --- Re comment #4, there are two possibilities to fix this: 1) as you say, don't regard MEM addresses (i.e. used in double indirection) as const_or_frame_p, because that would put different (but runtime-same) bases

[Bug rtl-optimization/36712] Inefficient loop unrolling

2010-02-04 Thread steven at gcc dot gnu dot org
--- Comment #14 from steven at gcc dot gnu dot org 2010-02-04 15:19 --- Part of the problem comes from the way IVOPTS optimizes the memory access: ;; Generating RTL for gimple basic block 3 ;; D.1814_10 = MEM[base: D.1846_29]; (insn 52 51 0 tst.c:6 (set (reg:SI 172 [ D.1814 ])

[Bug rtl-optimization/42952] [4.3/4.4/4.5 Regression] possible integer wrong code bug

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-02-04 15:22 --- Also fails with 4.3.4 and 4.4.2 if you do -fno-tree-ccp -fno-tree-fre (I have a fix for the CCP optimization regression as well). -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug c/34156] gcc ignores the __may_alias__ attribute on a struct typedef

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-04 15:38 --- The easiest way would be to expose the middle-end ref-all pointer annotation so you could do typedef struct T *my_ptr __attribute__((ref_all)). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34156

[Bug tree-optimization/42956] [4.4/4.5 Regression] internal compiler error: Segmentation fault with -O1

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-04 15:44 --- Confirmed at -O2. Reducing. ../Cuba-1.6/src/divonne/Split.c: In function 'Split': ../Cuba-1.6/src/divonne/Split.c:275:13: error: expected an SSA_NAME object ../Cuba-1.6/src/divonne/Split.c:275:13: error: in

[Bug tree-optimization/42956] [4.4/4.5 Regression] internal compiler error: Segmentation fault with -O1

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-04 15:54 --- typedef const int cint; typedef struct { } Bounds; int ndim_, ncomp_, selectedcomp_, nregions_; void *voidregion_; typedef struct { double diff, err, spread; } Errors; typedef const Errors cErrors; void

[Bug tree-optimization/31849] [4.3/4.4/4.5 Regression] Code size increased with PR 31360 (IV-opts not understanding autoincrement)

2010-02-04 Thread steven at gcc dot gnu dot org
--- Comment #50 from steven at gcc dot gnu dot org 2010-02-04 16:04 --- Bernd Schmidt has worked on this, see here: http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01788.html http://gcc.gnu.org/ml/gcc-cvs/2009-08/msg00268.html It is hard to tell whether this has actually addresses the

[Bug rtl-optimization/36712] Inefficient loop unrolling

2010-02-04 Thread steven at gcc dot gnu dot org
--- Comment #15 from steven at gcc dot gnu dot org 2010-02-04 16:06 --- The patches for bug 31849 have been commited, it seems, and it doesn't help for this case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36712

[Bug target/42957] New: ARM: Segfault when invalid -mfpu argument is specified.

2010-02-04 Thread rmansfield at qnx dot com
-symvers=gnu --enable-c99 --enable-long-long --enable-target-optspace Thread model: posix gcc version 4.5.0 20100204 (experimental) [trunk revision 156492] (GCC) r...@zoidberg:~/gnu/gcc/trunk/build/gcc$ touch t.c r...@zoidberg:~/gnu/gcc/trunk/build/gcc$ ./cc1plus -quiet t.c -mfpu=foo t.c:1:0: error

[Bug rtl-optimization/42952] [4.3/4.4/4.5 Regression] possible integer wrong code bug

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-02-04 16:14 --- Subject: Bug 42952 Author: rguenth Date: Thu Feb 4 16:14:17 2010 New Revision: 156494 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156494 Log: 2010-02-04 Richard Guenther rguent...@suse.de PR

[Bug rtl-optimization/42952] [4.3/4.4/4.5 Regression] possible integer wrong code bug

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-02-04 16:18 --- Subject: Bug 42952 Author: rguenth Date: Thu Feb 4 16:18:01 2010 New Revision: 156495 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156495 Log: 2010-02-04 Richard Guenther rguent...@suse.de PR

[Bug rtl-optimization/42952] [4.3/4.4/4.5 Regression] possible integer wrong code bug

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-02-04 16:22 --- Subject: Bug 42952 Author: rguenth Date: Thu Feb 4 16:21:47 2010 New Revision: 156496 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156496 Log: 2010-02-04 Richard Guenther rguent...@suse.de PR

[Bug rtl-optimization/42952] [4.3/4.4/4.5 Regression] possible integer wrong code bug

2010-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-02-04 16:22 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

Re: [Bug target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2010-02-04 Thread Andrew Pinski
Sent from my iPhone On Feb 4, 2010, at 2:48 AM, rearnsha at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org wrote: --- Comment #8 from rearnsha at gcc dot gnu dot org 2010-02-04 10:48 --- Created an attachment (id=19803) --

[Bug target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2010-02-04 Thread pinskia at gmail dot com
--- Comment #9 from pinskia at gmail dot com 2010-02-04 16:36 --- Subject: Re: Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none Sent from my iPhone On Feb 4, 2010, at 2:48 AM, rearnsha at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org wrote:

[Bug fortran/42958] New: Weird temporary array allocation

2010-02-04 Thread rguenth at gcc dot gnu dot org
I see D.1631 = izz.dim[0].lbound; D.1632 = izz.dim[0].ubound; D.1643 = D.1632 - D.1631; D.1647 = D.1643 0; D.1648 = D.1643 + 1;

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-02-04 Thread davek at gcc dot gnu dot org
--- Comment #19 from davek at gcc dot gnu dot org 2010-02-04 17:12 --- Created an attachment (id=19805) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19805action=view) Further bugfix fixed silly cut'n'pasto in the endianness layer which was truncating 4-byte fields to 2 bytes.

[Bug driver/42955] undecorated cross-compiler gcc fails to find cc1

2010-02-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-02-04 17:17 --- How did you configure the cross compiler? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/41861] [C++0x] condition_variable does not use monotonic_clock

2010-02-04 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2010-02-04 18:02 --- It seems to me that if DR887 is indeed resolved per the discussion in Santa Cruz, thus the wait_for functions removed, the wait_until functions use system_clock, then this issue could be immediately resolved.

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-02-04 Thread bkoz at gcc dot gnu dot org
--- Comment #16 from bkoz at gcc dot gnu dot org 2010-02-04 18:20 --- Subject: Bug 42460 Author: bkoz Date: Thu Feb 4 18:20:34 2010 New Revision: 156502 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156502 Log: 2010-02-04 Benjamin Kosnik b...@redhat.com PR

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-02-04 Thread bkoz at gcc dot gnu dot org
--- Comment #17 from bkoz at gcc dot gnu dot org 2010-02-04 18:27 --- Hey. Can you re-check trunk now? I should have most of the quoting issues fixed. I've uploaded man pages with the new markup here: ftp://gcc.gnu.org/pub/libstdc++/doxygen/libstdc++-man.20100204.tar.bz2 Can you

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-02-04 Thread bkoz at gcc dot gnu dot org
-- bkoz at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bkoz at gcc dot gnu dot org |dot org

[Bug libstdc++/42943] std::partial_sum performs improper casts

2010-02-04 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-02-04 18:36 --- Reopen... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/42943] std::partial_sum performs improper casts

2010-02-04 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-02-04 18:36 --- ... to close as duplicate. *** This bug has been marked as a duplicate of 22634 *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/22634] [DR 539] partial_sum is too constrained

2010-02-04 Thread paolo dot carlini at oracle dot com
--- Comment #22 from paolo dot carlini at oracle dot com 2010-02-04 18:36 --- *** Bug 42943 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-02-04 Thread debian-gcc at lists dot debian dot org
--- Comment #18 from debian-gcc at lists dot debian dot org 2010-02-04 18:39 --- this is a check run by the lintian tool to check .deb packages after they are built. for this check, lintian calls 'man --warnings -E UTF-8 -l file' for every generated manpage. Afaik Debian/Ubuntu do use

[Bug fortran/42958] Weird temporary array allocation

2010-02-04 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-02-04 19:32 --- so, we check if the array-size is empty, ubound - lbound 0. In that case we set size to zero. Otherwise we compute it as (ubound - lbound + 1) *8. Then we check whether size is negative and error out. Then we

[Bug tree-optimization/41464] vector loads are unnecessarily split into high and low loads

2010-02-04 Thread bredelin at ucla dot edu
--- Comment #9 from bredelin at ucla dot edu 2010-02-04 20:29 --- In reply to comment #8 So in the end all this boils down to the Frontend / middle-end issue of weak handling of aligned types. Would you mind giving a general idea of what the outlook for improvement on this front is?

[Bug debug/42959] New: g++ does not emit DW_AT_default_value

2010-02-04 Thread tromey at gcc dot gnu dot org
Currently, g++ does not emit the DW_AT_default_value attribute for formal parameters that have default values. I think it should; this is a prerequisite to letting gdb work with default arguments. -- Summary: g++ does not emit DW_AT_default_value Product: gcc

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-02-04 Thread debian-gcc at lists dot debian dot org
--- Comment #19 from debian-gcc at lists dot debian dot org 2010-02-04 21:00 --- std::basic_fstream.3cxx.gz 1213: warning: macro `)).' not defined std::basic_ifstream.3cxx.gz 1037: warning: macro `)).' not defined std::basic_iostream.3cxx.gz 1172: warning: macro `)).' not defined

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-02-04 Thread debian-gcc at lists dot debian dot org
--- Comment #20 from debian-gcc at lists dot debian dot org 2010-02-04 21:02 --- Created an attachment (id=19806) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19806action=view) fix \n quoting fixes the manual page, didn't check the html output --

[Bug c/42960] New: segfault internal compiler error when trying to compile latest linux kernel

2010-02-04 Thread rvoicilas at gmail dot com
I am having a hard time compiling the latest stable linux kernel on Fedora 12, gcc 4.4.2 I get random `internal compiler error` like the one bellow (in different sections of the kernel code): /home/raduv/work/linux-2.6.32.7/drivers/hid/hid-apple.c:274: internal compiler error: in

[Bug c/42960] segfault internal compiler error when trying to compile latest linux kernel

2010-02-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-02-04 21:16 --- See http://bugzilla.redhat.com/bugzilla for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. First it says to see redhat's bugzilla file this bug report. Second since this

[Bug c/42960] segfault internal compiler error when trying to compile latest linux kernel

2010-02-04 Thread rvoicilas at gmail dot com
--- Comment #2 from rvoicilas at gmail dot com 2010-02-04 21:24 --- (In reply to comment #1) See http://bugzilla.redhat.com/bugzilla for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. First it says to see redhat's bugzilla file this bug

[Bug middle-end/42961] New: [4.5 regression] IRA register preferencing bug

2010-02-04 Thread hubicka at gcc dot gnu dot org
For following testcase: int e,f; float main(float d,float c) { float a; float e; if (e) a=d, e=c; else a=c, c=e; if (f) e=a; return e; } (it looks artifical, but all the moves are there just to make a to be only source or destination of reg-reg move that is not

[Bug rtl-optimization/42962] New: Place constant strings in local constant pool

2010-02-04 Thread jingyu at google dot com
GCC is inefficient when loading constant strings. The sample code is: printf( \nMCF SPEC CPU2006 version 1.10\n ); GCC places the constant string a a read-only data section. If compiled with -fpic, gcc places the string's offset(relative to GOT entry) in GOT table. To address the string, gcc

[Bug c++/42915] [4.5 Regression] ICE: same canonical type node for different types in recent builds

2010-02-04 Thread dodji at gcc dot gnu dot org
--- Comment #4 from dodji at gcc dot gnu dot org 2010-02-04 22:06 --- A candidate patch was posted to http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00204.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42915

[Bug target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2010-02-04 Thread wilson at tuliptree dot org
--- Comment #10 from wilson at tuliptree dot org 2010-02-04 22:16 --- Subject: Re: Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none On Thu, 2010-02-04 at 16:36 +, pinskia at gmail dot com wrote: Well powerpc64 it is valid to move across the

[Bug target/42841] [4.3/4.4/4.5 Regression] SH: Assembler complains pcrel too far.

2010-02-04 Thread kkojima at gcc dot gnu dot org
--- Comment #31 from kkojima at gcc dot gnu dot org 2010-02-04 22:42 --- Looks smart and clean! One minor nit, I guess that the occurence of gbr and GBR in ChangeLog and comments should be replaced with GOT to avoid confusion with GBR register of SH CPU. When you propose it to the

[Bug tree-optimization/18046] Missed jump threading optimization

2010-02-04 Thread steven at gcc dot gnu dot org
--- Comment #14 from steven at gcc dot gnu dot org 2010-02-04 22:52 --- Still not fixed. Still the major source of RTL jump threads. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42963] New: [4,5 Regression] Redundant switch labels not cleaned up anymore

2010-02-04 Thread steven at gcc dot gnu dot org
Test case is taken from bug 18046: - extern void foo (void); extern int i; void bar (void) { switch (i) { case 0: foo (); break; case 1: break; } switch (i) { case 0: foo (); break;

[Bug c++/41090] [4.3/4.4/4.5 Regression] Using static label reference in c++ class constructor produces wrong code

2010-02-04 Thread howarth at nitro dot med dot uc dot edu
--- Comment #8 from howarth at nitro dot med dot uc dot edu 2010-02-04 23:35 --- The new g++.dg/ext/label13.C testcase fails on *-apple-darwin*. On x86_64-apple-darwin10, the error message is... /sw/src/fink.build/gcc45-4.4.999-20100203/darwin_objdir/gcc/testsuite/g++/../../g++

[Bug target/42964] New: gcc.c-torture/compile/20001226-1.c takes too long to compile

2010-02-04 Thread raj dot khem at gmail dot com
--target=mips64-none-elf --prefix=/scratch/baremetal/mips64-none-elf/tools --enable-multilib --disable-werror --enable-languages=c,c++ --with-newlib Thread model: single gcc version 4.5.0 20100204 (experimental) (GCC) I tried same test with gcc 4.1(mips64-elf) and it took about 48 seconds

[Bug other/42965] New: no warnings being treated as errors for individual -Werror=x options

2010-02-04 Thread manu at gcc dot gnu dot org
We do not currently give the message: warnings being treated as errors for individual -Werror=x options. See http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01197.html Also, it would be good to print the message near the end of the compilation rather than at the start. -- Summary: no

[Bug other/42966] New: add some indication that a warning has been converted to an error

2010-02-04 Thread manu at gcc dot gnu dot org
See http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01197.html Currently, warnings enabled by flags are indicated by the flag when using -fdiagnostics-show-option. However, warnings enabled by default do not show anything. Two possible fixes: 1) Give the flag that enables the warning (like now).

[Bug other/42966] add some indication that a warning has been converted to an error

2010-02-04 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2010-02-05 01:20 --- @Simon, I think this solution would be accepted more readily by everybody, since anyway we already have the [-W*] markers for most warnings except default ones. What do you think? I specially like showing the flag

[Bug other/42965] no warnings being treated as errors for individual -Werror=x options

2010-02-04 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2010-02-05 01:23 --- Adding Simon Baldwin to CC list (although it seems he doesn't read bugzilla mail). -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41090] [4.3/4.4/4.5 Regression] Using static label reference in c++ class constructor produces wrong code

2010-02-04 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2010-02-05 01:41 --- Ah, I guess we don't support the same body alias optimization on darwin, so the testcase should be restricted to targets that do support it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41090

[Bug java/42967] New: gcj: error trying to exec 'ecj1': execvp: No such file or directory

2010-02-04 Thread dan_1997 at mail dot ru
+++ This bug was initially created as a clone of Bug #35923 +++ I get the following error on a clean 4.3.0 build when trying (eg) gcj foo.java: gcj: error trying to exec 'ecj1': execvp: No such file or directory I also have the same bug. -- Summary: gcj: error trying to exec

[Bug fortran/40070] Some math expressions containing exponents fail on a Windows 64 build

2010-02-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #17 from jvdelisle at gcc dot gnu dot org 2010-02-05 03:04 --- Closing. Not a gcc/gfortran bug. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/21185] Improve testsuite results on newlib targets

2010-02-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #26 from jvdelisle at gcc dot gnu dot org 2010-02-05 03:13 --- I think this is fixed and looks like it has dried up. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/22210] gfc_conv_array_initializer weirdness

2010-02-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #14 from jvdelisle at gcc dot gnu dot org 2010-02-05 03:25 --- 1 year has gone by again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22210

[Bug fortran/42901] [4.3/4.4/4.5 Regression] reading array of structures from namelist fails

2010-02-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2010-02-05 04:47 --- Subject: Bug 42901 Author: jvdelisle Date: Fri Feb 5 04:47:12 2010 New Revision: 156507 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156507 Log: 2010-02-04 Jerry DeLisle jvdeli...@gcc.gnu.org

[Bug fortran/42901] [4.3/4.4/4.5 Regression] reading array of structures from namelist fails

2010-02-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2010-02-05 04:51 --- Subject: Bug 42901 Author: jvdelisle Date: Fri Feb 5 04:50:53 2010 New Revision: 156508 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156508 Log: 2010-02-04 Jerry DeLisle jvdeli...@gcc.gnu.org

[Bug fortran/42901] [4.3/4.4/4.5 Regression] reading array of structures from namelist fails

2010-02-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2010-02-05 04:58 --- Subject: Bug 42901 Author: jvdelisle Date: Fri Feb 5 04:58:30 2010 New Revision: 156509 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156509 Log: 2010-02-04 Jerry DeLisle jvdeli...@gcc.gnu.org

[Bug fortran/42901] [4.3/4.4/4.5 Regression] reading array of structures from namelist fails

2010-02-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2010-02-05 05:00 --- Subject: Bug 42901 Author: jvdelisle Date: Fri Feb 5 05:00:15 2010 New Revision: 156510 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156510 Log: 2010-02-04 Jerry DeLisle jvdeli...@gcc.gnu.org

[Bug fortran/42309] Problem with a pointer array passed to a subroutine

2010-02-04 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2010-02-05 05:28 --- Subject: Bug 42309 Author: pault Date: Fri Feb 5 05:28:37 2010 New Revision: 156512 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156512 Log: 2010-02-05 Paul Thomas pa...@gcc.gnu.org PR

[Bug fortran/42958] Weird temporary array allocation

2010-02-04 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2010-02-05 05:36 --- (In reply to comment #1) Why there is a negative check? Well, I do not know. I also can speculate about a poor man's overflow check, which sometimes indeed works, but often fails. I suspect that you are being

[Bug target/42841] [4.3/4.4/4.5 Regression] SH: Assembler complains pcrel too far.

2010-02-04 Thread chrbr at gcc dot gnu dot org
--- Comment #32 from chrbr at gcc dot gnu dot org 2010-02-05 07:05 --- Looks smart and clean! One minor nit, I guess that the occurence of gbr and GBR in ChangeLog and comments should be replaced with GOT to avoid confusion with GBR register of SH CPU. Thanks for catching up this

[Bug target/42841] [4.3/4.4/4.5 Regression] SH: Assembler complains pcrel too far.

2010-02-04 Thread kkojima at gcc dot gnu dot org
--- Comment #33 from kkojima at gcc dot gnu dot org 2010-02-05 07:42 --- Your fix of the middle end looks plausible but I think the target shouldn't generate a CP at the eh landing pad anyway. I'll commit the hunk below anyway after your patch for pic problem is installed. @@ -4654,6