[Bug c++/60041] Strange behavior

2014-02-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60041 Paolo Carlini changed: What|Removed |Added Severity|critical|normal

[Bug ipa/59831] [4.9 Regression] ice in cgraph_speculative_call_info with -O3

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59831 --- Comment #5 from Jan Hubicka --- Author: hubicka Date: Mon Feb 3 20:41:30 2014 New Revision: 207439 URL: http://gcc.gnu.org/viewcvs?rev=207439&root=gcc&view=rev Log: PR ipa/59831 * g++.dg/ipa/devirt-24.C: New testcase. * ipa-cp.

[Bug bootstrap/53902] make install fails on SunOS 5.11

2014-02-03 Thread karel.gardas at centrum dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53902 --- Comment #6 from Karel Gardas --- Hello, just attempted to build GCC 4.8.2 on Solaris 11.0, bootstraping GCC is: $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/lto-wrapper Targ

[Bug sanitizer/60038] AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10

2014-02-03 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60038 --- Comment #13 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #9) > Created attachment 32021 [details] > gcc49-pr60038.patch > > This seems to work for me on glibc 2.17, Uros, can you please try it on your > CentOS 5? The patch wa

[Bug c++/60041] Strange behavior

2014-02-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60041 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug gcov-profile/58602] .gcno files not truncated at gcov_close

2014-02-03 Thread law at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58602 --- Comment #9 from Jeffrey A. Law --- Author: law Date: Mon Feb 3 21:55:36 2014 New Revision: 207441 URL: http://gcc.gnu.org/viewcvs?rev=207441&root=gcc&view=rev Log: PR gcov-profile/58602 * gcc/gcov-io.c (gcov_open): Open with trun

[Bug gcov-profile/58602] .gcno files not truncated at gcov_close

2014-02-03 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58602 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ipa/59882] [4.9 Regression] internal compiler error: Segmentation fault

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59882 --- Comment #4 from Jan Hubicka --- Hmm, get_binfo_at_offset bug again, this time it is confused by base with 0 offset. I am looking into it.

[Bug testsuite/60048] New: scan-assembler results depend on '--with-arch='

2014-02-03 Thread winfried.mag...@t-online.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60048 Bug ID: 60048 Summary: scan-assembler results depend on '--with-arch=' Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: te

[Bug c++/60041] Strange behavior

2014-02-03 Thread qroc.work at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60041 --- Comment #3 from qRoC --- cout

[Bug target/54305] [4.8/4.9 regression] FAIL: gcc.target/m68k/pr36134.c scan-assembler lea

2014-02-03 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54305 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/59924] [4.9 Regression] uninit memory hog

2014-02-03 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59924 --- Comment #5 from Richard Henderson --- Author: rth Date: Mon Feb 3 23:13:08 2014 New Revision: 207442 URL: http://gcc.gnu.org/viewcvs?rev=207442&root=gcc&view=rev Log: PR tree-opt/59924 * tree-ssa-uninit.c (push_to_worklist): Don't r

[Bug tree-optimization/59924] [4.9 Regression] uninit memory hog

2014-02-03 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59924 Richard Henderson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/59924] [4.9 Regression] uninit memory hog

2014-02-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59924 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Tue Feb 4 00:46:42 2014 New Revision: 207446 URL: http://gcc.gnu.org/viewcvs?rev=207446&root=gcc&view=rev Log: PR tree-optimization/59924 * gcc.dg/pr59924.c: New test. Added:

[Bug c++/60033] ICE in retrieve_specialization while compiling recursive generic lambda

2014-02-03 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 Adam Butcher changed: What|Removed |Added CC||abutcher at gcc dot gnu.org --- Comment #3

[Bug ipa/59469] [4.8/4.9 Regression] LLVM build failure with gcc LTO

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #39 from Jan Hubicka --- Ha, good catch. Forced_by_abi is a flag that needs to be merged. You do not want to set force_output as your patch does, just forced_by_abi. I will test the patch.

[Bug c++/60033] ICE in retrieve_specialization while compiling recursive generic lambda

2014-02-03 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 Adam Butcher changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #4 fr

[Bug ipa/59948] Optimize std::function

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59948 --- Comment #3 from Jan Hubicka --- The code in fold-const for nonzero check is really broken. I have somewerhe WIP symtab patch for doing this, but it is not completely trivial to hook it into fold-const when symtab is not built yet - just as in

[Bug c++/60033] ICE in retrieve_specialization while compiling recursive generic lambda

2014-02-03 Thread abutcher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033 --- Comment #5 from Adam Butcher --- Turns out that the above breaks the generic lambda variadic testcase: auto vglambda = [](auto printer) { return [=](auto&& ... ts) { // OK: ts is a function parameter pack printer(std::forward(ts).

[Bug ipa/59948] Optimize std::function

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59948 --- Comment #4 from Jan Hubicka --- About the inlining issue, am not really sure how to handle this without iterating optimizers and inliner like llvm does (Maxim had patch for this). I wonder if we can't just declare the operator () always_inlin

[Bug sanitizer/60038] AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10

2014-02-03 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60038 --- Comment #14 from Kostya Serebryany --- Landed upstream: http://llvm.org/viewvc/llvm-project?view=revision&revision=200733 Note that the patch is slightly different from Jakub's: it uses memory_order_relaxed. My understanding is that now is no

