[Bug target/64215] -Os misses an opportunity to merge two ret instructions

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64215 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug bootstrap/63888] [5 Regression] bootstrap failed when configured with -with-build-config=bootstrap-asan --disable-werror

2014-12-08 Thread y.gribov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63888 --- Comment #13 from Yury Gribov --- (In reply to Kostya Serebryany from comment #12) > But for this example in C the globals will not get instrumented, unless > -fno-common is given. BTW I think everyone already pairs this with -fsanitize=addr

[Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3

2014-12-08 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218 Bug ID: 64218 Summary: ICE during compilation with -fno-rtti -O3 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug ipa/64218] ICE during compilation with -fno-rtti -O3

2014-12-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug ipa/64218] ICE during compilation with -fno-rtti -O3

2014-12-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218 --- Comment #2 from Markus Trippelsdorf --- I meant PR61558.

[Bug c++/64216] Function template can access private sub class without being friend

2014-12-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64216 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libgcj/64219] New: Rename libgcj-5.0.pc to libgcj-5.pc

2014-12-08 Thread gcc at ryandesign dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64219 Bug ID: 64219 Summary: Rename libgcj-5.0.pc to libgcj-5.pc Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcj

[Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite

2014-12-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/14541] [tree-ssa] built-in math functions are not fully optimized at tree level

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14541 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug c++/64216] Function template can access private sub class without being friend

2014-12-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64216 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/41437] No access control for classes in template functions

2014-12-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437 Jonathan Wakely changed: What|Removed |Added CC||yyc1992 at gmail dot com --- Comment #

[Bug tree-optimization/14541] [tree-ssa] built-in math functions are not fully optimized at tree level

2014-12-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14541 --- Comment #20 from rguenther at suse dot de --- On Mon, 8 Dec 2014, ktkachov at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14541 > > ktkachov at gcc dot gnu.org changed: > >What|Removed

[Bug tree-optimization/14541] [tree-ssa] built-in math functions are not fully optimized at tree level

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14541 --- Comment #21 from ktkachov at gcc dot gnu.org --- Created attachment 34215 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34215&action=edit Link errors output for aarch64 > Which one exactly? That is, what is the failing link output? A

[Bug preprocessor/64220] New: gcc preprocessor defines outside of the reserved namespace: unix linux AVR

2014-12-08 Thread cameron at tacklind dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220 Bug ID: 64220 Summary: gcc preprocessor defines outside of the reserved namespace: unix linux AVR Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: norm

[Bug bootstrap/64197] [5 regression] SPARC bootstrap broken: SEGV in tree_estimate_loop_size

2014-12-08 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64197 Rainer Orth changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ipa/64192] [5 Regression] r218369 causes some regressions with -m32.

2014-12-08 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64192 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #8 from

[Bug sanitizer/61591] Undefined behavior sanitizer does not catch builtin_unreachable's from impossible devirtualization

2014-12-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61591 --- Comment #6 from Marek Polacek --- It appears that devirt changes _4 = &this_1(D)->D.2680; OBJ_TYPE_REF(_3;(struct top)_4->0) (_4); into _4 = &this_1(D)->D.2680; __builtin_unreachable (_4); but __builtin_unreachable shouldn't have any argumen

[Bug sanitizer/61591] Undefined behavior sanitizer does not catch builtin_unreachable's from impossible devirtualization

2014-12-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61591 --- Comment #7 from Marek Polacek --- And if it is: diff --git a/gcc/sanopt.c b/gcc/sanopt.c index ce9fbcf..77b88f7 100644 --- a/gcc/sanopt.c +++ b/gcc/sanopt.c @@ -646,20 +646,21 @@ pass_sanopt::execute (function *fun) break;

[Bug sanitizer/61591] Undefined behavior sanitizer does not catch builtin_unreachable's from impossible devirtualization

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61591 --- Comment #8 from Jakub Jelinek --- I think it is a gimple-fold/ipa-devirt etc. bug. __builtin_unreachable doesn't have any arguments, so pretending it has is broken and also a missed optimization, in the IL we think those arguments are used wh

