[Bug c++/43028] New: internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread jarrydb at cse dot unsw dot edu dot au
When compiling the attached code, the compiler fails with the following error: undeclared.cpp:7:3: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in maybe_adjust_types_for_deduction, at cp/pt.c:13235 -- Summary: internal compiler error in

[Bug c++/43028] internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread jarrydb at cse dot unsw dot edu dot au
--- Comment #1 from jarrydb at cse dot unsw dot edu dot au 2010-02-11 08:23 --- Created an attachment (id=19838) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19838action=view) source code which produces compiler error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028

[Bug c++/43028] internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-11 09:57 --- I get ./cc1plus -quiet t.i -m32 -std=c++0x undeclared.cpp: In function 'void f()': undeclared.cpp:6:26: error: 'Equation' was not declared in this scope undeclared.cpp:7:3: error: deducing from brace-enclosed

[Bug c++/43024] [4.4 Regression] ICE on template code with -O2 or -O3, regression from 4.4.2

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-11 10:04 --- Confirmed. Works on the trunk. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43026] [4.5 Regression] ICE in sese.c with -fgraphite-identity in 447.dealII

2010-02-11 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.4.2 Summary|ICE in sese.c with -|[4.5

[Bug fortran/43029] New: enum_5.f90 ICE under valgrind

2010-02-11 Thread jakub at gcc dot gnu dot org
valgrind ./f951 ../../gcc/testsuite/gfortran.dg/enum_5.f90 fails with: ==13267== Invalid read of size 4 ==13267==at 0x3EA2A142A0: __gmpz_cmp (in /usr/lib64/libgmp.so.3.5.0) ==13267==by 0x41F6D8: create_enum_history (decl.c:1186) ==13267==by 0x428F13: enumerator_decl (decl.c:7142)

[Bug fortran/43029] enum_5.f90 ICE under valgrind

2010-02-11 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-02-11 10:13 --- Created an attachment (id=19839) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19839action=view) gcc45-pr43029.patch Patch that fixes this, going to bootstrap/regtest it now. -- jakub at gcc dot gnu dot org

[Bug fortran/43030] New: Conditional jump or move depends on uninitialised value on eoshift_2.f90

2010-02-11 Thread jakub at gcc dot gnu dot org
FAIL: gfortran.dg/eoshift_2.f90 -O (test for excess errors) Excess errors: ==27768== Conditional jump or move depends on uninitialised value(s) ==27768==at 0x4D4974: gfc_typenode_for_spec (trans-types.c:913) ==27768==by 0x4B8E6C: gfc_conv_intrinsic_conversion (trans-intrinsic.c:249)

[Bug fortran/43030] Conditional jump or move depends on uninitialised value on eoshift_2.f90

2010-02-11 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-02-11 10:54 --- Created an attachment (id=19840) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19840action=view) gcc45-pr43030.patch Patch that fixes this. -- jakub at gcc dot gnu dot org changed: What

[Bug c++/43028] internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread jarrydb at cse dot unsw dot edu dot au
--- Comment #3 from jarrydb at cse dot unsw dot edu dot au 2010-02-11 12:17 --- Here is my version: gcc version 4.5.0 20100206 (experimental) (GCC) Command line: g++ -std=gnu++0x undeclared.cpp it only happens with the following source file, it doesn't happen when undeclared.i is

[Bug c++/43028] internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread jarrydb at cse dot unsw dot edu dot au
--- Comment #4 from jarrydb at cse dot unsw dot edu dot au 2010-02-11 12:18 --- Created an attachment (id=19841) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19841action=view) source file that produces internal compiler error --

[Bug middle-end/43013] [4.5 Regression] warning: 'saved_stack.1' is used uninitialized in this function with -fstack-check

2010-02-11 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-02-11 12:23 --- I'll write a book about -fstack-check someday... -fstack-check was severely broken during the GCC3 - GCC4 transition and, despite years of patches posting and pinging, only GCC 4.5 has the beginning of a working

[Bug driver/43021] [4.5 Regression] Driver no longer handles fancy names

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-11 12:23 --- Subject: Bug 43021 Author: rguenth Date: Thu Feb 11 12:23:08 2010 New Revision: 156695 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156695 Log: 2010-02-11 Richard Guenther rguent...@suse.de PR

