[Bug c++/59204] New: Incorrect metaprogram evaluation in SFINAE context

2013-11-20 Thread webrown.cpp at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59204 Bug ID: 59204 Summary: Incorrect metaprogram evaluation in SFINAE context Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/59203] New: config/cris/cris.c:2491: possible typo ?

2013-11-20 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59203 Bug ID: 59203 Summary: config/cris/cris.c:2491: possible typo ? Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/59205] New: config/iq2000/iq2000.c:2188: possible cut'n'paste error ?

2013-11-20 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59205 Bug ID: 59205 Summary: config/iq2000/iq2000.c:2188: possible cut'n'paste error ? Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Prior

[Bug bootstrap/59206] New: [4.9 regression] many bootstrap comparison failures on armv5tel-linux-gnueabi

2013-11-20 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59206 Bug ID: 59206 Summary: [4.9 regression] many bootstrap comparison failures on armv5tel-linux-gnueabi Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: no

[Bug target/59207] New: config/sparc/sparc.c:10663: possible uninit local variable ?

2013-11-20 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59207 Bug ID: 59207 Summary: config/sparc/sparc.c:10663: possible uninit local variable ? Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/59006] [4.9 Regression] internal compiler error: in vect_transform_stmt, at tree-vect-stmts.c:5963

2013-11-20 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59006 --- Comment #6 from rguenther at suse dot de --- On Wed, 20 Nov 2013, congh at google dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59006 > > Cong Hou changed: > >What|Removed |Added > ---

[Bug c++/59135] Incorrect ambiguity in constexpr function overloads

2013-11-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59135 --- Comment #1 from Daniel Krügler --- The problem seems to exist in gcc 4.7.3 and within the recent 4.9.0 trunk. The following variant of the code removes unnecessary library dependencies and constexpr (which is not needed to reproduce the proble

[Bug c++/59208] New: ice in initialize_flags_in_bb

2013-11-20 Thread dcb314 at hotmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Created attachment 31256 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31256&action=edit gzipped C++ source code The source code from bug # 45875, when compiled with today's trunk of 20131120, says

[Bug c++/59144] weird behavior when dealing with too complicated templates and class hierarchy

2013-11-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59144 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug c++/59208] [4.9 Regression] ice in initialize_flags_in_bb

2013-11-20 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59208 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/59165] gcc looks up begin(), end() for for-range loops for ints in namespace std

2013-11-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59165 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug c++/59204] Incorrect metaprogram evaluation in SFINAE context

2013-11-20 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59204 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug tree-optimization/59209] New: builtin memcpy in inlined function is not optimized away if count is derived from src pointer difference

2013-11-20 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59209 Bug ID: 59209 Summary: builtin memcpy in inlined function is not optimized away if count is derived from src pointer difference Product: gcc Version: 4.9.0 Status: UNCONFI

[Bug target/59035] [4.9 Regression] FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59035 --- Comment #4 from Richard Biener --- Author: rguenth Date: Wed Nov 20 10:31:24 2013 New Revision: 205096 URL: http://gcc.gnu.org/viewcvs?rev=205096&root=gcc&view=rev Log: 2013-11-20 Richard Biener PR lto/59035 * lto-opts.c (lto_writ

[Bug target/59035] [4.9 Regression] FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test

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

[Bug tree-optimization/59209] builtin memcpy in inlined function is not optimized away if count is derived from src pointer difference

2013-11-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59209 --- Comment #1 from Marc Glisse --- In test_copy2, we get: _2 = x_1(D) + 1; src_end.1_8 = (long int) _2; src_start.2_9 = (long int) x_1(D); _10 = src_end.1_8 - src_start.2_9; _11 = (long unsigned int) _10; This reminds me of PR 58742:

[Bug tree-optimization/59209] builtin memcpy in inlined function is not optimized away if count is derived from src pointer difference

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

[Bug middle-end/58742] pointer arithmetic simplification

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58742 Richard Biener changed: What|Removed |Added CC||olegendo at gcc dot gnu.org --- Comment

