[Bug inline-asm/35160] local-alloc introduces sharing of the same pseudo/hard reg between different output regs in inline asm

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #22 from jakub at gcc dot gnu dot org 2008-12-29 08:26 --- IRA gets it right, after backing out that match_asm_constraints_1 change the registers are still allocated correctly and the testcase doesn't abort. So fixed in 4.4. -- jakub at gcc dot gnu dot org changed:

[Bug c++/38637] [4.4 regression] ICE with template declaration of enum

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-12-29 08:29 --- Subject: Bug 38637 Author: jakub Date: Mon Dec 29 08:28:06 2008 New Revision: 142946 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142946 Log: PR c++/38637 * decl.c (start_enum): If enumtype is

[Bug driver/38381] [4.2/4.3/4.4 Regression] -b option seems to be broken

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-12-29 08:33 --- Subject: Bug 38381 Author: jakub Date: Mon Dec 29 08:32:21 2008 New Revision: 142947 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142947 Log: PR driver/38381 * gcc.c (process_command): Accept

[Bug c++/38637] [4.4 regression] ICE with template declaration of enum

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-12-29 08:33 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug driver/38381] [4.2/4.3 Regression] -b option seems to be broken

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-12-29 08:35 --- Fixed on the trunk so far. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Known

[Bug other/35857] --disable-shared doesn't install libgcc_eh.a

2008-12-29 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2008-12-29 09:32 --- (In reply to comment #1) IIRC libgcc_eh.a is only needed for shared targets. e.g., stlport configured with --enable-static --use-static-gcc needs static -lgcc_eh, -lgcc and -lsupc++ to self-link. it uses only shared

[Bug libgcj/38298] libjava link failures.

2008-12-29 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2008-12-29 09:59 --- during standard build (w/o --as-needed) the libgcj-tools.so is linked in the following way: (...) libtool: link: /home/users/pluto/rpm/BUILD/gcc-4.4-20081219/builddir/./gcc/xgcc -shared-libgcc

[Bug other/35457] Error building GCC trunk on CELL SPU

2008-12-29 Thread eres at il dot ibm dot com
--- Comment #12 from eres at il dot ibm dot com 2008-12-29 09:59 --- (In reply to comment #11) Isn't this fixed now? There was a new newlib release last week: http://sourceware.org/ml/newlib/2008/msg00754.html I'll check that. --

[Bug middle-end/36191] [4.3/4.4 Regression] can't use complex in a eh region if non-call-exceptions is enabled

2008-12-29 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 other/35457] Error building GCC trunk on CELL SPU

2008-12-29 Thread eres at il dot ibm dot com
--- Comment #13 from eres at il dot ibm dot com 2008-12-29 11:42 --- (In reply to comment #11) Isn't this fixed now? There was a new newlib release last week: http://sourceware.org/ml/newlib/2008/msg00754.html Yes, the problem is now fixed. Tested on SPU with gcc version 142947 and

[Bug other/35857] --disable-shared doesn't install libgcc_eh.a

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-12-29 11:51 --- For --disable-static, all the unwinder etc. objects are already in libgcc.a. Guess stlport just needs to fix up its configury. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35857

[Bug libstdc++/38384] fails to build cross gcc for target hppa64-hp-hpux11.00 in libstdc++/libmath

2008-12-29 Thread r dot emrich at de dot tecosim dot com
--- Comment #4 from r dot emrich at de dot tecosim dot com 2008-12-29 12:14 --- Created an attachment (id=16999) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16999action=view) libstdc++/config.log The tests for the mathematical functions are skipped all together. Does anybody

[Bug libfortran/38654] Fortran I/O speedup

2008-12-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2008-12-29 12:24 --- Some simple test cases: $ cat write-dollar.f program main do i=1,10**6 write (10,fmt='(A$)') 'a' end do end $ g77-3.4 -O write-dollar.f time ./a.out real0m3.356s user

[Bug debug/26908] -g3 (-ggdb3) emits broken calls to asm-defined functions

2008-12-29 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2008-12-29 12:25 --- reopening... -- bonzini at gnu dot org changed: What|Removed |Added Status|RESOLVED

[Bug inline-asm/33932] miscalculation of asm labels with -g3

