[Bug middle-end/45484] r163660 ICEs gcc.c-torture/execute/builtins/sprintf-chk.c compilation, -Os at -m32

2010-09-02 Thread ubizjak at gmail dot com
--- Comment #12 from ubizjak at gmail dot com 2010-09-02 06:05 --- Created an attachment (id=21652) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21652action=view) preprocessed source, fails with valgrind on linux A non-sse4 sse2 capable host (core2 class) is needed to trigger

[Bug lto/44899] --with-build-config=bootstrap-lto fails

2010-09-02 Thread andi-gcc at firstfloor dot org
--- Comment #6 from andi-gcc at firstfloor dot org 2010-09-02 07:01 --- Cannot reproduce this anymore with the latest changes. -- andi-gcc at firstfloor dot org changed: What|Removed |Added

[Bug fortran/45489] Default initialization of derived-type function result missing

2010-09-02 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-09-02 07:31 --- (In reply to comment #2) It seems to work if one adds if (!a-referenced sym-value) gfc_set_sym_referenced (sym); As gfortran does not use a static initializer via sym-value but an

[Bug middle-end/45458] [4.5/4.6 Regression] ICE: in add_labels_and_missing_jumps, at bb-reorder.c:1306 with-fnon-call-exceptions -freorder-blocks-and-partition -fprofile-use

2010-09-02 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-02 07:57 --- Subject: Bug 45458 Author: jakub Date: Thu Sep 2 07:56:48 2010 New Revision: 163761 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163761 Log: PR middle-end/45458 * bb-reorder.c

[Bug middle-end/45423] #pragma omp atomic on bool has issues

2010-09-02 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-02 08:01 --- Subject: Bug 45423 Author: jakub Date: Thu Sep 2 08:00:55 2010 New Revision: 163762 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163762 Log: Backport from mainline 2010-08-30 Jakub Jelinek

[Bug middle-end/45458] [4.5/4.6 Regression] ICE: in add_labels_and_missing_jumps, at bb-reorder.c:1306 with-fnon-call-exceptions -freorder-blocks-and-partition -fprofile-use

2010-09-02 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-09-02 08:01 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/45423] #pragma omp atomic on bool has issues

2010-09-02 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-09-02 08:02 --- Fixed for GCC 4.4+. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/40974] [4.3/4.4/4.5/4.6 Regression] cannot build gcc-4.4.1: fenv_t has not been declared

2010-09-02 Thread boris at kolpackov dot net
--- Comment #44 from boris at kolpackov dot net 2010-09-02 08:23 --- I just ran into the same issue building (native) mingw32 GCC 4.5.1 using a x86-64 to mingw32 cross compiler. Adding -nostdinc++ to PCHFLAGS fixed this for me as well. I also would like to point out that when building

[Bug c++/45462] Bad optimization in -O3 sometimes

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-09-02 09:07 --- (In reply to comment #11) (In reply to comment #10) typedef my_unaligned_aliasing_uint32 uint32 __attribute__((aligned(1),may_alias)); inline __attribute__((__always_inline__)) uint32 READ_UINT32(const

[Bug c/45493] -Wuninitialized does not warn

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-02 09:12 --- It's just optimized to always print 10 and the maybe-uninitialized warning code runs too late. A dup of some other PR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45493

[Bug c/45491] [4.6 Regression] FAIL: gcc.c-torture/compile/pr45085.c

2010-09-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|FAIL: gcc.c-|[4.6 Regression] FAIL: |torture/compile/pr45085.c

[Bug middle-end/44763] [4.4/4.5/4.6 regression] SEGV in allocno_priority_compare_func on Solaris 8

2010-09-02 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2010-09-02 09:26 --- We ran into this on SPARC/Solaris 8 as well. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/40974] [4.3/4.4/4.5/4.6 Regression] cannot build gcc-4.4.1: fenv_t has not been declared

2010-09-02 Thread paolo dot carlini at oracle dot com
--- Comment #45 from paolo dot carlini at oracle dot com 2010-09-02 09:42 --- Paolo (Bonzini), Ralf, I'm going to add -nostdinc++ to PCHFLAGS in include/Makefile.am. Are there any risks of regressions? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974

