[Bug target/29776] result of ffs/clz/ctz/popcount/parity are already sign-extended

2011-12-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29776 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Status|UN

[Bug rtl-optimization/23811] returning 64-bit value turns off some 32-bit optimizations

2011-12-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23811 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug tree-optimization/28134] optimize redundant memset + assignment

2011-12-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28134 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Status|UN

[Bug tree-optimization/26656] Optimization flaw on conditional set of a bit.

2011-12-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26656 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Status|UN

[Bug target/51670] [4.7.0] conflicts with new declaration with 'C++' linkage

2011-12-23 Thread pashev.igor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51670 --- Comment #7 from Igor Pashev 2011-12-24 00:27:10 UTC --- Created attachment 26179 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26179 Diff of macros

[Bug target/51670] [4.7.0] conflicts with new declaration with 'C++' linkage

2011-12-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51670 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Target|

[Bug preprocessor/51670] [4.7.0] conflicts with new declaration with 'C++' linkage

2011-12-23 Thread pashev.igor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51670 --- Comment #5 from Igor Pashev 2011-12-23 23:51:31 UTC --- Sorry, GCC 4.7 is installed in /usr, not in /usr/gcc/4.7

[Bug preprocessor/51670] [4.7.0] conflicts with new declaration with 'C++' linkage

2011-12-23 Thread pashev.igor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51670 --- Comment #4 from Igor Pashev 2011-12-23 23:49:12 UTC --- Created attachment 26178 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26178 Diff of test.46 and test.47

[Bug preprocessor/51670] [4.7.0] conflicts with new declaration with 'C++' linkage

2011-12-23 Thread pashev.igor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51670 --- Comment #3 from Igor Pashev 2011-12-23 23:48:35 UTC --- Created attachment 26177 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26177 /usr/gcc/4.7/bin/g++ -E test.cpp -o test.47

[Bug preprocessor/51670] [4.7.0] conflicts with new declaration with 'C++' linkage

2011-12-23 Thread pashev.igor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51670 --- Comment #2 from Igor Pashev 2011-12-23 23:48:01 UTC --- Created attachment 26176 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26176 /usr/gcc/4.6/bin/g++ -m64 -E test.cpp -o test.46

[Bug preprocessor/51670] [4.7.0] conflicts with new declaration with 'C++' linkage

2011-12-23 Thread pashev.igor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51670 --- Comment #1 from Igor Pashev 2011-12-23 23:47:20 UTC --- Created attachment 26175 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26175 Trivial test program

[Bug preprocessor/51670] New: [4.7.0] conflicts with new declaration with 'C++' linkage

2011-12-23 Thread pashev.igor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51670 Bug #: 51670 Summary: [4.7.0] conflicts with new declaration with 'C++' linkage Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug libstdc++/51504] Data race hunting instructions in manual do not work

2011-12-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51504 --- Comment #4 from Paolo Carlini 2011-12-23 23:33:59 UTC --- Nice tip.

[Bug ada/51114] Got compiler error when creating a private subtype

2011-12-23 Thread frederic.praca at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51114 --- Comment #1 from Frédéric Praca 2011-12-23 23:02:36 UTC --- In fact, the title is wrong as the problem occurs when declaring derived types, not subtypes.

[Bug c++/51507] [C++0x] Function parameter pack doesn't use in template-argument-list

2011-12-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51507 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug libstdc++/51504] Data race hunting instructions in manual do not work

2011-12-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51504 --- Comment #3 from Jonathan Wakely 2011-12-23 22:09:10 UTC --- N.B. you don't have to rebuild the whole .so you can rebuild just thread.cc and link thread.o into your program. The dynamic linker will do symbol interposition and use the std::thre

[Bug c++/51507] [C++0x] Function parameter pack doesn't use in template-argument-list

2011-12-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51507 --- Comment #1 from Jason Merrill 2011-12-23 22:00:21 UTC --- Author: jason Date: Fri Dec 23 22:00:13 2011 New Revision: 182668 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182668 Log: PR c++/51507 * search.c (at_function_scope_

[Bug tree-optimization/48641] [4.7 Regression] ICE: verify_flow_info failed: Wrong frequency of block 77 -419530 with -O -fno-tree-ccp -fno-tree-copy-prop

2011-12-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48641 --- Comment #4 from Jan Hubicka 2011-12-23 21:47:08 UTC --- OK, the problem is that profile is wrong and jump threading gets into conflicting results and the results are propagated through the testcase because of specific CFG. I think all we can

[Bug rtl-optimization/51069] [4.7 Regression] ICE in verify_loop_structure, at cfgloop.c:1559