[Bug c++/59208] [4.9 Regression] ice in initialize_flags_in_bb

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59208 Richard Biener changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug bootstrap/59206] [4.9 regression] many bootstrap comparison failures on armv5tel-linux-gnueabi

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59206 Richard Biener changed: What|Removed |Added Target||armv5tel-linux-gnueabi Target Mileston

[Bug ipa/59201] [4.9 Regression] error: stmt (0x7f01c4708130) marked modified after optimization pass

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59201 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug bootstrap/59199] [4.9 Regression] r205032 caused LTO bootstrap to fail with bootstrap-profile

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59199 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.9.0 --- Comment #1 from Richard Biener

[Bug c/59197] An alias from an always_inline function causes inconsistent behavior

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

[Bug target/59142] [4.8/4.9 Regression] internal compiler error while compiling OpenCV 2.4.7

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

[Bug c++/59208] [4.9 Regression] ice in initialize_flags_in_bb

2013-11-20 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59208 Markus Trippelsdorf changed: What|Removed |Added CC||octoploid at yandex dot com --- Com

[Bug target/59142] [4.8/4.9 Regression] internal compiler error while compiling OpenCV 2.4.7

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59142 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/58742] pointer arithmetic simplification

2013-11-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58742 --- Comment #14 from Marc Glisse --- So we don't forget it, PR 59209 asks to simplify: (ptr+size)-ptr to size not just: ptr1+(ptr2-ptr1) to ptr2

[Bug bootstrap/59206] [4.9 regression] many bootstrap comparison failures on armv5tel-linux-gnueabi

2013-11-20 Thread rearnsha at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59206 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/59142] [4.8/4.9 Regression] internal compiler error while compiling OpenCV 2.4.7

2013-11-20 Thread charles.baylis at linaro dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59142 --- Comment #7 from Charles Baylis --- Comparing reduced.cpp.153r.cse1 in r172837 and the previous commit. --- reduced.cpp.153r.cse1 from gcc trunk r172835 [works] (insn 18 17 19 2 (parallel [ (set (mem/s:SI (reg/f:SI 138) [5 MEM[(st

[Bug tree-optimization/59058] [4.7/4.8/4.9 Regression] wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59058 --- Comment #4 from Richard Biener --- I think the issue is (set_nb_iterations_in_loop = ~(unsigned short) pretmp_22)) t.c:12:6: note: ==> get_loop_niters:-(unsigned short) pretmp_22 that is, number_of_exit_cond_executions which returns number_

[Bug target/57756] Function target attribute is retaining state of previously seen function

2013-11-20 Thread kyukhin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57756 --- Comment #10 from Kirill Yukhin --- Author: kyukhin Date: Wed Nov 20 11:59:05 2013 New Revision: 205104 URL: http://gcc.gnu.org/viewcvs?rev=205104&root=gcc&view=rev Log: PR target/57756 * config/i386/i386.c (ix86_option_override_internal): Add

[Bug tree-optimization/58028] [4.9 Regression] Several failures in libgomp.graphite after revision 200946

2013-11-20 Thread graham at opengamma dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58028 Graham Markall changed: What|Removed |Added CC||graham at opengamma dot com --- Comment

[Bug tree-optimization/59058] [4.7/4.8/4.9 Regression] wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59058 --- Comment #5 from Richard Biener --- Unfortunately @@ -2930,11 +2931,31 @@ number_of_exit_cond_executions (struct l if (chrec_contains_undetermined (ret)) return ret; - ret = chrec_fold_plus (type, ret, build_int_cst (type, 1)); - if

[Bug c++/59210] New: decltype incorrectly accepted as non-first element of nested-name-specifier

2013-11-20 Thread jhs at edg dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59210 Bug ID: 59210 Summary: decltype incorrectly accepted as non-first element of nested-name-specifier Product: gcc Version: unknown Status: UNCONFIRMED Severity: no

[Bug tree-optimization/59058] [4.7/4.8/4.9 Regression] wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59058 --- Comment #6 from Richard Biener --- I improve this with also using max_stmt_executions I at least get no vect.exp fail but the testcase in this PR is not vectorized when using a size_t b.

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-20 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-20 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #6 from chrbr at gcc dot gnu.org --- Created attachment 31257 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31257&action=edit test case cc1 -O2 consolemap.c -quiet drivers/char/consolemap.c:654:647: error: 'asm' operand requires

