[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-30 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #4 from Manuel López-Ibáñez 2011-09-30 07:00:40 UTC --- So Joseph, Jason, what is the difference between Wmissing-prototypes and Wmissing-declarations? Can't you just make one a synonym for the other and make one of them the canonica

[Bug c++/38980] [4.4/4.5/4.6/4.7 Regression] missing -Wformat warning on const char format string

2011-09-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38980 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #5 from Jonathan Wakely 2011-09-30 08:04:38 UTC --- C++ doesn't have prototypes, it has declarations and definitions, so the different names makes sense. I'm not sure what "Do so even if the definition itself provides a prototype." m

[Bug target/50572] New: unstable performance on Atom due to loop alignment

2011-09-30 Thread sergos.gnu at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50572 Bug #: 50572 Summary: unstable performance on Atom due to loop alignment Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: major

[Bug libstdc++/50573] New: configure lists --with-gnu-ld twice

2011-09-30 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50573 Bug #: 50573 Summary: configure lists --with-gnu-ld twice Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/50573] configure lists --with-gnu-ld twice

2011-09-30 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50573 --- Comment #1 from Bernhard Reutner-Fischer 2011-09-30 09:02:18 UTC --- btw.. same thing with java configury and three(!) times in gcc/configure: $ grep -c "^[[:space:]]*\-\-with-gnu-ld" */configure | egrep -v "(0|1)$" gcc/configure:3 libjava/

[Bug fortran/50564] [4.7 Regression] Front-end optimization - ICE with FORALL

2011-09-30 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50564 --- Comment #3 from Tobias Burnus 2011-09-30 09:11:38 UTC --- (In reply to comment #2) > I'll have a look in the next few days. One way could be to move the "EXPR_ASSIGN:" part of trans-stmt.c's gfc_trans_forall_1 into a separate function and ad

[Bug libstdc++/50573] configure lists --with-gnu-ld twice

2011-09-30 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50573 --- Comment #2 from Andreas Schwab 2011-09-30 09:23:09 UTC --- The first one is coming from libtool.m4 (LT_PATH_LD), the second one from config/lib-ld.m4 (AC_LIB_PROG_LD, imported from gettext, with some quoting problems). The third occurrence i

[Bug tree-optimization/50574] New: gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 Bug #: 50574 Summary: gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED S

[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 Rainer Orth changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug tree-optimization/50575] gcc.c-torture/execute/vector-compare-2.c FAILs on Solaris 8/9 x86

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50575 Rainer Orth changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug tree-optimization/50575] New: gcc.c-torture/execute/vector-compare-2.c FAILs on Solaris 8/9 x86

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50575 Bug #: 50575 Summary: gcc.c-torture/execute/vector-compare-2.c FAILs on Solaris 8/9 x86 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug tree-optimization/49662] [4.7 Regression] XFAIL: gcc.dg/graphite/interchange-XX.c, PRE confuses loop interchange

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49662 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #5 from R

[Bug target/50099] ICE: internal compiler error: in extract_insn, at recog.c:2113 while building lttng-ust

2011-09-30 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50099 --- Comment #10 from Ramana Radhakrishnan 2011-09-30 09:36:47 UTC --- Author: ramana Date: Fri Sep 30 09:36:43 2011 New Revision: 179378 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179378 Log: Fix PR target/50099 Added: trunk/gc

[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 --- Comment #1 from Dominique d'Humieres 2011-09-30 09:37:51 UTC --- It also fails on powerpc-apple-darwin9 (see http://gcc.gnu.org/ml/gcc-testresults/2011-09/msg03110.html) and s390x-ibm-linux-* (see http://gcc.gnu.org/ml/gcc-testresults/2011-09

[Bug tree-optimization/50052] [4.6/4.7 Regression] FAIL: gcc.dg/ipa/ipa-sra-2.c scan-tree-dump eipa_sra

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50052 Rainer Orth changed: What|Removed |Added Target|hppa*-*-* |hppa*-*-*, alpha-dec-osf*,

[Bug libgomp/49965] libgomp.c++/reduction-4.C and libgomp.c++/task-8.C FAIL on Solaris 11/SPARC

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49965 Rainer Orth changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/44473] iterators already defined for std::vector when using std::decimal

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44473 --- Comment #13 from Paolo Carlini 2011-09-30 09:44:50 UTC --- By the way, the patch is approved thus we don't need further feedback to commi it and fix this annoying issue. I'll just do it later today, if nobody beats me!