[Bug fortran/45489] Default initialization of derived-type function result missing

2010-09-02 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-09-02 10:11 --- Subject: Bug 45489 Author: burnus Date: Thu Sep 2 10:11:39 2010 New Revision: 163767 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163767 Log: 2010-09-02 Tobias Burnus bur...@net-b.de PR

[Bug fortran/45494] New: [OOP] Wrong dummy argument not rejected

2010-09-02 Thread sfilippone at uniroma2 dot it
--prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran Thread model: posix gcc version 4.6.0 20100902 (experimental) (GCC) [sfili...@localhost bug24]$ gfortran -c bug24.f03 [sfili...@localhost bug24]$ xlf === bash-3.2$ which xlf /opt/IBM

[Bug fortran/45494] [OOP] Wrong dummy argument not rejected

2010-09-02 Thread sfilippone at uniroma2 dot it
--- Comment #1 from sfilippone at uniroma2 dot it 2010-09-02 10:16 --- Created an attachment (id=21653) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21653action=view) test-case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45494

[Bug middle-end/43760] [4.6 regression] New test failures

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-02 10:36 --- So this is, after all, an assembler bug and not a GCC bug? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/45495] New: ICE: For character function with length specifier dependent on non-present arg.

2010-09-02 Thread pmason at ricardo dot com
When compiling test.f90 file as follows: gfortran test.f90 I get the following error message: - internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See

[Bug target/43808] [4.6 Regression] -fipa-reference -fschedule-insns -fstrict-aliasing causes two gfortran check failures

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-02 10:41 --- This looks like a genuine RTL alias problem, ipa-reference just causes x, y and z to be marked as not aliased. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/43937] [4.6 regression] FAIL: gcc.dg/guality/inline-params.c

2010-09-02 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=43937

[Bug testsuite/43957] [4.6 Regression] FAIL: gcc.dg/const-uniq-1.c scan-tree-dump-times gimple LC0 2

2010-09-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43957

[Bug fortran/45495] ICE: For character function with length specifier dependent on non-present arg.

2010-09-02 Thread pmason at ricardo dot com
--- Comment #1 from pmason at ricardo dot com 2010-09-02 10:42 --- Created an attachment (id=21654) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21654action=view) Small testcase that causes ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45495

[Bug testsuite/43959] [4.6 Regression] FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 (test for excess errors)

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-02 10:46 --- Please check whether Index: gcc/testsuite/gcc.dg/torture/builtin-cproj-1.c === --- gcc/testsuite/gcc.dg/torture/builtin-cproj-1.c (revision

[Bug target/44031] [4.4/4.5/4.6 Regression] ice in subst_reloads, at reload.c:6327

2010-09-02 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=44031

[Bug lto/44150] [4.6 regression] g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o

2010-09-02 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=44150

[Bug bootstrap/44335] [4.6 regression] gcc-4.6-20100529 java bootstrap failure on arm-linux-gnueabi

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-09-02 10:47 --- Can somebody ping the patch (or close this bug if it alread was applied)? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/45454] [4.6 Regression] ICE: in verify_target_availability, at sel-sched.c:1614

2010-09-02 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-09-02 10:48 --- Why are you using -fvar-tracking-assignments together with selective scheduling? It is known not to work (and that's why it isn't enabled with -g). -- jakub at gcc dot gnu dot org changed: What

[Bug libgcj/44341] [4.6 Regression] libjava cross build fails when configured with --with-gmp=

2010-09-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||mrs at gcc dot gnu dot org Priority|P3

[Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)

2010-09-02 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=44716

[Bug bootstrap/44807] [4.6 Regression] bootstrap failure on i686 with BOOT_CFLAGS='-O3'

2010-09-02 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=44807

[Bug fortran/44882] Bogus types in references with mismatched commons

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-09-02 10:51 --- The bogus types are not a regression. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/44937] [4.6 Regression] IPA-split causes crash due to null pointer deref

2010-09-02 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=44937

[Bug tree-optimization/44964] [4.6 Regression] ICE: SIGSEGV in gimple_default_def (tree-dfa.c:539) with -fkeep-inline-functions

2010-09-02 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=44964

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-09-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added GCC target triplet||hppa64-*-* Priority|P3 |P1

