[Bug c/45468] gcc does not warn about missing `-O' flag when specifying `-Wuninitialized'

2010-09-06 Thread manu at gcc dot gnu dot org
--- Comment #20 from manu at gcc dot gnu dot org 2010-09-07 06:38 --- (In reply to comment #19) > Manu, did you mean to change Severity back to 'critical' ? No, that was a mistake. In any case, this is INVALID for the reasons discussed above. -- manu at gcc dot gnu dot org changed:

[Bug fortran/45575] New: ICE on missing module file

2010-09-06 Thread brad dot finney at humboldt dot edu
missing module file results in a fatal error noting the missing module, and then an ICE in f951. sample source program testmytypes use mytypes implicit none real(dp)::x=5. write(*,"(e13.6,' squared = ',e13.6)")x,x**2 end program testmytypes Output: F:\brad\class\engr325>gfortran bugtest

[Bug target/36502] i386/darwin generates unnecessary stack ops in every function

2010-09-06 Thread howarth at nitro dot med dot uc dot edu
--- Comment #47 from howarth at nitro dot med dot uc dot edu 2010-09-07 03:27 --- Testsuite results for gcc-pr45234-2.patch and PR36502v9.patch on i386-apple-darwin10 are at... http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg00603.html PR36502, PR42313 and PR44651 fixed as well as st

[Bug libstdc++/45574] New: ifstream::getline() is extremely slow

2010-09-06 Thread tstarling at wikimedia dot org
In libstdc++ 4.4.3-4ubuntu5, getline() is extremely slow, taking around 23us of user time per line on an Intel T9300 processor. By contrast, fgets() takes about 0.3us per line. Calling ios::sync_with_stdio(false) before the loop start reduces the time per line to around 0.3us, on par with fgets()

[Bug bootstrap/45573] New: --enable-build-with-cxx failures with ld: crtbegin.o: No such file: No such file or directory

2010-09-06 Thread howarth at nitro dot med dot uc dot edu
When trying to bootstrap gcc trunk (r163445 or earlier to avoid PR45538) with --enable-build-with-cxx, the bootstrap fails at... g++ -g -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DH

[Bug c++/45523] [C++0x] Failure to bind auto variable to function template instance

