[Bug bootstrap/58720] New: FreeBSD 4.8 bootstrap fails due to missing stdint.h

2013-10-13 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58720 Bug ID: 58720 Summary: FreeBSD 4.8 bootstrap fails due to missing stdint.h Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug bootstrap/58719] New: libgcc/enable-execute-stack-mprotect.c: bootstrap failure due to missing #include

2013-10-13 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58719 Bug ID: 58719 Summary: libgcc/enable-execute-stack-mprotect.c: bootstrap failure due to missing #include Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severit

[Bug sanitizer/58718] Invalid check in libsanitizer

2013-10-13 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58718 --- Comment #4 from Kostya Serebryany --- I am currently testing a merge which is before Alexey's changes. There is no harm in keeping this bug open.

[Bug c++/58708] string literal operator templates broken

2013-10-13 Thread mustrumr97 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58708 --- Comment #3 from Hristo Venev --- #include template void operator""_foo(){ CharT arr[]{str...}; for(CharT i:arr) std::cout<<(int)i<<' '; } int main(){ U"\x1\x10001\x10002"_foo; } Current output: "0 0 1 0 1 0 1 0 2 0 1 0 0 0 0 " E

[Bug sanitizer/58718] Invalid check in libsanitizer

2013-10-13 Thread y.gribov at samsung dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58718 --- Comment #3 from Yury Gribov --- Got it. I wonder whether we should keep the bug opened until we merge or close it now.

[Bug c++/58713] error: cannot bind ‘std::ostream {aka std::basic_ostream}’ lvalue to ‘std::basic_ostream

2013-10-13 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58713 --- Comment #3 from Daniel Krügler --- (In reply to Jonathan Wakely from comment #1) > I've tried to improve it in the past, but I think there's no easy way to do > it. A possible fix might be to change the Standard ;-) Despite the smiley I serio

[Bug sanitizer/58718] Invalid check in libsanitizer

2013-10-13 Thread samsonov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58718 Alexey Samsonov changed: What|Removed |Added CC||samsonov at google dot com --- Comment

[Bug sanitizer/58718] Invalid check in libsanitizer

2013-10-13 Thread y.gribov at samsung dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58718 --- Comment #1 from Yury Gribov --- Created attachment 30999 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30999&action=edit Proposed patch It seems that this CHECK should be removed to allow disabling malloc tracing. Patch is attached. -Y

[Bug sanitizer/58718] New: Invalid check in libsanitizer

2013-10-13 Thread y.gribov at samsung dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58718 Bug ID: 58718 Summary: Invalid check in libsanitizer Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug c++/58713] error: cannot bind ‘std::ostream {aka std::basic_ostream}’ lvalue to ‘std::basic_ostream

2013-10-13 Thread ali.baharev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58713 --- Comment #2 from Ali Baharev --- >> Why do the 32 and 64 bit versions behave differently? > > They don't. I think maybe you forgot to use -std=c++11 in the first case? Yes, that's what happened. Sorry, my mistake.

[Bug c++/58713] error: cannot bind ‘std::ostream {aka std::basic_ostream}’ lvalue to ‘std::basic_ostream

2013-10-13 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58713 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Jonathan

[Bug c++/58717] Pre-calculation optimization is omitted

2013-10-13 Thread ali.baharev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58717 Ali Baharev changed: What|Removed |Added CC||ali.baharev at gmail dot com --- Comment #2

[Bug c++/58717] Pre-calculation optimization is omitted

2013-10-13 Thread masoud_mxm at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58717 --- Comment #1 from masoud_mxm at yahoo dot com --- Comment on attachment 30997 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30997 Two .cpp source code Tests are made in MinGW/32bit.

[Bug c++/58717] New: Pre-calculation optimization is omitted

2013-10-13 Thread masoud_mxm at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58717 Bug ID: 58717 Summary: Pre-calculation optimization is omitted Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/58708] string literal operator templates broken

2013-10-13 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58708 --- Comment #2 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Hristo, Thanks for finishing your thought. So if i have: template void operator""_foo { ChatT arr[]{str...}; } U"\x1\x10001\x10002"_foo; I should see this righ

[Bug c++/58708] string literal operator templates broken

2013-10-13 Thread mustrumr97 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58708 --- Comment #1 from Hristo Venev --- Obviously bugzilla doesn't like unicode. U"\x1\x10001\x10002" current: expected:

[Bug tree-optimization/58715] Missed loop condition optimization opportunity

2013-10-13 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58715 --- Comment #2 from Andrew Pinski --- Here is a testcase which shows we are not doing some other loop opt due to not changing the loop: typedef __SIZE_TYPE__ size_t; void f(int mlen, unsigned char *dst, size_t d_len, unsigned char *cpy) { unsig

