[Bug fortran/59060] Accepts invalid ? Missing component data value for component "D1" of TYPE("T2")

2013-11-08 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59060 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug fortran/59060] New: Accepts invalid ? Missing component data value for component "D1" of TYPE("T2")

2013-11-08 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59060 Bug ID: 59060 Summary: Accepts invalid ? Missing component data value for component "D1" of TYPE("T2") Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity:

[Bug middle-end/59059] New: [4.9 Regression] internal compiler error: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:6931

2013-11-08 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59059 Bug ID: 59059 Summary: [4.9 Regression] internal compiler error: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:6931 Product: gcc Ve

[Bug tree-optimization/58640] [4.9 Regression] wrong code (segfaults) at -O3 on x86_64-linux-gnu

2013-11-08 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58640 --- Comment #12 from Jeffrey A. Law --- Oleg, I just worked through an independent problem that I saw locally that probably explains your SH issue as well. I expect to have a fix in the trunk shortly. I'll let you know so you can test it.

[Bug tree-optimization/59058] New: wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)

2013-11-08 Thread su at cs dot ucdavis.edu
/local/gcc-trunk --with-mpfr=/usr/local/gcc-trunk --with-mpc=/usr/local/gcc-trunk --with-cloog=/usr/local/gcc-trunk --prefix=/usr/local/gcc-trunk Thread model: posix gcc version 4.9.0 20131108 (experimental) [trunk revision 204593] (GCC) $ $ gcc-trunk -O2 small.c; a.out -1 $ gcc-trunk -O3 small.c

[Bug bootstrap/59057] New: bootstrap comparison failure with -frecord-gcc-switches

2013-11-08 Thread dirtyepic at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59057 Bug ID: 59057 Summary: bootstrap comparison failure with -frecord-gcc-switches Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priorit

[Bug tree-optimization/56717] Enhance Dot-product pattern recognition to avoid mult widening.

2013-11-08 Thread congh at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56717 --- Comment #2 from Cong Hou --- I examined the GCC generated code, and found the main problem is that the load of 'scale' (rhs operand of >>) to an xmm register is in the loop body, which could be moved outside. This happened during rtl-reload p

[Bug rtl-optimization/59019] [4.9 regression] ICE in advance_target_bb, at sched-rgn.c:3561

2013-11-08 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59019 Steven Bosscher changed: What|Removed |Added CC||steven at gcc dot gnu.org --- Comment #

[Bug fortran/58998] [4.8/4.9 Regression] Generic interface problem with gfortran

2013-11-08 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58998 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org --- Co

[Bug c++/59056] enable_if turns a non-ambiguous template into an ambiguous one

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59056 --- Comment #1 from Paolo Carlini --- Needs an analysis, but I doubt this is a bug, all the up to date compilers I have handy (eg, clang, icc) reject it the same way.

[Bug c++/59056] New: enable_if turns a non-ambiguous template into an ambiguous one

2013-11-08 Thread walter.mascarenhas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59056 Bug ID: 59056 Summary: enable_if turns a non-ambiguous template into an ambiguous one Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug other/59055] gcc.texinfo warnings

2013-11-08 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59055 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Nov 8 22:16:59 2013 New Revision: 204604 URL: http://gcc.gnu.org/viewcvs?rev=204604&root=gcc&view=rev Log: Move Cilk Plus Builtins node before Other Builtins node PR other

[Bug other/59053] cilkplus branch compiler loops

2013-11-08 Thread john.forrest at fastercoin dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59053 --- Comment #2 from John Forrest --- Thanks for your very fast response. Glad it was easy to reproduce. John Forrest

[Bug libstdc++/58982] [4.9 Regression] std::vector> vai(10); does not compile anymore

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #8 from Paolo Carlini --- Thanks!

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-08 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #23 from H.J. Lu --- Created attachment 31186 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31186&action=edit A patch to document __builtin_setjmp/__builtin_longjmp Does it look OK?

[Bug libstdc++/58982] [4.9 Regression] std::vector> vai(10); does not compile anymore

2013-11-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #7 from Jonathan Wakely --- Yes, it's not too hard to fix properly, so I'm working on that.

[Bug objc/59055] New: gcc.texinfo warnings

2013-11-08 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59055 Bug ID: 59055 Summary: gcc.texinfo warnings Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc Assignee: unas