2010-09-06 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2010-09-07 02:16 --- (In reply to comment #3) > I think there is a dup of this bug without auto. Not to mention it was > defect report against the standard. Bug 11407 / DR 115 ? That should be fixed in 4.5.0 -- http://gcc.gnu.org/bu

[Bug c/45468] gcc does not warn about missing `-O' flag when specifying `-Wuninitialized'

2010-09-06 Thread redi at gcc dot gnu dot org
--- Comment #19 from redi at gcc dot gnu dot org 2010-09-07 01:44 --- Manu, did you mean to change Severity back to 'critical' ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45468

[Bug bootstrap/45538] --enable-build-with-cxx compiling gcc/libcpp/charset.c

2010-09-06 Thread howarth at nitro dot med dot uc dot edu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2010-09-07 01:23 --- Caused by... Author: rth Date: Sat Aug 21 19:05:40 2010 New Revision: 163446 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163446 Log: Vectorize fast path of _cpp_clean_line. * configure.

[Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-09-07 00:39 --- Created an attachment (id=21724) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21724&action=view) semi-reduced testcase 3 $ gcc -finline-small-functions -findirect-inlining -finline-functions -O1 pr45572-3.C pr45572

[Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #2 from zsojka at seznam dot cz 2010-09-07 00:37 --- Created an attachment (id=21723) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21723&action=view) semi-reduced testcase 2 $ gcc -finline-small-functions -findirect-inlining -finline-functions -O1 pr45572-2.C pr45572

[Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-07 00:35 --- Created an attachment (id=21722) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21722&action=view) semi-reduced testcase 1 $ gcc -finline-small-functions -findirect-inlining -finline-functions -O1 pr45572-1.C pr45572

[Bug tree-optimization/45572] New: [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions

2010-09-06 Thread zsojka at seznam dot cz
Attached testcases were reduced from the same original source. They look very similiar, so I am opening just one PR for all of them. -- Summary: [4.6 Regression] various ICEs with -finline-small- functions -findirect-inlining -finline-functions Product:

[Bug c++/45571] New: [4.6 Regression] ICE: verify_stmts failed: Invalid address operand in MEM_REF. on invalid C++ code

2010-09-06 Thread zsojka at seznam dot cz
Compiler output: $ gcc testcase.C testcase.C:7:18: error: expected primary-expression before ')' token testcase.C: In function 'void __static_initialization_and_destruction_0(int, int)': testcase.C:8:19: error: Invalid first operand of MEM_REF. <<< error >>> testcase.C:8:18: note: in statem

[Bug rtl-optimization/45570] [4.6 Regression] ICE: in cfg_preds_1, at sel-sched-ir.c:4584

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-06 23:54 --- Created an attachment (id=21721) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21721&action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45570

[Bug rtl-optimization/45570] New: [4.6 Regression] ICE: in cfg_preds_1, at sel-sched-ir.c:4584

2010-09-06 Thread zsojka at seznam dot cz
Command line: $ gcc -O1 -fgcse -finline-small-functions -freorder-blocks -fschedule-insns2 -ftree-vrp -finline-functions -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -ftracer testcase.c or $ gcc -O2 -finline-functions -fselective-scheduling2 -fsel-sched-pipelini

[Bug middle-end/45569] [4.5/4.6 Regression] ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-06 22:47 --- Created an attachment (id=21720) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21720&action=view) reduced testcase (from g++.dg/opt/complex3.C) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45569

[Bug middle-end/45569] New: [4.5/4.6 Regression] ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions

2010-09-06 Thread zsojka at seznam dot cz
Compiler output: $ gcc -O -fnon-call-exceptions testcase.C testcase.C: In function 'float j()': testcase.C:7:7: error: statement marked for throw in middle of block x_10 = COMPLEX_EXPR ; testcase.C:7:7: internal compiler error: verify_stmts failed Please submit a full bug report, with preprocessed

[Bug bootstrap/45568] New: [4.6 Regression] [prj-nmsc.o] raised STORAGE_ERROR : stack overflow (or erroneous memory access)

2010-09-06 Thread danglin at gcc dot gnu dot org
../../xgcc -B../../ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmis sing-prototypes -mdisable-indexing -gnatpg -gnata -I- -I../rts -I. -I/home/dave/ gnu/gcc/gcc/gcc/ada /home/dave/gnu/gcc/gcc/gcc/ada/prj-nmsc.adb -o prj-nmsc.o config.status: creating Makefile config.status: creating in

[Bug target/43137] redundant register move for sign extending

2010-09-06 Thread bernds at gcc dot gnu dot org
--- Comment #2 from bernds at gcc dot gnu dot org 2010-09-06 22:32 --- Subject: Bug 43137 Author: bernds Date: Mon Sep 6 22:32:26 2010 New Revision: 163935 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163935 Log: PR target/43137 * config/arm/iterators.md (qhs_

[Bug fortran/45567] [4.6 Regression] gfortran.dg/popcnt_poppar_2.F90 ICEs in emit_library_call_value_1, at calls.c:3485 with -ftree-ter

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-06 22:31 --- Created an attachment (id=21719) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21719&action=view) reduced testcase $ gfortran -ftree-ter pr45567.F90 It would be nice if fixing this fixed PR43655 as well... -- h

[Bug fortran/45567] New: [4.6 Regression] gfortran.dg/popcnt_poppar_2.F90 ICEs in emit_library_call_value_1, at calls.c:3485 with -ftree-ter

2010-09-06 Thread zsojka at seznam dot cz
Compiler output: $ gcc -ffree-line-length-none -ftree-ter popcnt_poppar_2.F90 popcnt_poppar_2.F90: In function 'runtime_popcnt': popcnt_poppar_2.F90:32:0: internal compiler error: in emit_library_call_value_1, at calls.c:3485 Please submit a full bug report, with preprocessed source if appropriate

[Bug fortran/45564] gfortran.dg/achar_4.f90 ICE: verify_gimple failed: type mismatch in comparison expression with -fbounds-check

2010-09-06 Thread mikael at gcc dot gnu dot org
--- Comment #2 from mikael at gcc dot gnu dot org 2010-09-06 22:20 --- Index: trans-intrinsic.c === --- trans-intrinsic.c (r��vision 163809) +++ trans-intrinsic.c (copie de travail) @@ -4612,7 +4612,7 @@ se->expr

[Bug fortran/45564] gfortran.dg/achar_4.f90 ICE: verify_gimple failed: type mismatch in comparison expression with -fbounds-check

2010-09-06 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-09-06 22:17 --- Confirmed on x86_64-apple-darwin10. The ICE disappears with -m32 and does not show up on builds with --enable-checking=release. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45564

[Bug middle-end/45566] [4.5/4.6 Regression] ICE: in convert_to_eh_region_ranges, at except.c:2446 with -freorder-blocks-and-partition -fnon-call-exceptions -fprofile-use

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-06 22:13 --- Created an attachment (id=21718) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21718&action=view) reduced testcase (from g++.dg/tree-prof/partition1.C) It looks similiar to PR45458, but the fix didn't fix this issue.

[Bug middle-end/45566] New: [4.5/4.6 Regression] ICE: in convert_to_eh_region_ranges, at except.c:2446 with -freorder-blocks-and-partition -fnon-call-exceptions -fprofile-use