[Bug driver/43021] [4.5 Regression] Driver no longer handles fancy names

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-11 12:23 --- Fixe.d -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/43031] New: [regression] internal compiler error: verify_gimple failed after non-trivial conversion error when crosscompiling Firefox

2010-02-11 Thread jacek at codeweavers dot com
/libexec/gcc/i686-mingw32/4.5.0/lto-wrapper Target: i686-mingw32 Configured with: ../gcc/configure --prefix=/home/jacek/gcc/mingw --target=i686-mingw32 --with-gnu-ld --with-gnu-as --enable-__cxa_atexit target_alias=i686-mingw32 --enable-languages=c,c++ Thread model: win32 gcc version 4.5.0 20100211

[Bug c++/43031] [regression] internal compiler error: verify_gimple failed after non-trivial conversion error when crosscompiling Firefox

2010-02-11 Thread jacek at codeweavers dot com
--- Comment #1 from jacek at codeweavers dot com 2010-02-11 13:08 --- Created an attachment (id=19842) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19842action=view) Preprocessed nsDOMWorkerXHRProxy.cpp Result of command i686-mingw32-g++ -mno-cygwin -o nsDOMWorkerXHRProxy.i -c

[Bug fortran/43032] New: FLUSH: Document that it does not call fsync() but fflush()

2010-02-11 Thread burnus at gcc dot gnu dot org
http://gcc.gnu.org/onlinedocs/gfortran/FLUSH.html has: Flushes Fortran unit(s) currently open for output. [...] Beginning with the Fortran 2003 standard, there is a FLUSH statement that should be preferred over the FLUSH intrinsic However, it is left unclear whether fflush() or fsync() is called

[Bug c++/43028] internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-02-11 13:16 --- I can reproduce it, but seems just a low priority ice on *invalid*, or you can see something anomalous also when Equation is declared? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028

[Bug c++/43028] [C++0x] internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1

[Bug c++/43024] [4.4 Regression] ICE on template code with -O2 or -O3, regression from 4.4.2

2010-02-11 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++/43028] [C++0x] internal compiler error in maybe_adjust_types_for_deduction

2010-02-11 Thread jarrydb at cse dot unsw dot edu dot au
--- Comment #6 from jarrydb at cse dot unsw dot edu dot au 2010-02-11 13:30 --- The error only occurs when Equation is undeclared. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43028

[Bug lto/41664] FAIL: gfortran.dg/lto/pr40725 f_lto_pr40725_0.o-f_lto_pr40725_1.o execute -O2 -fwhopr and -flto

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-02-11 13:31 --- The basic issue here is that sub0 is inlined into main and we assign different alias sets to struct my_c_type_1 and struct c_type_1 because they have different tags. Something ok for C but too strict for

[Bug lto/41664] FAIL: gfortran.dg/lto/pr40725 f_lto_pr40725_0.o-f_lto_pr40725_1.o execute -O2 -fwhopr and -flto

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-02-11 13:38 --- It's not really related to 41227 - that case was about struct F { int i; } a; vs int a;, a case that I believe happens when building the gfortran testsuite with -flto (which also enables -fwhole-file). --

[Bug c++/43031] [4.5 Regression] internal compiler error: verify_gimple failed after non-trivial conversion error when crosscompiling Firefox

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-11 13:51 --- Confirmed, reducing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/43033] New: [4.4/4.5 Regression] --enable-checking=valgrind C++ failures

2010-02-11 Thread jakub at gcc dot gnu dot org
Almost all C++ sources with --enable-checking=valgrind yield valgrind errors, simple testcase is: extern C void abort (); This regression was caused by PR28274 http://gcc.gnu.org/viewcvs?root=gccview=revrev=145042 change - when t != x, x has been already ggc_freed, so dereferencing it is invalid.

[Bug c++/43033] [4.4/4.5 Regression] --enable-checking=valgrind C++ failures

2010-02-11 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last

[Bug c++/43033] [4.4/4.5 Regression] --enable-checking=valgrind C++ failures