[Bug bootstrap/59206] [4.9 regression] many bootstrap comparison failures on armv5tel-linux-gnueabi

2013-11-20 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59206 --- Comment #2 from Mikael Pettersson --- (In reply to Richard Earnshaw from comment #1) > Can you try it again at SVN revision r205061. Retrying at that rev ...

[Bug tree-optimization/59058] [4.7/4.8/4.9 Regression] wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59058 --- Comment #7 from Richard Biener --- Still FAILs to vectorize gcc.dg/vect/pr18425.c with -m32. But we have here => get_loop_niters:(unsigned long) (__n_7(D) + 4294967295) + 1 that could have been simplified. __n is unsigned int. So I can sp

[Bug c++/59210] decltype incorrectly accepted as non-first element of nested-name-specifier

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

[Bug c++/59211] New: init_priority doesn't work with constant expressions

2013-11-20 Thread nyh at math dot technion.ac.il
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59211 Bug ID: 59211 Summary: init_priority doesn't work with constant expressions Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-20 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #7 from Oleg Endo --- (In reply to chrbr from comment #5) > Linux kernel build fails since 4.8 > > cc1 -O2 consolemap.c > > drivers/char/consolemap.c:654:647: error: 'asm' operand requires impossible > reload > > seems to be due to

[Bug middle-end/59212] New: [4.9 Regression] FAIL: g++.dg/plugin/selfassign.c compilation

2013-11-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59212 Bug ID: 59212 Summary: [4.9 Regression] FAIL: g++.dg/plugin/selfassign.c compilation Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/59213] New: Implicit move constructor created when base class has no move constructor

2013-11-20 Thread bmerry at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59213 Bug ID: 59213 Summary: Implicit move constructor created when base class has no move constructor Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal

[Bug c++/59211] init_priority doesn't work with constant expressions

2013-11-20 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59211 --- Comment #1 from Marc Glisse --- Similar to PR 53017 (does the same +0 workaround work?). The main difference with constructor seems to be a call to default_conversion.

[Bug c++/59173] Alias template in partial specialization finds name from primary template

2013-11-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59173 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Wed Nov 20 13:39:33 2013 New Revision: 205114 URL: http://gcc.gnu.org/viewcvs?rev=205114&root=gcc&view=rev Log: PR c++/59173 * include/ext/pointer.h (pointer_traits<>::rebind<>):

[Bug c++/59173] Alias template in partial specialization finds name from primary template

2013-11-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59173 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNCO

[Bug libgomp/59194] tsan detects race for real variables in an OMP reduction clause

2013-11-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59194 --- Comment #3 from Joost VandeVondele --- actually it seems more general an issue, the following: SUBROUTINE S1(m) REAL :: m !$OMP ATOMIC m=m+1.0 END REAL :: m m=0.0 !$OMP PARALLEL CALL S1(m) !$OMP END PARALLEL END flags race for the

[Bug c/54954] malloc optimizations not disabled by -fno-builtin

2013-11-20 Thread swalter at lexmark dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54954 --- Comment #7 from swalter at lexmark dot com --- (In reply to Andrew Pinski from comment #6) > The header file malloc.h (which is non-standard by the way) has the > attribute malloc on the malloc function call. > > So this is invalid. Sorry, c

[Bug c++/59213] Implicit move constructor created when base class has no move constructor

2013-11-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59213 --- Comment #1 from Jonathan Wakely --- I think G++ is implementing the resolution of http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1402

[Bug middle-end/59212] [4.9 Regression] FAIL: g++.dg/plugin/selfassign.c compilation

2013-11-20 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59212 --- Comment #1 from Diego Novillo --- Author: dnovillo Date: Wed Nov 20 13:48:40 2013 New Revision: 205115 URL: http://gcc.gnu.org/viewcvs?rev=205115&root=gcc&view=rev Log: PR 59212 * g++.dg/plugin/selfassign.c: Include stringpool.h Modi

[Bug c++/59213] Implicit move constructor created when base class has no move constructor