2010-09-06 Thread zsojka at seznam dot cz
Command line: $ CC=g++ $ FLAGS="-O1 -freorder-blocks-and-partition -fnon-call-exceptions" $ $CC $FLAGS testcase.C -fprofile-generate $ rm *.gcda $ ./a.out $ $CC $FLAGS testcase.C -fprofile-use testcase.C: In function 'int main()': testcase.C:14:1: internal compiler error: in convert_to_eh_region_ra

[Bug fortran/45505] [4.6 Regression] gfortran.dg/pr25923.f90

2010-09-06 Thread hp at gcc dot gnu dot org
--- Comment #2 from hp at gcc dot gnu dot org 2010-09-06 22:02 --- I think I'll try doing it the IIUC documented preferred way for deferred bugs; to xfail the test-case for ilp32 targets with a reference to this PR. And yes, seen by the cris-elf autotester too. -- hp at gcc dot gnu

[Bug middle-end/45565] [4.6 Regression] ICE: in execute_todo, at passes.c:1276 with -fno-toplevel-reorder -fno-inline -fipa-cp-clone -fkeep-inline-functions

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-06 21:49 --- Created an attachment (id=21717) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21717&action=view) reduced testcase (from g++.dg/torture/pr42450.C) $ gcc -O -fno-toplevel-reorder -fno-inline -fipa-cp -fipa-cp-clone -f

[Bug middle-end/45565] New: [4.6 Regression] ICE: in execute_todo, at passes.c:1276 with -fno-toplevel-reorder -fno-inline -fipa-cp-clone -fkeep-inline-functions

2010-09-06 Thread zsojka at seznam dot cz
Command line: $ gcc -O -fno-toplevel-reorder -fno-inline -fipa-cp -fipa-cp-clone -fkeep-inline-functions testcase.C Compiler output: $ gcc -O -fno-toplevel-reorder -fno-inline -fipa-cp -fipa-cp-clone -fkeep-inline-functions testcase.C testcase.C: In constructor 'Matrix::Matrix(AnyMatrixBase) [wit

[Bug rtl-optimization/45551] [4.6 Regression]: gcc.c-torture/execute/990326-1.c

2010-09-06 Thread hp at gcc dot gnu dot org
--- Comment #2 from hp at gcc dot gnu dot org 2010-09-06 21:48 --- Fixed by r163917, apparently. -- hp at gcc dot gnu dot org changed: What|Removed |Added Sta

[Bug fortran/36931] unneeded temporary for array intrinsic binop scalar

2010-09-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2010-09-06 21:40 --- Subject: Bug 36931 Author: tkoenig Date: Mon Sep 6 21:40:15 2010 New Revision: 163934 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163934 Log: 2010-09-06 Thomas Koenig PR fortran/36931

[Bug bootstrap/45518] [4.6 regression] bootstrap failure on sparc64-unknown-linux-gnu

2010-09-06 Thread mikpe at it dot uu dot se
--- Comment #7 from mikpe at it dot uu dot se 2010-09-06 21:05 --- (In reply to comment #5) > /mnt/scratch/objdir/./gcc/xgcc -B/mnt/scratch/objdir/./gcc/ > -B/mnt/scratch/install/sparc64-unknown-linux-gnu/bin/ > -B/mnt/scratch/install/sparc64-unknown-linux-gnu/lib/ -isystem > /mnt/scratc

[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #11 from marc dot glisse at normalesup dot org 2010-09-06 20:48 --- (In reply to comment #10) > The aforementioned variant, again tested x86_64-linux Wow, cool! Sorry, I really didn't mean to give you more work... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45549

[Bug fortran/45564] New: gfortran.dg/achar_4.f90 ICE: verify_gimple failed: type mismatch in comparison expression with -fbounds-check

2010-09-06 Thread zsojka at seznam dot cz
Compiler output: $ gcc -fbounds-check achar_4.f90 achar_4.f90: In function 'up': achar_4.f90:10:0: error: type mismatch in comparison expression integer(kind=8) integer(kind=8) integer(kind=4) D.1758 = D.1594 != 1; achar_4.f90:10:0: internal compiler error: verify_gimple failed Please submit a fu

[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-06 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2010-09-06 20:36 --- Created an attachment (id=21716) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21716&action=view) The aforementioned variant, again tested x86_64-linux -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug bootstrap/45518] [4.6 regression] bootstrap failure on sparc64-unknown-linux-gnu