[Bug tree-optimization/44972] [4.6 Regression] ICE: in load_assign_lhs_subreplacements, at tree-sra.c:2475

2010-09-02 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=44972

[Bug rtl-optimization/45454] [4.6 Regression] ICE: in verify_target_availability, at sel-sched.c:1614

2010-09-02 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-09-02 10:59 --- I wasn't sure if I should open this bugreport, but the message isn't clear (I didn't understand changes selective scheduling as causes crashes and/or wrong code). I don't know it's broken. The compiler asked me to do so -

[Bug testsuite/44989] [4.6 regression] g++.dg/guality/redeclaration1.C

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-02 11:08 --- I can't get anything but { dg-skip-if { *-*-* } { -fwhopr -flto } { } } to work. But then -O0 still fails for me. 13 int i = 42;^M $1 = 0^M $2 = 42^M 0 != 42 with gdb 7.1. -- rguenth at gcc dot gnu

[Bug c/45062] [4.6 Regression] Revision 162223 caused ICE at c-decl.c:4064

2010-09-02 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=45062

[Bug bootstrap/45067] [4.6 regression] ARM bootstrap failure: internal compiler error: in expand_widen_pattern_expr, at optabs.c:522

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-09-02 11:09 --- Needs a status update. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/45085] [4.6 Regression] incorrect -Wuninitialized warning

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-02 11:11 --- This is fixed now? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/45122] [4.6 Regression] -funsafe-loop-optimizations causes FAIL: gcc.c-torture/execute/pr27285.c execution

2010-09-02 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=45122

[Bug middle-end/45172] [4.6 Regression] internal compiler error: verify_flow_info failed

2010-09-02 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=45172

[Bug fortran/45186] [4.6 Regression] Gfortran 4.5.0 emits wrong linenumbers

2010-09-02 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=45186

[Bug tree-optimization/45199] [4.6 Regression] ICE in loop distribution at -O3

2010-09-02 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=45199

[Bug tree-optimization/45219] [4.6 Regression] ICE: SIGSEGV in dominated_by_p (dominance.c:973) with -O2 -fprofile-generate

2010-09-02 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=45219

[Bug tree-optimization/45220] [4.6 Regression] libjava/libltdl/ltdl.c:1272:1: internal compiler error: Segmenta

2010-09-02 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=45220

[Bug middle-end/45297] [4.6 Regression] ICE: in create_linear_expr_from_tree, at graphite-sese-to-poly.c:1210 with -Os -fgraphite-identity

2010-09-02 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=45297

[Bug tree-optimization/45301] [4.6 Regression] ICE: SIGSEGV in instantiate_scev_r (tree-scalar-evolution.c:3391) with -O2 -ftree-loop-distribution -fgraphite-identity

2010-09-02 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=45301

[Bug preprocessor/45386] [4.6 Regression] valgrind reports out-of-bounds read in search_line_sse2

2010-09-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45386

[Bug middle-end/45388] [4.6 Regression] Global constructor not found

2010-09-02 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=45388

[Bug tree-optimization/45412] [4.6 Regression] ICE: SIGSEGV in update_ssa (tree-flow-inline.h:479) with -O2 -fipa-cp-clone -ftracer

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-09-02 11:24 --- Maybe a similar issue, but this one is after DOM where we have stuff like bb 7: # .MEM_8 = PHI .MEM_7(D)(2) # VUSE .MEM_5 j.0_12 = j; goto bb 6; after jump-threading supposedly, so indeed a quite similar

[Bug middle-end/45484] r163660 ICEs gcc.c-torture/execute/builtins/sprintf-chk.c compilation, -Os at -m32

