[Bug c++/37093] [4.2/4.3/4.4/4.5 Regression] ICE with pointer to member template parameters

2009-10-31 Thread dodji at gcc dot gnu dot org
--- Comment #20 from dodji at gcc dot gnu dot org 2009-10-31 07:05 --- Patch posted to http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01827.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37093

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

2009-10-31 Thread sezeroz at gmail dot com
--- Comment #11 from sezeroz at gmail dot com 2009-10-31 07:50 --- (In reply to comment #10) Author: hjl Date: Fri Oct 30 16:04:41 2009 New Revision: 153759 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153759 Log: 2009-10-30 H.J. Lu hongjiu...@intel.com

[Bug c/41882] gcc bug when comparing x to -x (linux, 32-bit)

2009-10-31 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2009-10-31 09:38 --- Thanks for your quick response. I would like to point out that on every compiler and machine I've used, the behavior of signed overflow may not be defined -- but it's always been consistent. Consistency on

[Bug middle-end/41883] [4.5 Regression] ICE from '-O -fprofile-arcs -fsched2-use-superblocks -ftree-vrp -fschedule-insns2 -freorder-blocks'

2009-10-31 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|c |middle-end Summary|ICE from '-O -fprofile-arcs|[4.5

[Bug middle-end/41886] [4.5 Regression] ICE from '-O -ftree-loop-distribution -ftree-vectorize -g'

2009-10-31 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||aoliva at gcc dot gnu dot |

[Bug tree-optimization/41887] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'

2009-10-31 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-31 11:31 --- I suspect another VTA issue. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/41888] [4.5 Regression] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'

2009-10-31 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-31 11:32 --- Likewise. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug middle-end/41889] [4.5 Regression] ICE from '-O2 -fno-omit-frame-pointer -ftracer -fsched2-use-superblocks'

2009-10-31 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|c |middle-end Summary|ICE from '-O2 -fno-omit-|[4.5

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

2009-10-31 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-10-31 11:46 --- To reproduce the issue do ../configure --enable-lto --enable-gold --enable-languages=c --prefix=/tmp/install make make install it fails at the make install step because it re-builds lto-plugin there and fails to

[Bug c/41567] Too small .bss stack

2009-10-31 Thread mans at mansr dot com
--- Comment #11 from mans at mansr dot com 2009-10-31 12:28 --- Adding -mno-sdata does not help. Note that the error messages are always referring to .bss, never to .sbss. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41567

[Bug lto/41554] -flto and -fwhopr should be moved to common.opt

2009-10-31 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-31 12:52 --- Hmm, -flto and -fwhopr are in common.opt. The -Wpsabi and -Wabi options are not, but I fail to see why this is the fault of LTO. I have a patch to move the -flto / -fwhopr postprocessing to common code. --

[Bug c/41567] Too small .bss stack

2009-10-31 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-10-31 13:01 --- Try dropping -Bsymbolic -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41567

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

2009-10-31 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2009-10-31 13:05 --- Well, LTO problem fixed. The plugin (GCC plugin, not linker plugin!) testsuite should be fixed up. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/41550] Fix security and portability issues in lto-plugin