2010-09-06 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-09-06 20:33 --- SPARC64/Solaris is also broken (but SPARC/Solaris is OK). -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/45354] [4.5/4.6 Regression] ICE: verify_flow_info failed: fallthru edge crosses section boundary (bb 6) with gcc.dg/tree-prof/update-cunroll-2.c

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #4 from zsojka at seznam dot cz 2010-09-06 20:32 --- The original testcase (comment #0) fails in 4.4 r160770 with: $ CC=/mnt/svn/gcc-4_4/binary-160770-checking-yes/bin/gcc $ $CC -O -fschedule-insns -fselective-scheduling -freorder-blocks-and-partition -fprofile-generate /mnt/

Re: build gcc (c,c++,ada) for ia64-hp-hpux11.23 fails

2010-09-06 Thread Eric Botcazou
> If I skip the milp32 tree - the mlp64 tree works and I could produce > running 64bit binaries for my TARGET. > But because milp32 is default - cross compiling the native > ia64-hp-hpux11.23 gcc fails again. > > So my Question : > Does anyone know if I need some speciale configuration option for >

[Bug rtl-optimization/45354] [4.5/4.6 Regression] ICE: verify_flow_info failed: fallthru edge crosses section boundary (bb 6) with gcc.dg/tree-prof/update-cunroll-2.c

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-09-06 20:27 --- Tested revisions: r163921 - crash r153685 - crash 4.4 r160770 - warns 4.4 r149995 - warns the 4.4 warning looks like: cc1plus: note: -freorder-blocks-and-partition does not work with exceptions -- zsojka at seznam dot

[Bug inline-asm/45160] [4.4.x/4.5.x regression] Invalid assembly code is generated for x86 architecture for faad2 library (AAC decode algorithm)

2010-09-06 Thread t dot artem at mailcity dot com
--- Comment #11 from t dot artem at mailcity dot com 2010-09-06 20:19 --- (In reply to comment #9) > Maybe GCC developers could devise a patch for this file because > http://www.audiocoding.com/faad2.html site seems to be dead. > (In reply to comment #10) > Not a gcc bug. > FAAD dev

[Bug rtl-optimization/45354] ICE: verify_flow_info failed: fallthru edge crosses section boundary (bb 6) with gcc.dg/tree-prof/update-cunroll-2.c

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #2 from zsojka at seznam dot cz 2010-09-06 20:19 --- g++.dg/bprob/g++-bprob-1.C fails the same way: $ g++ -Os -freorder-blocks-and-partition -fselective-scheduling2 -fnon-call-exceptions g++.dg/bprob/g++-bprob-1.C -fprofile-generate $ rm *.gcda $ ./a.out $ g++ -Os -freorder-

[Bug tree-optimization/45563] New: [4.6 Regression] g++.dg/opt/devirt1.C ICEs in ipcp_init_cloned_node, at ipa-cp.c:190 with -fno-early-inlining -fipa-cp-clone

2010-09-06 Thread zsojka at seznam dot cz
Compiler output: $ gcc -O -fno-early-inlining -fipa-cp -fipa-cp-clone testcase.C testcase.C:3:30: internal compiler error: in ipcp_init_cloned_node, at ipa-cp.c:190 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. -

[Bug fortran/34145] single_char_string.f90 fails with -fdefault-integer-8

2010-09-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2010-09-06 19:44 --- Fixed on trunk, closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34145] single_char_string.f90 fails with -fdefault-integer-8

2010-09-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2010-09-06 19:44 --- Subject: Bug 34145 Author: tkoenig Date: Mon Sep 6 19:43:58 2010 New Revision: 163932 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163932 Log: 2010-09-06 Thomas Koenig PR fortran/34145

[Bug c++/45562] [4.6 Regression] ICE: SIGSEGV in cp_build_unary_op (typeck.c:5083) with -std=gnu++0x -fipa-cp-clone -fcompare-debug

2010-09-06 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-06 19:38 --- Created an attachment (id=21715) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21715&action=view) reduced testcase (from libstdc++-v3/testsuite/21_strings/basic_string/range_access.cc) $ gcc -std=gnu++0x -O -fno-inli

[Bug c++/45562] New: [4.6 Regression] ICE: SIGSEGV in cp_build_unary_op (typeck.c:5083) with -std=gnu++0x -fipa-cp-clone -fcompare-debug

2010-09-06 Thread zsojka at seznam dot cz
Command line: $ gcc -std=gnu++0x -O -fno-inline -fipa-cp -fipa-cp-clone -fcompare-debug testcase.C Related valgrind output: $ valgrind -q --trace-children=yes /mnt/svn/gcc-trunk/binary-163921-lto-fortran-checking-yes-rtl-df/bin/gcc -std=gnu++0x -O1 -fno-inline -fipa-cp -fipa-cp-clone -fcompare-deb

[Bug fortran/45560] debugging: Add EXPR pretty printer (gfc_debug_expr)

2010-09-06 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-09-06 18:52 --- Subject: Bug 45560 Author: burnus Date: Mon Sep 6 18:51:48 2010 New Revision: 163931 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163931 Log: 2010-09-06 Tobias Burnus PR fortran/45560