2010-02-11 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-02-11 14:12 --- Created an attachment (id=19843) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19843action=view) gcc45-pr43033.patch Patch I'm going to bootstrap/regtest. --

[Bug bootstrap/43034] New: bootstrap with --enable-checking=fold fails

2010-02-11 Thread zsojka at seznam dot cz
cc1: warnings being treated as errors /mnt/svn/gcc-trunk/gcc/fold-const.c: In function 'fold_checksum_tree': /mnt/svn/gcc-trunk/gcc/fold-const.c:14249:3: error: new qualifiers in middle of multi-level non-const cast are unsafe make[3]: *** [fold-const.o] Error 1 make[3]: Leaving directory

[Bug tree-optimization/43012] [4.5 Regression][graphite] wrong code for -floop-strip-mine in 453.povray

2010-02-11 Thread amonakov at gcc dot gnu dot org
--- Comment #3 from amonakov at gcc dot gnu dot org 2010-02-11 14:28 --- (In reply to comment #2) Confirming. Reproducible on amd64-linux. This appears to be a bug in CLooG. Disable CLooG optimizations on graphite branch fixes the bug. The problem is that CLooG generates wrong

[Bug c++/43031] [4.5 Regression] internal compiler error: verify_gimple failed after non-trivial conversion error when crosscompiling Firefox

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-11 14:46 --- class T; class L { }; class P : public L { typedef void (__attribute__((__stdcall__)) T::*F) (L*); void f(bool aAdd); }; class T { public: virtual void __attribute__((__stdcall__)) A(L *listener) = 0;

[Bug c++/41796] ambiguous subobject diagnostic given too early

2010-02-11 Thread schaub-johannes at web dot de
--- Comment #5 from schaub-johannes at web dot de 2010-02-11 15:06 --- Ah, i see now. I always thought the the member pointer would contain an offset from the nested-name-specifier of the D::i regardless of the type of the result. In fact, i see now that i'm wrong. Ambiguity checks

[Bug c/43035] New: -O2 doesn't use movl (A,B,4),C to its full extent to access an array

2010-02-11 Thread jerome dot abela at free dot fr
The following code: typedef struct node { struct node **next; } node_t; __attribute__((fastcall)) void *f(node_t *n, int i) { return n-next[i]; } compiled with -O2 generates the following assembly (generated esp/ebp dead code removed for readability): f: movl

[Bug c++/43036] New: c++ compilation hang

2010-02-11 Thread Roger dot Jeurninck at home dot nl
Hi, compiling a specific C++ code keeps de GCC 4.4.2 compiler hanging forever (or at least 10 hours). Note that the c++ compiler works perfectly for the other c++ sources (1000) Unfortunately I cannot provide the C++ as-is because of company policy. But I did some anlysis myself, hope you can

[Bug c++/43036] c++ compilation hang

2010-02-11 Thread Roger dot Jeurninck at home dot nl
--- Comment #1 from Roger dot Jeurninck at home dot nl 2010-02-11 15:30 --- Created an attachment (id=19844) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19844action=view) config.log file the generated config.log file, from GCC's build dir --

[Bug c++/43036] c++ compilation hang

2010-02-11 Thread Roger dot Jeurninck at home dot nl
--- Comment #2 from Roger dot Jeurninck at home dot nl 2010-02-11 15:34 --- gcc -v info: Using built-in specs. Target: sparc-sun-solaris2.8 Configured with: /cws/rjeurnin/gcc/sources/gcc-4.4.2/configure --prefix=/sft/teamsdoc/sds_group/rjeurnin/gcc_cadenv/SunOS_5.8/gcc/gcc-4.4.2-B3

[Bug c++/43036] c++ compilation hang

2010-02-11 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-02-11 15:36 --- Frankly, without a testcase, it's really unlikely that somebody can work on this issue. You don't have to provide the exact code causing the problem, of course, you can reduce it, shorten it, obfuscate it,

[Bug java/41802] When attempting to compile pdftk-1.41 my machine comes to a grind

2010-02-11 Thread lucabon at interfree dot it
--- Comment #7 from lucabon at interfree dot it 2010-02-11 15:38 --- (In reply to comment #5) (In reply to comment #4) (In reply to comment #3) Use another Java-to-bytecode compiler and feed gcc with bytecode. I'd like to use only free software... There is another free

[Bug lto/41664] FAIL: gfortran.dg/lto/pr40725 f_lto_pr40725_0.o-f_lto_pr40725_1.o execute -O2 -fwhopr and -flto

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-02-11 15:39 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41664] FAIL: gfortran.dg/lto/pr40725 f_lto_pr40725_0.o-f_lto_pr40725_1.o execute -O2 -fwhopr and -flto

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-02-11 15:39 --- Subject: Bug 41664 Author: rguenth Date: Thu Feb 11 15:38:59 2010 New Revision: 156699 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156699 Log: 2010-02-11 Richard Guenther rguent...@suse.de PR