2010-09-02 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2010-09-02 11:24 --- (In reply to comment #12) A non-sse4 sse2 capable host (core2 class) is needed to trigger valgrind failure. This is actually PR45386. Sorry for the noise... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45484

[Bug middle-end/45415] [4.6 Regression] ICE in partition_view_bitmap, at tree-ssa-live.c:334

2010-09-02 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=45415

[Bug middle-end/45422] [4.6 Regression] compile time increases 3x.

2010-09-02 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=45422

[Bug lto/45496] New: Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
Compiling and linking these two files together should succeed. /* BEGIN 1.cpp */ int callme(); int main(int argc, char** argv) { return callme(); } /* END 1.cpp */ /* BEGIN 2.cpp */ templatetypename T struct holder { static int var; }; templatetypename T int holderT::var = 0; int callme() {

[Bug bootstrap/45444] [4.6 regression] ARM bootstrap failure: uninitialized const member in 'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat]

2010-09-02 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=45444

[Bug tree-optimization/45453] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer set for noninline callers with -O2 -fno-early-inlining

2010-09-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-checking, ice-on-valid- |

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #1 from alexey at feldgendler dot ru 2010-09-02 11:27 --- Created an attachment (id=21655) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21655action=view) TC (file 1) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #2 from alexey at feldgendler dot ru 2010-09-02 11:27 --- Created an attachment (id=21656) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21656action=view) TC (2.cpp) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496

[Bug rtl-optimization/45472] [4.5/4.6 Regression] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2010-09-02 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=45472

[Bug c++/45473] [4.6 Regression] ICE: in dfs_walk_once, at cp/search.c:1659

2010-09-02 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=45473

[Bug lto/45480] [4.6 Regression] New LTO failures

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-02 11:31 --- Seems this is fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #3 from alexey at feldgendler dot ru 2010-09-02 11:31 --- Output of gcc-4.5 -v 1.cpp 2.cpp: $ g++-4.5 -v -flto 1.cpp 2.cpp Using built-in specs. COLLECT_GCC=g++-4.5 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.5.1/lto-wrapper Target: x86_64-linux-gnu Configured with:

[Bug fortran/45495] ICE: For character function with length specifier dependent on non-present arg

2010-09-02 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-09-02 11:32 --- Confirm: It compiles with g95 and NAG f95, but ICEs with gfortran (4.1 to 4.6) and a couple of other compilers. My feeling is that the program is invalid - at least in case the actual argument is not present. The

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #4 from alexey at feldgendler dot ru 2010-09-02 11:35 --- Created an attachment (id=21657) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21657action=view) Assembly for 1.cpp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #5 from alexey at feldgendler dot ru 2010-09-02 11:35 --- Created an attachment (id=21658) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21658action=view) Assembly for 2.cpp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496

[Bug other/45497] New: bogus warning at -O0 (control reaches end of non-void function).

2010-09-02 Thread pluto at agmk dot net
% LANG=C g++ 0.ii -Wall -Werror -c cc1plus: warnings being treated as errors 0.ii: In member function 'int excp::AgentWrap::send(const std::string, const std::string, int, bool, int)': 0.ii:71622:3: error: control reaches end of non-void function -- Summary: bogus warning at -O0

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-02 11:38 --- It works for me with 4.5.0, 4.5.1 and current trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496

[Bug other/45497] bogus warning at -O0 (control reaches end of non-void function).

2010-09-02 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2010-09-02 11:38 --- Created an attachment (id=21659) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21659action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45497

[Bug rtl-optimization/45498] New: Optimisations fail above arbitrary level of complexity

2010-09-02 Thread jonathan dot morton at movial dot com
Slightly increasing the complexity of a function can disproportionately increase the size and runtime of the generated code. This appears to be due to the optimisers giving up on code blocks above a certain abstract size, and is particularly severe on PPC and ARM, but is observable on ia32 and

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #7 from alexey at feldgendler dot ru 2010-09-02 11:38 --- Created an attachment (id=21660) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21660action=view) Assembly after LTO for entire program -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #8 from alexey at feldgendler dot ru 2010-09-02 11:40 --- Attached assembler files generated for 1.cpp and 2.cpp, as well as the assembler file generated by the LTO pass. As can be seen from the latter, _Z6callmev is referenced but not defined. --

[Bug rtl-optimization/45498] Optimisations fail above arbitrary level of complexity

2010-09-02 Thread jonathan dot morton at movial dot com
--- Comment #1 from jonathan dot morton at movial dot com 2010-09-02 11:40 --- Created an attachment (id=21661) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21661action=view) Preprocessed source of test case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45498

[Bug rtl-optimization/45498] Optimisations fail above arbitrary level of complexity

2010-09-02 Thread jonathan dot morton at movial dot com
--- Comment #2 from jonathan dot morton at movial dot com 2010-09-02 11:41 --- Compiler output: $ gcc -v -save-temps -mcpu=G3 -Wall -O3 -ffast-math -c isolated-src-a8-u.c Using built-in specs. Target: powerpc-unknown-linux-gnu Configured with:

[Bug driver/44076] -MT target behaves different as -MTtarget (w/o space)

2010-09-02 Thread jsm28 at gcc dot gnu dot org
--- Comment #3 from jsm28 at gcc dot gnu dot org 2010-09-02 11:42 --- Subject: Bug 44076 Author: jsm28 Date: Thu Sep 2 11:41:22 2010 New Revision: 163770 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163770 Log: PR driver/44076 * opts.h (struct cl_option): Add

[Bug driver/44076] -MT target behaves different as -MTtarget (w/o space)

2010-09-02 Thread jsm28 at gcc dot gnu dot org
--- Comment #4 from jsm28 at gcc dot gnu dot org 2010-09-02 11:46 --- Fixed for 4.6. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/12448] -MT / -MQ don't behave as documented.

2010-09-02 Thread jsm28 at gcc dot gnu dot org
--- Comment #13 from jsm28 at gcc dot gnu dot org 2010-09-02 11:48 --- This was fixed by the commit shown in the logs for this bug. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/44989] [4.6 regression] g++.dg/guality/redeclaration1.C

2010-09-02 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-09-02 11:51 --- This isn't a testsuite bug, but lto/whopr bug, and IMHO quite severe, it affects debugging even at -O0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44989

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #9 from alexey at feldgendler dot ru 2010-09-02 11:57 --- Output of lto1 without -quiet: $ /usr/lib/gcc/x86_64-linux-gnu/4.5.1/lto1 1.o 2.o Performing interprocedural optimizations whole-program inlineAssembling functions: main Execution times (seconds) TOTAL

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #10 from alexey at feldgendler dot ru 2010-09-02 11:59 --- Created an attachment (id=21662) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21662action=view) -fdump-ipa-cgraph from LTO pass -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496

[Bug bootstrap/45444] [4.6 regression] ARM bootstrap failure: uninitialized const member in 'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat]

2010-09-02 Thread mikpe at it dot uu dot se
--- Comment #5 from mikpe at it dot uu dot se 2010-09-02 12:00 --- Patch has been posted: http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00048.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45444

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #11 from alexey at feldgendler dot ru 2010-09-02 12:04 --- Attached cgraph dump from /usr/lib/gcc/x86_64-linux-gnu/4.5.1/lto1 -fdump-ipa-cgraph 1.o 2.o. For some reason, though, lto1 creates only one dump file, and that only covers its first input infile. --

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread alexey at feldgendler dot ru
--- Comment #12 from alexey at feldgendler dot ru 2010-09-02 12:13 --- Could it be specific to x86_64-linux-gnu? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496

[Bug debug/45419] -fcompare-debug failure at -O3

2010-09-02 Thread aoliva at gcc dot gnu dot org
--- Comment #12 from aoliva at gcc dot gnu dot org 2010-09-02 12:21 --- 'been looking into this as well. cp/pt.c -fcompare-debug fails for me on x86_64-linux-gnu. I'm not sure yet why we get different different types for the integer_csts in operand 0 of MEM_REFs, but it occurred to me

[Bug tree-optimization/45412] [4.6 Regression] ICE: SIGSEGV in update_ssa (tree-flow-inline.h:479) with -O2 -fipa-cp-clone -ftracer

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-02 12:31 --- This fixes the 2nd testcase for me: Index: ipa-split.c === --- ipa-split.c (revision 163772) +++ ipa-split.c (working copy) @@ -993,8 +993,8 @@

[Bug fortran/44541] [OOP] wrong code for polymorphic variable with INTENT(OUT)/Alloc w/ MOLD

2010-09-02 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2010-09-02 12:34 --- Subject: Bug 44541 Author: janus Date: Thu Sep 2 12:34:26 2010 New Revision: 163773 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163773 Log: 2010-09-02 Janus Weil ja...@gcc.gnu.org PR

[Bug tree-optimization/45412] [4.6 Regression] ICE: SIGSEGV in update_ssa (tree-flow-inline.h:479) with -O2 -fipa-cp-clone -ftracer

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-09-02 12:34 --- And the first one. Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/44989] [4.6 regression] g++.dg/guality/redeclaration1.C

2010-09-02 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-09-02 12:37 --- Seems to be a bug in free_lang_data_in_block, which throws away the DECL_EXTERNAL decl from BLOCK_VARS, eventhough it is obviously very much needed. In fact, is there ever a case where what free_lang_data_in_block

[Bug libstdc++/40974] [4.3/4.4/4.5/4.6 Regression] cannot build gcc-4.4.1: fenv_t has not been declared

2010-09-02 Thread bonzini at gnu dot org
--- Comment #46 from bonzini at gnu dot org 2010-09-02 12:44 --- Subject: Re: [4.3/4.4/4.5/4.6 Regression] cannot build gcc-4.4.1: fenv_t has not been declared Paolo (Bonzini), Ralf, I'm going to add -nostdinc++ to PCHFLAGS in include/Makefile.am. Are there any risks of

[Bug fortran/45494] [OOP] Wrong dummy argument not rejected

2010-09-02 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2010-09-02 12:55 --- Confirmed. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/45496] Static members of templates cause LTO to omit required code

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-09-02 12:56 --- It works for me on x86_64-linux-gnu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496