[Bug libstdc++/58982] [4.9 Regression] std::vector> vai(10); does not compile anymore

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #6 from Paolo Carlini --- At some point we replaced a weak (not using front-end intrinsics) version of is_pod with __is_trivial, in algos & uninitialized. At that time was safe, ins't anymore in 4.9. In principle we could minimally go

[Bug libstdc++/58982] [4.9 Regression] std::vector> vai(10); does not compile anymore

2013-11-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #5 from Jonathan Wakely --- And this, which is more obviously wrong: std::atomic a[1]; std::atomic b[1]; std::copy(a,a+1, b);

[Bug libstdc++/58982] [4.9 Regression] std::vector> vai(10); does not compile anymore

2013-11-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #4 from Jonathan Wakely --- (In reply to Paolo Carlini from comment #2) > I think at least something like this for this specific bug, but the whole > file needs auditing: Not only that file, but stl_algobase.h too, we compile this wit

[Bug target/59054] Powerpc -O0 -mcpu=power7 generates sub-optimal code to load 0

2013-11-08 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59054 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/59054] Powerpc -O0 -mcpu=power7 generates sub-optimal code to load 0

2013-11-08 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59054 --- Comment #1 from Michael Meissner --- Created attachment 31185 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31185&action=edit Sample file to show the problem.

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-08 Thread bviyer at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #22 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Fri Nov 8 19:52:27 2013 New Revision: 204592 URL: http://gcc.gnu.org/viewcvs?rev=204592&root=gcc&view=rev Log: +2013-11-08 Balaji V. Iyer + + PR c/59039 + * ru

[Bug target/59054] New: Powerpc -O0 -mcpu=power7 generates sub-optimal code to load 0

2013-11-08 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59054 Bug ID: 59054 Summary: Powerpc -O0 -mcpu=power7 generates sub-optimal code to load 0 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal P

[Bug target/57680] [META-BUG][target]deregister_frame_fn is set to invalid address in cygming-crtbegin.c:__gcc_deregister_frame due to unknown reason.

2013-11-08 Thread jojelino at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57680 --- Comment #4 from gee --- I think gcc backend for x86 that doesn't support weak attribute needed to supress weak attribute on variables as long as gas/16011 is not fixed.

[Bug tree-optimization/56717] Enhance Dot-product pattern recognition to avoid mult widening.

2013-11-08 Thread congh at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56717 Cong Hou changed: What|Removed |Added CC||congh at google dot com --- Comment #1 from Co

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #11 from Marc Glisse --- memcmp is pure and gcc manages to pull it out of the loop (see the file created by -fdump-tree-optimized). It is funny that -fno-builtin-strcmp makes the code more than 2 times faster (the main difference I can

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-08 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #21 from Andreas Schwab --- It's only an error if they use the same jmpbuf.

[Bug c++/58963] Does C++ need flag_complex_method = 2?

2013-11-08 Thread congh at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58963 --- Comment #1 from Cong Hou --- Any comment on this topic? thanks, Cong

[Bug tree-optimization/58508] [Missed-Optimization] Redundant vector load of "actual" loop invariant in loop body.

2013-11-08 Thread congh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58508 --- Comment #8 from congh at gcc dot gnu.org --- Author: congh Date: Fri Nov 8 18:44:46 2013 New Revision: 204590 URL: http://gcc.gnu.org/viewcvs?rev=204590&root=gcc&view=rev Log: 2013-11-08 Cong Hou PR tree-optimization/58508 * gcc.d

[Bug other/59053] cilkplus branch compiler loops

2013-11-08 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59053 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-08 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #20 from Eric Botcazou --- > Would it be OK to submit it a patch to document > __builtin_longjmp/__builtin_setjmp based on their > sources? I think that we would need to issue an error if both are in the same function.

[Bug other/59053] New: cilkplus branch compiler loops

2013-11-08 Thread john.forrest at fastercoin dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59053 Bug ID: 59053 Summary: cilkplus branch compiler loops Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Ass

[Bug c++/59044] [4.8/4.9 Regression] Internal compiler error triggers when accessing a typedef in a specialized member class

2013-11-08 Thread decaluwe.t at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59044 --- Comment #6 from Tom De Caluwé --- I reported a related bug with valid code which does not trigger this ICE (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59052). Also LLVM bug 16519 (http://llvm.org/bugs/show_bug.cgi?id=16519) might be rela

[Bug c++/59052] New: Partial specialization of template with dependent non-type template argument not correctly resolved