[Bug regression/40886] [4.3/4.4/4.5 Regression] No loop counter reversal for simple loops anymore

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #13 from spop at gcc dot gnu dot org 2010-02-11 15:45 --- Subject: Bug 40886 Author: spop Date: Thu Feb 11 15:45:27 2010 New Revision: 156701 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156701 Log: Fix PR40886. 2010-02-11 Sebastian Pop sebastian@amd.com

[Bug regression/40886] [4.3/4.4 Regression] No loop counter reversal for simple loops anymore

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #14 from spop at gcc dot gnu dot org 2010-02-11 15:47 --- Fixed in trunk GCC 4.5. -- spop at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty

2010-02-11 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug tree-optimization/43037] New: re-association doesn't handle multiple uses with constant operands

2010-02-11 Thread rguenth at gcc dot gnu dot org
int a, b; void foo (int i, int x) { int j, k, l; j = i * x; j = j * 5; k = j * 3; l = j * 4; a = k; b = l; } j_3 = i_1(D) * 5; j_4 = j_3 * x_2(D); k_5 = j_4 * 3; l_6 = j_4 * 4; should be re-associated and simplified to D.1_3 = i_1(D) * x_2(D); k_5 = D.1_3 * 15; l_6 =

[Bug tree-optimization/43037] re-association doesn't handle multiple uses with constant operands

2010-02-11 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||matz at gcc dot gnu dot org Severity|normal

[Bug c++/43036] c++ compilation hang

2010-02-11 Thread Roger dot Jeurninck at home dot nl
--- Comment #4 from Roger dot Jeurninck at home dot nl 2010-02-11 15:57 --- Hi Paolo, thanks for the quick reply! Shortening the preprocessed file doesn't help as the problem won't occur anymore. I will try to obfuscate such that I'm allowed to upload it. Tomorrow I'll test the

[Bug c++/43036] c++ compilation hang

2010-02-11 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-02-11 15:59 --- Frankly, I don't believe you, I mean, I don't believe that *each single line* counts, I bet that you can remove a substantive percentage of it while still triggering the problem. --

[Bug c++/43036] c++ compilation hang

