[Bug debug/39355] [4.4 Regression] ICE at dwarf2out.c:10353 in loc_descriptor_from_tree_1

2009-03-10 Thread steven at gcc dot gnu dot org
--- Comment #14 from steven at gcc dot gnu dot org 2009-03-10 06:32 --- ISTR Richi has scripts to automatically identify file+function that is miscompiled...? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/30688] Branch registers loaded too late on ia64

2009-03-10 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-03-10 06:48 --- The load to the general register should also be moved by bt-load, then. The bt-load pass is designed for SH only, in its current state, but I think extending it to move a small group of insns instead of just one

[Bug regression/39418] New: [4.4 Regression] code mistakenly optimized out when -O2 is enabled

2009-03-10 Thread r0bertz at gentoo dot org
-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion= Thread model: posix gcc version 4.4.0-pre built 20090310 (Gentoo SVN ebuild) rev. 144732 () The command to trigger the bug: gcc prdtoa.i -g -c

[Bug regression/39418] [4.4 Regression] code mistakenly optimized out when -O2 is enabled

2009-03-10 Thread r0bertz at gentoo dot org
--- Comment #1 from r0bertz at gentoo dot org 2009-03-10 07:16 --- http://www.gentoo-cn.org/~zhangle/prdtoa.i my router does not work well with bugzilla. It seems some data packet of the session can't make their way from server to my notebook or vice versa. I need to re-login many

[Bug c++/39419] New: internal compiler error: Segmentation fault In function �void std::sort_heap'

2009-03-10 Thread schmir at gmail dot com
[py25] ~/bbot/ % gcc -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit

[Bug regression/39418] [4.4 Regression] code mistakenly optimized out when -O2 is enabled

2009-03-10 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-03-10 07:58 --- nspr is buggy. See https://bugzilla.redhat.com/show_bug.cgi?id=487844 -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/39419] internal compiler error: Segmentation fault In function �void std::sort_heap'

2009-03-10 Thread schmir at gmail dot com
--- Comment #1 from schmir at gmail dot com 2009-03-10 07:59 --- Created an attachment (id=17434) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17434action=view) preprocessed source file which triggers segfault -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39419

[Bug debug/39355] [4.4 Regression] ICE at dwarf2out.c:10353 in loc_descriptor_from_tree_1

2009-03-10 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2009-03-10 08:05 --- You can start with trying if -O2 -fno-inline -fno-inline-small-functions is still miscompiled and if -O0 works, then you can add __attribute__((__optimized__([02]))) to suspected functions. --

[Bug c++/39419] internal compiler error: Segmentation fault In function �void std::sort_heap'

2009-03-10 Thread schmir at gmail dot com
--- Comment #2 from schmir at gmail dot com 2009-03-10 08:06 --- just downgraded to gcc 4.3.2, which compiles this file without problems... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39419

[Bug pch/39420] New: Using pre-compiled headers results in a bus error

2009-03-10 Thread johnw at gnu dot org
I've tried to reduce this down to a smaller case, but using -save-temps resulted in a file which does not manifest the problem. But then, maybe it shouldn't have. My project is publically avaliable at http://github.com/jwiegley/ledger. Perhaps this is too oblique, but if you pull the project

[Bug pch/39420] Using pre-compiled headers results in a bus error

2009-03-10 Thread johnw at gnu dot org
--- Comment #1 from johnw at gnu dot org 2009-03-10 08:42 --- Created an attachment (id=17435) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17435action=view) The file resulting from using -save-temps This code uses Boost extensively, although I don't know if that has any bearing

[Bug debug/39412] [4.2/4.3/4.4 Regression] ICE in gen_tagged_type_instantiation_die

2009-03-10 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-03-10 09:43 --- What's the point in generating the DIE in gen_tagged_type_instantiation_die? Seems we are generating that since like forever (that function existed already when dwarf2out.c was added to the repository in 1996), but as

[Bug middle-end/39421] New: Wrong code for optimizition on 64-bit scalar integers

2009-03-10 Thread ktietz at gcc dot gnu dot org
All of these problems are adisappearing when the code is compiled without the -O2 flag. I have tried to reproduce the problems using simple code fragments, but I have only succeeded in doing this for 2 of these problems (t1 and t3 in the attached testcase). I cannot reproduce the other problem

[Bug middle-end/39421] Wrong code for optimizition on 64-bit scalar integers

2009-03-10 Thread ktietz at gcc dot gnu dot org
--- Comment #1 from ktietz at gcc dot gnu dot org 2009-03-10 09:46 --- Created an attachment (id=17436) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17436action=view) testcase C file Test case for this problem. It can be reproduce AFAI tested on x86_64-pc-linux and on

[Bug middle-end/39421] Wrong code for optimizition on 64-bit scalar integers

2009-03-10 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-03-10 09:52 --- This is invalid testcase, relies on signed overflow. Compile with -fwrapv or better don't do such broken things. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/39412] [4.2/4.3/4.4 Regression] ICE in gen_tagged_type_instantiation_die

2009-03-10 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-03-10 11:01 --- Sounds reasonable. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39412