[Bug tree-optimization/49662] [4.7 Regression] XFAIL: gcc.dg/graphite/interchange-XX.c, PRE confuses loop interchange

2011-09-30 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49662 --- Comment #6 from rguenther at suse dot de 2011-09-30 09:53:26 UTC --- On Fri, 30 Sep 2011, ro at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49662 > > Rainer Orth changed: > >What|Removed

[Bug target/19599] function pointer prevents tail-call optimization on arm

2011-09-30 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19599 --- Comment #7 from Ramana Radhakrishnan 2011-09-30 09:57:06 UTC --- The patch as applied today causes some bootstrap failures and I'm investigating that. Ramana

[Bug libstdc++/50573] configure lists --with-gnu-ld twice

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50573 --- Comment #3 from Paolo Carlini 2011-09-30 09:58:50 UTC --- Thus doesn'l look like a library proper issue, right? Build system? Please add somebody in CC

[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/50575] gcc.c-torture/execute/vector-compare-2.c FAILs on Solaris 8/9 x86

2011-09-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50575 --- Comment #1 from Richard Guenther 2011-09-30 10:06:48 UTC --- Please add proper options/prune for your target to avoid these ABI messages.

[Bug libgomp/49965] libgomp.c++/reduction-4.C and libgomp.c++/task-8.C FAIL on Solaris 11/SPARC

2011-09-30 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49965 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug c++/47346] access control for nested type is ignored in class template

2011-09-30 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 --- Comment #6 from dodji at seketeli dot org 2011-09-30 10:26:29 UTC --- "paolo.carlini at oracle dot com" a écrit: > Out of curiosity, does the posted patch fix at once *all* the issues mentioned > in the Description? Yes it does, AFAICT. >

[Bug libstdc++/50573] configure lists --with-gnu-ld twice

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50573 Paolo Carlini changed: What|Removed |Added CC||bonzini at gnu dot org --- Comment #4 fro

[Bug c++/47346] access control for nested type is ignored in class template

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 --- Comment #7 from Paolo Carlini 2011-09-30 10:33:15 UTC --- Great. By the way, I think I didn't see any comment, that's why I asked ;)

[Bug libstdc++/50573] configure lists --with-gnu-ld twice

2011-09-30 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50573 --- Comment #5 from Paolo Bonzini 2011-09-30 10:41:32 UTC --- I'd just close it as wontfix. Perhaps we can fix the quoting problems, and hope that autoconf removes duplicates another day.

[Bug tree-optimization/50576] New: Recent vector comparison changes cause an ICE

2011-09-30 Thread mgretton at sourceware dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50576 Bug #: 50576 Summary: Recent vector comparison changes cause an ICE Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/50576] Recent vector comparison changes cause an ICE

2011-09-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50576 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug other/50573] configure lists --with-gnu-ld twice

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50573 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|libstdc++

[Bug tree-optimization/50576] Recent vector comparison changes cause an ICE

2011-09-30 Thread mgretton at sourceware dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50576 --- Comment #2 from Matthew Gretton-Dann 2011-09-30 10:58:03 UTC --- (In reply to comment #1) > is sizeof(long long) == sizeof (double)? Yes - sizeof(long long) and sizeof(double) are both 8.

[Bug tree-optimization/50577] New: IPA-PTA context insensitivity confuses pure-const analysis

2011-09-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50577 Bug #: 50577 Summary: IPA-PTA context insensitivity confuses pure-const analysis Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/47346] access control for nested type is ignored in class template

2011-09-30 Thread dodji at seketeli dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346 --- Comment #8 from dodji at seketeli dot org 2011-09-30 11:41:14 UTC --- The comment was posted in another month: http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00536.html Another hint at why we need a better patch/comments tracker :)