2008-12-29 Thread bonzini at gnu dot org
--- Comment #20 from bonzini at gnu dot org 2008-12-29 12:26 --- *** Bug 26908 has been marked as a duplicate of this bug. *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug debug/26908] -g3 (-ggdb3) emits broken calls to asm-defined functions

2008-12-29 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2008-12-29 12:26 --- ... to close as duplicate (since there's some discussion on the other bug) *** This bug has been marked as a duplicate of 33932 *** -- bonzini at gnu dot org changed: What|Removed

[Bug middle-end/38652] [4.4 Regression] dse.c: In function get_call_args: dse.c:2309: error: target undeclared

2008-12-29 Thread uros at gcc dot gnu dot org
--- Comment #2 from uros at gcc dot gnu dot org 2008-12-29 12:37 --- Subject: Bug 38652 Author: uros Date: Mon Dec 29 12:36:24 2008 New Revision: 142949 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142949 Log: PR middle-end/38652 * dse.c: Include target.h.

[Bug middle-end/38652] [4.4 Regression] dse.c: In function get_call_args: dse.c:2309: error: target undeclared

2008-12-29 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2008-12-29 12:40 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|NEW

[Bug target/35766] a?a+C:0 can be done branchless

2008-12-29 Thread to dot roma dot from dot bugcc at qwertty dot com
--- Comment #3 from to dot roma dot from dot bugcc at qwertty dot com 2008-12-29 13:07 --- Right you are, GCC is smart enough to do this optimization now. Version 4.2.4 (g++ -v below) has just compiled the code without branching. However, the Debian version of GCC 4.3 failed to do so

[Bug other/35857] --disable-shared doesn't install libgcc_eh.a

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-29 14:00 --- STLport is just broken then. Not GCC's bug then. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/35457] Error building GCC trunk on CELL SPU

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2008-12-29 14:05 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/38298] libjava link failures.

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-12-29 14:19 --- How did you configure GCC? How did you invoke make? What environment variables are set? I know building libgcj on x86_64-linux-gnu works so it has something to do with your environment. --

[Bug libmudflap/38339] libtool: compile: not configured to build any kind of library

2008-12-29 Thread rwild at gcc dot gnu dot org
--- Comment #5 from rwild at gcc dot gnu dot org 2008-12-29 14:24 --- First, please get a pristine source tree again. Then, rebuild in a build tree that is not a subdirectory of the source tree. Let's see how many errors that removes. (It is absolutely essential that you start over

[Bug fortran/23169] INTENT information not used in the middle-end for optimizations

2008-12-29 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2008-12-29 14:25 --- (In reply to comment #4) Here is a testcase which we would not get unless we take intent(in) into account: [...] foo should always be zero as bar should not be able to touch b or c. Is this really related to the

[Bug c/35034] weakref vs. -combine

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2008-12-29 14:26 --- *** Bug 38460 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35034

[Bug c/38460] fails to build unwinder

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2008-12-29 14:26 --- *** This bug has been marked as a duplicate of 35034 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/38298] libjava link failures.

2008-12-29 Thread pluto at agmk dot net
--- Comment #8 from pluto at agmk dot net 2008-12-29 14:28 --- Created an attachment (id=17000) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17000action=view) full log (configure build without --as-needed flag). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38298

[Bug target/35018] [m68k-elf] Gcc ouputs invalid asm when compiling with -O2 or higher

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-29 14:30 --- Maxim, if this is fixed, please close this bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35008] [4.2 Regression] Bug in processing nested typedef in nested template class in method definition

2008-12-29 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|Bug in processing nested|[4.2 Regression] Bug in |typedef in nested

[Bug libstdc++/38631] [4.4 Regression] libstdc++ from gcc 4.4 causes OpenOffice.org 3.0 to crash on startup

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-12-29 14:36 --- If it is really libgcc_s.so.1 that makes the difference, could you do a binary search to see which commit made the difference? AFAIK there were very few changes to the gcc/unwind* files this year and no suspect one

[Bug c++/35004] Adding 4 more tree codes causes a crash in building libstdc++ pre-compiled headers

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-12-29 14:37 --- Fixed: Index: ChangeLog === --- ChangeLog (revision 131942) +++ ChangeLog (revision 131943) @@ -1,3 +1,10 @@ +2008-01-29 Michael Meissner