[Bug c++/39415] static_cast used as downcast can silently lose const

2009-03-10 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-03-10 11:04 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39417] [4.2/4.3 Regression] Incorrect values computed with -ftree-copy-prop

2009-03-10 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-03-10 11:15 --- Confirmed. Workaround with -fno-tree-loop-im. Maybe just latent on the trunk. We perform the following: Executing store motion of init from loop 1 Executing store motion of init from loop 1 Moving statement

[Bug c++/39419] internal compiler error: Segmentation fault In function �void std::sort_heap'

2009-03-10 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-03-10 11:22 --- It works for me. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug pch/39420] Using pre-compiled headers results in a bus error

2009-03-10 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-03-10 11:24 --- You need to make sure to include the pch only from the toplevel source. Otherwise interesting things may happen. A convenient way to do so is to include the pch via the -include command-line option. --

[Bug testsuite/39422] New: [4.4 regression] Failing SPU vectorizer testcases

2009-03-10 Thread uweigand at gcc dot gnu dot org
The following two SPU test cases now fail on mainline (they pass on 4.3): FAIL: gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c scan-tree-dump-times vect vectorized 1 loops 1 FAIL: gcc.dg/vect/costmodel/spu/costmodel-vect-76c.c scan-tree-dump-times vect vectorized 1 loops 1 --