2013-11-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59213 --- Comment #2 from Jonathan Wakely --- (In reply to Bruce Merry from comment #0) > assuming I've correctly interpreted the C++11 spec [the draft - N3242]. That's a pretty old draft now, you'd be better looking at a current draft (N3797) not one

[Bug middle-end/59212] [4.9 Regression] FAIL: g++.dg/plugin/selfassign.c compilation

2013-11-20 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59212 Diego Novillo changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/59058] [4.7/4.8/4.9 Regression] wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)

2013-11-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59058 --- Comment #8 from Richard Biener --- Created attachment 31259 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31259&action=edit candidate patch Candidate patch. But I think it's better to remove this functions users.

[Bug libgomp/59194] tsan detects race for real variables in an OMP reduction clause

2013-11-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59194 --- Comment #4 from Jakub Jelinek --- Because CPUs obviously don't have floating point atomic instructions, what the compiler does is just load it as an integer, view convert to floating point, perform arithmetics, view convert result back to inte

[Bug rtl-optimization/54300] [4.7, 4.8, 4.9 Regression] regcprop incorrectly looks through parallel register swap operation

2013-11-20 Thread rearnsha at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54300 --- Comment #13 from Richard Earnshaw --- Author: rearnsha Date: Wed Nov 20 13:55:04 2013 New Revision: 205117 URL: http://gcc.gnu.org/viewcvs?rev=205117&root=gcc&view=rev Log: PR rtl-optimization/54300 gcc/ PR rtl-optimization/54300 *

[Bug c++/59213] Implicit move constructor created when base class has no move constructor

2013-11-20 Thread bmerry at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59213 Bruce Merry changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug plugins/59214] New: [4.9 Regression] Many plugin test failures

2013-11-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59214 Bug ID: 59214 Summary: [4.9 Regression] Many plugin test failures Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins

[Bug plugins/59214] [4.9 Regression] Many plugin test failures

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

[Bug middle-end/59212] [4.9 Regression] FAIL: g++.dg/plugin/selfassign.c compilation

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

[Bug middle-end/21718] real.c rounding not perfect

2013-11-20 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 --- Comment #21 from Joseph S. Myers --- Author: jsm28 Date: Wed Nov 20 14:34:49 2013 New Revision: 205119 URL: http://gcc.gnu.org/viewcvs?rev=205119&root=gcc&view=rev Log: PR middle-end/21718 * real.c: Remove comment about decimal string

[Bug c/16989] [meta-bug] C99 conformance bugs

2013-11-20 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16989 Bug 16989 depends on bug 21718, which changed state. Bug 21718 Summary: real.c rounding not perfect http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 What|Removed |Added -

[Bug middle-end/21718] real.c rounding not perfect

2013-11-20 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/21718] real.c rounding not perfect

2013-11-20 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 --- Comment #23 from Joseph S. Myers --- *** Bug 55145 has been marked as a duplicate of this bug. ***

[Bug middle-end/55145] Different bits for long double constant depending on long int size

2013-11-20 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/59198] [4.7/4.8/4.9 Regression] ICE on cyclically dependent polymorphic types

2013-11-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59198 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/55145] Different bits for long double constant depending on long int size

2013-11-20 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145 Bug 55145 depends on bug 21718, which changed state. Bug 21718 Summary: real.c rounding not perfect http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 What|Removed |Added -

[Bug c++/59208] [4.9 Regression] ice in initialize_flags_in_bb

2013-11-20 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59208 David Edelsohn changed: What|Removed |Added CC||dje at gcc dot gnu.org --- Comment #3 fr

[Bug middle-end/21718] real.c rounding not perfect

2013-11-20 Thread exploringbinary at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 --- Comment #24 from Rick Regan --- I don't understand -- won't "mpfr_init2 (m, SIGNIFICAND_BITS);" have the same problem? Don't we need to change the computation of SIGNIFICAND_BITS in real.h?

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-20 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #8 from Oleg Endo --- Created attachment 31260 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31260&action=edit reduced test case (In reply to chrbr from comment #6) > Created attachment 31257 [details] > test case > > cc1 -O2 c

[Bug fortran/59198] [4.7/4.8/4.9 Regression] ICE on cyclically dependent polymorphic types