[Bug c/34985] Warning defined but not used despite __attribute__((__used__))

2008-12-29 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34985

[Bug tree-optimization/34940] contained subroutines called only once are not inlined

2008-12-29 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug rtl-optimization/15414] Failure in compiling very huge C program

2008-12-29 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2008-12-29 15:18 --- Test case compiled flawlessly with ~ 530 mb maximum memory usage with -O3 on current trunk on i686-pc-linux-gnu. I'd say this is fixed. -- tkoenig at gcc dot gnu dot org changed: What|Removed

[Bug bootstrap/35580] ICE in bootstrap while building libgcj

2008-12-29 Thread r dot emrich at de dot tecosim dot com
--- Comment #2 from r dot emrich at de dot tecosim dot com 2008-12-29 15:43 --- Can't check anymore, no hardware! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35580

[Bug c++/38649] [4.4 regression] Trouble with defaulted constructors

2008-12-29 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-12-29 16:17 --- Maybe Jason is interested... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/38384] fails to build cross gcc for target hppa64-hp-hpux11.00 in libstdc++/libmath

2008-12-29 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2008-12-29 16:34 --- Subject: Re: fails to build cross gcc for target hppa64-hp-hpux11.00 in libstdc++/libmath The tests for the mathematical functions are skipped all together. Does anybody sees why? It would seem linking

[Bug c/36489] [4.3/4.4 Regression] Warning initialized field overwritten wrongly triggers with multidimensional arrays

2008-12-29 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/33595] FAIL: gfortran.dg/nint_2.f90 -O0 execution test

2008-12-29 Thread danglin at gcc dot gnu dot org
--- Comment #14 from danglin at gcc dot gnu dot org 2008-12-29 17:11 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2008-12/msg01221.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33595

[Bug libstdc++/38384] fails to build cross gcc for target hppa64-hp-hpux11.00 in libstdc++/libmath

2008-12-29 Thread r dot emrich at de dot tecosim dot com
--- Comment #6 from r dot emrich at de dot tecosim dot com 2008-12-29 17:11 --- Build and Host is x86_64-unknown-linux-gnu. I compared to a cross-build for ia64-unknown-linux-gnu target. In that case the tests are working. So, I'm a litlle bit confused. I may upload the config.log

[Bug c/38660] New: Pointer value changed to NULL

2008-12-29 Thread q at ping dot be
Hi, It seems that postgresql has a problem with a gcc 4.4 snapshot. I've last tested this with the gcc-snapshot package from Debian on x86_64 that has a snapshot from 20081213. It seems that a pointer gets changed into NULL that shouldn't. I've first asked about this on the pgsql list, see the

[Bug c/38660] Pointer value changed to NULL

2008-12-29 Thread q at ping dot be
--- Comment #1 from q at ping dot be 2008-12-29 17:19 --- Created an attachment (id=17001) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17001action=view) preprocessed file that has the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38660

[Bug middle-end/38537] -fstrict-aliasing and -Wstrict-aliasing do not work

2008-12-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38537

[Bug tree-optimization/38564] [4.4 Regression] Revision 142662 caused ICE in insert_into_preds_of_block

2008-12-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org

[Bug middle-end/38585] excessive time in compute_may_aliases

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-29 17:58 --- Indeed. I'll accept this for the branch where it should be already fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38660] Pointer value changed to NULL

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-29 18:04 --- plpython.c:2196: warning: dereferencing type-punned pointer will break strict-aliasing rules plpython.c:2196: warning: dereferencing pointer '_Py_TrueStruct.537' does break strict-aliasing rules plpython.c:2196:

[Bug middle-end/38486] Missing warning about type punning

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-12-29 18:05 --- Even if I cannot find the proper section of the standard that says a-b is not considered an access it does make sense for GIMPLE to do so. Otherwise we cannot transform (char *)a + 4 to a-b because the latter would

[Bug middle-end/38660] Pointer value changed to NULL

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-29 18:05 --- ( (((PyObject *) _Py_TrueStruct))-ob_refcnt++); Yes that is obvious an alias violation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38660

[Bug middle-end/38660] Pointer value changed to NULL