2011-12-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51069 Jan Hubicka changed: What|Removed |Added CC||rakdver at gcc dot gnu.org --- Comment #4 f

[Bug tree-optimization/48641] [4.7 Regression] ICE: verify_flow_info failed: Wrong frequency of block 77 -419530 with -O -fno-tree-ccp -fno-tree-copy-prop

2011-12-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48641 --- Comment #3 from Jan Hubicka 2011-12-23 19:14:12 UTC --- The frequencies are initially scaled to be in range 0...BB_FREQ_MAX, but subsequent transformations may break the invariant (when two basic blocks are unified). If it turns out to be nec

[Bug other/51662] Temporary objects gets garbage collected in cc1

2011-12-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51662 --- Comment #2 from Andrew Pinski 2011-12-23 19:02:55 UTC --- Can you attach the testcase?

[Bug c++/10200] Weird clash with same names in different scopes

2011-12-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200 Andrew Pinski changed: What|Removed |Added CC||timon.gehr at gmx dot ch --- Comment #19

[Bug c++/51664] comparison incorrectly treated as template instantiation

2011-12-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/51669] New: ICE verify-gimple with openmp

2011-12-23 Thread tprince at computer dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51669 Bug #: 51669 Summary: ICE verify-gimple with openmp Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/51667] [4.7 Regression] new FAIL: 27_io/basic_*stream/* execution test with -m32

2011-12-23 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51667 Uros Bizjak changed: What|Removed |Added CC||ebotcazou at gcc dot |

[Bug debug/51668] New: class DW_AT_name does not match method's linkage name prefix (char)1 vs. '\001'

2011-12-23 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51668 Bug #: 51668 Summary: class DW_AT_name does not match method's linkage name prefix (char)1 vs. '\001' Classification: Unclassified Product: gcc Version: 4.7.0 Status:

[Bug bootstrap/37079] cannot find -lgcc_s

2011-12-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37079 --- Comment #10 from Jonathan Wakely 2011-12-23 17:11:19 UTC --- (In reply to comment #9) > --enable-version-specific-runtime-libs That's broken on x86_64 see bug 32415