[Bug middle-end/45415] [4.6 Regression] ICE in partition_view_bitmap, at tree-ssa-live.c:334

2010-09-02 Thread matz at gcc dot gnu dot org
--- Comment #3 from matz at gcc dot gnu dot org 2010-09-02 12:58 --- Mine. I'm adding some checking code too. -- matz at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2)

2010-09-02 Thread ibolton at gcc dot gnu dot org
--- Comment #15 from ibolton at gcc dot gnu dot org 2010-09-02 13:05 --- Subject: Bug 45070 Author: ibolton Date: Thu Sep 2 13:05:30 2010 New Revision: 163774 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163774 Log: 2010-09-02 Ian Bolton ian.bol...@arm.com Backport

[Bug middle-end/45497] [4.5/4.6 Regression] bogus warning at -O0 (control reaches end of non-void function).

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-02 13:08 --- Confirmed. This is EH lowering. bb 49: finally_tmp.226 = 0; std::auto_ptrYAMI::Message::~auto_ptr (msg); switch (finally_tmp.226) default: L60, case 1: L61 ... L61: return; L60: return D.122655; but

[Bug tree-optimization/44328] switch/case optimization produces an invalid lookup table index

2010-09-02 Thread ibolton at gcc dot gnu dot org
--- Comment #34 from ibolton at gcc dot gnu dot org 2010-09-02 13:10 --- (In reply to comment #33) Yes, 4.4.5 and maybe 4.4.6 is planned. (In reply to comment #31) (In reply to comment #30) (In reply to comment #28) Hm, no, I was too quick pruning my inbox. The patch

[Bug tree-optimization/44937] [4.6 Regression] IPA-split causes crash due to null pointer deref

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-09-02 13:42 --- Subject: Bug 44937 Author: rguenth Date: Thu Sep 2 13:42:25 2010 New Revision: 163775 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163775 Log: 2010-09-02 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/45412] [4.6 Regression] ICE: SIGSEGV in update_ssa (tree-flow-inline.h:479) with -O2 -fipa-cp-clone -ftracer

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-09-02 13:42 --- Subject: Bug 45412 Author: rguenth Date: Thu Sep 2 13:42:25 2010 New Revision: 163775 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163775 Log: 2010-09-02 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/44937] [4.6 Regression] IPA-split causes crash due to null pointer deref

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-09-02 13:43 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/45412] [4.6 Regression] ICE: SIGSEGV in update_ssa (tree-flow-inline.h:479) with -O2 -fipa-cp-clone -ftracer

2010-09-02 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-09-02 13:43 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/45479] Exceptions not delivered properly after thread cancellation

2010-09-02 Thread mikedalpee at enginsol dot com
--- Comment #11 from mikedalpee at enginsol dot com 2010-09-02 13:43 --- Created an attachment (id=21663) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21663action=view) Workaround for the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45479

  1   2   3   >