[Bug testsuite/64221] New: contrib/compare_tests confused by c-c++-common/ubsan/shift-5.c

2014-12-08 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64221 Bug ID: 64221 Summary: contrib/compare_tests confused by c-c++-common/ubsan/shift-5.c Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal P

[Bug sanitizer/61591] Undefined behavior sanitizer does not catch builtin_unreachable's from impossible devirtualization

2014-12-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61591 Martin Jambor changed: What|Removed |Added Assignee|mpolacek at gcc dot gnu.org|jamborm at gcc dot gnu.org --- C

[Bug c++/64222] New: [5 Regression] error: ‘__FUNCTION__’ was not declared in this scope

2014-12-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64222 Bug ID: 64222 Summary: [5 Regression] error: ‘__FUNCTION__’ was not declared in this scope Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug pending/64223] New: same warning repeated twice with same line number

2014-12-08 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64223 Bug ID: 64223 Summary: same warning repeated twice with same line number Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/63594] [5 Regression] ICE: in ix86_vector_duplicate_value, at config/i386/i386.c:39831 with -mavx512f

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63594 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug driver/64094] "No such file or directory" -> "No such file"

2014-12-08 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64094 --- Comment #5 from Jon Grant --- Hi Manu I like your open_strerror() propopsal. Is this how Bintuils has done it? Note: I realise this problem stems from ENOENT being used by both opendir() and open(). I think you only need to provide two wra

[Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug driver/64094] "No such file or directory" -> "No such file"

2014-12-08 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64094 --- Comment #6 from Jon Grant --- Two more tests where I try to pass directories to GCC. (1) $ mkdir testdir $ gcc -Wall -Werror -o main testdir testdir: file not recognized: Is a directory collect2: error: ld returned 1 exit status (2) $ mkd

[Bug driver/64094] "No such file or directory" -> "No such file"

2014-12-08 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64094 --- Comment #7 from Andreas Schwab --- In order to be precise trying to open doesnotexist/foo.c should report "no such directory".

[Bug fortran/56203] gfortran.dg/minlocval_3.f90 times out on Solaris/SPARC

2014-12-08 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56203 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Joost VandeVondele ethz.ch> --- > (In reply to r...@cebitec.uni-bielefeld.de from comment #4) >> This has become more pronounced with increased gfortran testing >>

[Bug c++/64222] [5 Regression] error: ‘__FUNCTION__’ was not declared in this scope

2014-12-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64222 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/64223] same warning repeated twice with same line number

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64223 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/64222] [5 Regression] error: ‘__FUNCTION__’ was not declared in this scope

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64222 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Priority|P3

[Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libgcj/64219] [5 Regression] Rename libgcj-5.0.pc to libgcj-5.pc

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64219 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug ipa/64218] [5 Regression] ICE: Segmentation fault (symtab_node::get_alias_target()) running Boost testsuite

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug target/64215] -Os misses an opportunity to merge two ret instructions

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64215 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug pending/64214] no warning for unused global

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64214 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/64213] gimple-match.c:1523:6: error: ‘GIMPLE’ was not declared in this scope

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64213 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug ipa/64190] [4.9 Regression] FAIL: gcc.dg/ipa/pr63551.c (test for excess errors)

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64190 Richard Biener changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug fortran/62007] default(none) conflicts with iteration variable in openmp parallel loop simd

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62007 --- Comment #8 from Jakub Jelinek --- I think the message is correct, or at least the case is highly unclear, the OpenMP 4.0 standard has various unclear corner cases. The thing is, the loop iterator is predetermined linear, and the linear clause

[Bug target/64212] [5 Regression] ICE [in noninterposable_alias, at symtab.c:1706]

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Target Mil

[Bug target/64210] [5 Regression] FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c ... with -fpic

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64210 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.0 Summary|FAIL:

[Bug target/64208] [4.9 Regression][iwmmxt] ICE: internal compiler error: Max. number of generated reload insns per insn is achieved (90)

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64208 Richard Biener changed: What|Removed |Added Keywords||ra Target|