[Bug libstdc++/51667] [4.7 Regression] new FAIL: 27_io/basic_*stream/* execution test with -m32

2011-12-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51667 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/51667] New: [4.7 Regression] new FAIL: 27_io/basic_*stream/* execution test with -m32

2011-12-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51667 Bug #: 51667 Summary: [4.7 Regression] new FAIL: 27_io/basic_*stream/* execution test with -m32 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCON

[Bug bootstrap/37079] cannot find -lgcc_s

2011-12-23 Thread kai.extern at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37079 Kai Henningsen changed: What|Removed |Added CC||kai.extern at gmail dot com --- Comment

[Bug libstdc++/49204] [C++0x] remaining issues in

2011-12-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49204 --- Comment #3 from Jonathan Wakely 2011-12-23 16:10:58 UTC --- Author: redi Date: Fri Dec 23 16:10:48 2011 New Revision: 182658 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182658 Log: PR libstdc++/49204 * include/std/future (f

[Bug c++/51664] comparison incorrectly treated as template instantiation

2011-12-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664 --- Comment #5 from Jonathan Wakely 2011-12-23 14:41:17 UTC --- Richard: yes. [temp.names] p3 says -3- After name lookup (3.4) finds that a name is a template-name or that an operator-function-id or a literal-operator-id refers to a set of overl

[Bug c++/51664] comparison incorrectly treated as template instantiation

2011-12-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664 Paolo Carlini changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #4 f

[Bug c++/51666] New: NSDMI parse fails for template'd intializer

2011-12-23 Thread miles at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51666 Bug #: 51666 Summary: NSDMI parse fails for template'd intializer Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/51664] comparison incorrectly treated as template instantiation

2011-12-23 Thread timon.gehr at gmx dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664 --- Comment #3 from Timon Gehr 2011-12-23 14:02:49 UTC --- (In reply to comment #1) > I don't think it's valid, Clang and EDG reject it too DMC accepts it.

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #20 from Markus Trippelsdorf 2011-12-23 13:56:55 UTC --- (In reply to comment #19) > A workaround for ICEs of this form is > > Index: gcc/dwarf2out.c > === > --- gcc/dwa

[Bug c++/51664] comparison incorrectly treated as template instantiation

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664 --- Comment #2 from Richard Guenther 2011-12-23 13:47:04 UTC --- wasn't the template keyword meant to avoid this ambiguity? Thus, if x.foo is a template then you are required to write x.template foo because x is template dependent?

[Bug c++/51665] undefined reference when passing static const int member to template method

2011-12-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51665 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/51664] comparison incorrectly treated as template instantiation

2011-12-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664 --- Comment #1 from Jonathan Wakely 2011-12-23 13:41:04 UTC --- I don't think it's valid, Clang and EDG reject it too

[Bug c++/51665] undefined reference when passing static const int member to template method

2011-12-23 Thread gcc-bugzilla at bluespirit dot la
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51665 --- Comment #1 from Karl Krach 2011-12-23 13:38:22 UTC --- g++ *.cpp --save-temps MyClass.o:MyClass.cpp:function MyClass::doSomething(): error: undefined reference to 'MyClass::M_SOME_CONSTANT' collect2: ld returned 1 exit status

[Bug c++/51665] New: undefined reference when passing static const int member to template method

2011-12-23 Thread gcc-bugzilla at bluespirit dot la
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51665 Bug #: 51665 Summary: undefined reference when passing static const int member to template method Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNC

[Bug c++/51664] New: comparison incorrectly treated as template instantiation

2011-12-23 Thread timon.gehr at gmx dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664 Bug #: 51664 Summary: comparison incorrectly treated as template instantiation Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #19 from Richard Guenther 2011-12-23 11:51:41 UTC --- A workaround for ICEs of this form is Index: gcc/dwarf2out.c === --- gcc/dwarf2out.c (revision 182652) +++ gcc/

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #18 from Richard Guenther 2011-12-23 11:45:53 UTC --- Even for struct T; struct C { typedef ::T T; static T *m () { static T *d __attribute__((used)); return d; } }; int fn () { C::m (); } int ma

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #17 from Richard Guenther 2011-12-23 11:23:56 UTC --- (In reply to comment #16) > We can fix the resolution with > > Index: gcc/lto-symtab.c > === > --- gcc/lto-symtab.c

[Bug lto/51663] New: LTO does not reclaim comdat-local statics

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51663 Bug #: 51663 Summary: LTO does not reclaim comdat-local statics Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #16 from Richard Guenther 2011-12-23 11:13:20 UTC --- We can fix the resolution with Index: gcc/lto-symtab.c === --- gcc/lto-symtab.c(revision 182652) +++ gcc/lto-sy

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 Richard Guenther changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug other/51662] Temporary objects gets garbage collected in cc1

2011-12-23 Thread max at duempel dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51662 --- Comment #1 from Max Kellermann 2011-12-23 10:34:50 UTC --- Created attachment 26171 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26171 Backtrace of garbage collector; #19 is the allocation

[Bug other/51662] New: Temporary objects gets garbage collected in cc1

2011-12-23 Thread max at duempel dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51662 Bug #: 51662 Summary: Temporary objects gets garbage collected in cc1 Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/51660] ICE on function missing argument list

2011-12-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51660 Paolo Carlini changed: What|Removed |Added Priority|P3 |P5 Status|UNCONFIRMED

[Bug c++/51661] ICE when template class list repeated

2011-12-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51661 Paolo Carlini changed: What|Removed |Added Priority|P3 |P5 Status|UNCONFIRMED

[Bug rtl-optimization/50396] SSE division by zero generates incorrect code with optimizations enabled

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50396 Richard Guenther changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #14 from Richard Guenther 2011-12-23 09:17:41 UTC --- Thanks ... :(

[Bug rtl-optimization/50396] SSE division by zero generates incorrect code with optimizations enabled

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50396 --- Comment #7 from Richard Guenther 2011-12-23 09:16:16 UTC --- Author: rguenth Date: Fri Dec 23 09:16:08 2011 New Revision: 182654 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182654 Log: 2011-12-23 Richard Guenther PR rtl-opt

[Bug c/51656] C front end and strtold handle hexadecimal floating differently

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51656 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug rtl-optimization/50396] SSE division by zero generates incorrect code with optimizations enabled

2011-12-23 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50396 --- Comment #6 from Richard Guenther 2011-12-23 09:10:27 UTC --- Author: rguenth Date: Fri Dec 23 09:10:18 2011 New Revision: 182653 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182653 Log: 2011-12-23 Richard Guenther PR rtl-opt

[Bug bootstrap/51648] [4.7 Regression] Profiledbootstrap failure on x86_64-linux

2011-12-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51648 --- Comment #9 from Jakub Jelinek 2011-12-23 08:21:18 UTC --- Created attachment 26169 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26169 gcc.i Somewhat delta reduced gcc.i which still triggers it. Surprisingly even removing an unused fu