[Bug c/41842] ICE on invalid variable length array declaration

2009-10-26 Thread truedfx at gentoo dot org
--- Comment #1 from truedfx at gentoo dot org 2009-10-27 06:26 --- Same results with the 20091022 snapshot. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41842

[Bug c/41842] New: ICE on invalid variable length array declaration

2009-10-26 Thread truedfx at gentoo dot org
This happened in real code, where a required header file was missing. $ cat bug.i void f() { char x[g(h)]; } $ gcc-4.4.2 -c bug.i bug.i: In function ‘f’: bug.i:2: error: ‘h’ undeclared (first use in this function) bug.i:2: error: (Each undeclared identifier is reported only once bug.i:2:

[Bug c/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate'

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #1 from b3timmons at speedymail dot org 2009-10-27 05:07 --- Created an attachment (id=18910) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18910&action=view) gzipped preprocessed source triggering failure -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41841

[Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate'

2009-10-26 Thread b3timmons at speedymail dot org
: /home/b3po/build/gcc/gcc/configure --with-mpfr=/usr/local --with-gmp=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local --with-mpc=/usr/local --with-libelf=/usr/local --enable-languages=c,c++ --enable-__cxa_atexit --enable-targets=all Thread model: posix gcc version 4.5.0 20091026 (experimental

[Bug c++/41840] g++ compiler giving error for array of pointers of abstract base class

2009-10-26 Thread ganesh dot borse at credit-suisse dot com
--- Comment #1 from ganesh dot borse at credit-suisse dot com 2009-10-27 04:22 --- Created an attachment (id=18909) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18909&action=view) testpure.ii created by g++ -v -save-temps command testpure.ii -- http://gcc.gnu.org/bugzilla/

[Bug c++/41840] New: g++ compiler giving error for array of pointers of abstract base class

2009-10-26 Thread ganesh dot borse at credit-suisse dot com
Following code is not compiling with g++ 4.2.3, but compiles fine with g++ 3.3.3: == #include class mybase { public: virtual int afunc()=0; }; main() { mybase (*ptrs)[10]; } == Error given by g++4.2.3 is as below for the above code. I am usi

[Bug middle-end/41817] elfutils triggers bogus "may be uninitialized" with -O3 -mtune=k8

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-10-27 02:44 --- These might not be bogus as there is extra inlining at -O3 which causes us to strip out the address taking and make search_table_entries, etc. look like real variables. -- http://gcc.gnu.org/bugzilla/show_bug.cg

[Bug c++/41819] [4.5 regression] ICE with try/catch and -fno-exceptions

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-27 02:42 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/41830] Missing "warning: control reaches end of non-void function" in -O2

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-27 02:41 --- Fixed on the trunk for 4.5.0, most likely by: 2008-09-17 Jan Hubicka PR c++/18071 * tree.h (DECL_INLINE): remove. (DECL_DECLARED_INLINE_P): Update docs. (DECL_NO_INLINE_WARNING_P):

[Bug lto/41836] LTO and profile-generate is broken

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-10-27 02:38 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug lto/41839] ICE with lto and incomplete types

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-27 02:31 --- Note this originally comes from libxml2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41839

[Bug lto/41839] New: ICE with lto and incomplete types

2009-10-26 Thread pinskia at gcc dot gnu dot org
Take the following two files: typedef struct _xmlDict xmlDict; struct _xmlDict { int ref_counter; }; void xmlDictCreate(void) { xmlDict * dict; } --- CUT --- typedef struct _xmlDict xmlDict; struct _xmlDoc { struct _xmlDict *dict; }; void xmlAddEntity(struct _xmlDoc *a) { xmlDict * dict = a-

[Bug lto/41821] ICE in LTO when linking

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-10-27 01:17 --- > stest0.o and libPatternDriver.a Actually since you are not using the gold linker plugin we only really need the preprocessed source for stest0.o . Since collect2 does not understand archives right now. -- pin

[Bug lto/41808] error: non-trivial conversion at assignment

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-10-27 01:14 --- (In reply to comment #4) > I have a C testcase which shows the same issue do you want it? It shows up > while building libxml2. Actually looks related but different, there is no inlining involved there. -- htt

[Bug lto/41821] ICE in LTO when linking

2009-10-26 Thread mckelvey at maskull dot com
--- Comment #5 from mckelvey at maskull dot com 2009-10-27 01:04 --- (In reply to comment #4) > Subject: Re: ICE in LTO when linking > > On Sun, 25 Oct 2009, mckelvey at maskull dot com wrote: > > > > > > > --- Comment #3 from mckelvey at maskull dot com 2009-10-25 16:32 > > -

[Bug lto/41808] error: non-trivial conversion at assignment

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-10-27 00:26 --- I have a C testcase which shows the same issue do you want it? It shows up while building libxml2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41808

[Bug other/41820] cc1: error: Cannot load plugin ./selfassign.so

2009-10-26 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-26 23:43 --- Subject: Re: cc1: error: Cannot load plugin ./selfassign.so > There is configure fluff in gcc/configure.ac at the --enable-plugin handling > that should deal with this (it tries -rdynamic at the moment).

[Bug c++/41838] Incorrect "dereferencing pointer '' does break strict-aliasing rules"

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-10-26 23:42 --- > There's no aliasing through the void*. This is not true. In fact aliasing is not about what the type of the pointers are but what the dynamic type of what the pointer points to and the access type. But that is n

[Bug bootstrap/41345] [4.5 Regression] bootstrap comparison failure with --disable-checking

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-10-26 23:12 --- Fixed. x86_64-linux and i686-linux bootstrapped/regtested with --disable-checking just fine. -- jakub at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug debug/41828] DW_AT_name should not be present for anonymous aggregates

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-10-26 23:11 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/41838] New: Incorrect "dereferencing pointer '' does break strict-aliasing rules"

2009-10-26 Thread jyasskin at gmail dot com
The attached Triple.i, when compiled with `g++ -c -O2 -Wstrict-aliasing Triple.i`, returns: Triple.i: In function 'void setOSName(const StringRef&)': Triple.i:9: warning: dereferencing pointer '' does break strict-aliasing rules Triple.i:9: note: initialized from here Line 9 is: if (LHSKind == Tw

[Bug c++/41838] Incorrect "dereferencing pointer '' does break strict-aliasing rules"

2009-10-26 Thread jyasskin at gmail dot com
--- Comment #1 from jyasskin at gmail dot com 2009-10-26 23:04 --- Created an attachment (id=18908) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18908&action=view) File with incorrect strict-aliasing warning -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41838

[Bug fortran/41831] Bug with management of NaNs

2009-10-26 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2009-10-26 22:39 --- > My conclusion is that there is a problem when the > NAN is passed from the C to the fortran. That's not my conclusion. :) > double C2F(returnanan)(void) > { (snip) > > PROGRAM test > DATA ONE/1.0D0

[Bug c/41837] Using '-O -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' gives 'internal compiler error: Segmentation fault'

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #4 from b3timmons at speedymail dot org 2009-10-26 22:33 --- Created an attachment (id=18907) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18907&action=view) gzipped preprocessed source triggering failure Had to gzip file due to submission timing out -- http://g

[Bug c/41837] Using '-O -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' gives 'internal compiler error: Segmentation fault'

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #3 from b3timmons at speedymail dot org 2009-10-26 22:30 --- Created an attachment (id=18906) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18906&action=view) preprocessed source triggering failure -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41837

[Bug c/41837] Using '-O -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' gives 'internal compiler error: Segmentation fault'

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #2 from b3timmons at speedymail dot org 2009-10-26 22:28 --- Created an attachment (id=18905) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18905&action=view) preprocessed source triggering failure -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41837

[Bug c/41837] Using '-O -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' gives 'internal compiler error: Segmentation fault'

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #1 from b3timmons at speedymail dot org 2009-10-26 22:27 --- Created an attachment (id=18904) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18904&action=view) preprocessed source triggering failure -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41837

[Bug c/41837] New: Using '-O -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' gives 'internal compiler error: Segmentation fault'

2009-10-26 Thread b3timmons at speedymail dot org
/gcc/configure --with-mpfr=/usr/local --with-gmp=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local --with-mpc=/usr/local --with-libelf=/usr/local --enable-languages=c,c++ --enable-__cxa_atexit --enable-targets=all Thread model: posix gcc version 4.5.0 20091026 (experimental) (GCC

[Bug lto/41832] lto1: internal compiler error: verify_stmts failed

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #6 from b3timmons at speedymail dot org 2009-10-26 21:59 --- Right, I just tried it with a later gcc build and now cannot reproduce it. Looks like we should close it. -- b3timmons at speedymail dot org changed: What|Removed |Added ---

[Bug tree-optimization/41775] [4.5 Regression] IPA-SRA: ice in rewrite_stmt, at tree-into-ssa.c:1302

2009-10-26 Thread jamborm at gcc dot gnu dot org
--- Comment #3 from jamborm at gcc dot gnu dot org 2009-10-26 21:53 --- Created an attachment (id=18903) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18903&action=view) Proposed fix Indeed, the users of build_ref_for_offset in ipa-prop.c and ipa-cp.c do not unshare the base expre

[Bug other/41809] escaping address of packed field should trigger warning

2009-10-26 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2009-10-26 21:46 --- To whomever will fix this: beware not to introduce warnings for targets where the "packed" layout is the default. (As has happened in the past for other "packed warnings".) -- hp at gcc dot gnu dot org changed:

[Bug lto/41832] lto1: internal compiler error: verify_stmts failed

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-26 21:00 --- I can't reproduce this with ./xgcc -B. -r -nostdlib -O -flto cvt.i xf86cvt.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41832

[Bug tree-optimization/41750] [4.5 Regression] gcc 4.5.0 miscompiles binutils

2009-10-26 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Component|middle-end |tree-optimization

[Bug tree-optimization/41835] ICE with -flto -O3 (BB N can not throw but has an EH edge)

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-26 20:56 --- Confirmed. There is a crude fixup pass, but this should be handled by IPA nothrow (which doesn't exist). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/41834] Missed "may be uninitialized warning" on array reference

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-26 20:54 --- It is because there would be very many spurious warnings. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug lto/40790] plugin-api.h unconditionally includes stdint.h

2009-10-26 Thread ebotcazou at gcc dot gnu dot org
--- Comment #18 from ebotcazou at gcc dot gnu dot org 2009-10-26 20:41 --- Fixed on Solaris < 10 by http://gcc.gnu.org/ml/gcc-cvs/2009-10/msg00629.html There is still a problem in the testsuite though: http://gcc.gnu.org/ml/gcc-testresults/2009-10/msg02530.html Executing on build: g

[Bug c/41836] lto1: internal compiler error: in lto_symtab_register_decl, at lto-symtab.c:134

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #2 from b3timmons at speedymail dot org 2009-10-26 20:35 --- Also fails with -fwhopr instead of -flto Also fails with -fprofile-arcs instead of -fprofile-generate -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41836

[Bug libgcj/35552] GCJ ARM compiled programs give segmentation fault

2009-10-26 Thread dl9pf at gmx dot de
--- Comment #2 from dl9pf at gmx dot de 2009-10-26 20:32 --- Could this be a problem with boehm-gc ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35552

[Bug c/41836] lto1: internal compiler error: in lto_symtab_register_decl, at lto-symtab.c:134

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #1 from b3timmons at speedymail dot org 2009-10-26 20:32 --- Created an attachment (id=18902) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18902&action=view) preprocessed source of trivial test file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41836

[Bug libstdc++/38923] symbol versioning disabled due to non-portable sed script

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2009-10-26 20:28 --- Subject: Bug 38923 Author: jakub Date: Mon Oct 26 20:28:24 2009 New Revision: 153570 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153570 Log: PR libstdc++/38923 * acinclude.m4 (GLIBCXX_CHECK

[Bug c/41836] New: lto1: internal compiler error: in lto_symtab_register_decl, at lto-symtab.c:134

2009-10-26 Thread b3timmons at speedymail dot org
/local --with-ppl=/usr/local --with-cloog=/usr/local --with-mpc=/usr/local --with-libelf=/usr/local --enable-languages=c,c++ --enable-__cxa_atexit --enable-targets=all Thread model: posix gcc version 4.5.0 20091026 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-flto' '-f

[Bug bootstrap/41345] [4.5 Regression] bootstrap comparison failure with --disable-checking

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2009-10-26 20:21 --- Subject: Bug 41345 Author: jakub Date: Mon Oct 26 20:21:09 2009 New Revision: 153569 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153569 Log: PR bootstrap/41345 * cfgcleanup.c (trivially_empt

[Bug debug/41828] DW_AT_name should not be present for anonymous aggregates

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-10-26 20:18 --- Subject: Bug 41828 Author: jakub Date: Mon Oct 26 20:18:26 2009 New Revision: 153568 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153568 Log: PR debug/41828 * cp-lang.c (cxx_dwarf_name): Retu

[Bug lto/41832] lto1: internal compiler error: verify_stmts failed

2009-10-26 Thread b3timmons at speedymail dot org
/local --with-mpc=/usr/local --with-libelf=/usr/local --enable-languages=c,c++ --enable-__cxa_atexit --enable-targets=all Thread model: posix gcc version 4.5.0 20091026 (experimental) (GCC) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41832

[Bug target/41799] __enable_execute_stack introduced for mingw32 in r134089 doesn't work for kernel-mode components

2009-10-26 Thread ktietz at gcc dot gnu dot org
--- Comment #3 from ktietz at gcc dot gnu dot org 2009-10-26 19:24 --- Patch post at http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01577.html to ML -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41799

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-26 Thread hjl dot tools at gmail dot com
--- Comment #18 from hjl dot tools at gmail dot com 2009-10-26 19:19 --- This is another IPA-SRA bug. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug c++/38796] [c++0x] defaulted operator= with non-default return type accepted

2009-10-26 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2009-10-26 19:07 --- Subject: Bug 38796 Author: jason Date: Mon Oct 26 19:07:14 2009 New Revision: 153565 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153565 Log: PR c++/38796, Core issue 906 gcc/cp * cp-tree.h (

[Bug tree-optimization/41835] New: ICE with -flto -O3 (BB N can not throw but has an EH edge)

2009-10-26 Thread pinskia at gcc dot gnu dot org
Looks like something is not removing the EH edges. Anyways here is a simple testcase: file 1): void Stop_Profile( void ); struct CProfileSample { ~CProfileSample( void ) { Stop_Profile(); } }; void integrateVelocities(int); void predictUnconstraintMotion(int size) { CProfileSample __prof

[Bug c++/41752] [C++0x] Canonical type with variadic templates and CRTP

2009-10-26 Thread dodji at gcc dot gnu dot org
--- Comment #2 from dodji at gcc dot gnu dot org 2009-10-26 18:39 --- This should be fixed by the patch for PR c++/41785 -- dodji at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/41752] [C++0x] Canonical type with variadic templates and CRTP

2009-10-26 Thread dodji at gcc dot gnu dot org
-- dodji at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org |dot org

[Bug c++/41785] [4.5 Regression] [C++0x] ICE on canonical types with variadic templates and CRTP

2009-10-26 Thread dodji at gcc dot gnu dot org
--- Comment #8 from dodji at gcc dot gnu dot org 2009-10-26 18:36 --- Fixed in 4.5.0 -- dodji at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIG

[Bug c++/41785] [4.5 Regression] [C++0x] ICE on canonical types with variadic templates and CRTP

2009-10-26 Thread dodji at gcc dot gnu dot org
--- Comment #7 from dodji at gcc dot gnu dot org 2009-10-26 18:31 --- Subject: Bug 41785 Author: dodji Date: Mon Oct 26 18:31:22 2009 New Revision: 153564 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153564 Log: Fix PR c++/41785 gcc/cp/ChangeLog: PR c++/41785

[Bug tree-optimization/41834] New: Missed "may be uninitialized warning" on array reference

2009-10-26 Thread rahul at icerasemi dot com
Using GCC 4.4.1 and the command on the following test gcc -O2 -Wall -Wextra #include int foo (int b) { int a[10], c, i; for (i = 0; i < b; i++) { a[i] = b; c = b; } if (a[2] == 5 && c == 5) { printf("hello world\n"); } return 0; } tes

[Bug middle-end/38002] gcc crash using -fvisibility-ms-compat

2009-10-26 Thread boz_gnu at boz dot org dot uk
--- Comment #4 from boz_gnu at boz dot org dot uk 2009-10-26 17:39 --- (In reply to comment #3) > Reduced testcase, not a regression. Here's a further reduction which still reproduces the crash: namespace std __attribute__ ((__visibility__ ("default"))) { class type_info { }; };

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-26 Thread hjl dot tools at gmail dot com
--- Comment #17 from hjl dot tools at gmail dot com 2009-10-26 16:59 --- Revision 152433 is OK and revision 152642 is bad. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug rtl-optimization/41833] vec_splat followed by vec_splat could be improved

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-26 16:44 --- I have a patch which fixes this at the RTL level. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug rtl-optimization/41833] New: vec_splat followed by vec_splat could be improved

2009-10-26 Thread pinskia at gcc dot gnu dot org
Take: #include vector float f(vector float a) { vector float b = vec_splat (a, 2); return vec_splat (b, 0); } --- CUT --- The second vec_splat could be removed as we already splatted the value across the vector once, there is no need to do it again. -- Summary: vec_splat followe

[Bug debug/41801] [4.5 Regression] VTA: ICE in loc_cmp.

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-10-26 16:31 --- Created an attachment (id=18901) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18901&action=view) gcc45-pr41801.patch Seems to be a RTL expansion bug, nothing debug info related, just nothing verifies it except

[Bug c++/41020] [4.5 Regression] Can't declare an extern "C" friend of a builtin function

2009-10-26 Thread dodji at gcc dot gnu dot org
--- Comment #11 from dodji at gcc dot gnu dot org 2009-10-26 16:06 --- Fixed in 4.5.0 -- dodji at gcc dot gnu dot org changed: What|Removed |Added Status|ASSI

[Bug c++/41785] [4.5 Regression] [C++0x] ICE on canonical types with variadic templates and CRTP

2009-10-26 Thread dodji at gcc dot gnu dot org
--- Comment #6 from dodji at gcc dot gnu dot org 2009-10-26 16:03 --- Patch posted to http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01563.html . -- dodji at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug debug/41801] [4.5 Regression] VTA: ICE in loc_cmp.

2009-10-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfi

[Bug lto/41808] error: non-trivial conversion at assignment

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-26 15:47 --- Bad idea, loads of fallout. Another variant would be to again require a type conversion for struct T * to struct U * assignments (or add even more special cases...). We're a long way from treating pointers as value

[Bug bootstrap/41451] [4.5 Regression] Bootstrap failure with fold checking

2009-10-26 Thread aldyh at gcc dot gnu dot org
-- aldyh at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |aldyh at gcc dot gnu dot org |dot org

[Bug lto/41832] lto1: internal compiler error: verify_stmts failed

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #3 from b3timmons at speedymail dot org 2009-10-26 15:28 --- A workaround is to add -fno-tree-copy-prop -fno-tree-copyrename to $CFLAGS -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41832

[Bug lto/41832] lto1: internal compiler error: verify_stmts failed

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #2 from b3timmons at speedymail dot org 2009-10-26 15:23 --- Created an attachment (id=18900) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18900&action=view) xf86cvt.i containing function that compiler complains about -- http://gcc.gnu.org/bugzilla/show_bug.cgi?i

[Bug lto/41832] lto1: internal compiler error: verify_stmts failed

2009-10-26 Thread b3timmons at speedymail dot org
--- Comment #1 from b3timmons at speedymail dot org 2009-10-26 15:21 --- Created an attachment (id=18899) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18899&action=view) cvt.i of cvt program from xorg-server-1.4.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41832

[Bug fortran/41831] Bug with management of NaNs

2009-10-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-26 15:10 --- NaNs don't exist in Fortran's data types except for the Fortran 2003's IEEE types. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41831

[Bug lto/41832] New: lto1: internal compiler error: verify_stmts failed

2009-10-26 Thread b3timmons at speedymail dot org
configure xorg-server-1.4.2 with -O -flto in $CFLAGS make Eventually it fails with: gcc -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJEC

[Bug fortran/41831] New: Bug with management of NaNs

2009-10-26 Thread michael dot baudin at scilab dot org
I find that there is a bug with respect to the management of the NaNs from C to fortran. This bug happens on Ubuntu 64bits (and not with 32bits). returnanan.c defines 2 functions nan = returnanan() : returns a NAN, void returnanan2(nan) : sets the NAN in the input argument, passed by address. t

[Bug fortran/41829] [OOP] Runtime error with dynamic dispatching

2009-10-26 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-10-26 14:44 --- Created an attachment (id=18898) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18898&action=view) another test case This example nicely illustrates why we need a vtable. Here is a more compactified version of th

[Bug c++/41830] New: Missing "warning: control reaches end of non-void function" in -O2

2009-10-26 Thread grxnprzn at gmx dot net
Example: class Bug {}; const Bug bug() {} compile with "-Wreturn-type -O1": no warning compile with "-Wreturn-type -O2": no warning compile with "-Wreturn-type -O3": warning printed If I read the documentation correctly, -Wreturn type should work with or without optimizing. --

[Bug lto/41569] .../prev-gcc/xgcc used for the install step of the lto-plugin

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-26 14:41 --- Even that doesn't work. Weird. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41569

[Bug c++/41020] [4.5 Regression] Can't declare an extern "C" friend of a builtin function

2009-10-26 Thread dodji at gcc dot gnu dot org
--- Comment #10 from dodji at gcc dot gnu dot org 2009-10-26 14:40 --- Subject: Bug 41020 Author: dodji Date: Mon Oct 26 14:40:16 2009 New Revision: 153552 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153552 Log: Fix PR c++/41020 gcc/cp/ChangeLog: PR c++/41020

[Bug debug/41801] [4.5 Regression] VTA: ICE in loc_cmp.

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-10-26 14:06 --- Simpler testcase at -g -O -milp32: struct T { void foo () volatile { __sync_lock_release (&t); __sync_synchronize (); } bool t; }; int main () { T t = { false }; t.foo (); } -- http://gcc.gn

[Bug lto/41569] .../prev-gcc/xgcc used for the install step of the lto-plugin

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-26 13:52 --- Actually it didn't work. But make install-lto-plugin; make install works (and does not rebuild lto-plugin). But I'm double-checking that as well now ... -- rguenth at gcc dot gnu dot org changed: Wh

[Bug tree-optimization/41783] r151561 (PRE fix) regresses zeusmp

2009-10-26 Thread matz at gcc dot gnu dot org
--- Comment #13 from matz at gcc dot gnu dot org 2009-10-26 13:04 --- Fixed. -- matz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/41783] r151561 (PRE fix) regresses zeusmp

2009-10-26 Thread matz at gcc dot gnu dot org
--- Comment #12 from matz at gcc dot gnu dot org 2009-10-26 13:00 --- Subject: Bug 41783 Author: matz Date: Mon Oct 26 13:00:36 2009 New Revision: 153551 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153551 Log: PR tree-optimization/41783 * tree-ssa-alias.c (get

[Bug fortran/41829] [OOP] Runtime error with dynamic dispatching

2009-10-26 Thread sfilippone at uniroma2 dot it
--- Comment #2 from sfilippone at uniroma2 dot it 2009-10-26 12:39 --- Created an attachment (id=18897) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18897&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41829

[Bug bootstrap/41345] [4.5 Regression] bootstrap comparison failure with --disable-checking

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-10-26 12:38 --- Created an attachment (id=18896) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18896&action=view) gcc45-pr41345.patch Fix I'm going to bootstrap/regtest. -- jakub at gcc dot gnu dot org changed:

[Bug fortran/41829] [OOP] Runtime error with dynamic dispatching

2009-10-26 Thread sfilippone at uniroma2 dot it
ages=c,c++,fortran Thread model: posix gcc version 4.5.0 20091026 (experimental) (GCC) [sfili...@donald bug10]$ gfortran -o td10 test-der10.f03 [sfili...@donald bug10]$ ./td10 FOO%DOIT base version Getit value :1 At line 69 of file test-der10.f03 Fortran runtime error: internal erro

[Bug fortran/41829] New: [OOP] Runtime error with dynamic dispatching

2009-10-26 Thread sfilippone at uniroma2 dot it
Hello, -- Summary: [OOP] Runtime error with dynamic dispatching Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org

[Bug target/29206] [4.3/4.4/4.5 regression] gcj-dbtool segfaults

2009-10-26 Thread dl9pf at gmx dot de
--- Comment #16 from dl9pf at gmx dot de 2009-10-26 12:29 --- Confirmed also for 4.4.1 on arm-linux-gnueabi. -- dl9pf at gmx dot de changed: What|Removed |Added

[Bug lto/41569] .../prev-gcc/xgcc used for the install step of the lto-plugin

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-26 12:25 --- I have a patch (it seems not using AM_MAINTAINER_MODE is the problem). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/41826] invalid read in get_constraint_for_ptr_offset

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-26 12:24 --- Fixed on the trunk sofar. Confirmed on the 4.4 and 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/41826] invalid read in get_constraint_for_ptr_offset

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-26 12:22 --- Subject: Bug 41826 Author: rguenth Date: Mon Oct 26 12:21:50 2009 New Revision: 153550 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153550 Log: 2009-10-26 Richard Guenther PR tree-optimization/

[Bug libstdc++/41792] [C++0x] overloading the address operator confuses the standard containers

2009-10-26 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-10-26 12:11 --- (In reply to comment #2) > James Kanze (comp.lang.c++) pointed out that it's just a requirement for > CopyConstructible. It's in Table 30. Thanks for the pointer, I discussed this issue a few times without act

[Bug bootstrap/41345] [4.5 Regression] bootstrap comparison failure with --disable-checking

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-10-26 11:39 --- c#4 confirmed, shorter testcase with -fcompare-debug -O2 -g: void foo (int *x) { int a; for (a = 0; a < 2; a++) if (x[a]) goto lab; __builtin_unreachable (); lab:; } -- jakub at gcc dot gnu dot org

[Bug target/38203] attribute `noreturn' isn't effective when -mthumb param is active

2009-10-26 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-10-26 11:38 --- Not working on this. -- ramana at gcc dot gnu dot org changed: What|Removed |Added Assigned

[Bug target/14202] [arm] Thumb __builtin_setjmp not interworking safe

2009-10-26 Thread ramana at gcc dot gnu dot org
--- Comment #14 from ramana at gcc dot gnu dot org 2009-10-26 11:37 --- Unassigning self. No longer working on this. -- ramana at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/41621] [4.4 regression] powerpc-linux-gnu 32bit testsuite regressions with -Os

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-10-26 11:23 --- Can't reproduce. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41621

[Bug fortran/41772] [4.4 Regression] Wrong code due to TRANSFER of EMPTY array section

2009-10-26 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41772

[Bug target/41684] [4.4/4.5 regression] binutils testsuite failures when built with 4.4/4.5

2009-10-26 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |ramana at gcc dot gnu dot |dot org

[Bug target/41684] [4.4/4.5 regression] binutils testsuite failures when built with 4.4/4.5

2009-10-26 Thread kirill at shutemov dot name
--- Comment #12 from kirill at shutemov dot name 2009-10-26 11:06 --- (In reply to comment #11) > Did it fix your binutils testsuite failures ? Yes, it did. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41684

[Bug debug/41806] G++ fails to compile a testcase with -fcompare-debug

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-10-26 10:55 --- I believe this is the http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01030.html issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41806

[Bug target/41684] [4.4/4.5 regression] binutils testsuite failures when built with 4.4/4.5

2009-10-26 Thread ramana at gcc dot gnu dot org
--- Comment #11 from ramana at gcc dot gnu dot org 2009-10-26 10:36 --- (In reply to comment #10) > (In reply to comment #7) > > I'm currently bootstrapping and testing a patch which disable section > > anchors > > on arm. It will be interesting to see if it fixes any testsuite failures

[Bug target/41780] File "gcc/config/arm/lib1funcs.asm" broken for THUMB version 1 since r150545

2009-10-26 Thread sebastian dot huber at embedded-brains dot de
--- Comment #2 from sebastian dot huber at embedded-brains dot de 2009-10-26 10:22 --- Target: arm-elf Configured with: /home/sh/gcc-4.5-20091015/configure --prefix=/opt/tool-chain-elf --target=arm-elf --verbose --with-gnu-as --with-gnu-ld --enable-languages=c Thread model: single gcc v

[Bug tree-optimization/41826] invalid read in get_constraint_for_ptr_offset

2009-10-26 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-26 10:00 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug libstdc++/41792] overloading the address operator confuses the standard containers

2009-10-26 Thread jkherciueh at gmx dot net
--- Comment #2 from jkherciueh at gmx dot net 2009-10-26 09:44 --- (In reply to comment #1) > Didn't I reply to this issue already on the mailing list, recently? Anyway, > within C++03 the & is supposed to not be overloaded, you can take it for > example from the lines in the standard ab

[Bug debug/41828] DW_AT_name should not be present for anonymous aggregates

2009-10-26 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-10-26 09:34 --- Created an attachment (id=18895) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18895&action=view) gcc45-pr41828.patch Patch I'm going to bootstrap/regtest. -- jakub at gcc dot gnu dot org changed:

[Bug debug/41828] New: DW_AT_name should not be present for anonymous aggregates

2009-10-26 Thread jakub at gcc dot gnu dot org
As mentioned in http://bugzilla.redhat.com/530304 , we shouldn't be adding DW_AT_name: and similar, the aggregates don't have any name. Similarly, adding ._0 etc. to .debug_pubtypes looks wrong. -- Summary: DW_AT_name should not be present for anonymous aggregates

  1   2   >