2013-11-08 Thread decaluwe.t at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59052 Bug ID: 59052 Summary: Partial specialization of template with dependent non-type template argument not correctly resolved Product: gcc Version: 4.8.1 Status: UNCONFIRMED

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-08 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 --- Comment #3 from Jorn Wolfgang Rennecke --- Making emit_store_flag return 0 in the case of const-const comparison gives simpler rtl generation: (insn 14 13 15 (set (reg:QI 175) (const_int 1 [0x1])) .../strlen-2.c:29 -1 (nil)) (in

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-08 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #19 from H.J. Lu --- (In reply to Eric Botcazou from comment #18) > > I couldn't find anything in GCC manual. > > There are a few documented hooks, but this looks quite light indeed, so the > sources are probably the best references,

[Bug sanitizer/58994] asan.exp regressions on x86_64 darwin at -m64 but not -m32 at r204372

2013-11-08 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58994 --- Comment #5 from Jack Howarth --- (In reply to Jack Howarth from comment #4) This was a test of recent clang's -fsanitize=address on x86_64-apple-darwin12.

[Bug sanitizer/58994] asan.exp regressions on x86_64 darwin at -m64 but not -m32 at r204372

2013-11-08 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58994 --- Comment #4 from Jack Howarth --- Current llvm trunk is broken at the moment on darwin, but using a build from Oct 29th, I have no issues with the failing test case under clang... % /sw/opt/llvm-3.4/bin/clang -O1 -fsanitize=address -fno-builti

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-08 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 Jorn Wolfgang Rennecke changed: What|Removed |Added CC||pinskia at gcc dot gnu.org,

[Bug c++/59044] [4.8/4.9 Regression] Internal compiler error triggers when accessing a typedef in a specialized member class

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59044 --- Comment #5 from Paolo Carlini --- Frankly, I'm not sure either, current clang rejects it the same way, for example. In any case, in Bugzilla we have got at least 2/3 on valid Bugs triggering that gcc_assert, hopefully will be fixed all togethe

[Bug c++/59044] [4.8/4.9 Regression] Internal compiler error triggers when accessing a typedef in a specialized member class

2013-11-08 Thread decaluwe.t at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59044 --- Comment #4 from Tom De Caluwé --- However the following code seems to be valid but results in the same ICE: /* bug.cpp --- */ namespace N { template class C { private: template struct Implem

[Bug c++/59044] [4.8/4.9 Regression] Internal compiler error triggers when accessing a typedef in a specialized member class

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59044 --- Comment #3 from Paolo Carlini --- Yes. It's all about prioritizing, an ICE on invalid isn't the same as an ICE on valid, even if it's a regression.