[Bug c++/45558] typedef of typename fails to equal its underlying type

2010-09-06 Thread dodji at gcc dot gnu dot org
--- Comment #3 from dodji at gcc dot gnu dot org 2010-09-06 18:50 --- Subject: Bug 45558 Author: dodji Date: Mon Sep 6 18:49:46 2010 New Revision: 163930 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163930 Log: Patch PR c++/45200 Fix PR c++/45200, c++/45293, c++/45558 g

[Bug c++/45293] ICE in iterative_hash_template_arg, at cp/pt.c:1589

2010-09-06 Thread dodji at gcc dot gnu dot org
--- Comment #10 from dodji at gcc dot gnu dot org 2010-09-06 18:50 --- Subject: Bug 45293 Author: dodji Date: Mon Sep 6 18:49:46 2010 New Revision: 163930 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163930 Log: Patch PR c++/45200 Fix PR c++/45200, c++/45293, c++/45558

[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-09-06 Thread dodji at gcc dot gnu dot org
--- Comment #12 from dodji at gcc dot gnu dot org 2010-09-06 18:50 --- Subject: Bug 45200 Author: dodji Date: Mon Sep 6 18:49:46 2010 New Revision: 163930 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163930 Log: Patch PR c++/45200 Fix PR c++/45200, c++/45293, c++/45558

[Bug c++/45293] ICE in iterative_hash_template_arg, at cp/pt.c:1589

2010-09-06 Thread dodji at gcc dot gnu dot org
--- Comment #9 from dodji at gcc dot gnu dot org 2010-09-06 18:44 --- Subject: Bug 45293 Author: dodji Date: Mon Sep 6 18:44:23 2010 New Revision: 163929 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163929 Log: Patch PR c++/45200 Fix PR c++/45200, c++/45293, c++/45558 g

[Bug c++/45558] typedef of typename fails to equal its underlying type

2010-09-06 Thread dodji at gcc dot gnu dot org
--- Comment #2 from dodji at gcc dot gnu dot org 2010-09-06 18:44 --- Subject: Bug 45558 Author: dodji Date: Mon Sep 6 18:44:23 2010 New Revision: 163929 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163929 Log: Patch PR c++/45200 Fix PR c++/45200, c++/45293, c++/45558 g

[Bug c++/45200] [4.5/4.6 Regression] ICE in template instantiation

2010-09-06 Thread dodji at gcc dot gnu dot org
--- Comment #11 from dodji at gcc dot gnu dot org 2010-09-06 18:44 --- Subject: Bug 45200 Author: dodji Date: Mon Sep 6 18:44:23 2010 New Revision: 163929 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163929 Log: Patch PR c++/45200 Fix PR c++/45200, c++/45293, c++/45558

[Bug fortran/43665] INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments

2010-09-06 Thread burnus at gcc dot gnu dot org
--- Comment #17 from burnus at gcc dot gnu dot org 2010-09-06 18:43 --- (In reply to comment #16) > This patch makes IPA-CP to refrain from modifying a function when it > sees a any type attributes. In a way that's unfortunate: Both "fn attr" and argument removal are optimization option

[Bug middle-end/45234] [4.4/4.5/4.6 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-09-06 Thread howarth at nitro dot med dot uc dot edu
--- Comment #16 from howarth at nitro dot med dot uc dot edu 2010-09-06 18:40 --- Still present for x86_64-unknown-gnu-linux with -m32 at r163927 when tested on x86_64 Fedora 10 using the new gcc/gcc/testsuite/gcc.dg/torture/stackalign/alloca-5.c test case only from gcc-pr45234-2.patch

[Bug libobjc/19850] libobjc leaks threads on posix

2010-09-06 Thread nicola at gcc dot gnu dot org
--- Comment #5 from nicola at gcc dot gnu dot org 2010-09-06 18:30 --- Fixed in trunk. Thanks -- nicola at gcc dot gnu dot org changed: What|Removed |Added S

[Bug middle-end/45534] [4.6 Regression] ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1031

2010-09-06 Thread dominiq at lps dot ens dot fr
--- Comment #16 from dominiq at lps dot ens dot fr 2010-09-06 18:27 --- > > New Revision: 163913 > fixed on i686-darwin9. also on x86_64-apple-darwin10.4 configured with --enable-checking=release. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45534

[Bug fortran/43665] INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments

2010-09-06 Thread jamborm at gcc dot gnu dot org
--- Comment #16 from jamborm at gcc dot gnu dot org 2010-09-06 18:25 --- Created an attachment (id=21714) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21714&action=view) Patch to address IPA-CP parameter removal issues This patch makes IPA-CP to refrain from modifying a function

[Bug fortran/45560] debugging: Add EXPR pretty printer (gfc_debug_expr)

2010-09-06 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-09-06 18:17 --- FIXED for 4.6. -- burnus at gcc dot gnu dot org changed: What|Removed |Added Status|UNC

[Bug fortran/45560] debugging: Add EXPR pretty printer (gfc_debug_expr)

2010-09-06 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-09-06 18:17 --- Subject: Bug 45560 Author: burnus Date: Mon Sep 6 18:16:50 2010 New Revision: 163928 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163928 Log: 2010-09-06 Tobias Burnus PR fortran/45560 *

[Bug target/22152] Poor loop optimization when using mmx builtins

2010-09-06 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2010-09-06 18:13 --- Fixed again. -- ubizjak at gmail dot com changed: What|Removed |Added Status|REOPENED

[Bug middle-end/45534] [4.6 Regression] ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1031

2010-09-06 Thread iains at gcc dot gnu dot org
--- Comment #15 from iains at gcc dot gnu dot org 2010-09-06 18:07 --- (In reply to comment #14) > Subject: Bug 45534 > New Revision: 163913 > 2010-09-06 Richard Guenther > > PR tree-optimization/45534 > * tree-ssa-address.c (create_mem_ref_raw): Add verify paramete

[Bug fortran/40571] F2008: ISO_FORTRAN_ENV: Missing constants

2010-09-06 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2010-09-06 17:55 --- More failures: use iso_fortran_env integer :: i print *, shape(real_kinds(1)) ! should be rejected (scalar) i = real_kinds(1) ! ICE end Thus, the FE has problems if one takes a REF of an EXPR_ARRAY, i.

[Bug target/22152] Poor loop optimization when using mmx builtins

2010-09-06 Thread uros at gcc dot gnu dot org
--- Comment #13 from uros at gcc dot gnu dot org 2010-09-06 17:55 --- Subject: Bug 22152 Author: uros Date: Mon Sep 6 17:54:46 2010 New Revision: 163927 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163927 Log: PR target/22152 * gcc.target/i386/pr22152.c (add3)

[Bug target/22152] Poor loop optimization when using mmx builtins

2010-09-06 Thread uros at gcc dot gnu dot org
--- Comment #12 from uros at gcc dot gnu dot org 2010-09-06 17:51 --- Subject: Bug 22152 Author: uros Date: Mon Sep 6 17:51:12 2010 New Revision: 163926 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163926 Log: PR target/22152 * config/i386/mmx.md (*mov_interna

[Bug target/45559] [4.4 regression] wrong conversion from unsigned int/long to float

2010-09-06 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45559

[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #9 from marc dot glisse at normalesup dot org 2010-09-06 17:48 --- (In reply to comment #8) > Draft patch, tested x86_64-linux Nice. Just to confirm, that's indeed what I had in mind, except that I was going to rename __is_iterator_helper to __has_iterator_category and move

[Bug target/45524] r163815/r163816 produces new regressions on x86_64-apple-darwin10

2010-09-06 Thread hjl dot tools at gmail dot com
--- Comment #41 from hjl dot tools at gmail dot com 2010-09-06 17:18 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

[Bug target/45559] [4.4 regression] wrong conversion from unsigned int/long to float

2010-09-06 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2010-09-06 17:15 --- Dupe of PR44631? -- mikpe at it dot uu dot se changed: What|Removed |Added CC|

[Bug target/45524] r163815/r163816 produces new regressions on x86_64-apple-darwin10

2010-09-06 Thread hjl dot tools at gmail dot com
--- Comment #40 from hjl dot tools at gmail dot com 2010-09-06 17:10 --- *** Bug 45561 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added -

[Bug other/45561] [4.6 Regression]: gcc.dg/cpp/pragma-float-const-decimal64-1.c gcc.dg/nodfp-1.c

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

[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-06 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2010-09-06 17:08 --- Created an attachment (id=21713) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21713&action=view) Draft patch, tested x86_64-linux -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45549

[Bug middle-end/45312] [4.4 Regression] GCC 4.4.4 miscompiles the Linux kernel

2010-09-06 Thread uweigand at gcc dot gnu dot org
--- Comment #16 from uweigand at gcc dot gnu dot org 2010-09-06 16:57 --- (In reply to comment #15) > Ulrih, I've just wanted to post the following when I found that you already > posted analogous conclusion. I should have been on CC to see your comment > right away. The problem is re

[Bug tree-optimization/45421] [4.6 regression] Ada bootstrap failure on IRIX 6.5: SIGBUS in sem_aggr.sort_case_table

2010-09-06 Thread ro at CeBiTec dot Uni-Bielefeld dot DE
--- Comment #6 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-09-06 16:20 --- Subject: Re: [4.6 regression] Ada bootstrap failure on IRIX 6.5: SIGBUS in sem_aggr.sort_case_table Unfortunately, even with your patch the mips-sgi-irix6.5 Ada bootstrap is still broken. Rainer

[Bug other/45561] [4.6 Regression]: gcc.dg/cpp/pragma-float-const-decimal64-1.c gcc.dg/nodfp-1.c

2010-09-06 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2010-09-06 16:08 --- Correct title, possibly component, milestone. -- hp at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/45561] New: [4.4 Regression]: gcc.dg/cpp/pragma-float-const-decimal64-1.c gcc.dg/nodfp-1.c

2010-09-06 Thread hp at gcc dot gnu dot org
With revision 163809 these test passed. >From revision 163818 and on, the tests have failed as follows: Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/cpp/cpp.exp ... FAIL: gcc.dg/cpp/pragma-float-const-decimal64-1.c (test for warnings, line 4) ... Running /tmp/hpautotest-gcc1/gcc/gcc/test

[Bug libobjc/19850] libobjc leaks threads on posix

2010-09-06 Thread nicola dot pero at meta-innovation dot com
--- Comment #4 from nicola dot pero at meta-innovation dot com 2010-09-06 15:58 --- I fixed this bug in trunk (will be GCC 4.6.0). -- nicola dot pero at meta-innovation dot com changed: What|Removed |Added -

[Bug libobjc/19850] libobjc leaks threads on posix

2010-09-06 Thread nicola at gcc dot gnu dot org
--- Comment #3 from nicola at gcc dot gnu dot org 2010-09-06 15:57 --- Subject: Bug 19850 Author: nicola Date: Mon Sep 6 15:57:44 2010 New Revision: 163923 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163923 Log: PR libobjc/19850 * gthr-posix.h (__gthread_objc_t

[Bug c++/43085] Make profiledbootstrap fails with cc1plus catching SIGSEGV

2010-09-06 Thread doko at ubuntu dot com
--- Comment #4 from doko at ubuntu dot com 2010-09-06 15:56 --- I can confirm this with 20100902 from the 4.5 branch. the profiled bootstrap did work with the 4.5.1 release. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43085

[Bug fortran/45560] New: debugging: Add EXPR pretty printer (gfc_debug_expr)

2010-09-06 Thread burnus at gcc dot gnu dot org
Richard wrote in IRC: fortran needs a pretty-printer gfc_show_expr is annoying as it doesn't flush and you have to manually set dumpfile to stdout Untested draft patch: Index: dump-parse-tree.c === --- dump-parse-t

[Bug c/45559] New: [4.4 regression] wrong conversion from unsigned int/long to float

2010-09-06 Thread zimmerma+gcc at loria dot fr
With the following program: #include int main() { unsigned int t = 254733465; float f; f = (float) t; printf ("t=%u f=%.0f\n", t, f); } I get with gcc 4.3 the expected result: t=254733465 f=254733472 but with gcc 4.4.5: t=254733465 f=482062944 which is clearly wrong. Note: this was

[Bug target/45483] gcc-4.4.3: probably wrong optimization options chosen by "-march=native"

2010-09-06 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2010-09-06 15:08 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00469.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug c++/45558] typedef of typename fails to equal its underlying type

2010-09-06 Thread dodji at gcc dot gnu dot org
--- Comment #1 from dodji at gcc dot gnu dot org 2010-09-06 15:00 --- This was forwarded here from https://bugzilla.redhat.com/show_bug.cgi?id=620095 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45558

[Bug c++/45558] typedef of typename fails to equal its underlying type

2010-09-06 Thread dodji at gcc dot gnu dot org
-- dodji at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org |dot org

[Bug c++/45558] New: typedef of typename fails to equal its underlying type

2010-09-06 Thread dodji at gcc dot gnu dot org
The code snippet below fails to compile: =~= template struct C { template struct B { template struct E { explicit E(const W &x) : w(x) {} const W &w; }; }; }; struct F; template struct D { D() {} }; const D g; template struct A { template struct B :

[Bug target/45524] r163815/r163816 produces new regressions on x86_64-apple-darwin10

2010-09-06 Thread hjl at gcc dot gnu dot org
--- Comment #39 from hjl at gcc dot gnu dot org 2010-09-06 14:54 --- Subject: Bug 45524 Author: hjl Date: Mon Sep 6 14:52:54 2010 New Revision: 163921 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163921 Log: Don't set enable_decimal_float to dpd if DFP is disabled. config/

[Bug fortran/40571] F2008: ISO_FORTRAN_ENV: Missing constants

2010-09-06 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-09-06 14:52 --- Created an attachment (id=21712) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21712&action=view) New draft patch New draft patch. New: Documentation added; "REAL_KINDS" and "REAL_KINDS(1)" works now. TODO -

[Bug fortran/43665] INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments

2010-09-06 Thread jamborm at gcc dot gnu dot org
--- Comment #15 from jamborm at gcc dot gnu dot org 2010-09-06 14:12 --- I tried compiling the testcase from comment #8 and it did not fail for me either on i686-linux ox x86_64-linux. Can you please check that it still fails for you? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug target/36502] i386/darwin generates unnecessary stack ops in every function

2010-09-06 Thread dominiq at lps dot ens dot fr
--- Comment #46 from dominiq at lps dot ens dot fr 2010-09-06 14:04 --- > gfortran.dg/backspace_1.f, gfortran.dg/record_marker_2.f, ... They are pr45534 and probably fixed at revision 163913 (testing). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36502

[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread alexey at feldgendler dot ru
--- Comment #5 from alexey at feldgendler dot ru 2010-09-06 14:03 --- Indeed, the patch fixes this bug for me. Thanks! -- alexey at feldgendler dot ru changed: What|Removed |Added

[Bug target/36502] i386/darwin generates unnecessary stack ops in every function

2010-09-06 Thread howarth at nitro dot med dot uc dot edu
--- Comment #45 from howarth at nitro dot med dot uc dot edu 2010-09-06 13:57 --- (In reply to comment #44) > Created an attachment (id=21709) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21709&action=view) [edit] > retain redefinition of MAIN_STACK_BOUNDARY as required > Tests

[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-06 13:53 --- Seems to be fixed by 2010-09-02 Richard Guenther PR tree-optimization/44937 PR tree-optimization/45412 * ipa-split.c (split_function): Properly remove PHI nodes. *** This bug has been m

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

2010-09-06 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-09-06 13:53 --- *** Bug 45557 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread alexey at feldgendler dot ru
--- Comment #3 from alexey at feldgendler dot ru 2010-09-06 13:51 --- $ gdb --args /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus -v -D_GNU_SOURCE TC.cpp -dumpbase TC.cpp -mtune=generic -march=x86-64 -auxbase TC -O1 -version -flto -finline-small-functions -fpartial-inlinin

[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread alexey at feldgendler dot ru
--- Comment #2 from alexey at feldgendler dot ru 2010-09-06 13:49 --- Created an attachment (id=21711) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21711&action=view) Incomplete assembly file cc1plus manages to write before segfaulting -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug lto/45557] Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread alexey at feldgendler dot ru
--- Comment #1 from alexey at feldgendler dot ru 2010-09-06 13:48 --- Created an attachment (id=21710) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21710&action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45557

[Bug lto/45557] New: Segfault with -flto -O1 -finline-small-functions -fpartial-inlining

2010-09-06 Thread alexey at feldgendler dot ru
cc1plus segfaults on the attached testcase with -flto -O1 -finline-small-functions -fpartial-inlining. $ g++-4.6 -v -flto -O1 -finline-small-functions -fpartial-inlining TC.cpp Using built-in specs. COLLECT_GCC=g++-4.6 COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-w

[Bug bootstrap/45556] New: Add PPL and CLooG-PPL source to gcc source tree for build

2010-09-06 Thread tom dot browder at gmail dot com
As of now, gcc builds with gmp, mpfr, and mpc source directories placed in the gcc tree by the user. Adding the other two main prerequisites into the tree for full gcc features would be a win for users. The inter-dependence of the configuration options between the latter two and gmp, mpfr, and mp

[Bug fortran/38282] Add the remaining HPF bit intrinsics

2010-09-06 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2010-09-06 13:35 --- DONE: - POPPAR, POPCNT [and LEADZ/TAILZ already in GCC 4.4] - IALL, IANY, IPARITY TODO (cf. comment 2) a) F2008's bit intrinsics: DSHIFTL, DSHIFTR, SHIFTA, SHIFTL, SHIFTR, MASKL, MASKR, BGE, BGT, BLE, BLT, MERGE_BI

[Bug c++/45555] New: Add warnings for changes to code with option "-fipa-sra"

2010-09-06 Thread tom dot browder at gmail dot com
The "-fipa-sra" option may result in object code changes. Users should be notified of such changes so they can make source code changes. -- Summary: Add warnings for changes to code with option "-fipa-sra" Product: gcc Version: unknown Status: UNCONF

[Bug target/36502] i386/darwin generates unnecessary stack ops in every function

2010-09-06 Thread howarth at nitro dot med dot uc dot edu
--- Comment #44 from howarth at nitro dot med dot uc dot edu 2010-09-06 13:17 --- Created an attachment (id=21709) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21709&action=view) retain redefinition of MAIN_STACK_BOUNDARY as required -- howarth at nitro dot med dot uc dot edu

  1   2   >