2008-12-29 Thread q at ping dot be
--- Comment #4 from q at ping dot be 2008-12-29 18:13 --- pgsql uses -fno-strict-aliasing to compile. The command that is being used is: gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g -fpic -I.

[Bug tree-optimization/38513] Only postreload will remove a no-op store

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-29 18:21 --- I have a FRE patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/34904] -march=native doesn't work with multiple input files

2008-12-29 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34904

[Bug middle-end/36191] [4.3/4.4 Regression] can't use complex in a eh region if non-call-exceptions is enabled

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-12-29 18:26 --- Subject: Bug 36191 Author: jakub Date: Mon Dec 29 18:25:19 2008 New Revision: 142950 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142950 Log: PR c++/36191 * tree-complex.c

[Bug c++/38635] [4.4 regression] ICE parsing broken code

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-12-29 18:28 --- Subject: Bug 38635 Author: jakub Date: Mon Dec 29 18:27:03 2008 New Revision: 142951 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142951 Log: PR c++/38635 * parser.c (cp_parser_condition): Use

[Bug rtl-optimization/34849] Missed autoincrement oppurtunities thanks to a different basic block structure.

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-29 18:35 --- We should do store sinking which allows for this optimization without much trouble on this code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34849

[Bug middle-end/36191] [4.3 Regression] can't use complex in a eh region if non-call-exceptions is enabled

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-12-29 18:32 --- Fixed on the trunk so far. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Known

[Bug c++/38635] [4.4 regression] ICE parsing broken code

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-12-29 18:32 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/38362] [4.4 regression] AltiVec context-sensitive keywords broke test for __vector bool

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-29 18:38 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c/38661] New: ICE: vector VEC(constructor_elt,base) push domain error, in build_constructors at tree-switch-conversion.c:450

2008-12-29 Thread cgd at google dot com
compiler: Using built-in specs. Target: i686-linux Configured with: ../trunk/configure --enable-languages=c,c++ --build=i686-linux --host=i686-linux --target=i686-linux --prefix=/g/users/cgd/proj/gcc-trunk/bld/../inst Thread model: posix gcc version 4.4.0 20081229 (experimental) (GCC) (built

[Bug c++/38611] [4.2/4.3/4.4 Regression] alignof is broken for user aligned types in templates

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-29 19:01 --- If we swap around the MyStruct and the attribute, it works. But if we do this: struct MyStruct1 { unsigned char skip[272]; } ; typedef struct MyStruct1 MyStruct __attribute__((aligned(128) ));

[Bug tree-optimization/38661] [4.4 Regression] ICE: vector VEC(constructor_elt,base) push domain error, in build_constructors at tree-switch-conversion.c:450

2008-12-29 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c++/38662] New: __fastcall confuses a function's throw() specification

2008-12-29 Thread AndiDog at web dot de
Example code: / class E { }; class Test { public: __fastcall bool ernie(bool b) throw(E) { } __fastcall // - remove this to make it work bool bert(bool b); }; bool Test::bert(bool b) { } /

[Bug tree-optimization/38661] [4.4 Regression] ICE: vector VEC(constructor_elt,base) push domain error, in build_constructors at tree-switch-conversion.c:450

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-29 19:15 --- Confirmed. In build_constructors an integer value wraps. Note it might be better if we used 0x7fff instead of 2147483647 so there is less confusion of what is going on here. -- pinskia at gcc dot gnu dot

[Bug tree-optimization/38513] Only postreload will remove a no-op store

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-29 19:23 --- Created an attachment (id=17002) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17002action=view) patch The idea is simple - delete redundant stores whose RHS have the same value-number as the LHS. --

[Bug target/35018] [m68k-elf] Gcc ouputs invalid asm when compiling with -O2 or higher

2008-12-29 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #7 from mkuvyrkov at gcc dot gnu dot org 2008-12-29 19:27 --- This is fixed only on trunk; 4.3 still has the bug. Do you think it's appropriate to close it anyway? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35018