2013-11-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59198 --- Comment #2 from janus at gcc dot gnu.org --- (In reply to janus from comment #1) > However, I can not reproduce the ICE with > 4.6.4: Neither with the original test case in comment 0, nor with the reduced version in comment 1!

[Bug c++/59211] init_priority doesn't work with constant expressions

2013-11-20 Thread nyh at math dot technion.ac.il
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59211 --- Comment #2 from Nadav Har'El --- Amazing, this workaround indeed works :-) Thanks! With the constexpr prio, indeed using prio+0 solved the problem. For the enum class, prio::second, I can't use addition (because it isn't implemented in this

[Bug target/59153] ICE: in memory_address_length, at config/i386/i386.c:24617 with -O -flive-range-shrinkage -mdispatch-scheduler -march=bdver1

2013-11-20 Thread uros at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59153 --- Comment #4 from uros at gcc dot gnu.org --- Author: uros Date: Wed Nov 20 16:01:46 2013 New Revision: 205122 URL: http://gcc.gnu.org/viewcvs?rev=205122&root=gcc&view=rev Log: Backport from mainline 2013-11-18 Uros Bizjak * conf

[Bug target/59153] ICE: in memory_address_length, at config/i386/i386.c:24617 with -O -flive-range-shrinkage -mdispatch-scheduler -march=bdver1

2013-11-20 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59153 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/21718] real.c rounding not perfect

2013-11-20 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 --- Comment #25 from Joseph S. Myers --- Rounding to zero and setting a sticky bit based on inexactness works as long as the internal precision has at least two more bits than the final precision for which correctly rounded results are required.

[Bug sanitizer/59215] New: tsan: warning in shared_ptr_base.h

2013-11-20 Thread oleg at smolsky dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 Bug ID: 59215 Summary: tsan: warning in shared_ptr_base.h Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug target/59207] [4.8/4.9 regression] uninitialized local variable in sparc_fold_builtin

2013-11-20 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59207 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h

2013-11-20 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 --- Comment #1 from Kostya Serebryany --- This reminds me http://llvm.org/bugs/show_bug.cgi?id=17066 Do you have this problem with clang's tsan?

[Bug target/59216] [ARM] negdi*extendsidi regression

2013-11-20 Thread christophe.lyon at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59216 --- Comment #1 from christophe.lyon at st dot com --- Created attachment 31261 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31261&action=edit negsidi_test.c testcase.

[Bug target/59216] New: [ARM] negdi*extendsidi regression

2013-11-20 Thread christophe.lyon at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59216 Bug ID: 59216 Summary: [ARM] negdi*extendsidi regression Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/59207] [4.8/4.9 regression] uninitialized local variable in sparc_fold_builtin

2013-11-20 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59207 Eric Botcazou changed: What|Removed |Added CC|ebotcazou at gcc dot gnu.org | Assignee|unassigned at

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h

2013-11-20 Thread oleg at smolsky dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 --- Comment #2 from Oleg Smolsky --- Unfortunately, I cannot repro with Clang (we use gcc48 with sysroot, and I failed to get Clang to latch onto that STL. It only discovers the system's STL) I can try to come up with a minimal test case... Yet

[Bug target/59207] [4.8/4.9 regression] uninitialized local variable in sparc_fold_builtin

2013-11-20 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59207 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Wed Nov 20 17:02:36 2013 New Revision: 205127 URL: http://gcc.gnu.org/viewcvs?rev=205127&root=gcc&view=rev Log: PR target/59207 * config/sparc/sparc.c (sparc_fold_builtin) :

[Bug target/59207] [4.8/4.9 regression] uninitialized local variable in sparc_fold_builtin

2013-11-20 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59207 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Wed Nov 20 17:03:15 2013 New Revision: 205128 URL: http://gcc.gnu.org/viewcvs?rev=205128&root=gcc&view=rev Log: PR target/59207 * config/sparc/sparc.c (sparc_fold_builtin) :

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h

2013-11-20 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 --- Comment #3 from Kostya Serebryany --- > I can try to come up with a minimal test case... Yet, I cannot imagine > that the following would ever work with TSan: > typedef int _Atomic_word; It does not matter how _Atomic_word is de