2010-02-11 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-02-11 16:01 --- You can use delta: http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction to automate the reduction (when cc1plus is hanging, you probably need to write a shell script that will succeed if cc1plus times out after a few

[Bug fortran/41227] COMMON block, BIND(C) and LTO interoperability issues

2010-02-11 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2010-02-11 16:29 --- Also asked at: http://gcc.gnu.org/ml/fortran/2010-02/msg00010.html a) The derived-type issue (cf. PR 41664) is now fixed. b) Regarding COMMON w/ single item in the named COMMON (F2003, 15.3); unclear whether it

[Bug lto/43038] New: DECL_PRESERVE_P static globals not completely preserved with -flto

2010-02-11 Thread baldrick at gcc dot gnu dot org
The fact that LinkObj is initialized with LinkVar does not seem to be preserved when using -flto: extern const char LinkVar; __attribute__((used)) static const char *const LinkObj = LinkVar; -- Summary: DECL_PRESERVE_P static globals not completely preserved with

[Bug lto/43038] DECL_PRESERVE_P static globals not completely preserved with -flto

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-11 16:42 --- Confirmed. The following fails to link with -flto static int foobar __attribute__((used)); extern void abort (void); int main() { int res; asm(movl foobar(%%rip), %0 : =g (res)); if (res != 0) abort ();

[Bug lto/43038] DECL_PRESERVE_P static globals not completely preserved with -flto

2010-02-11 Thread baldrick at gcc dot gnu dot org
--- Comment #2 from baldrick at gcc dot gnu dot org 2010-02-11 16:42 --- Sorry, small bug in the testcase, should have been: extern const char LinkVar; __attribute__((used)) static const char *const LinkObj = LinkVar; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43038

[Bug c++/42911] [4.5 Regression] another compiler hang for -g -O2

2010-02-11 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=42911

[Bug debug/42918] [4.5 Regression] -fcompare-debug failure with -O2 -ftracer (2)

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-11 16:53 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed

2010-02-11 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42998

[Bug tree-optimization/43012] [4.5 Regression][graphite] wrong code for -floop-strip-mine in 453.povray

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-11 16:54 --- Thus we need a patched CLooG in the infrastructure for 4.5. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/43013] [4.5 Regression] warning: 'saved_stack.1' is used uninitialized in this function with -fstack-check

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-11 16:55 --- P4 according to comment #3 -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42973] [4.4/4.5 regression] IRA apparently systematically making reload too busy on 2 address instructions with 3 operands

2010-02-11 Thread hubicka at ucw dot cz
--- Comment #13 from hubicka at ucw dot cz 2010-02-11 16:56 --- Subject: Re: [4.4/4.5 regression] IRA apparently systematically making reload too busy on 2 address instructions with 3 operands Hi, it seems that the NAMD improved as expected tonight (by about 3%)

[Bug tree-optimization/43026] [4.5 Regression][graphite] ICE in sese.c with -fgraphite-identity in 447.dealII

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-11 16:56 --- Confirmed on i?86-linux. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/43033] [4.4/4.5 Regression] --enable-checking=valgrind C++ failures

2010-02-11 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=43033

[Bug middle-end/42973] [4.4 regression] IRA apparently systematically making reload too busy on 2 address instructions with 3 operands

2010-02-11 Thread hubicka at gcc dot gnu dot org
--- Comment #14 from hubicka at gcc dot gnu dot org 2010-02-11 16:57 --- Fixed on trunk. -- hubicka at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-02-11 17:01 --- Subject: Bug 42998 Author: rguenth Date: Thu Feb 11 17:01:21 2010 New Revision: 156704 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156704 Log: 2010-02-11 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed

2010-02-11 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-02-11 17:01 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/43012] [4.5 Regression][graphite] wrong code for -floop-strip-mine in 453.povray

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #5 from spop at gcc dot gnu dot org 2010-02-11 17:11 --- Yes, I'm preparing another release of CLooG-PPL today. Sebastian -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43012

[Bug fortran/43022] gfc_typenode_for_spec: Conditional jump depends on uninitialised value (intrinsic_product_1.f90)

2010-02-11 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-02-11 17:24 --- *** This bug has been marked as a duplicate of 43030 *** -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43030] Conditional jump or move depends on uninitialised value on eoshift_2.f90

2010-02-11 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-11 17:24 --- *** Bug 43022 has been marked as a duplicate of this bug. *** -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43039] New: [lto] ICE in gfc_conv_component_ref dynamic_dispatch_5.f03

2010-02-11 Thread burnus at gcc dot gnu dot org
$ gfortran -flto gfortran.dg/dynamic_dispatch_5.f03 gfortran.dg/dynamic_dispatch_5.f03: In function 'MAIN__': gfortran.dg/dynamic_dispatch_5.f03:175:0: internal compiler error: in gfc_conv_component_ref, at fortran/trans-expr.c:466 -- Summary: [lto] ICE in gfc_conv_component_ref

[Bug fortran/43040] New: [lto] gfortran.dg/gamma_5.f90: Wrong code for call to gamma

2010-02-11 Thread burnus at gcc dot gnu dot org
gfortran -g -flto gfortran.dg/gamma_5.f90 fails when calculating gamma. Simplified version below. Without -flto it prints: 1 1.500 0.88622695 while with -flto it shows: 1 1.500 -0.12078223 integer :: n real :: xs n = 1 xs = n + 0.5 print *, n,