[Bug target/64205] [5 Regression] powerpc64-linux --with-cpu=G5 bootstrap failure

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64205 Richard Biener changed: What|Removed |Added Keywords||build Target|

[Bug target/64204] [5 Regression] gcc.dg/c11-atomic-2.c fails on powerpc 64-bit little endian after -mupper-regs patches went in

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64204 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.0 Summary|gcc.dg/c11-atomi

[Bug target/64200] ICE: in decide_alg, at config/i386/i386.c:24510 with -mmemcpy-strategy=libcall:-1:align -minline-stringops-dynamically

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64200 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/64199] [4.8/4.9/5 Regression] ICE: tree check: expected class 'constant', have 'binary' (plus_expr) in fold_binary_loc, at fold-const.c:10404 with -ffast-math -frounding-math

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64199 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/64193] [4.8/4.9/5 Regression] Decreased performance after r173250

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64193 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug target/64208] [4.9 Regression][iwmmxt] ICE: internal compiler error: Max. number of generated reload insns per insn is achieved (90)

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64208 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64191] [4.9/5 Regression] -march=native messes up dead code elimination in loop calling dtor

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug c++/64191] [4.9/5 Regression] -march=native messes up dead code elimination in loop calling dtor

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/64191] [4.9/5 Regression] -march=native messes up dead code elimination in loop calling dtor

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 --- Comment #3 from Richard Biener --- It also seems that DCE cannot remove the empty loop with the clobber, because it's marked useful and thus its SSA requirements are marked useful (we explicitely exclude the VDEF but _not_ the SSA uses on the

[Bug c++/64191] [4.9/5 Regression] -march=native messes up dead code elimination in loop calling dtor

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 --- Comment #4 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > I thought we've added handling of gimple_clobber_p in 4.9 - > vect_determine_vectorization_factor / vect_analyze_loop_operations / > vect_transform_loop should i

[Bug c++/64191] [4.9/5 Regression] -march=native messes up dead code elimination in loop calling dtor

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 --- Comment #5 from Jakub Jelinek --- Yes, I'm afraid it is a bad idea, you'll get rid of too many clobbers and they are really desirable, both for DSE, expansion etc.

[Bug c++/64191] [4.9/5 Regression] -march=native messes up dead code elimination in loop calling dtor

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 --- Comment #6 from Richard Biener --- (In reply to Richard Biener from comment #3) > It also seems that DCE cannot remove the empty loop with the clobber, because > it's marked useful and thus its SSA requirements are marked useful (we > explici

[Bug c++/64191] [4.9/5 Regression] -march=native messes up dead code elimination in loop calling dtor

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 --- Comment #7 from Jakub Jelinek --- The tree-vect-stmts.c change is fine of course. As for loops not being DCEd if they have only clobbers in them that preclude that, isn't that optimized away by RTL optimizers anyway? Or perhaps we could do

[Bug c++/64191] [4.9/5 Regression] -march=native messes up dead code elimination in loop calling dtor

2014-12-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 --- Comment #8 from rguenther at suse dot de --- On Mon, 8 Dec 2014, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 > > --- Comment #7 from Jakub Jelinek --- > The tree-vect-stmts.c change is fine of cours

[Bug c/64223] same warning repeated twice with same line number

2014-12-08 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64223 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug c++/64191] [4.9/5 Regression] -march=native messes up dead code elimination in loop calling dtor

2014-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64191 --- Comment #9 from Richard Biener --- (In reply to Richard Biener from comment #6) > (In reply to Richard Biener from comment #3) > > It also seems that DCE cannot remove the empty loop with the clobber, > > because > > it's marked useful and t

[Bug target/64224] New: [ARM] -mapcs -marm uses deprecated forms (as of ARMv7-A) of LDM in epilogues

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64224 Bug ID: 64224 Summary: [ARM] -mapcs -marm uses deprecated forms (as of ARMv7-A) of LDM in epilogues Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: norm

[Bug target/64224] [ARM] -mapcs -marm uses deprecated forms (as of ARMv7-A) of LDM in epilogues

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64224 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed

[Bug middle-end/64225] New: -funsafe-math-optimizations generates call to pow where multiply instruction would do

2014-12-08 Thread bernie.ogden at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225 Bug ID: 64225 Summary: -funsafe-math-optimizations generates call to pow where multiply instruction would do Product: gcc Version: 4.9.2 Status: UNCONFIRMED Sev

[Bug middle-end/64225] -funsafe-math-optimizations generates call to pow where multiply instruction would do

2014-12-08 Thread bernie.ogden at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225 --- Comment #1 from Bernard Ogden --- Created attachment 34218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34218&action=edit -v output

[Bug middle-end/64225] -funsafe-math-optimizations generates call to pow where multiply instruction would do

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug middle-end/64225] -funsafe-math-optimizations generates call to pow where multiply instruction would do

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/64225] -funsafe-math-optimizations generates call to pow where multiply instruction would do

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225 --- Comment #4 from ktkachov at gcc dot gnu.org --- Add -fno-math-errno removes the call to pow. We've seen similar issues before with other math builtins. The problem is that the midend/frontend generates the pow call without remembering that by

[Bug middle-end/64225] -funsafe-math-optimizations generates call to pow where multiply instruction would do

2014-12-08 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225 --- Comment #5 from jgreenhalgh at gcc dot gnu.org --- I've seen similar behavior on an HPC benchmark I was looking at. The problem here is the interaction between fold-const.c, other passes, and -fmath-errno. Take this testcase: void foo (doub

[Bug middle-end/64225] -funsafe-math-optimizations generates call to pow where multiply instruction would do

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225 --- Comment #6 from ktkachov at gcc dot gnu.org --- fold-const.c has a comment in the relevant case that says: /* Canonicalize x*x as pow(x,2.0), which is expanded as x*x. */ So we should look at why is it not being expanded as such unless -fno

[Bug libstdc++/42734] trivial use of std::thread fails with "pure virtual method called"

2014-12-08 Thread damien.buhl at lecbna dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734 --- Comment #47 from Damien Buhl (daminetreg) --- So our GCC with the problem has been configured and built by yocto-poky the following way :  ``` Using built-in specs. COLLECT_GCC=arm-poky-linux-gnueabi-gcc-4.8.1 COLLECT_LTO_WRAPPER=/h

[Bug middle-end/64225] -funsafe-math-optimizations generates call to pow where multiply instruction would do

2014-12-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225 --- Comment #7 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #6) > fold-const.c has a comment in the relevant case that says: > /* Canonicalize x*x as pow(x,2.0), which is expanded as x*x. */ I think this comment is mi

[Bug target/64226] New: Secondary reload incorrect TOC address

2014-12-08 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64226 Bug ID: 64226 Summary: Secondary reload incorrect TOC address Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/64226] [5.0 Regression] Secondary reload incorrect TOC address

2014-12-08 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64226 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug jit/64206] fake.so is unlinked too early for some users

2014-12-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64206 --- Comment #2 from David Malcolm --- Created attachment 34219 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34219&action=edit Work-in-progress patch to fix this The attached patch implements the ideas we talked about (needs some comments

[Bug target/64226] [5.0 Regression] Secondary reload incorrect TOC address

2014-12-08 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64226 --- Comment #2 from David Edelsohn --- Uli mentioned in private email: "I think the piece of code quoted above from rs6000_secondary_reload_inner is wrong; it should not call create_TOC_reference unconditionally. "Other places that use TOC-rela

[Bug c/59491] compiler can't detect if xpression is always fixed value

2014-12-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59491 --- Comment #2 from David Binderman --- (In reply to Marek Polacek from comment #1) > Looks useful. Lots of time has elapsed, but I checked a recent Linux kernel and it would find about three bugs. I also checked about 9,500 packages of Fedora

[Bug c++/64227] New: Forwarding an argument of a function template to a generic lambda causes a compiler crash

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64227 Bug ID: 64227 Summary: Forwarding an argument of a function template to a generic lambda causes a compiler crash Product: gcc Version: 5.0 Status: UNCONFIRMED S

[Bug c/64223] same warning repeated twice with same line number