[Bug target/59216] [ARM] negdi*extendsidi regression

2013-11-20 Thread christophe.lyon at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59216 --- Comment #2 from christophe.lyon at st dot com --- Basically, the working code does: asrsr3, r2, #31 negsr2, r2 sbc.w r3, r3, r3, lsl #1 while the failing one does: negsr2, r2 asrsr3, r2, #31

[Bug target/59207] [4.8/4.9 regression] uninitialized local variable in sparc_fold_builtin

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

[Bug target/59216] [[4.9 Regression] ARM] negdi*extendsidi regression

2013-11-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59216 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug libgomp/59194] tsan detects race for real variables in an OMP reduction clause

2013-11-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59194 --- Comment #5 from Joost VandeVondele --- (In reply to Jakub Jelinek from comment #4) > I bet tsan complains because the load is > not atomic, but does it really matter? I think there are (at least) two possible answers to this. 1) No, it do

[Bug libgomp/59194] tsan detects race for real variables in an OMP reduction clause

2013-11-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59194 --- Comment #6 from Joost VandeVondele --- (In reply to Jakub Jelinek from comment #4) > I bet tsan complains because the load is > not atomic, but does it really matter? If we read garbage there, compare > and swap will fail and next time we'll

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h

2013-11-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 --- Comment #4 from Jonathan Wakely --- (In reply to Oleg Smolsky from comment #0) > in ...gcc/include/c++/4.8.x-google/x86_64-unknown-linux/bits/atomic_word.h > >typedef int _Atomic_word; > > Should this be std::atomic ? No. (In repl

[Bug bootstrap/59217] New: GCC fails to cross-build: conflicting declarations of 'basename', 'sbrk', etc.

2013-11-20 Thread ludo at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59217 Bug ID: 59217 Summary: GCC fails to cross-build: conflicting declarations of 'basename', 'sbrk', etc. Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: n

[Bug libgomp/59194] tsan detects race for real variables in an OMP reduction clause

2013-11-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59194 --- Comment #7 from Jakub Jelinek --- And the problem with that is? Because the arithmetics is based on the value we've read, it shouldn't be a problem. That said, during stage3 I'll look at how costly would be to use there __atomic_load_n with

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h

2013-11-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 --- Comment #6 from Jonathan Wakely --- I realise that, but the general point is still valid: for race detectors to understand the atomic updates in the library they library needs to be compiled with the race detector enabled. We can update the d

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h

2013-11-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #6) > tsan as well, but the point is till ... s/till/still/

[Bug c/54954] malloc optimizations not disabled by -fno-builtin

2013-11-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54954 --- Comment #8 from Andrew Pinski --- (In reply to swalter from comment #7) > (In reply to Andrew Pinski from comment #6) > > The header file malloc.h (which is non-standard by the way) has the > > attribute malloc on the malloc function call. >

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h

2013-11-20 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 --- Comment #8 from Kostya Serebryany --- (In reply to Jonathan Wakely from comment #6) > I realise that, but the general point is still valid: for race detectors to > understand the atomic updates in the library they library needs to be > compile

[Bug libgomp/59194] tsan detects race for real variables in an OMP reduction clause

2013-11-20 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59194 --- Comment #8 from Joost VandeVondele --- (In reply to Jakub Jelinek from comment #7) > And the problem with that is? Because the arithmetics is based on the value > we've read, it shouldn't be a problem. Ah...right. > That said, during stag

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h

2013-11-20 Thread oleg at smolsky dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 --- Comment #9 from Oleg Smolsky --- So, let me see if I understand. The case in question is _M_add_ref_lock() : template<> inline void _Sp_counted_base<_S_atomic>:: _M_add_ref_lock() { // Perform lock-free add-if-not-zero

[Bug sanitizer/59215] tsan: warning in shared_ptr_base.h

2013-11-20 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59215 --- Comment #5 from Kostya Serebryany --- > > But only if you re-compile stdlibc++ with tsan, > > It's libstdc++ not stdlibc++, I don't know why everyone gets that wrong :-) Sorry (I usually get it right) :) > > Anyway, this is already docum

  1   2   >