[Bug c++/45553] Warning Suppression: C++ Templates, Unsigned, and comparison of unsigned expression 0 is always false

2010-09-06 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-06 06:33 --- In G++ 4.6+ you can do: int i; unsigned j; template class T void bar (const T t) { #pragma GCC diagnostic push #pragma GCC diagnostic ignored -Wtype-limits if (t 0) #pragma GCC diagnostic pop { i++;

[Bug c++/45553] Warning Suppression: C++ Templates, Unsigned, and comparison of unsigned expression 0 is always false

2010-09-06 Thread noloader at gmail dot com
--- Comment #5 from noloader at gmail dot com 2010-09-06 06:45 --- (In reply to comment #4) In G++ 4.6+ you can do: int i; unsigned j; template class T void bar (const T t) { #pragma GCC diagnostic push #pragma GCC diagnostic ignored -Wtype-limits if (t 0) #pragma GCC

[Bug c++/45553] Warning Suppression: C++ Templates, Unsigned, and comparison of unsigned expression 0 is always false

2010-09-06 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2010-09-06 06:48 --- I thought Stallman hated those things The reason why Stallman hated them is that they did not work with macros and that changed with C99 adding support of _Pragma which can be used in macros now. So his argument

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

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #2 from marc dot glisse at normalesup dot org 2010-09-06 07:12 --- (In reply to comment #1) __is_iterator can be useful anyway, Of course, they should use the same helper classes but they can coexist, although the 2 current uses of is_iterator would disappear. I was

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

2010-09-06 Thread krebbel at gcc dot gnu dot org
--- Comment #38 from krebbel at gcc dot gnu dot org 2010-09-06 07:49 --- (In reply to comment #33) A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00375.html Thanks for fixing it. And sorry for not testing it thoroughly. --

[Bug testsuite/45543] [4.6 Regression] New test failures

2010-09-06 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2010-09-06 08:23 --- I have a patch for i386 failure. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/44919] ICE on ia64 with -O3 at sel-sched.c:4672

2010-09-06 Thread amonakov at gcc dot gnu dot org
--- Comment #8 from amonakov at gcc dot gnu dot org 2010-09-06 08:57 --- Subject: Bug 44919 Author: amonakov Date: Mon Sep 6 08:56:43 2010 New Revision: 163904 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163904 Log: PR rtl-optimization/44919 * sel-sched.c

[Bug rtl-optimization/44919] ICE on ia64 with -O3 at sel-sched.c:4672

2010-09-06 Thread amonakov at gcc dot gnu dot org
--- Comment #9 from amonakov at gcc dot gnu dot org 2010-09-06 09:00 --- (In reply to comment #7) Any progress with the copyright assignment? The copyright assignment is renewed, and I have committed the patch to the current development branch on Andrey's behalf. It will be

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

2010-09-06 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-09-06 09:42 --- (In reply to comment #2) It doesn't seem less conforming than what is used for next/prev. Well, I think we are comparing two changes of very different impact and size. In the case of next / prev we have two

[Bug testsuite/45543] [4.6 Regression] New test failures

2010-09-06 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-09-06 09:48 --- Subject: Bug 45543 Author: jakub Date: Mon Sep 6 09:48:10 2010 New Revision: 163907 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163907 Log: PR testsuite/45543 *

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

2010-09-06 Thread pacho at condmat1 dot ciencias dot uniovi dot es
--- Comment #6 from pacho at condmat1 dot ciencias dot uniovi dot es 2010-09-06 10:45 --- This is what I get with gcc-4.5.1: root 651 0.0 0.1 13080 1780 tty1 S+ 19:18 0:00 usr/libexec/gcc/i686-pc-linux-gnu/4.5.1/cc1 -quiet - -D_FORTIFY_SOURCE=2 -march=pentium-m

[Bug bootstrap/45554] New: gmp in nonstandard-location results in '-lgmpxx: not found'

2010-09-06 Thread nicolai dot stange at zmaw dot de
For me, gmp and ppl are both in non-standard and different locations given via --with-gmp/--with-ppl to gcc's configure 'make bootstrap' results in suncc -g -DIN_GCC-DHAVE_CONFIG_H -Wl,-R/pf/m/m222086/xas/solaris10/gcc/libe lf-latest/lib

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

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #4 from marc dot glisse at normalesup dot org 2010-09-06 11:01 --- (In reply to comment #3) Well, I think we are comparing two changes of very different impact and size. You are right. I would argue tha, in general, the way we are living the post-concepts era, this is

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

2010-09-06 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-09-06 11:06 --- Ok, I reproduced a failure (but none of the kind reported here) and have a fix for that issue. Maybe it fixes this bug too, which I still can't reproduce. -- rguenth at gcc dot gnu dot org changed:

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

2010-09-06 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-09-06 11:42 --- Nice that we agree on many points. Anyway, my plan would be (I cannot resist ;) preparing a small prototype, using the hierarchy, attach it here, and wait for Jon' opinion. Then we can make the final

[Bug testsuite/45543] [4.6 Regression] New test failures

2010-09-06 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2010-09-06 12:02 --- i386 failure is a real PR22152 regression, masked by wrong scan regexp. I'll reopen PR22152. -- ubizjak at gmail dot com changed: What|Removed |Added

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

2010-09-06 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2010-09-06 12:05 --- Reopened due to 4.6 regression, see [1]. [1] http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg00529.html -- ubizjak at gmail dot com changed: What|Removed |Added

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

2010-09-06 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-09-06 12:15 --- Subject: Bug 45534 Author: rguenth Date: Mon Sep 6 12:14:02 2010 New Revision: 163913 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163913 Log: 2010-09-06 Richard Guenther rguent...@suse.de PR

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

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #6 from marc dot glisse at normalesup dot org 2010-09-06 12:21 --- (In reply to comment #5) preparing a small prototype, using the hierarchy, attach it here Just to make sure, does that mean you are writing the prototype, or do you want me to? (my employer started the

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

2010-09-06 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2010-09-06 12:32 --- Me, me ;) But, to be clear, your help here and elsewhere would be more than welcome. If there is something I can do about the paperwork, just let me know! --