[Bug fortran/43039] [lto/-fwhole-file] ICE in gfc_conv_component_ref dynamic_dispatch_5.f03

2010-02-11 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-02-11 17:46 --- It already occurs for -fwhole-file -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/43041] New: Default WCEM for opened files is always WCEM_Brackets instead of the -gnatW-specified encoding

2010-02-11 Thread mmarx at wh2 dot tu-dresden dot de
The GNAT Reference Manual (8.6) specifies: `The default encoding method for the standard files, and for opened files for which no WCEM parameter is given in the FORM string matches the wide character encoding specified for the main program (the default being brackets encoding if no coding method

[Bug ada/43041] Default WCEM for opened files is always WCEM_Brackets instead of the -gnatW-specified encoding

2010-02-11 Thread mmarx at wh2 dot tu-dresden dot de
--- Comment #1 from mmarx at wh2 dot tu-dresden dot de 2010-02-11 17:51 --- Created an attachment (id=19845) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19845action=view) Expected Output % gnatmake -f -gnatW8 u8 gcc-4.4 -c -gnatW8

[Bug ada/43041] Default WCEM for opened files is always WCEM_Brackets instead of the -gnatW-specified encoding

2010-02-11 Thread mmarx at wh2 dot tu-dresden dot de
--- Comment #2 from mmarx at wh2 dot tu-dresden dot de 2010-02-11 17:52 --- Created an attachment (id=19846) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19846action=view) Constraint_Error because the file is opened with bracket coding % gnatmake -f -gnatW8 u8_fail gcc-4.4 -c

[Bug ada/43041] Default WCEM for opened files is always WCEM_Brackets instead of the -gnatW-specified encoding

2010-02-11 Thread mmarx at wh2 dot tu-dresden dot de
--- Comment #3 from mmarx at wh2 dot tu-dresden dot de 2010-02-11 17:52 --- Created an attachment (id=19847) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19847action=view) Test file The test file used to demonstrate the issue. --

[Bug middle-end/43040] [lto] gfortran.dg/gamma_5.f90: Wrong code for call to gamma w/ -flto

2010-02-11 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-02-11 18:06 --- Dump (w/ putting xs on an extra line): n = 1; xs = (real(kind=4)) n + 5.0e-1; xs = __builtin_tgammaf (xs); -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/41802] When attempting to compile pdftk-1.41 my machine comes to a grind

2010-02-11 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2010-02-11 18:10 --- There is another free (GPL-compatible) java-to-bytecode compiler? Sun's OpenJDK (which includes javac) is GPLv2 IIRC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41802

[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty

2010-02-11 Thread paolo at gcc dot gnu dot org
--- Comment #13 from paolo at gcc dot gnu dot org 2010-02-11 18:11 --- Subject: Bug 41975 Author: paolo Date: Thu Feb 11 18:11:01 2010 New Revision: 156705 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156705 Log: 2010-02-11 Paolo Carlini paolo.carl...@oracle.com PR

[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty

2010-02-11 Thread paolo dot carlini at oracle dot com
--- Comment #14 from paolo dot carlini at oracle dot com 2010-02-11 18:13 --- Done. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug middle-end/43013] [4.5 Regression] warning: 'saved_stack.1' is used uninitialized in this function with -fstack-check

2010-02-11 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-02-11 18:28 --- Note this works correctly on targets that define STACK_CHECK_BUILTIN to be 1. This includes the spu target. The main reason is that the code goes through a different path. -- pinskia at gcc dot gnu dot org

[Bug fortran/43042] New: [-fwhole-file] ICE in gfc_conv_structure for c_ptr_tests_14.f90

2010-02-11 Thread burnus at gcc dot gnu dot org
$ gfortran -fwhole-file gfortran.dg/c_ptr_tests_14.f90 gfortran.dg/c_ptr_tests_14.f90: In function 'test': gfortran.dg/c_ptr_tests_14.f90:25:0: internal compiler error: in gfc_conv_structure, at fortran/trans-expr.c:4385 -- Summary: [-fwhole-file] ICE in gfc_conv_structure for

[Bug fortran/43043] New: [-fwhole-file] ICE segfault for select_type_4.f90

2010-02-11 Thread burnus at gcc dot gnu dot org
gfortran -fwhole-file gfortran.dg/select_type_4.f90 gfortran.dg/select_type_4.f90: In function 'MAIN__': gfortran.dg/select_type_4.f90:96:0: internal compiler error: Segmentation fault ==24333== Invalid read of size 8 ==24333==at 0x55EA3C: gfc_conv_structure (trans-expr.c:4413) ==24333==

[Bug fortran/43044] New: [-fwhole-file] ICE segfault for global_references_1.f90 (invalid code)

2010-02-11 Thread burnus at gcc dot gnu dot org
$ gfortran -fwhole-file gfortran.dg/global_references_1.f90 [... some valid errors ...] gfortran.dg/global_references_1.f90:9:0: internal compiler error: Segmentation fault ==24437== Invalid read of size 8 ==24437==at 0x51190F: resolve_global_procedure (resolve.c:1844) ==24437==by

[Bug middle-end/43045] New: [lto] ICE non-trivial conversion at assignment

2010-02-11 Thread burnus at gcc dot gnu dot org
$ gfortran -O2 -flto gfortran.dg/c_funloc_tests_3.f03 gfortran.dg/c_funloc_tests_3_funcs.c In file included from :2:0: gfortran.dg/c_funloc_tests_3.f03: In function 'main': gfortran.dg/c_funloc_tests_3.f03:17:0: error: non-trivial conversion at assignment unnamed type (*T499) (void)

[Bug c++/43033] [4.4/4.5 Regression] --enable-checking=valgrind C++ failures

2010-02-11 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-02-11 18:43 --- Unfortunately the patch regresses default3.C (line 28), but keeping the current code isn't an option either, on defarg14.C we don't error just because the ggc_free'd decl's code happens to be still mapped and is not a

[Bug debug/37237] Debug information for virtual destructors omits DW_AT_vtable_elem_location

2010-02-11 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 middle-end/43013] [4.5 Regression] warning: 'saved_stack.1' is used uninitialized in this function with -fstack-check

2010-02-11 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-02-11 18:55 --- Note this works correctly on targets that define STACK_CHECK_BUILTIN to be 1. This includes the spu target. The main reason is that the code goes through a different path. Indeed, only generic stack checking

[Bug middle-end/43045] [lto] ICE non-trivial conversion at assignment

2010-02-11 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-02-11 18:56 --- Created an attachment (id=19848) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19848action=view) Testsuite patch (char-unsigned char) to fix the last two ICEs on the input side Note: It works with -O1 and

[Bug tree-optimization/43012] [4.5 Regression][graphite] wrong code for -floop-strip-mine in 453.povray

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #6 from spop at gcc dot gnu dot org 2010-02-11 19:16 --- You can get the new CLooG-PPL 0.15.8 from ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.8.tar.gz I will commit the testcase to the Graphite testsuite, and then I will close this bug. -- spop at gcc dot

[Bug tree-optimization/43012] [4.5 Regression][graphite] wrong code for -floop-strip-mine in 453.povray

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #7 from spop at gcc dot gnu dot org 2010-02-11 19:19 --- Subject: Bug 43012 Author: spop Date: Thu Feb 11 19:19:37 2010 New Revision: 156708 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156708 Log: Add testcase for PR43012. 2010-02-11 Sebastian Pop

[Bug bootstrap/43046] New: gcc fails to build libgcc

2010-02-11 Thread sorakiu at gmail dot com
I installed a precompiled version of GCC from a project. The version of it is 4.0 gcc -v Using built-in specs. Target: hppa64-hp-hpux11.00 Configured with: ../src/configure --enable-languages=c,c++ --prefix=/usr/local/pa20_64 --with-local-prefix=/usr/local/pa20_64 --with-gnu-as

[Bug fortran/43029] enum_5.f90 ICE under valgrind

2010-02-11 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-02-11 19:31 --- Subject: Bug 43029 Author: jakub Date: Thu Feb 11 19:31:35 2010 New Revision: 156709 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156709 Log: PR fortran/43029 * decl.c (enumerator_decl): Don't

[Bug fortran/43029] enum_5.f90 ICE under valgrind

2010-02-11 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-02-11 19:35 --- Subject: Bug 43029 Author: jakub Date: Thu Feb 11 19:35:12 2010 New Revision: 156710 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156710 Log: PR fortran/43029 * decl.c (enumerator_decl): Don't

[Bug tree-optimization/42771] [4.5 Regression][graphite] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c (2)

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #12 from spop at gcc dot gnu dot org 2010-02-11 19:42 --- Subject: Bug 42771 Author: spop Date: Thu Feb 11 19:42:38 2010 New Revision: 156711 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156711 Log: Fix PR42771. 2010-02-10 Sebastian Pop s...@napoca PR

[Bug other/42530] [graphite] ICE in verify_ssa when using -O -g -ffast-math -floop-parallelize-all

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #5 from spop at gcc dot gnu dot org 2010-02-11 19:43 --- Subject: Bug 42530 Author: spop Date: Thu Feb 11 19:42:45 2010 New Revision: 156712 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156712 Log: Fix PR42914 and PR42530. 2010-02-10 Sebastian Pop s...@napoca

[Bug middle-end/42914] [4.5 Regression][graphite] ICE with -g -ffast-math -fgraphite-identity -O2: verify_ssa failed

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #7 from spop at gcc dot gnu dot org 2010-02-11 19:43 --- Subject: Bug 42914 Author: spop Date: Thu Feb 11 19:42:45 2010 New Revision: 156712 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156712 Log: Fix PR42914 and PR42530. 2010-02-10 Sebastian Pop s...@napoca

[Bug middle-end/42930] [graphite] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #5 from spop at gcc dot gnu dot org 2010-02-11 19:43 --- Subject: Bug 42930 Author: spop Date: Thu Feb 11 19:42:51 2010 New Revision: 156713 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156713 Log: Fix PR42930. 2010-02-10 Sebastian Pop s...@napoca PR

[Bug tree-optimization/43012] [4.5 Regression][graphite] wrong code for -floop-strip-mine in 453.povray

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #8 from spop at gcc dot gnu dot org 2010-02-11 19:43 --- Subject: Bug 43012 Author: spop Date: Thu Feb 11 19:43:14 2010 New Revision: 156716 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156716 Log: Add testcase for PR43012. 2010-02-11 Sebastian Pop

[Bug tree-optimization/42771] [4.5 Regression][graphite] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c (2)

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #13 from spop at gcc dot gnu dot org 2010-02-11 19:46 --- Fixed. -- spop at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/43030] Conditional jump or move depends on uninitialised value on eoshift_2.f90

2010-02-11 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-02-11 19:47 --- Subject: Bug 43030 Author: jakub Date: Thu Feb 11 19:47:20 2010 New Revision: 156718 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156718 Log: PR fortran/43030 * resolve.c

[Bug fortran/43030] Conditional jump or move depends on uninitialised value on eoshift_2.f90

2010-02-11 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-02-11 19:48 --- Subject: Bug 43030 Author: jakub Date: Thu Feb 11 19:48:24 2010 New Revision: 156719 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156719 Log: PR fortran/43030 * resolve.c

[Bug c/43047] New: internal compiler error: in extract_insn, at recog.c:2048

2010-02-11 Thread danny dot backx at scarlet dot be
gcc 4.4.0 based cross-compiler (http://cegcc.sourceforge.net) can be used to show the bug, I think it's not specific to that project though. pavilion: {108} arm-mingw32ce-gcc -c -DCRASH k.c k.c: In function 'ff_fill_linesize': k.c:12: error: unrecognizable insn: (insn 6 5 7 3 k.c:9 (set (reg/f:SI

[Bug tree-optimization/43012] [4.5 Regression][graphite] wrong code for -floop-strip-mine in 453.povray

2010-02-11 Thread spop at gcc dot gnu dot org
--- Comment #9 from spop at gcc dot gnu dot org 2010-02-11 19:49 --- Fixed. -- spop at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

  1   2   >