2009-10-31 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-31 13:11 --- Some things were fixed. Still open are +/* Pass files generated by the lto-wrapper to the linker. FD is lto-wrapper's + stdout. */ + +static void +add_output_files (FILE *f) +{ + char fname[1000]; /*

[Bug target/21080] Excecution test failure for avr for pr17377 test case.

2009-10-31 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 15:27 --- *** Bug 21078 has been marked as a duplicate of this bug. *** -- Bug 21080 depends on bug 21078, which changed state. Bug 21078 Summary: Testsuite reports excecution failure for

[Bug target/21078] Testsuite reports excecution failure for gcc.c-torture/execute/20010122.c for some optimization levels

2009-10-31 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 15:27 --- *** This bug has been marked as a duplicate of 21080 *** -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/41890] New: Invalid g++.dg/lookup/extern-c-redecl[34].Cg++.dg

2009-10-31 Thread hjl dot tools at gmail dot com
g++.dg/lookup/extern-c-redecl[34].C have // { dg-final { scan-assembler-not call\[\t \]+_Z4forkv } } // { dg-final { scan-assembler call\[\t \]+fork } } But asm insns are target specific. -- Summary: Invalid g++.dg/lookup/extern-c-redecl[34].Cg++.dg Product: gcc

[Bug rtl-optimization/40838] gcc shouldn't assume that the stack is aligned

2009-10-31 Thread hjl dot tools at gmail dot com
--- Comment #65 from hjl dot tools at gmail dot com 2009-10-31 16:47 --- Here are the differences of -m32 -O3 -msse2 -mfpmath=sse -ffast-math -funroll-loops vs. -m32 -O3 -msse2 -mfpmath=sse -ffast-math -funroll-loops -mstackrealign using ix86/gcc-4_4-branch on Intel Core i7: 164.gzip

[Bug c/41891] New: ICE in move_loop_invariants

2009-10-31 Thread lucier at math dot purdue dot edu
with: ../../mainline/configure --prefix=/pkgs/gcc-mainline --enable-checking=release --enable-languages=c Thread model: posix gcc version 4.5.0 20091031 (experimental) [trunk revision 153773] (GCC) I get an ICE: frying-pan:~/programs/gambc-v4_5_2-devel /pkgs/gcc-mainline/bin/gcc -march=core2 -msse4 -save

[Bug c/41891] ICE in move_loop_invariants

2009-10-31 Thread lucier at math dot purdue dot edu
--- Comment #1 from lucier at math dot purdue dot edu 2009-10-31 16:56 --- Created an attachment (id=18942) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18942action=view) test case This is the test case. BTW, this works in 4.4.1. --

[Bug middle-end/39315] Unaligned move used on aligned stack variable

2009-10-31 Thread hjl at gcc dot gnu dot org
--- Comment #12 from hjl at gcc dot gnu dot org 2009-10-31 16:58 --- Subject: Bug 39315 Author: hjl Date: Sat Oct 31 16:58:17 2009 New Revision: 153780 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153780 Log: gcc/ 2009-10-31 H.J. Lu hongjiu...@intel.com Backport

[Bug target/21080] Excecution test failure for avr for pr17377 test case.

2009-10-31 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 17:02 --- Anatoly, can we implement this patch to correct __builtin_return_address and thus remove these old bug reports and associated testsuite failures? It also provides a means to document stack usage which would

[Bug testsuite/41890] Invalid g++.dg/lookup/extern-c-redecl[34].Cg++.dg

2009-10-31 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2009-10-31 17:10 --- Isn't it a duplicate of pr41856? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41890

[Bug c++/41856] g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin

2009-10-31 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2009-10-31 17:13 --- The '.*?' is the non greedy form of '.*'. I have learnt regexps at a time when this was not available on all regexp engines, so I always forget such constructs. I think pr41890 is a duplicate of this one. --

[Bug testsuite/41890] Invalid g++.dg/lookup/extern-c-redecl[34].Cg++.dg

2009-10-31 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-10-31 17:31 --- *** This bug has been marked as a duplicate of 41856 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug c++/41856] g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin

2009-10-31 Thread hjl dot tools at gmail dot com
--- Comment #10 from hjl dot tools at gmail dot com 2009-10-31 17:31 --- *** Bug 41890 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/41891] ICE in move_loop_invariants

2009-10-31 Thread lucier at math dot purdue dot edu
--- Comment #2 from lucier at math dot purdue dot edu 2009-10-31 17:32 --- There is no ICE with heine:~/Desktop /pkgs/gcc-mainline/bin/gcc -vUsing built-in specs. COLLECT_GCC=/pkgs/gcc-mainline/bin/gcc

[Bug c/41867] Translation time Floating Point precision is too small

2009-10-31 Thread tydeman at tybor dot com
--- Comment #4 from tydeman at tybor dot com 2009-10-31 17:42 --- The requirement that translation time precision be at least as great as runtime precision existed in C89, C90, C95, and C99 (so has been around for 20 years). My code is a test of translation time precision versus

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

2009-10-31 Thread caolanm at redhat dot com
i.e. the attached code is fine on x86_64 but crashes on s390x with g++ -O2 -fpic demo.cxx it does not crash with g++ -O2 demo.cxx or g++ -fpic demo.cxx expected output is... 0 3 0 3 0 3 1 3 2 3 1 3 0 3 1 3 1 3 2 3 2 3 0 3 2 3 1 3 2 3 0 3 0 3 0 3 1 3 2 3 1 3 0 3 1 3 1 3 2 3 2 3 0 3 2 3 1 3 2 3 0

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

2009-10-31 Thread caolanm at redhat dot com
--- Comment #1 from caolanm at redhat dot com 2009-10-31 17:51 --- Created an attachment (id=18943) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18943action=view) demo code s390x-redhat-linux-g++ -O2 -fpic demo.cxx -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41892

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

2009-10-31 Thread caolanm at redhat dot com
--- Comment #2 from caolanm at redhat dot com 2009-10-31 17:52 --- $ gcc --version gcc (GCC) 4.4.2 20091019 (Red Hat 4.4.2-5) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41892

[Bug c++/41847] warning: array subscript is above array bounds

2009-10-31 Thread caolanm at redhat dot com
--- Comment #5 from caolanm at redhat dot com 2009-10-31 17:59 --- bug 41892 now logged for the concrete runtime problem I'm encountering. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41847

[Bug c/41867] Translation time Floating Point precision is too small

2009-10-31 Thread jsm28 at gcc dot gnu dot org
--- Comment #5 from jsm28 at gcc dot gnu dot org 2009-10-31 18:37 --- 323 covers all excess precision issues. Predictable results that do not depend on when a computation is carried out require -fexcess-precision=standard which requires 4.5. It so happens that all C conformance

[Bug rtl-optimization/323] optimized code gives strange floating point results

2009-10-31 Thread jsm28 at gcc dot gnu dot org
--- Comment #135 from jsm28 at gcc dot gnu dot org 2009-10-31 18:37 --- *** Bug 41867 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323

[Bug debug/41893] New: ICE with -combine and debug

2009-10-31 Thread segher at kernel dot crashing dot org
[From https://bugzilla.redhat.com/show_bug.cgi?id=531385 ] Testcase: cat file1.c EOF struct s1_s { int v; }; struct s1_s g1; void __attribute__((externally_visible)) func1() { struct s1_s *l1 = g1; } EOF cat file2.c EOF extern struct s1_s g1; void func2() { g1; } EOF cc -O -g

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

2009-10-31 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2009-10-31 21:12 --- Confirmed with current 4.4 branch. 4.5 doesn't segfault for some reason, but we run into the same invalid code. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/41894] New: wrong code with -fno-split-wide-types

2009-10-31 Thread frank at mynety dot net
Commandline: avr-gcc -S -mmcu=atmega128 -Os -fno-inline-small-functions -fno-split-wide-types bug.c Sourcecode: typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef union { struct { uint8_t sekunden; uint8_t minuten; } x; uint16_t sekmin; } zeit_t; void

[Bug testsuite/41856] g++.dg/lookup/extern-c-redecl[3,4] .C should be target specific

2009-10-31 Thread danglin at gcc dot gnu dot org
--- Comment #11 from danglin at gcc dot gnu dot org 2009-10-31 22:00 --- Also fail on hppa*-*-hpux*. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

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

2009-10-31 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 23:02 --- Please post entire assembler code. -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

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

2009-10-31 Thread j at uriah dot heep dot sax dot de
--- Comment #2 from j at uriah dot heep dot sax dot de 2009-10-31 23:10 --- Created an attachment (id=18944) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18944action=view) Full assembler code I get from GCC 4.3.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41894

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

2009-10-31 Thread j at uriah dot heep dot sax dot de
--- Comment #3 from j at uriah dot heep dot sax dot de 2009-10-31 23:11 --- The bug was originally reported in the (Germany-language) mikrocontroller.net forum, and I confirmed the bug on my local GCC 4.3.2 setup before asking Frank to submit it as an official bug report. --

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

2009-10-31 Thread eric dot weddington at atmel dot com
-- eric dot weddington at atmel dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

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

2009-10-31 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2009-11-01 05:06 --- Subject: Bug 41754 Author: jason Date: Sun Nov 1 05:06:42 2009 New Revision: 153788 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153788 Log: PR c++/41754 * call.c (compare_ics): Avoid bad

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

2009-10-31 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2009-11-01 05:27 --- Subject: Bug 41754 Author: jason Date: Sun Nov 1 05:27:04 2009 New Revision: 153791 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153791 Log: PR c++/41754 * call.c (compare_ics): Avoid bad