[Bug tree-optimization/38513] Only postreload will remove a no-op store

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-29 19:36 --- *** Bug 21000 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38513

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

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-12-29 19:36 --- *** This bug has been marked as a duplicate of 38513 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38513] Only postreload will remove a no-op store

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-29 19:38 --- (In reply to comment #4) The idea is simple - delete redundant stores whose RHS have the same value-number as the LHS. Which is basically what postreload CSE does really: if (!count reload_cse_noop_set_p

[Bug c++/38611] [4.2/4.3/4.4 Regression] alignof is broken for user aligned types in templates

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-12-29 19:38 --- I'd say this is invalid. You may specify type attributes in an enum, struct or union type declaration or definition, or for other types in a @code{typedef} declaration. See PR29436. --

[Bug tree-optimization/38513] Only postreload will remove a no-op store

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-12-29 19:39 --- One more testcase, we miss a sibcalling optimization due to this (this is originally from PR 2100): int i; int g(void) __attribute__((pure)); int f() { int t = i; int t1 = g(); i = t; return t1; } --

[Bug tree-optimization/38661] [4.4 Regression] ICE: vector VEC(constructor_elt,base) push domain error, in build_constructors at tree-switch-conversion.c:450

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-29 19:41 --- I think I have a simple fix: Index: ../../gcc/tree-switch-conversion.c === --- ../../gcc/tree-switch-conversion.c (revision 142944) +++

[Bug c++/36799] [c++0x] error on va_copy in -std=c++0x mode

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-29 19:48 --- I am going to take care of this. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38564] [4.4 Regression] Revision 142662 caused ICE in insert_into_preds_of_block

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2008-12-29 19:55 --- fold_binary (EQ_EXPR, int, state, state) returns a _Bool 1. Oops. I have a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38564

[Bug c++/38613] extern template suppresses VFT but should not

2008-12-29 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2008-12-29 19:56 --- C++98 does not exclude the GCC behavior: it only says The explicit instantiation of a class template specialization implies the instantiation of all of its members not previously explicitly specialized in the

[Bug fortran/31832] FAIL: gfortran.dg/integer_exponentiation_2.f90 at -O1 and above

2008-12-29 Thread danglin at gcc dot gnu dot org
--- Comment #8 from danglin at gcc dot gnu dot org 2008-12-29 20:11 --- Subject: Bug 31832 Author: danglin Date: Mon Dec 29 20:10:00 2008 New Revision: 142952 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142952 Log: PR fortran/31832 * acinclude.m4

[Bug c++/38663] New: OpenMP directive causes internal compiler error

2008-12-29 Thread aleaverfay at gmail dot com
The code compiles without warning if I comment out the omp pragmas. (Where/how do I upload the .ii file?) $ ~/gcc4.4/usr/local/bin/g++ --version g++ (GCC) 4.3.0 20080125 (experimental) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions.

[Bug target/38629] target-specific parameters for inline heuristics not defined for AVR

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-29 20:10 --- There is a dup for this somewhere ... on pretty-ipa branch the call cost is 3. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38660] Pointer value changed to NULL

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-29 20:18 --- And actually plpython.c:2196: warning: dereferencing pointer '_Py_TrueStruct.537' does break strict-aliasing rules also means that it doesn't get miscompiled ;) --

[Bug tree-optimization/38385] ICE with -O2 -ftree-loop-distribution