2014-12-08 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64223 --- Comment #3 from joseph at codesourcery dot com --- On Mon, 8 Dec 2014, harald at gigawatt dot nl wrote: > I do not know if the problem is in the headers (that they should not be > specifying the format attribute), or in GCC (that it should b

[Bug c++/64227] Forwarding an argument of a function template to a generic lambda causes a compiler crash

2014-12-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64227 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64227] Forwarding an argument of a function template to a generic lambda causes a compiler crash

2014-12-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64227 Jonathan Wakely changed: What|Removed |Added CC||maxim.yegorushkin at gmail dot com --

[Bug c++/64085] ICE on C++14 lambda by-reference capture with an initializer

2014-12-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64085 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/64225] -funsafe-math-optimizations generates call to pow where multiply instruction would do

2014-12-08 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64225 --- Comment #8 from joseph at codesourcery dot com --- Expanding x * x (or any such multiplication) to a call to pow is inherently dubious because the semantics of multiplication never include clobbering errno, though maybe it's OK with -funsaf

[Bug tree-optimization/63989] tree-ssa-strlen.c doesn't handle constant pointer plus and array refs if constant offset is smaller than known constant string length

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63989 --- Comment #3 from Jakub Jelinek --- Created attachment 34220 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34220&action=edit gcc5-pr63989-wip1.patch So, for start, this untested patch deals with #c1 f1 case. Still need to extend handle

[Bug bootstrap/63787] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-12-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63787 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug c++/61754] [C++1y] [[deprecated]] attribute warns annoyingly compared to __attribute__((deprecated))

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61754 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64194] [C++14] for function template with auto return

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64194 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64178] rejects-valid on variadic operator++

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64178 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64169] Partial template specialization of reference-qualified operator templates

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64169 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64171] Hang whilst printing error message on invalid code

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64171 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/62212] ICE compiling template function with array reference parameter whose size depends on a template parameter

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62212 Ville Voutilainen changed: What|Removed |Added Keywords||ice-on-valid-code Status

[Bug go/64198] ICE in gofrontend

2014-12-08 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64198 --- Comment #1 from ian at gcc dot gnu.org --- Author: ian Date: Mon Dec 8 18:05:30 2014 New Revision: 218485 URL: https://gcc.gnu.org/viewcvs?rev=218485&root=gcc&view=rev Log: PR go/64198 compiler: Don't crash on invalid ++. Modified:

[Bug c++/60372] incorrect destruction order for function parameter objects

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60372 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |SUSPENDED Last reconfirmed|

[Bug c++/64095] [C++14] Ellipsis at end of generic lambda parameter-declaration-clause should be parsed as a parameter pack

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64095 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64073] Explicit duplicate template instantiation not reported as error when using 'using'

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64073 Ville Voutilainen changed: What|Removed |Added Keywords||accepts-invalid Status|U

[Bug c++/63996] Infinite loop in invalid C++14 constexpr fn

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63996 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/61971] array subscript is above array bounds [-Werror=array-bounds]

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61971 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/64049] [5 Regression] r215898 caused wrong code at -O3

2014-12-08 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 --- Comment #13 from Bernd Edlinger --- Author: edlinger Date: Mon Dec 8 18:30:15 2014 New Revision: 218487 URL: https://gcc.gnu.org/viewcvs?rev=218487&root=gcc&view=rev Log: 2014-12-08 Bernd Edlinger PR ipa/64049 * ipa-poly

[Bug c++/63809] Missing warning on extra template

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63809 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/64223] same warning repeated twice with same line number

2014-12-08 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64223 --- Comment #4 from Harald van Dijk --- Ah, GCC does not treat format(printf) and format(__printf__) as equivalent, and the built-in declaration uses format(printf). With custom functions, two warnings can also be generated: int myprintf (const

[Bug c++/61022] [C++11] Bogus "error: parameter packs not expanded with '...'"

2014-12-08 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61022 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/64228] New: compile error not accurate expected ; before string constant

2014-12-08 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64228 Bug ID: 64228 Summary: compile error not accurate expected ; before string constant Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

  1   2   >