[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=21709action=view) retain redefinition of MAIN_STACK_BOUNDARY as required -- howarth at nitro dot med dot uc dot edu

[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:

[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,

[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

[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

[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=21710action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45557

[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=21711action=view) Incomplete assembly file cc1plus manages to write before segfaulting --

[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

[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 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 rguent...@suse.de PR tree-optimization/44937 PR tree-optimization/45412 * ipa-split.c (split_function): Properly remove PHI nodes. ***

[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=21709action=view) [edit] retain redefinition of MAIN_STACK_BOUNDARY as required Testsuite

[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 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 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? --

[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=21712action=view) New draft patch New draft patch. New: Documentation added; REAL_KINDS and REAL_KINDS(1) works now. TODO - The

[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=gccview=revrev=163921 Log: Don't set enable_decimal_float to dpd if DFP is disabled. config/

[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 typename S, typename T struct C { template typename U struct B { template typename W struct E { explicit E(const W x) : w(x) {} const W w; }; }; }; struct F; template typename X struct D { D() {} }; const

[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] 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 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/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 stdio.h 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:

[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 === ---

[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 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=gccview=revrev=163923 Log: PR libobjc/19850 * gthr-posix.h

[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 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

[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 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 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

[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=21713action=view) Draft patch, tested x86_64-linux -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45549

[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 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 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 #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 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/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 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=gccview=revrev=163926 Log: PR target/22152 * config/i386/mmx.md

[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=gccview=revrev=163927 Log: PR target/22152 * gcc.target/i386/pr22152.c (add3):

[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,

[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 rguent...@suse.de PR tree-optimization/45534 * tree-ssa-address.c (create_mem_ref_raw): Add

[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 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=gccview=revrev=163928 Log: 2010-09-06 Tobias Burnus bur...@net-b.de PR

[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

[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=21714action=view) Patch to address IPA-CP parameter removal issues This patch makes IPA-CP to refrain from modifying a function

[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 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

[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

[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 options.

[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=gccview=revrev=163929 Log: Patch PR c++/45200 Fix PR c++/45200, c++/45293, c++/45558

[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=gccview=revrev=163929 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=gccview=revrev=163929 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=gccview=revrev=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 #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=gccview=revrev=163930 Log: Patch PR c++/45200 Fix PR c++/45200, c++/45293, c++/45558

[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=gccview=revrev=163930 Log: Patch PR c++/45200 Fix PR c++/45200, c++/45293, c++/45558

[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=gccview=revrev=163931 Log: 2010-09-06 Tobias Burnus bur...@net-b.de PR

[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

[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=21715action=view) reduced testcase (from libstdc++-v3/testsuite/21_strings/basic_string/range_access.cc) $ gcc -std=gnu++0x -O

[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=gccview=revrev=163932 Log: 2010-09-06 Thomas Koenig tkoe...@gcc.gnu.org PR

[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 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 http://gcc.gnu.org/bugs.html for instructions. -

[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

[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

[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

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 #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

[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 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=21716action=view) The aforementioned variant, again tested x86_64-linux --

[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

[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 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

[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=gccview=revrev=163934 Log: 2010-09-06 Thomas Koenig tkoe...@gcc.gnu.org PR

[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

[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

[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=21717action=view) reduced testcase (from g++.dg/torture/pr42450.C) $ gcc -O -fno-toplevel-reorder -fno-inline -fipa-cp -fipa-cp-clone

[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/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

[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=21718action=view) reduced testcase (from g++.dg/tree-prof/partition1.C) It looks similiar to PR45458, but the fix didn't fix this issue.

[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 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/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

  1   2   >