[Bug c++/60049] New: Right and left shift undefined behavior not an error in a constexpr

2014-02-03 Thread yaghmour.shafik at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60049 Bug ID: 60049 Summary: Right and left shift undefined behavior not an error in a constexpr Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal

[Bug ipa/59469] [4.8/4.9 Regression] LLVM build failure with gcc LTO

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #40 from Jan Hubicka --- Author: hubicka Date: Tue Feb 4 05:50:18 2014 New Revision: 207449 URL: http://gcc.gnu.org/viewcvs?rev=207449&root=gcc&view=rev Log: PR ipa/59469 * lto-symtab.c (lto_cgraph_replace_node, lto_varpool_

[Bug ipa/59831] [4.9 Regression] ice in cgraph_speculative_call_info with -O3

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59831 --- Comment #6 from Jan Hubicka --- Hopefully fixed now.

[Bug ipa/59831] [4.9 Regression] ice in cgraph_speculative_call_info with -O3

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59831 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/60050] New: Build failure on MinGW64

2014-02-03 Thread p.fedin at samsung dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60050 Bug ID: 60050 Summary: Build failure on MinGW64 Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: bootstrap Assign

[Bug ipa/59918] [4.9 Regression] ICE in record_target_from_binfo, at ipa-devirt.c:693

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59918 Jan Hubicka changed: What|Removed |Added Depends on||59947 --- Comment #5 from Jan Hubicka ---

[Bug ipa/59882] [4.9 Regression] internal compiler error: Segmentation fault

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59882 --- Comment #5 from Jan Hubicka --- Author: hubicka Date: Tue Feb 4 06:28:22 2014 New Revision: 207451 URL: http://gcc.gnu.org/viewcvs?rev=207451&root=gcc&view=rev Log: PR ipa/59882 * tree.c (get_binfo_at_offset): Do not get confused by

[Bug ipa/59882] [4.9 Regression] internal compiler error: Segmentation fault

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59882 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/58678] [4.9 Regression] pykde4-4.11.2 link error (devirtualization too trigger happy)

2014-02-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678 Jan Hubicka changed: What|Removed |Added Component|ipa |c++ --- Comment #14 from Jan Hubicka --- J

[Bug rtl-optimization/60043] -fschedule-insns2 breaks anti-dependency

2014-02-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60043 Andrey Belevantsev changed: What|Removed |Added CC||abel at gcc dot gnu.org --- Comment

[Bug libstdc++/57350] std::align missing

2014-02-03 Thread potswa at mac dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57350 --- Comment #9 from David Krauss --- Whoa, there's a nasty bug there, if alignment > space. inline void *align( std::size_t alignment, std::size_t size, void *&ptr, std::size_t &space ) { std::uintptr_t pn = reinterpret_ca

[Bug c++/60051] New: [4.9 Regression] [c++11] ICE with auto and array initialization

2014-02-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60051 Bug ID: 60051 Summary: [4.9 Regression] [c++11] ICE with auto and array initialization Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/60051] [4.9 Regression] [c++11] ICE with auto and array initialization

2014-02-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60051 Volker Reichelt changed: What|Removed |Added Keywords||ice-on-invalid-code Known to work|

[Bug c++/60052] New: [c++1y] ICE with auto as member function parameter

2014-02-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60052 Bug ID: 60052 Summary: [c++1y] ICE with auto as member function parameter Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/60043] -fschedule-insns2 breaks anti-dependency

2014-02-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60043 --- Comment #2 from Andrey Belevantsev --- And indeed, if we change the test case to int foo (long long *a, short *b, int n) { int k = *b + 1000; *a = (long long) (n * 100); return k; } then we get the desired anti-dependency because alia

[Bug c++/60053] New: [c++1y] ICE with auto as member template function parameter

2014-02-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60053 Bug ID: 60053 Summary: [c++1y] ICE with auto as member template function parameter Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/60054] New: [c++1y] ICE with auto* cast

2014-02-03 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60054 Bug ID: 60054 Summary: [c++1y] ICE with auto* cast Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee

[Bug sanitizer/60038] AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10

2014-02-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60038 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Tue Feb 4 07:37:44 2014 New Revision: 207452 URL: http://gcc.gnu.org/viewcvs?rev=207452&root=gcc&view=rev Log: PR sanitizer/60038 * sanitizer_common/sanitizer_linux_libcdep.cc: I

[Bug sanitizer/60038] AddressSanitizer CHECK failed ... "((*tls_addr + *tls_size)) <= ((*stk_addr + *stk_size))" on CentOS 5.10

2014-02-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60038 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ipa/59469] [4.8/4.9 Regression] LLVM build failure with gcc LTO

2014-02-03 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #41 from Markus Trippelsdorf --- That doesn't fix this bug, because the symbol still gets optimized away with -O3: markus@x4 tmp % g++ -flto -fPIC -shared -fno-rtti -O3 BasicBlock.ii Function.ii markus@x4 tmp % nm a.out | c++filt| gre

[Bug ipa/59469] [4.8/4.9 Regression] LLVM build failure with gcc LTO

2014-02-03 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #42 from Markus Trippelsdorf --- Ah, I see what's wrong. The following patch fixes the issue: diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c index 6b2d488ed090..bc192d0467b3 100644 --- a/gcc/lto/lto-partition.c +++ b/g

<    1   2