[Bug rtl-optimization/41891] [4.5 Regression] ICE in move_loop_invariants

2009-11-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|middle-end |rtl-optimization Summary|ICE in move_loop_invariants

[Bug c++/41892] generated code increments past enum boundary

2009-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-01 10:26 --- You should report this to RedHat, RedHat ships modified GCCs. Alternatively reproduce this with a FSF release. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41892

[Bug bootstrap/38867] [Regression] gcc 4.4.0 20090114 - libjava/configure sets NONE/share/python, need ${prefix}/share/python

2009-11-01 Thread rwild at gcc dot gnu dot org
--- Comment #4 from rwild at gcc dot gnu dot org 2009-11-01 11:39 --- patch and additional questions at http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00017.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38867

[Bug fortran/41850] Wrong-code with optional allocatable arrays

2009-11-01 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-11-01 12:43 --- Subject: Bug 41850 Author: burnus Date: Sun Nov 1 12:43:42 2009 New Revision: 153793 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153793 Log: 2009-11-01 Tobias Burnus bur...@net-b.de PR

[Bug c/41895] New: _Complex return type changes line numbers in diagnostics

2009-11-01 Thread mikpe at it dot uu dot se
cat uninit-13b.c float foo(void) { _Complex float f; __imag__ f = 0; return f; } gcc -O -Wuninitialized -S uninit-13b.c uninit-13b.c: In function 'foo': uninit-13b.c:4:20: warning: 'REALPART_EXPR f' is used uninitialized in this function This is as expected, and occurs consistently

[Bug middle-end/41895] _Complex return type changes line numbers in diagnostics

2009-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-01 14:05 --- Confirmed. The IL difference doesn't hint at a reason. _Complex float: foo () { complex float f; complex float D.1250; float D.1249; bb 2: [t2.c : 5] D.1249_2 = REALPART_EXPR f_1(D); [t2.c : 5] f_3 =

[Bug c++/41896] New: [cxx0x-lambda] Segfault because of a nested lambda function

2009-11-01 Thread adam dot rak at streamnovation dot com
Code for triggering the BUG: float nested_lambda() { float val; [val]() { [val]() { } } } float nested_lambda() nested_lambda()::lambda() stdin:7:4: internal compiler error: Szegmens hiba Please submit a full bug

[Bug fortran/41850] Wrong-code with optional allocatable arrays

2009-11-01 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2009-11-01 14:35 --- Subject: Bug 41850 Author: burnus Date: Sun Nov 1 14:35:40 2009 New Revision: 153794 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153794 Log: 2009-11-01 Tobias Burnus bur...@net-b.de PR

[Bug fortran/41850] Wrong-code with optional allocatable arrays

2009-11-01 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-11-01 14:36 --- FIXED on the trunk (4.5) and on the 4.4 branch. -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41896] [cxx0x-lambda] Segfault because of a nested lambda function

2009-11-01 Thread adam dot rak at streamnovation dot com
-- adam dot rak at streamnovation dot com changed: What|Removed |Added Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41896

[Bug c++/41896] [cxx0x-lambda] Segfault because of a nested lambda function

2009-11-01 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41896

[Bug fortran/41872] wrong-code: Issues with allocatable scalars

2009-11-01 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-11-01 16:08 --- First patch: http://gcc.gnu.org/ml/fortran/2009-11/msg1.html TODO: * For ALLOCATABLE, OPTIONAL dummies: If the argument is present but not allocated, PRESENT() returns false. As test case add the lines

[Bug fortran/41137] inefficient zeroing of an array

2009-11-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2009-11-01 16:21 --- A workaround (which should really be implemented within the compiler): subroutine s(a,n) integer :: n real :: a(n*n*n*n) a = 0.0 end subroutine This is legal Fortran, equivalent to your routine, and should be much

[Bug target/41894] wrong code with -fno-split-wide-types

2009-11-01 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-11-01 17:24 --- The problem is still present on 4.3.5 head I cannot reproduce on 4.5 It looks like reload issue with SUBREG. Instruction 18 gets reloaded. The output reload is HImode. I will post dump files but here is

[Bug target/41894] wrong code with -fno-split-wide-types

2009-11-01 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-11-01 17:27 --- Created an attachment (id=18945) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18945action=view) dump file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41894

[Bug target/41894] wrong code with -fno-split-wide-types

2009-11-01 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #6 from hutchinsonandy at gcc dot gnu dot org 2009-11-01 17:27 --- Created an attachment (id=18946) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18946action=view) dump file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41894

[Bug fortran/41137] inefficient zeroing of an array

2009-11-01 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41137

[Bug target/41894] wrong code with -fno-split-wide-types

2009-11-01 Thread eric dot weddington at atmel dot com
--- Comment #7 from eric dot weddington at atmel dot com 2009-11-01 17:44 --- (In reply to comment #4) The problem is still present on 4.3.5 head I cannot reproduce on 4.5 Can someone check this to see if bug exists on any 4.4.x? -- eric dot weddington at atmel dot com changed:

[Bug fortran/41872] wrong-code: Issues with allocatable scalars

2009-11-01 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-11-01 17:47 --- Subject: Bug 41872 Author: burnus Date: Sun Nov 1 17:46:50 2009 New Revision: 153795 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153795 Log: 2009-11-01 Tobias Burnus bur...@net-b.de

[Bug fortran/41897] New: Support TR 29113: Further Interoperability of Fortran with C