[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-08 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 --- Comment #1 from Jorn Wolfgang Rennecke --- Frame 12 shows that at the tree level, one of the comparison operands is an initialized variable. (gdb) frame 12 #12 0x083bd9fa in expand_expr_real_1 (exp=, target=0x0, tmode=VOIDmode, modifier=

[Bug c++/59044] [4.8/4.9 Regression] Internal compiler error triggers when accessing a typedef in a specialized member class

2013-11-08 Thread decaluwe.t at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59044 --- Comment #2 from Tom De Caluwé --- As far as I can verify partial specializations are only allowed at namespace scope so you're right. However gcc never used to complain about such constructs. In any case, an internal compiler error is never d

[Bug tree-optimization/46507] std::get and devirtualization on non-automatic variables

2013-11-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46507 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment #6

[Bug target/58423] [ARM]ICE with shrink-wrap-sibcall.c on a15/neon/hard

2013-11-08 Thread clyon at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58423 --- Comment #4 from clyon at gcc dot gnu.org --- Author: clyon Date: Fri Nov 8 14:22:10 2013 New Revision: 204570 URL: http://gcc.gnu.org/viewcvs?rev=204570&root=gcc&view=rev Log: gcc/ 2013-11-05 Zhenqiang Chen Backport from trunk r203267,

[Bug tree-optimization/59050] [4.9 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:7083

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59050 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread luca.stoppa at bbh dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #10 from Luca Stoppa --- Hi, honestly I don't know what PIC means, but I did like you suggested. I have added a wrapper to memcmp() that is not inlined. __attribute__((noinline)) int memcmp_not_inlined (const char *s1, const char *s2,

[Bug target/57680] [META-BUG][target]deregister_frame_fn is set to invalid address in cygming-crtbegin.c:__gcc_deregister_frame due to unknown reason.

2013-11-08 Thread jpflori at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57680 Jean-Pierre Flori changed: What|Removed |Added CC||jpflori at gmail dot com --- Comment

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread luca.stoppa at bbh dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #9 from Luca Stoppa --- Created attachment 31182 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31182&action=edit not inlined memcmp used.

[Bug tree-optimization/59050] [4.9 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:7083

2013-11-08 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59050 octoploid at yandex dot com changed: What|Removed |Added CC||congh at google dot com ---

[Bug debug/59051] New: DW_tag_restrict_type not used

2013-11-08 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59051 Bug ID: 59051 Summary: DW_tag_restrict_type not used Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assi

[Bug tree-optimization/59050] New: [4.9 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:7083

2013-11-08 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59050 Bug ID: 59050 Summary: [4.9 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:7083 Product: gcc Version: 4.9.0

[Bug middle-end/59049] New: Two VOIDmode constant in comparison passed to cstoresi4

2013-11-08 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 Bug ID: 59049 Summary: Two VOIDmode constant in comparison passed to cstoresi4 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug c/57258] unused variable warning is emitted for volatile variables

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57258 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/58653] [4.7/4.8 Regression] wrong code (segfaults) at -O3 on x86_64-linux-gnu in 64-bit mode (affecting gcc 4.6 to trunk)

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58653 Bug 58653 depends on bug 59047, which changed state. Bug 59047 Summary: [4.9 Regression] wrong code for bitfields at -O3 on x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59047 What|Removed |Added

[Bug tree-optimization/59047] [4.9 Regression] wrong code for bitfields at -O3 on x86_64-linux-gnu

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59047 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/59047] [4.9 Regression] wrong code for bitfields at -O3 on x86_64-linux-gnu

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59047 --- Comment #3 from Richard Biener --- Author: rguenth Date: Fri Nov 8 12:49:10 2013 New Revision: 204566 URL: http://gcc.gnu.org/viewcvs?rev=204566&root=gcc&view=rev Log: 2013-11-08 Richard Biener PR tree-optimization/59047 * tree-p

[Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c

2013-11-08 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58934 --- Comment #11 from Martin Jambor --- I have re-submitted my patch in which this bug is fixed, you can find it at http://gcc.gnu.org/ml/gcc-patches/2013-11/msg00598.html I have verified the patch bootstraps on i686-linux (reported by Jakub in th

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #8 from Paolo Carlini --- Right, it's also PIC.

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #7 from Jonathan Wakely --- The only major difference I see is that in the operator== case you make a call to a PIC function in libstdc++.so, whereas strcmp can be inlined. There's no temporary created though.

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #6 from Paolo Carlini --- An important detail is that the compare functions aren't inline, and are exported for basic_string. Thus, for a fair comparison, the strcmp should be in an attribute noinline helper (to be 100% correct, should

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread luca.stoppa at bbh dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #5 from Luca Stoppa --- Thanks a lot, so if memcmp() is called, how can the difference in performance be explained? In short: std::string s="something"; if (s == "something") { ... } and if (0 == strcmp(s.c_str(),"something")) { ..

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #4 from Paolo Carlini --- Indeed, I had a look to f and the correct operator== and compare are called, no temporaries. By the way, type_traits uses memcmp not strcmp.

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread luca.stoppa at bbh dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #3 from Luca Stoppa --- Created attachment 31181 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31181&action=edit testcase g++ -O3 mapping.cpp time ./a.out 1000 f time ./a.out 1000 g time ./a.out 1000 h time ./a.out

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 --- Comment #2 from Jonathan Wakely --- (In reply to Luca Stoppa from comment #0) > Template functions > bool operator==( const char*, const std::string& ) and > bool operator==( const std::string&, const char* ) > creates unecessary temporary std

[Bug libstdc++/59048] std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug rtl-optimization/59019] [4.9 regression] ICE in advance_target_bb, at sched-rgn.c:3561

2013-11-08 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59019 --- Comment #6 from Eric Botcazou --- > Always considering trap-if as ending a BB appears to be a bit of a rathole. > Every time I squash one issue, another raises its head. A little unexpected I'd say, what kind of issues does that introduce?

[Bug c++/59048] New: std::string operator== between std::string and const char* creates unecessary temporary object

2013-11-08 Thread luca.stoppa at bbh dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 Bug ID: 59048 Summary: std::string operator== between std::string and const char* creates unecessary temporary object Product: gcc Version: 4.4.7 Status: UNCONFIRMED

[Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44641 Paolo Carlini changed: What|Removed |Added Status|REOPENED|RESOLVED CC|gcc-bugs at g

[Bug c/57258] unused variable warning is emitted for volatile variables

2013-11-08 Thread mrs at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57258 mrs at gcc dot gnu.org changed: What|Removed |Added CC||mrs at gcc dot gnu.org --- Comme

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-08 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #18 from Eric Botcazou --- > I couldn't find anything in GCC manual. There are a few documented hooks, but this looks quite light indeed, so the sources are probably the best references, i.e. builtins.c and except.c: /* __builtin_lon

[Bug tree-optimization/59045] wrong code at -O3 on x86_64-linux-gnu

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59045 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/59043] [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59043 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug tree-optimization/59038] [4.9 Regression] r204398 causes 186.crafty init.c to be miscompiled

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59038 Richard Biener changed: What|Removed |Added CC||su at cs dot ucdavis.edu --- Comment #4

[Bug middle-end/48110] __attribute__ ((optimize(...))) version of -Ofast

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48110 --- Comment #2 from Richard Biener --- Indeed, not sure why we even support "3" or "s", but "fast" would certainly alias with -fast ;)

[Bug tree-optimization/59047] [4.9 Regression] wrong code for bitfields at -O3 on x86_64-linux-gnu

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59047 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/59046] [4.8.x REGRESSION] corei7: L1 + L2 cache size not correct

2013-11-08 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59046 --- Comment #2 from H.J. Lu --- (In reply to Marc Burkhardt from comment #0) > According to a comment in #57657 this should have been fixed in May 15th, The comment says it was INTRODUCED on May 15.

[Bug target/59046] [4.8.x REGRESSION] corei7: L1 + L2 cache size not correct

2013-11-08 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59046 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-08 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #17 from H.J. Lu --- (In reply to Richard Biener from comment #16) > > I couldn't find anything in GCC manual. > > See tm.texi / md.texi. This is the only thing I found: -- Macro: DONT_USE_BUILTIN_SETJMP Define this macro to 1

[Bug tree-optimization/59047] [4.9 Regression] wrong code for bitfields at -O3 on x86_64-linux-gnu

2013-11-08 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59047 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug c++/59044] [4.8/4.9 Regression] Internal compiler error triggers when accessing a typedef in a specialized member class

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59044 Paolo Carlini changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug tree-optimization/59047] New: wrong code for bitfields at -O3 on x86_64-linux-gnu