[Bug tree-optimization/58715] Missed loop condition optimization opportunity

2013-10-13 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58715 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from A

[Bug target/58716] New: [PATCH] MSP430X check is inverted

2013-10-13 Thread quandary at remstate dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58716 Bug ID: 58716 Summary: [PATCH] MSP430X check is inverted Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/58715] New: Missed loop condition optimization opportunity

2013-10-13 Thread ryao at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58715 Bug ID: 58715 Summary: Missed loop condition optimization opportunity Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component

[Bug c++/58709] [c++11] Bogus? int vs. scoped enum printf warning when -fabi-version >= 6

2013-10-13 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58709 Paul Pluzhnikov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/58714] Bogus value category in ternary operator?

2013-10-13 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58714 Marc Glisse changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors

2013-10-13 Thread jjcogliati-r1 at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001 Joshua Cogliati changed: What|Removed |Added Attachment #30979|0 |1 is obsolete|

[Bug rtl-optimization/58662] [4.9 Regression] wrong code at -O2 for dumb condition

2013-10-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58662 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/58662] [4.9 Regression] wrong code at -O2 for dumb condition

2013-10-13 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58662 --- Comment #10 from Eric Botcazou --- Author: ebotcazou Date: Sun Oct 13 13:29:28 2013 New Revision: 203498 URL: http://gcc.gnu.org/viewcvs?rev=203498&root=gcc&view=rev Log: PR rtl-optimization/58662 * combine.c (try_combine): Take into

[Bug c++/58714] Bogus value category in ternary operator?

2013-10-13 Thread ali.baharev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58714 --- Comment #2 from Ali Baharev --- OK, sorry for the dupe.

[Bug c++/53000] Conditional operator does not behave as standardized

2013-10-13 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 Paolo Carlini changed: What|Removed |Added CC||ali.baharev at gmail dot com --- Comment

[Bug c++/58714] Bogus value category in ternary operator?

2013-10-13 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58714 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgomp/58691] OpenMP 4: Surprising results with OMP_PLACES=

2013-10-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58691 Tobias Burnus changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/58714] New: Bogus value category in ternary operator?

2013-10-13 Thread ali.baharev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58714 Bug ID: 58714 Summary: Bogus value category in ternary operator? Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/58711] Missing "uninitialized" warning in loop condition (when compiling without optimization)

2013-10-13 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58711 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken

2013-10-13 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 Manuel López-Ibáñez changed: What|Removed |Added CC||mimomorin at gmail dot com --- Comm

[Bug c++/58713] New: error: cannot bind ‘std::ostream {aka std::basic_ostream}’ lvalue to ‘std::basic_ostream

2013-10-13 Thread ali.baharev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58713 Bug ID: 58713 Summary: error: cannot bind ‘std::ostream {aka std::basic_ostream}’ lvalue to ‘std::basic_ostream&&’ Product: gcc Version: 4.8.1 Status:

[Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind

2013-10-13 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712 Bug ID: 58712 Summary: [4.9 Regression] issues found by --enable-checking=valgrind Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Pri

[Bug libstdc++/58338] Add noexcept to functions with a narrow contract

2013-10-13 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58338 --- Comment #13 from Paolo Carlini --- In any case I see that the issue with explicit instantiation is recorded in 2193. Let's see what happens in EWG.

[Bug c++/58709] [c++11] Bogus? int vs. scoped enum printf warning when -fabi-version >= 6

2013-10-13 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58709 --- Comment #3 from Andreas Schwab --- The warning is target independent and only depends on the type. You get the same warning for int vs long even if they are the same size.

[Bug tree-optimization/58686] vect_get_loop_niters() fails for some loops

2013-10-13 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58686 --- Comment #3 from rguenther at suse dot de --- congh at google dot com wrote: >http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58686 > >--- Comment #2 from Cong Hou --- >I think this issue is more like a missed optimization. > >If the iteration n

[Bug libgcc/58710] HAVE_GETIPINFO is incorrectly set on Mac OS X 10.4

2013-10-13 Thread misty at brew dot sh
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58710 --- Comment #1 from Misty De Meo --- It looks like the check was added in a4a5a77adfc9c28d6963e5ae054c997d57cfc7fa (http://repo.or.cz/w/official-gcc.git/commitdiff/a4a5a77adfc9c28d6963e5ae054c997d57cfc7fa), which didn't touch the existing behaviou

[Bug libstdc++/58338] Add noexcept to functions with a narrow contract

2013-10-13 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58338 --- Comment #12 from Marc Glisse --- (In reply to bredelin from comment #10) > http://cplusplus.github.io/LWG/lwg-active.html#2193 I suggest you open a separate bugzilla PR for this. Before my patch we were already inconsistent about it.