2009-11-01 Thread burnus at gcc dot gnu dot org
There is a technical report (TR 29113) in preparation to allow Further Interoperability of Fortran with C. Last draft is: ftp://ftp.nag.co.uk/sc22wg5/N1751-N1800/N1761.txt One thing one presumably needs to change is the way ALLOCATBLE,INTENT(OUT) variables are auto-deallocated: Currently, it

[Bug fortran/41897] Support TR 29113: Further Interoperability of Fortran with C

2009-11-01 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-11-01 18:03 --- See also http://gcc.gnu.org/wiki/ArrayDescriptorUpdate and http://gcc.gnu.org/wiki/LibgfortranAbiCleanup -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31298] F2003: use mod, operator(+) = operator(.userOp.) not supported

2009-11-01 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|burnus at gcc dot gnu dot |unassigned at gcc dot gnu |org

[Bug c++/41754] initializer list internal compiler segfault

2009-11-01 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-11-01 19:03 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/35849] wrong line shown in error message for parameter

2009-11-01 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-11-01 20:21 --- (In reply to comment #2) Do you plan to commit this? The problem is that the patch is effectively wrong. The s-where is correct - except that s happens to be a parameter where s-where points to the parameter

[Bug middle-end/6392] Problems with __restrict__ type qualifier (array)

2009-11-01 Thread jason at gcc dot gnu dot org
--- Comment #12 from jason at gcc dot gnu dot org 2009-11-01 20:22 --- Closing the rejects-valid bug, will open a new missed-optimization bug. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/41898] New: GCC ignores restrict on array

2009-11-01 Thread jason at gcc dot gnu dot org
Adding a pointless array qualifier to the restrict-1.c test makes it not work with gcc -O2; we fail to optimize away the call to link_error. int * __restrict__ a[1]; int * __restrict__ b[1]; extern void link_error (void); int main() { a[0][0] = 1; b[0][0] = 1; if (a[0][0] != 1)

[Bug fortran/41872] wrong-code: Issues with allocatable scalars

2009-11-01 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-11-01 20:46 --- SAVE problem: Simply adding (!sym-attr.save (... || ...)) to gfc_trans_deferred_vars does not work as one then reaches unreachable(); one should check where SAVE is handles for allocatable arrays, which is

[Bug c++/41754] initializer list internal compiler segfault

2009-11-01 Thread tom dot deseyn at gmail dot com
--- Comment #5 from tom dot deseyn at gmail dot com 2009-11-01 20:51 --- Thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41754

[Bug tree-optimization/41898] GCC ignores restrict on array

2009-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-01 20:59 --- Without __restrict__ we don't optimize the call to link_error either. Because the stores may alias - they are only redundant because of the identical RHS. See PR23094 for that missed optimization. But restrict

[Bug tree-optimization/41898] GCC ignores restrict on array

2009-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-11-01 21:00 --- It works with int * __restrict__ a; int * __restrict__ b; extern void link_error (void); int main() { a[0] = 0; b[0] = 1; if (a[0] != 0) link_error (); return 0; } -- rguenth at gcc dot gnu dot

[Bug bootstrap/41899] New: gcc fails to build on OpenSolaris, as gcc uses non-standard option to 'find'

2009-11-01 Thread david dot kirkby at onetel dot net
Hi, Hardware is a Sun Ultra 27 - 3.333 GHz quad core Xeon Operating system is OpenSolaris (aka Solaris 11) 06/2009 drkir...@hawk:~$ uname -a SunOS hawk 5.11 snv_111b i86pc i386 i86pc drkir...@hawk:~$ cat /etc/release OpenSolaris 2009.06 snv_111b X86 Copyright

[Bug bootstrap/41899] gcc fails to build on OpenSolaris, as gcc uses non-standard option to 'find'

2009-11-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-01 21:10 --- *** This bug has been marked as a duplicate of 38715 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/41900] New: call *%esp shouldn't be generated because of CPU errata

2009-11-01 Thread mikulas at artax dot karlin dot mff dot cuni dot cz
Hi Intel P6 family of processors (Pentium Pro, 2, 3) have a bug in call *%esp instruction. The instruction should put current EIP to stack, decrement ESP by 4 and jump to a value of ESP before the decrement. P6 processors will jump to the address after the decrement (so the will execute return

[Bug rtl-optimization/41891] [4.5 Regression] ICE in move_loop_invariants

2009-11-01 Thread lucier at math dot purdue dot edu
--- Comment #3 from lucier at math dot purdue dot edu 2009-11-01 23:55 --- This one works: frying-pan:~/programs/gambc-v4_5_2-devel /pkgs/gcc-mainline/bin/gcc -march=core2 -msse4 -save-temps -Wno-unused -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing

[Bug target/41894] wrong code with -fno-split-wide-types

2009-11-01 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #8 from hutchinsonandy at gcc dot gnu dot org 2009-11-02 00:54 --- The problem seems related to use of R28+r29 - which is also frame pointer. avr_hard_regno_mode_ok allows R28 in HIMODE but not any other mode. (This hack was made to avoid reload problem where r29 was used

[Bug java/41901] New: gcj -C -ftarget 1.1 produces bytecode that doesn't work in JDK 1.1

2009-11-01 Thread bens at alum dot mit dot edu
gcj -C -ftarget 1.1 produces output that doesn't work in Sun JDK 1.1.8, as tested under Wine. The problem is that the bytecode produced for a synchronized() block is not accepted by the VM. Upon encountering this bytecode, the VM either (1) prints nonfatal internal JIT (3.00.078(x)) error

[Bug lto/41902] New: Compile error in gcc/lto/lto-elf.c (SHN_XINDEX undeclared)

2009-11-01 Thread bruck dot michael at googlemail dot com
gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I.