[Bug libstdc++/50578] New: Rethrow core dump if static link to libstdc++

2011-09-30 Thread zihao.jiang at sinobot dot com.cn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50578 Bug #: 50578 Summary: Rethrow core dump if static link to libstdc++ Classification: Unclassified Product: gcc Version: 4.2.4 Status: UNCONFIRMED Severity: normal Prio

[Bug libstdc++/50578] Rethrow core dump if static link to libstdc++

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50578 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-09-30 12:25:53 UTC --- I find the following trees when error is hit for the first time: (gdb) p type $1 = (tree) 0xfba11140 (gdb) pt unit size align 32 symtab 0 alias

[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 Richard Guenther changed: What|Removed |Added Status|WAITING |ASSIGNED AssignedTo|unassigned

[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 --- Comment #5 from Richard Guenther 2011-09-30 12:47:32 UTC --- FYI Index: tree-cfg.c === --- tree-cfg.c (revision 179378) +++ tree-cfg.c (working copy) @@ -3229,8 +3302,8 @@ ver

[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-09-30 12:52:09 UTC --- > --- Comment #4 from Richard Guenther 2011-09-30 > 12:46:06 UTC --- [...] > Ok, that makes sense. I'll test a patch. Great, thanks. Rainer

[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 --- Comment #7 from Richard Guenther 2011-09-30 13:33:18 UTC --- Author: rguenth Date: Fri Sep 30 13:33:14 2011 New Revision: 179382 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179382 Log: 2011-09-30 Richard Guenther PR middle-

[Bug target/50579] [4.7 regression] gcc.target/mips/20020620-1.c FAILs on IRIX 6.5

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50579 Rainer Orth changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug tree-optimization/50574] gcc.c-torture/execute/vector-compare-1.c FAILs on SPARC

2011-09-30 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574 Richard Guenther changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|richard.gu

[Bug target/50579] New: [4.7 regression] gcc.target/mips/20020620-1.c FAILs on IRIX 6.5

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50579 Bug #: 50579 Summary: [4.7 regression] gcc.target/mips/20020620-1.c FAILs on IRIX 6.5 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug target/50580] New: gcc.target/mips/interrupt_handler-[23].c FAIL on IRIX 6.5

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50580 Bug #: 50580 Summary: gcc.target/mips/interrupt_handler-[23].c FAIL on IRIX 6.5 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug target/50580] gcc.target/mips/interrupt_handler-[23].c FAIL on IRIX 6.5

2011-09-30 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50580 Rainer Orth changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-30 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #6 from joseph at codesourcery dot com 2011-09-30 14:16:40 UTC --- On Fri, 30 Sep 2011, redi at gcc dot gnu.org wrote: > I'm not sure what "Do so even if the definition itself provides a prototype." > means in the context of C++. Tha

[Bug c++/50134] -Wmissing-prototypes doesn't work for C++

2011-09-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134 --- Comment #7 from Jonathan Wakely 2011-09-30 14:29:18 UTC --- (In reply to comment #6) > On Fri, 30 Sep 2011, redi at gcc dot gnu.org wrote: > > > I'm not sure what "Do so even if the definition itself provides a > > prototype." > > means in

[Bug tree-optimization/50557] [4.7 Regression] Register pressure increase after reassociation (x86, 32 bits)

2011-09-30 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50557 --- Comment #5 from William J. Schmidt 2011-09-30 14:30:56 UTC --- Reassociation isn't doing anything untoward here that raises register pressure. The problem must be occurring downstream. Likely the scheduler is making a different decision tha

[Bug tree-optimization/50575] gcc.c-torture/execute/vector-compare-2.c FAILs on Solaris 8/9 x86

2011-09-30 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50575 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-09-30 14:39:28 UTC --- > --- Comment #1 from Richard Guenther 2011-09-30 > 10:06:48 UTC --- > Please add proper options/prune for your target to avoid these ABI messages. I just notice

[Bug target/50038] redundant zero extensions

2011-09-30 Thread tocarip.intel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50038 tocarip.intel at gmail dot com changed: What|Removed |Added CC||tocarip.intel at gmail dot

[Bug tree-optimization/46309] optimization a==3||a==1

2011-09-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46309 --- Comment #5 from Jakub Jelinek 2011-09-30 15:00:18 UTC --- Author: jakub Date: Fri Sep 30 15:00:12 2011 New Revision: 179388 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179388 Log: PR tree-optimization/46309 * fold-const.c (

[Bug inline-asm/50571] [4.6/4.7 Regression] Undesirable folding in "m" constrained asm operands

2011-09-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50571 --- Comment #2 from Jakub Jelinek 2011-09-30 15:01:31 UTC --- Author: jakub Date: Fri Sep 30 15:01:27 2011 New Revision: 179389 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179389 Log: PR inline-asm/50571 * gimple-fold.c (fold_s

[Bug target/50566] [avr]: Add support for better logging similar to -mdeb

2011-09-30 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50566 --- Comment #4 from Georg-Johann Lay 2011-09-30 15:15:32 UTC --- Author: gjl Date: Fri Sep 30 15:15:23 2011 New Revision: 179391 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179391 Log: PR target/50566 * config/avr/avr-protos.h

[Bug c/50581] New: stdarg doesn't support array types

2011-09-30 Thread Wolfgang at Solfrank dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581 Bug #: 50581 Summary: stdarg doesn't support array types Classification: Unclassified Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug other/50582] New: Instruct GCC that added_clobbers_hard_reg_p shouldn't consider a specific register

2011-09-30 Thread Paulo.Matos at csr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50582 Bug #: 50582 Summary: Instruct GCC that added_clobbers_hard_reg_p shouldn't consider a specific register Classification: Unclassified Product: gcc Version: 4.6.1 Stat

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-30 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #32 from hjl at gcc dot gnu.org 2011-09-30 15:48:56 UTC --- Author: hjl Date: Fri Sep 30 15:48:51 2011 New Revision: 179395 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179395 Log: Use 64bit integer for LTO symbol ID. gcc/l

[Bug other/50582] Instruct GCC that added_clobbers_hard_reg_p shouldn't consider a specific register

2011-09-30 Thread Paulo.Matos at csr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50582 --- Comment #1 from Paulo J. Matos 2011-09-30 15:54:25 UTC --- I have implemented a fix to this using a new macro: NOT_REALLY_HARD_REGS which is an array of FIRST_PSEUDO_REGISTER length, with a 1 in position x if register x should not be consider

[Bug other/50582] Instruct GCC that added_clobbers_hard_reg_p shouldn't consider a specific register

2011-09-30 Thread Paulo.Matos at csr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50582 --- Comment #2 from Paulo J. Matos 2011-09-30 15:57:21 UTC --- Created attachment 25389 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25389 Patch for GCC 4.6.1 implementing suggested enhancement

[Bug c++/49949] wrong sign for product of complex and double with -O2

2011-09-30 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49949 --- Comment #13 from Jan Hubicka 2011-09-30 16:26:46 UTC --- > Maybe Honza has ideas about this... That patch affect inlining decisions, but should not affect correctness. So it seems that the bug whatever it is just gone latent. Honza

[Bug target/50583] New: Many __sync_XXX builtin functions are incorrect

2011-09-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583 Bug #: 50583 Summary: Many __sync_XXX builtin functions are incorrect Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/50583] Many __sync_XXX builtin functions are incorrect

2011-09-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583 --- Comment #1 from H.J. Lu 2011-09-30 16:57:14 UTC --- We have 2 choices: 1. Update document of `TYPE __sync_fetch_and_add (TYPE *ptr, TYPE value, ...)' `TYPE __sync_fetch_and_sub (TYPE *ptr, TYPE value, ...)' `TYPE __sync_fetch_and_or (TYPE *

[Bug c/50584] New: No warning for passing small array to C99 static array declarator

2011-09-30 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50584 Bug #: 50584 Summary: No warning for passing small array to C99 static array declarator Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/44473] iterators already defined for std::vector when using std::decimal

2011-09-30 Thread janis at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44473 --- Comment #14 from Janis Johnson 2011-09-30 17:33:48 UTC --- Author: janis Date: Fri Sep 30 17:33:41 2011 New Revision: 179399 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179399 Log: gcc/cp PR c++/44473 * mangle.c (write_type

[Bug inline-asm/50571] [4.6/4.7 Regression] Undesirable folding in "m" constrained asm operands

2011-09-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50571 --- Comment #3 from Jakub Jelinek 2011-09-30 18:14:38 UTC --- Author: jakub Date: Fri Sep 30 18:14:33 2011 New Revision: 179402 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179402 Log: PR inline-asm/50571 * gimple-fold.c (fold_s

[Bug target/50583] Many __sync_XXX builtin functions are incorrect

2011-09-30 Thread amacleod at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment #

[Bug target/50583] Many __sync_XXX builtin functions are incorrect

2011-09-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583 --- Comment #3 from H.J. Lu 2011-09-30 18:37:42 UTC --- The same problem with `TYPE __sync_add_and_fetch (TYPE *ptr, TYPE value, ...)' `TYPE __sync_sub_and_fetch (TYPE *ptr, TYPE value, ...)' `TYPE __sync_or_and_fetch (TYPE *ptr, TYPE value, ...

[Bug target/50583] Many __sync_XXX builtin functions are incorrect

2011-09-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583 --- Comment #4 from H.J. Lu 2011-09-30 18:47:21 UTC --- I guess it is OK.

[Bug target/50583] Many __sync_XXX builtin functions are incorrect

2011-09-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug inline-asm/50571] [4.6/4.7 Regression] Undesirable folding in "m" constrained asm operands

2011-09-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50571 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c/50581] stdarg doesn't support array types

2011-09-30 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50581 --- Comment #1 from joseph at codesourcery dot com 2011-09-30 19:41:17 UTC --- There is no possible valid use of passing arrays to va_arg. In C99, it is never possible for an array to be passed by value to a function because it will have decayed

[Bug tree-optimization/46309] optimization a==3||a==1

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46309 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/44473] iterators already defined for std::vector when using std::decimal

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44473 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/46309] optimization a==3||a==1

