[Bug fortran/40881] warn for obsolescent features

2009-08-03 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-08-03 07:04 --- (In reply to comment #3) The warnings about deleted features can be turned off via -std=legacy, and are turned into errors by -std=f95 and above. I think I would like to see a way to disable them with -std=gnu.

[Bug fortran/40941] gfc_typespec: put derived, cl and interface into union

2009-08-03 Thread janus at gcc dot gnu dot org
-- janus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |janus at gcc dot gnu dot org |dot org

[Bug middle-end/40946] New: [4.3/4.4/4.5 Regression] Spurious array subscript is above bounds warning

2009-08-03 Thread jakub at gcc dot gnu dot org
/* { dg-do compile } */ /* { dg-options -O2 -Wall } */ struct A { unsigned char a1[8]; unsigned short a2, a3, a4, a5, a6, a7; }; int bar (void *, const char *, int); char *foo (void *, int); char * baz (const char *x, const char *y) { int a = sizeof (struct A) + 2 * (__builtin_strlen (y)

[Bug libffi/40242] unsupported asm instructions in libffi/src/arm/sysv.S

2009-08-03 Thread ramana at gcc dot gnu dot org
--- Comment #5 from ramana at gcc dot gnu dot org 2009-08-03 08:31 --- Confirmed with Trunk as of 150308 -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug libffi/40242] unsupported asm instructions in libffi/src/arm/sysv.S

2009-08-03 Thread ramana at gcc dot gnu dot org
--- Comment #6 from ramana at gcc dot gnu dot org 2009-08-03 08:33 --- (In reply to comment #5) Confirmed with Trunk as of 150308 With the following options. /home/ramrad01/sources/trunk/configure --with-cpu=cortex-a8 --with-float=softfp --with-fpu=neon -- ramana at gcc dot

[Bug lto/40903] LTO doesn't merge common sections properly

2009-08-03 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-08-03 08:46 --- Subject: Bug 40903 Author: rguenth Date: Mon Aug 3 08:45:37 2009 New Revision: 150365 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150365 Log: 2009-07-30 Richard Guenther rguent...@suse.de PR

[Bug libgcj/40947] New: Invalid flag usage: Wl,-rpath, -Wx,-option must appear after -_SYSTYPE_SVR4

2009-08-03 Thread htl10 at users dot sourceforge dot net
svn r150353 - snapshot a few days ago: This is probably quite obvious and easy to fix? I couldn't work out the syntax of -_SYSTYPE_SVR4... - make[3]: Entering directory `/home/htl10/tmp-build/g-svn/alphaev68-dec-osf5.1a/libjava' /usr/local/bin/bash ./libtool --tag=GCJ

[Bug libgcj/40947] Invalid flag usage: Wl,-rpath, -Wx,-option must appear after -_SYSTYPE_SVR4

2009-08-03 Thread htl10 at users dot sourceforge dot net
--- Comment #1 from htl10 at users dot sourceforge dot net 2009-08-03 08:57 --- This is just from ../src/configure ; make . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40947

[Bug c++/40948] New: ICE in lower_stmt, at gimple-low.c:408

2009-08-03 Thread lindevel at gmx dot net
testclass.cpp: In constructor #8216;TestClass::TestClass()#8217;: testclass.cpp:13: internal compiler error: in lower_stmt, at gimple-low.c:408 Please tell me if you need more information. The error vanishes if the definition of TestClass::TestClass() is moved into the declaration of TestClass.

[Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408

2009-08-03 Thread lindevel at gmx dot net
--- Comment #1 from lindevel at gmx dot net 2009-08-03 09:17 --- Created an attachment (id=18286) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18286action=view) TestClass source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40948

[Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408

2009-08-03 Thread lindevel at gmx dot net
--- Comment #2 from lindevel at gmx dot net 2009-08-03 09:21 --- Created an attachment (id=18287) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18287action=view) TestClass preprocessed source (compressed) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40948

[Bug libstdc++/40712] locale(const locale, const char*, locale::category) can create broken locale

2009-08-03 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-08-03 09:24 --- Unless there are many requests, let's not fix this for gcc-4_4-branch, isn't a regression and nobody noticed for many years... -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-08-03 09:34 --- Indeed, GIMPLE_WITH_CLEANUP_EXPR in the IL after gimplification. On the trunk this ICEs too, with type verification failure. Distilling a testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40948

[Bug fortran/40920] Derived type with BIND(C) - rejected as argument.

2009-08-03 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-08-03 09:53 --- Could not find the problem so far, cf. symbol.c's verify_bind_c_derived_type as starting point. * * * The following TODO should be checked; I heard it is invalid C99 (as per grammar in 6.7.2.1 Structure and union

[Bug fortran/39896] ICE with -fwhole-file

2009-08-03 Thread jv244 at cam dot ac dot uk
--- Comment #9 from jv244 at cam dot ac dot uk 2009-08-03 10:05 --- the testcases pass with current trunk. I'll close this as fixed. -- jv244 at cam dot ac dot uk changed: What|Removed |Added

[Bug fortran/40006] allow type cheating for procedures with an implicit interface

2009-08-03 Thread jv244 at cam dot ac dot uk
--- Comment #10 from jv244 at cam dot ac dot uk 2009-08-03 10:06 --- Paul, this one seems fixed as well. I'm closing this. -- jv244 at cam dot ac dot uk changed: What|Removed |Added

[Bug fortran/38913] Fortran does not set TYPE_CANONICAL properly

2009-08-03 Thread jv244 at cam dot ac dot uk
--- Comment #15 from jv244 at cam dot ac dot uk 2009-08-03 10:11 --- testcases in comment #13 and comment #14 pass with current trunk. The testcase in comment #8 still fails. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38913

[Bug fortran/40011] Problems with -fwhole-file

2009-08-03 Thread jv244 at cam dot ac dot uk
--- Comment #44 from jv244 at cam dot ac dot uk 2009-08-03 10:12 --- Just for completeness, current trunk still fails on the testcases in comment #40 and comment #42. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40011

[Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-08-03 11:04 --- Simplified testcase: struct M { M () {} ~M () {} }; struct S { S (); M m[1]; }; S::S () : m ((M[1]) { M () }) { } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40948

[Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-08-03 11:09 --- This ICEs since somewhen between r134096 and r134281, likely PR35708. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-08-03 12:07 --- ctor initializer isn't needed, this ICEs as well: struct M { M () {} ~M () {} }; void foo () { M m[1] = (M[1]) { M () }; } and the ICE on the trunk is for the same reason, GIMPLE_WITH_CLEANUP_EXPR left in the

[Bug c++/40092] -std=gnu++0x expansion pattern fails with error about derived template instead of actual template

2009-08-03 Thread cppljevans at suddenlink dot net
--- Comment #8 from cppljevans at suddenlink dot net 2009-08-03 12:08 --- Created an attachment (id=18288) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18288action=view) Shows Value_0 fail but Value_1 pass Since Value_0 and Value_1 only differ in argument number, hopefully this

[Bug middle-end/40943] [4.4/4.5 Regression] Uninitialized warning is missed when dereferencing uninitialized pointers

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-08-03 13:10 --- Broken by Manu's PR179 changes: http://gcc.gnu.org/viewcvs?root=gccview=revrev=139347 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40943

[Bug middle-end/40943] [4.4/4.5 Regression] Uninitialized warning is missed when dereferencing uninitialized pointers

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-08-03 13:41 --- Created an attachment (id=18289) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18289action=view) gcc45-pr40943.patch Untested fix. It breaks uninit-6*.c again though, but fixing this kind of false positive by

[Bug middle-end/40943] [4.4/4.5 Regression] Uninitialized warning is missed when dereferencing uninitialized pointers

2009-08-03 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-08-03 13:44 --- Since the alias-improvements branch merge uninitialized warnings for aggregates are seriously broken implementation wise anyway. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40943

[Bug fortran/40949] New: FAIL: gfortran.dg/proc_ptr_7.f90

2009-08-03 Thread rguenth at gcc dot gnu dot org
The fortran frontend does not properly terminate function type argument lists with void_type_node. integer(c_int) function f55() f55 = 55 end function f55 integer(c_int) function f65() f65 = 65 end function f65 do not match the argument in void assignf_(int(**ptr)(void)) { *ptr =

[Bug middle-end/40943] [4.4/4.5 Regression] Uninitialized warning is missed when dereferencing uninitialized pointers

2009-08-03 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2009-08-03 14:07 --- (In reply to comment #3) Created an attachment (id=18289) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18289action=view) [edit] gcc45-pr40943.patch Untested fix. It breaks uninit-6*.c again though, but

[Bug c/39959] [4.5 Regression] IMA is broken

2009-08-03 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2009-08-03 14:41 --- It was fixed between revision revision 150368 and revision 150371. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39959

[Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2009-08-03 14:57 --- Seems this is cleanup of the finish_compound_literal returned TARGET_EXPR vs. TRY_BLOCK added by build_vec_init for the from_array != 2 case. The TARGET_EXPR with cleanup is only referenced from within stmts inside of

[Bug c++/40948] ICE in lower_stmt, at gimple-low.c:408

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-08-03 15:11 --- Created an attachment (id=18290) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18290action=view) gcc45-pr40948.patch Untested patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40948

[Bug middle-end/40943] [4.4/4.5 Regression] Uninitialized warning is missed when dereferencing uninitialized pointers

2009-08-03 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug fortran/40875] ICE with illegal type conversion

2009-08-03 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2009-08-03 17:01 --- Michael, Thanks for the catch - it's confirmed. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/40950] New: Bootstrap fails with in-tree gmp and without system C++ compiler

2009-08-03 Thread lucier at math dot purdue dot edu
With this build script #!/bin/tcsh /bin/rm -rf *; ../../mainline/configure --enable-checking=release --prefix=/pkgs/gcc-mainline-mem-stats --enable-languages=c --enable-gather-detailed-mem-stats ; make -j 6 bootstrap build.log on this OS: heine:~/programs/gcc/objdirs/mainline uname -a Linux

[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler

2009-08-03 Thread lucier at math dot purdue dot edu
--- Comment #1 from lucier at math dot purdue dot edu 2009-08-03 17:15 --- Created an attachment (id=18291) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18291action=view) Build log of failed bootstrap -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950

[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler

2009-08-03 Thread lucier at math dot purdue dot edu
--- Comment #2 from lucier at math dot purdue dot edu 2009-08-03 17:16 --- Created an attachment (id=18292) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18292action=view) log of failed gmp configuration -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950

[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler

2009-08-03 Thread lucier at math dot purdue dot edu
--- Comment #3 from lucier at math dot purdue dot edu 2009-08-03 17:17 --- Created an attachment (id=18293) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18293action=view) build log with right content type -- lucier at math dot purdue dot edu changed: What

[Bug testsuite/40858] FAIL: g++.dg/debug/dwarf2/typedef1.C

2009-08-03 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2009-08-03 17:29 --- Subject: Bug 40858 Author: danglin Date: Mon Aug 3 17:29:17 2009 New Revision: 150375 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150375 Log: PR testsuite/40858 *

[Bug testsuite/40858] FAIL: g++.dg/debug/dwarf2/typedef1.C

2009-08-03 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2009-08-03 17:37 --- Fixed. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/40867] [4.5 Regression] FAIL: StackTrace2 output - source compiled test

2009-08-03 Thread aph at gcc dot gnu dot org
--- Comment #8 from aph at gcc dot gnu dot org 2009-08-03 17:55 --- Subject: Bug 40867 Author: aph Date: Mon Aug 3 17:55:11 2009 New Revision: 150376 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150376 Log: 2009-07-31 Andrew Haley a...@redhat.com PR java/40867

[Bug c/40951] New: Type-checking when returning from function missing

2009-08-03 Thread pratik dot j dot ashar at intel dot com
gcc -v output: = pra...@pratik-desktop:~/temp$ gcc-4.3 -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++

[Bug middle-end/40937] [4.5 regression] Revision 150336 caused many testsuite errors

2009-08-03 Thread sje at cup dot hp dot com
--- Comment #1 from sje at cup dot hp dot com 2009-08-03 19:09 --- I don't know if it is related to what is causing these test suite failures but I am getting a bootstrap failure on IA64 HP-UX with version 150336. When running gengtype in stage2 I get a Memory fault. Under the

[Bug c/40951] Type-checking when returning from function missing

2009-08-03 Thread joseph at codesourcery dot com
--- Comment #1 from joseph at codesourcery dot com 2009-08-03 19:16 --- Subject: Re: New: Type-checking when returning from function missing On Mon, 3 Aug 2009, pratik dot j dot ashar at intel dot com wrote: Function foo() returns a char to the caller. Running objdump on the

[Bug middle-end/40937] [4.5 regression] Revision 150336 caused many testsuite errors

2009-08-03 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-08-03 19:17 --- This bug was fixed by revision 150344: http://gcc.gnu.org/ml/gcc-cvs/2009-08/msg00023.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/40943] [4.4/4.5 Regression] Uninitialized warning is missed when dereferencing uninitialized pointers

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-08-03 19:26 --- Subject: Bug 40943 Author: jakub Date: Mon Aug 3 19:26:10 2009 New Revision: 150379 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150379 Log: PR middle-end/40943 * tree-ssa.c

[Bug middle-end/40943] [4.4/4.5 Regression] Uninitialized warning is missed when dereferencing uninitialized pointers

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2009-08-03 19:27 --- Subject: Bug 40943 Author: jakub Date: Mon Aug 3 19:27:32 2009 New Revision: 150380 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150380 Log: PR middle-end/40943 * tree-ssa.c

[Bug middle-end/40943] [4.4/4.5 Regression] Uninitialized warning is missed when dereferencing uninitialized pointers

2009-08-03 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-08-03 19:32 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/40952] New: version 150336 broke bootstrap on ia64-hp-hpux11.23

2009-08-03 Thread sje at cup dot hp dot com
Starting with version 150336, GCC does not bootstrap on ia64-hp-hpux11.23. In stage2 gengtype dies with a Memory fault: Program received signal SIGSEGV, Segmentation fault si_code: 1 - SEGV_MAPERR - Address not mapped to object. 0x40107a0:0 in nreverse_pairs (list=0x40014350) I have updated to

[Bug java/40953] New: function declaration forgotten

2009-08-03 Thread nicolas dot boulenguez at free dot fr
In file gcc/java/java-tree.h, the extern void write_classfile(); function is declared, allthough its removal is mentioned in Changelog 2006-10-20 and it is never called from anywhere else anymore. -- Summary: function declaration forgotten Product: gcc Version:

[Bug libstdc++/34419] Weirdness with numeric_limits in special functions

2009-08-03 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-08-03 20:14 --- Any news, Ed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34419

[Bug libstdc++/38741] Unable to write data to wofstream

2009-08-03 Thread paolo dot carlini at oracle dot com
--- Comment #15 from paolo dot carlini at oracle dot com 2009-08-03 20:16 --- Feedback not forthcoming. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug fortran/40870] [F03] include formal args in backend_decl of PPCs

2009-08-03 Thread janus at gcc dot gnu dot org
-- janus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |janus at gcc dot gnu dot org |dot org

[Bug libstdc++/9925] ostrstream (buf, size) ... does not work properly

2009-08-03 Thread paolo dot carlini at oracle dot com
--- Comment #27 from paolo dot carlini at oracle dot com 2009-08-03 20:28 --- The rvalue stream inserter is now available in C++0x mode. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug target/40951] Type-checking when returning from function missing

2009-08-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-08-03 20:32 --- The JNI bridge is incorrect according to the ABI so this is invalid and GCC is correct for doing this. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40954] New: gcc-4.4.1/s390: internal compiler error: Segmentation fault

2009-08-03 Thread debian-gcc at lists dot debian dot org
[forwarded from http://bugs.debian.org/539713] Matthias The following code triggers an ice on s390 with -m64: void wmemset (int *s, int c, int n) { register int *wp = s; while (n = 4) { wp[0] = c; wp[1] = c; wp[2] = c; wp[3] = c; wp += 4; n -= 4;

[Bug middle-end/40952] version 150336 broke bootstrap on ia64-hp-hpux11.23

2009-08-03 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2009-08-03 20:54 --- Well, stage2 is better than stage3 :-) Can you post a preprocessed testcase? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40952

[Bug fortran/40875] ICE with illegal type conversion

2009-08-03 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-08-03 21:14 --- See also: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/eb7ca487876d9420 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40875

[Bug fortran/40955] New: STDCALL attributes are not saved in the .MOD files

2009-08-03 Thread burnus at gcc dot gnu dot org
See also: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/eb7ca487876d9420 -- Summary: STDCALL attributes are not saved in the .MOD files Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug fortran/40875] ICE with illegal type conversion

2009-08-03 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-08-03 21:16 --- (In reply to comment #2) See also: [...] Mis-pasted. That should go to PR 40955 - sorry for the spam. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40875

[Bug c/39902] x * 1.0DF gets wrong value

2009-08-03 Thread janis at gcc dot gnu dot org
--- Comment #5 from janis at gcc dot gnu dot org 2009-08-03 21:39 --- Subject: Bug 39902 Author: janis Date: Mon Aug 3 21:38:53 2009 New Revision: 150383 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150383 Log: PR c/39902 * simplify-rtx.c

[Bug c/39902] x * 1.0DF gets wrong value

2009-08-03 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2009-08-03 21:43 --- Subject: Bug 39902 Author: janis Date: Mon Aug 3 21:43:32 2009 New Revision: 150384 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150384 Log: PR c/39902 * simplify-rtx.c

[Bug c/39902] x * 1.0DF gets wrong value

2009-08-03 Thread janis at gcc dot gnu dot org
--- Comment #7 from janis at gcc dot gnu dot org 2009-08-03 21:47 --- Subject: Bug 39902 Author: janis Date: Mon Aug 3 21:47:39 2009 New Revision: 150385 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150385 Log: PR c/39902 * tree.c (real_zerop, real_onep,

[Bug c/39902] x * 1.0DF gets wrong value

2009-08-03 Thread janis at gcc dot gnu dot org
--- Comment #8 from janis at gcc dot gnu dot org 2009-08-03 21:49 --- Subject: Bug 39902 Author: janis Date: Mon Aug 3 21:49:12 2009 New Revision: 150386 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150386 Log: PR c/39902 * simplify-rtx.c

[Bug target/40956] New: GCSE opportunity in if statement

2009-08-03 Thread carrot at google dot com
Compile the following function with options -Os -mthumb -march=armv5te -frename-registers int foo(int p, int* q) { if (p!=9) *q = 0; else *(q+1) = 0; return 3; } GCC generates: push{lr} cmp r0, #9 // D beq .L2 mov r3, #0

[Bug target/40957] New: standard_sse_constant_opcode crash on x86 64

2009-08-03 Thread dps at simpson dot demon dot co dot uk
The following code, which is a trimmed version of a preprocessed glibc test case (which also fails) calls standard_sse_constant_opcode with a case which is not implemenetd. Hence the slightly strange code, The precise version of gcc is 4.5.0 20090731 (experimental). The bugs works with gcc