[Bug target/39423] New: [

2009-03-10 Thread chrbr at gcc dot gnu dot org
-- Summary: [ Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: chrbr at gcc dot gnu dot org

[Bug target/39361] [4.4 Regression] Many new neon test failures

2009-03-10 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2009-03-10 13:29 --- We are back to the previous set of neon fails. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39423] [

2009-03-10 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-03-10 13:34 --- . -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug testsuite/39422] [4.4 regression] Failing SPU vectorizer testcases

2009-03-10 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39422

[Bug tree-optimization/39417] [4.2/4.3 Regression] Incorrect values computed with -ftree-copy-prop

2009-03-10 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39417

[Bug testsuite/39422] [4.4 regression] Failing SPU vectorizer testcases

2009-03-10 Thread irar at il dot ibm dot com
--- Comment #1 from irar at il dot ibm dot com 2009-03-10 13:55 --- I am preparing a patch. -- irar at il dot ibm dot com changed: What|Removed |Added

[Bug middle-end/28779] internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:106

2009-03-10 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.4 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28779

[Bug fortran/39314] -ffpe-trap=invalid gives no FPE for acos(-5.0)

2009-03-10 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2009-03-10 15:29 --- Can someone reproduce this with C code? Yes: The following gives a SIGFPE with -m32 (logf, sqrtf) and with -m64 and sqrtf but not with -m64 with logf. (Compile with -fsignaling-nans and -lm.)

[Bug middle-end/37850] infinite recursive call to __mulsc3 when multiplying not-constant complexs

2009-03-10 Thread froydnj at gcc dot gnu dot org
--- Comment #9 from froydnj at gcc dot gnu dot org 2009-03-10 15:43 --- Subject: Bug 37850 Author: froydnj Date: Tue Mar 10 15:42:51 2009 New Revision: 144751 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144751 Log: PR middle-end/37850 * libgcc2.c (__mulMODE3):

[Bug middle-end/37850] infinite recursive call to __mulsc3 when multiplying not-constant complexs

2009-03-10 Thread froydnj at gcc dot gnu dot org
--- Comment #10 from froydnj at gcc dot gnu dot org 2009-03-10 15:49 --- Fixed on trunk. -- froydnj at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37850] infinite recursive call to __mulsc3 when multiplying not-constant complexs

2009-03-10 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37850

[Bug debug/39412] [4.2/4.3/4.4 Regression] ICE in gen_tagged_type_instantiation_die

2009-03-10 Thread jason at redhat dot com
--- Comment #5 from jason at redhat dot com 2009-03-10 16:41 --- Subject: Re: [4.2/4.3/4.4 Regression] ICE in gen_tagged_type_instantiation_die jakub at gcc dot gnu dot org wrote: What's the point in generating the DIE in gen_tagged_type_instantiation_die? It seems to be for

[Bug bootstrap/35855] build locale not properly handled with awk scripts

2009-03-10 Thread urmet dot saar at gmail dot com
--- Comment #1 from urmet dot saar at gmail dot com 2009-03-10 17:24 --- I can confirm this, it's been annoying me for some time. When I changed every A-Za-z0-9 to [:alnum:] the symbol conflicts went away and diff confirmed that the generated files were identical to the ones generated

[Bug testsuite/39422] [4.4 regression] Failing SPU vectorizer testcases

2009-03-10 Thread irar at gcc dot gnu dot org
--- Comment #2 from irar at gcc dot gnu dot org 2009-03-10 17:29 --- Subject: Bug 39422 Author: irar Date: Tue Mar 10 17:29:21 2009 New Revision: 144754 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144754 Log: PR tree-optimization/39422 *

[Bug c/39170] cannot silence -Wconversion warnings for bit-fields

2009-03-10 Thread tom at atoptech dot com
--- Comment #4 from tom at atoptech dot com 2009-03-10 17:40 --- Manuel, You miss understood what I meant by old behavior was just fine. I was saying that the previous behavior of gcc worked fine and I was NOT referring specifically to the -Wconversion option. The previous version of

[Bug middle-end/39392] internal compiler error: in referenced_var_lookup

2009-03-10 Thread jkolb at wsi dot com
--- Comment #5 from jkolb at wsi dot com 2009-03-10 17:58 --- This is now fixed. Definite duplicate of 39360. -- jkolb at wsi dot com changed: What|Removed |Added

[Bug c/39170] cannot silence -Wconversion warnings for bit-fields

2009-03-10 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2009-03-10 19:15 --- (In reply to comment #4) The previous version of gcc warned when implicit narrowing of doubles to integral values, such as double n = 0.05; int d = n; when using the -Wall option. AFAIK,

[Bug pch/39420] Using pre-compiled headers results in a bus error

2009-03-10 Thread johnw at gnu dot org
--- Comment #3 from johnw at gnu dot org 2009-03-10 19:32 --- Hmm... I have ensured that the #include chain in every source file results in the given header appearing first. That is, whatever a file includes, it will include utils.h, which includes system.hh. And so, it works with 4.2

[Bug c/39170] cannot silence -Wconversion warnings for bit-fields

2009-03-10 Thread tom at atoptech dot com
--- Comment #6 from tom at atoptech dot com 2009-03-10 20:34 --- Subject: Re: cannot silence -Wconversion warnings for bit-fields AFAIK, that is not true. I just tried your very example with gcc 4.2.4 and it doesn't warn with -Wall -Wextra -Wconversion. g++ did warn but not

[Bug c++/39424] New: MinGW doesn't seem to work if main disk is not C:\

2009-03-10 Thread JoshV at zoominternet dot net
On this computer, the main disk is labeled H:\, and GCC won't so much as print its version. It repeatedly causes crss to throw a No Disk error, which doesn't accept cancel as an answer. Can't really isolate problem; don't have access to any other computers without C:\ as main drive, and since it

[Bug c++/39425] New: gcc loops after reporting template instantiation errors

2009-03-10 Thread mm at mezzarobba dot net
On the following example, gcc seems to loop and starts filling the ram after reporting the errors. Same issue on x86_64-linux-gnu or with older 4.x versions. ~/tmp$ cat test2.cpp class a { templateunsigned int s struct _rec { static const char size = _rec (s 1) ::size; };

[Bug c++/39426] New: Gcc parser problems on default template arguments

2009-03-10 Thread aran at 100acres dot us
The gcc incorrectly parses the template arguments for default values in member functions. Here is an example: templateclass T, class S class B { }; class A { public: void foo( Bint,int x = Bint,int() ) { } }; Gcc 4.3.3 emits the following: 9: error: expected ',' or '...'

[Bug c++/39426] Gcc parser problems on default template arguments

2009-03-10 Thread aran at 100acres dot us
--- Comment #1 from aran at 100acres dot us 2009-03-10 22:56 --- A typedef is an effective workaround -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39426

[Bug c++/39426] Gcc parser problems on default template arguments

2009-03-10 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-03-10 23:01 --- *** This bug has been marked as a duplicate of 57 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/57] [DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument

2009-03-10 Thread pinskia at gcc dot gnu dot org
--- Comment #42 from pinskia at gcc dot gnu dot org 2009-03-10 23:01 --- *** Bug 39426 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/39427] New: Error on generic name equivalent to type name in same module

2009-03-10 Thread damian at rouson dot net
The Fortran 2003 standard Section C.1.6 allows a generic procedure to have the same name as a type , but gfotran gives Error: DERIVED attribute of 'foo' conflicts with PROCEDURE attribute at (1) on the following code: module foo_module type foo integer :: bar end type interface foo

gcc crash

2009-03-10 Thread Alan Larson
When attempting to compile tcc-0.9.22 with gcc 3.4.6, bad things happen: test108:24% gmake gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -m386 -malign-functions=0 -o tcc_g tcc.c `-m386' is deprecated. Use `-march=i386' or `-mtune=i386' instead. tcc.c:1: warning: -malign-functions is obsolete,

[Bug driver/39424] MinGW doesn't seem to work if main disk is not C:\

2009-03-10 Thread dannysmith at users dot sourceforge dot net
--- Comment #1 from dannysmith at users dot sourceforge dot net 2009-03-11 02:41 --- This is fixed in 4.3.x by 2006-11-20 Carlos O'Donell car...@codesourcery.com Mark Mitchell m...@codesourcery.com * cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and

[Bug rtl-optimization/39428] New: Stack allocation in the assembly output is more than needed.

2009-03-10 Thread nascent dot mind at gmail dot com
gcc is allocating more stack space than needed. It seems to be bug similar to bug 9624. C test code. 1 #include stdio.h 2 3 void function1() { 4 char a; 5 } 6 7 int main() { 8 function1(); 9 } Assembly Output 1 .file test1.c 2