2011-09-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46309 --- Comment #7 from Jakub Jelinek 2011-09-30 20:18:59 UTC --- Well, the original issue isn't fully fixed. If the gimplifier decides to split the conditions into multiple basic blocks, i.e. if it isn't tmp1 = a == 1; tmp2 = a == 3; tmp3 = a == 4;

[Bug tree-optimization/46309] optimization a==3||a==1

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46309 --- Comment #8 from Paolo Carlini 2011-09-30 20:25:14 UTC --- I see... thanks.

[Bug c++/49949] wrong sign for product of complex and double with -O2

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49949 Paolo Carlini changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug libstdc++/50529] [C++0x] std::vector::erase invokes undefined behavior with empty range

2011-09-30 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50529 --- Comment #6 from paolo at gcc dot gnu.org 2011-09-30 20:47:17 UTC --- Author: paolo Date: Fri Sep 30 20:47:12 2011 New Revision: 179403 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179403 Log: 2011-09-30 François Dumont * inc

[Bug libstdc++/50529] [C++0x] std::vector::erase invokes undefined behavior with empty range

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50529 Paolo Carlini changed: What|Removed |Added Target Milestone|4.7.0 |4.6.2 --- Comment #7 from Paolo Carlini

[Bug c++/38980] [4.4/4.5/4.6/4.7 Regression] missing -Wformat warning on const char format string

2011-09-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38980 --- Comment #3 from Paolo Carlini 2011-09-30 21:15:16 UTC --- Thanks a lot for the analysis Jakub, seems easy to fix now.

[Bug target/50583] Many __sync_XXX builtin functions are incorrect

2011-09-30 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583 --- Comment #6 from Andi Kleen 2011-09-30 23:35:29 UTC --- Can't say I'm a fan of adding such a heavy weight sequence into an intrinsic. Maybe better to simply leave out the intrinsics that cannot be implemented with loops? If someone wants a lo