2008-12-29 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2008-12-29 20:20 --- Confirmed. Shorter testcase (crashes with -O -ftree-loop-distribution): = int foo(); void bar() { int i, j, x[2], y[2], z[2]; for (i = 0; i 2; ++i) if (foo()) {

[Bug c++/38663] OpenMP directive causes internal compiler error

2008-12-29 Thread aleaverfay at gmail dot com
--- Comment #2 from aleaverfay at gmail dot com 2008-12-29 20:27 --- Debug build works just fine. -O2 and -O3 both fail. Release build is fine with g++4 on linux. $g++4 --version g++4 (GCC) 4.1.0 20060515 (Red Hat 4.1.0-18) Copyright (C) 2006 Free Software Foundation, Inc. This is

[Bug c++/38663] OpenMP directive causes internal compiler error

2008-12-29 Thread aleaverfay at gmail dot com
--- Comment #1 from aleaverfay at gmail dot com 2008-12-29 20:21 --- Created an attachment (id=17003) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17003action=view) (Gzipped for size) Preprocessed source file that generates the internal compile error. --

[Bug rtl-optimization/38614] ICE at simplify-rtx.c:4956

2008-12-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last

[Bug middle-end/38616] [4.3 Regression] Wrong code when -O3 or -O2 -fstack-protector used

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-12-29 20:38 --- Confirmed. Probably fixed on the trunk by 2008-05-04 Uros Bizjak ubiz...@gmail.com * config/i386/i386.md (*strmovsi_1): Simplify asm alternatives. (*strmovsi_rex_1): Ditto.

[Bug target/31488] va_list considered non-POD

2008-12-29 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2008-12-29 20:39 --- The testcase: #include stdarg.h extern int foo (int a, int b, ...); int bar (int a, int b, ...) { va_list args; va_start (args, b); int result = foo (a, b, args); va_end (args); return result; } g++ -O2:

[Bug target/31488] va_list considered non-POD

2008-12-29 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2008-12-29 20:42 --- Preprocessed source, can be compiled with a crosscompiler: --cut here-- # 1 pod.C # 1 built-in # 1 command-line # 1 pod.C # 1 /usr/lib/gcc/alpha-linux-gnu/4.2.4/include/stdarg.h 1 3 4 # 43

[Bug middle-end/38663] OpenMP directive causes internal compiler error

2008-12-29 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-12-29 20:46 --- So what gcc are you using? 4.4 (which revision) or 4.3.0 20080125? In any case, this compiles just fine for me with both 4.3.2-RH and 4.4 trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663

[Bug middle-end/38663] OpenMP directive causes internal compiler error

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-29 20:47 --- Also what is the ICE? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663

[Bug c++/31488] va_list considered non-POD

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-29 20:46 --- sounds like the C++ front-end does not know this struct is a POD. I am going to mark this as a front-end bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38398] g0.w edit descriptor: Update for F2008 Tokyo meeting changes

2008-12-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2008-12-29 20:47 --- I will try to close this again. :) -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31488] va_list considered non-POD

2008-12-29 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2008-12-29 20:57 --- (In reply to comment #2) It is *not* represented as an array on Alpha. But as a RECORD_TYPE. Following patch cures the warning: Index: cp/tree.c === ---

[Bug c++/31488] va_list considered non-POD

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-12-29 21:02 --- (In reply to comment #6) (In reply to comment #2) It is *not* represented as an array on Alpha. But as a RECORD_TYPE. Following patch cures the warning: But that is not correct as some nonPODs are structs

[Bug target/34163] [4.3/4.4 Regression] 10% performance regression since Nov 1 on Polyhedron's NF on AMD64

2008-12-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34163

[Bug target/36209] arm-*-linux-gnueabi-gcc (4.3.0) segment fault during build of procps-3.2.7

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-29 20:59 --- Did it ever work before 4.4.0? Otherwise it is not a regression and should be closed as fixed with a target milestone of 4.4.0. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug c++/36654] [4.2/4.3 Regression] Inlined con/de-structor breaks virtual inheritance dllimport classes

2008-12-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Priority|P3 |P2

[Bug c++/38649] [4.4 regression] Trouble with defaulted constructors

2008-12-29 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/35640] [4.2/4.3/4.4 Regression] invalid access to protected base class

2008-12-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35640

[Bug c++/37877] [4.3/4.4 Regression] Invalid invalid use of static error

2008-12-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||patch Priority|P3 |P2

[Bug c++/37922] [4.3 Regression] code generation error

2008-12-29 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Priority|P3 |P2

[Bug c++/38611] alignof does not always apply to typedef

2008-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-29 21:09 --- Yes I agree, the code is wrong but we should warn about it, like we do in the may_alias case. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/38665] New: [4.4 Regression] ICE in check_host_association

2008-12-29 Thread tkoenig at gcc dot gnu dot org
Error found by Marco Restelli (test case to be uploaded shortly). gfortran 4.4 fails with $ gfortran host_assoc.f90 host_assoc.f90:85: internal compiler error: in check_host_association, at fortran/resolve.c:4369 Please submit a full bug report, with preprocessed source if appropriate. See

[Bug c++/36019] [4.2/4.3/4.4 Regression] template parameter does not hide class name

2008-12-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-29 20:57 --- P1 for 4.4, not really for the branches. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

  1   2   >