[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 jakub at gcc dot gnu.org 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

[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 rguenth at gcc dot gnu.org 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=gccview=revrev=182653 Log: 2011-12-23 Richard

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 rguenth at gcc dot gnu.org 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=gccview=revrev=182654 Log: 2011-12-23 Richard

[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 rguenth at gcc dot gnu.org 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 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Priority|P3 |P5

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Priority|P3 |P5

[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

[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 max at duempel dot org 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 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 rguenth at gcc dot gnu.org changed: What|Removed |Added CC||hubicka at

[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 rguenth at gcc dot gnu.org 2011-12-23 11:13:20 UTC --- 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 #17 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-23 11:23:56 UTC --- (In reply to comment #16) We can fix the resolution with Index: gcc/lto-symtab.c ===

[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 rguenth at gcc dot gnu.org 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

[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 rguenth at gcc dot gnu.org 2011-12-23 11:51:41 UTC --- A workaround for ICEs of this form is Index: gcc/dwarf2out.c === --- gcc/dwarf2out.c

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

[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 gcc-bugzilla at bluespirit dot la 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:

[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 redi at gcc dot gnu.org 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 redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51665 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 rguenth at gcc dot gnu.org 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

[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 markus at trippelsdorf dot de 2011-12-23 13:56:55 UTC --- (In reply to comment #19) A workaround for ICEs of this form is Index: gcc/dwarf2out.c

[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 timon.gehr at gmx dot ch 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 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

[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 paolo.carlini at oracle dot com changed: What|Removed |Added CC||jason at

[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 redi at gcc dot gnu.org 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

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

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 redi at gcc dot gnu.org 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=gccview=revrev=182658 Log: PR libstdc++/49204 *

[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 kai.extern at gmail dot com changed: What|Removed |Added CC||kai.extern at

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

[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 dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |NEW

[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 redi at gcc dot gnu.org 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 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

[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 ubizjak at gmail dot com changed: What|Removed |Added CC||ebotcazou at gcc

[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 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 pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 pinskia at gcc dot gnu.org changed: What|Removed |Added CC||timon.gehr at

[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 pinskia at gcc dot gnu.org 2011-12-23 19:02:55 UTC --- Can you attach the testcase?

[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 hubicka at gcc dot gnu.org 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

[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 hubicka at gcc dot gnu.org changed: What|Removed |Added CC||rakdver at gcc

[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 hubicka at gcc dot gnu.org 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

[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 jason at gcc dot gnu.org 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=gccview=revrev=182668 Log: PR c++/51507 *

[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 redi at gcc dot gnu.org 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

[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 jason at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[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 frederic.praca at free dot fr 2011-12-23 23:02:36 UTC --- In fact, the title is wrong as the problem occurs when declaring derived types, not subtypes.

[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 paolo.carlini at oracle dot com 2011-12-23 23:33:59 UTC --- Nice tip.

[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 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 pashev.igor at gmail dot com 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] [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 pashev.igor at gmail dot com 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 #3 from Igor Pashev pashev.igor at gmail dot com 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 #4 from Igor Pashev pashev.igor at gmail dot com 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 #5 from Igor Pashev pashev.igor at gmail dot com 2011-12-23 23:51:31 UTC --- Sorry, GCC 4.7 is installed in /usr, not in /usr/gcc/4.7

[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 pinskia at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[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 pashev.igor at gmail dot com 2011-12-24 00:27:10 UTC --- Created attachment 26179 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26179 Diff of macros

[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 pinskia at gcc dot gnu.org changed: What|Removed |Added Keywords|

[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 pinskia at gcc dot gnu.org changed: What|Removed |Added Keywords|

[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 pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 pinskia at gcc dot gnu.org changed: What|Removed |Added Keywords|