2013-11-08 Thread su at cs dot ucdavis.edu
-gmp=/usr/local/gcc-trunk --with-mpfr=/usr/local/gcc-trunk --with-mpc=/usr/local/gcc-trunk --with-cloog=/usr/local/gcc-trunk --prefix=/usr/local/gcc-trunk Thread model: posix gcc version 4.9.0 20131108 (experimental) [trunk revision 204560] (GCC) $ $ gcc-trunk -O2 small.c; a.out 1 $ gcc-4.8.2 -O3

[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #16 from Richard Biener --- (In reply to H.J. Lu from comment #15) > (In reply to Eric Botcazou from comment #14) > > > This is good to hear. What is each field? I assume that > > > the first 3 fields are frame address, resume addres

[Bug tree-optimization/59038] [4.9 Regression] r204398 causes 186.crafty init.c to be miscompiled

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59038 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/58955] [4.9 Regression] wrong code at -O3 on x86_64-linux-gnu

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58955 --- Comment #6 from Richard Biener --- Author: rguenth Date: Fri Nov 8 08:44:02 2013 New Revision: 204561 URL: http://gcc.gnu.org/viewcvs?rev=204561&root=gcc&view=rev Log: 2013-11-08 Richard Biener PR tree-optimization/59038 PR tree-

[Bug tree-optimization/59038] [4.9 Regression] r204398 causes 186.crafty init.c to be miscompiled

2013-11-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59038 --- Comment #2 from Richard Biener --- Author: rguenth Date: Fri Nov 8 08:44:02 2013 New Revision: 204561 URL: http://gcc.gnu.org/viewcvs?rev=204561&root=gcc&view=rev Log: 2013-11-08 Richard Biener PR tree-optimization/59038 PR tree-

[Bug target/59046] New: [4.8.x REGRESSION] corei7: L1 + L2 cache size not correct

2013-11-08 Thread gnu.org at marc dot ngoe.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59046 Bug ID: 59046 Summary: [4.8.x REGRESSION] corei7: L1 + L2 cache size not correct Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Prior