[Bug rtl-optimization/67449] Branch elimination problem on x86

2018-09-19 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67449 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug target/88877] New: rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread kamleshbhalui at gmail dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: kamleshbhalui at gmail dot com Target Milestone: --- consider below testcase: $cat test.c void foo(){ unsigned int x=-1; double d=x; } $./cc1 test.c -msoft-float -m64 $cat test.s

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 --- Comment #1 from Kamlesh Kumar --- Following patch fixes the problem but would like to know the experts thought on the below patch . static machine_mode -rs6000_promote_function_mode (const_tree type ATTRIBUTE_UNUSED,

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-16 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 --- Comment #9 from Kamlesh Kumar --- following testcase produces wrong result $cat test.c #include int main () { unsigned int x=-1; double d=x; printf("%lf",d); return 0; } $./ccppc -mcpu=e6500 -mabi=elfv2 -msoft-float -m64 test.c

[Bug target/88877] rs6000 emits signed extension for unsigned int type(__floatunsidf).

2019-01-18 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877 --- Comment #13 from Kamlesh Kumar --- (In reply to Alan Modra from comment #12) > I suspect that the patch in comment #1 will break libcalls in other > situations, eg. > > void f1 (int y) > { > extern double d; > d = y; > } Thanks Alan

[Bug tree-optimization/91504] Inlining misses some logical operation folding

2019-08-21 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91504 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug tree-optimization/91504] Inlining misses some logical operation folding

2019-08-21 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91504 --- Comment #3 from Kamlesh Kumar --- diff --git a/gcc/match.pd b/gcc/match.pd index 93dcef9..b62ef36 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -137,6 +137,11 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) (pointer_plus integer_zerop @1)

[Bug c/53075] -Werror=pedantic should be equivalent to -pedantic-errors

2019-09-02 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53075 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug ipa/89924] [missed-optimization] Function not de-virtualized within the same TU

2019-09-26 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89924 --- Comment #6 from Kamlesh Kumar --- https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01527.html

[Bug ipa/89924] [missed-optimization] Function not de-virtualized within the same TU

2019-09-27 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89924 --- Comment #7 from Kamlesh Kumar --- After this patch diff --git a/gcc/ipa-polymorphic-call.c b/gcc/ipa-polymorphic-call.c index 705af03..b76793f 100644 --- a/gcc/ipa-polymorphic-call.c +++ b/gcc/ipa-polymorphic-call.c @@ -1118,6 +1118,10 @@

[Bug tree-optimization/82803] Wildly excessive calls to __tls_get_addr with optimizations enabled.

2019-11-01 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82803 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug c++/91979] Incorrect mangling for non-template-argument nullptr expression

2019-10-22 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91979 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64

2019-10-23 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64

2019-10-24 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 --- Comment #11 from Kamlesh Kumar --- is this good? diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c index 0fffe60..9fead56 100644 --- a/gcc/c-family/c-opts.c +++ b/gcc/c-family/c-opts.c @@ -814,6 +814,10 @@ c_common_post_options

[Bug c++/91979] Incorrect mangling for non-template-argument nullptr expression

2019-10-22 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91979 --- Comment #4 from Kamlesh Kumar --- patch posted at https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01585.html

[Bug target/91927] -mstrict-align doesn't prevent unaligned accesses at -O2 and -O3 on AARCH64 targets

2019-10-23 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91927 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug c++/91055] alignof () evaluated before layout is complete?

2019-10-16 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91055 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug c++/92053] Compilation fails or succeeds depending on the optimization flags

2019-10-22 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92053 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug c++/83534] C++17: typeinfo for noexcept function lacks noexcept information

2019-10-21 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83534 --- Comment #5 from Kamlesh Kumar --- Fixed on trunk

[Bug c++/83534] C++17: typeinfo for noexcept function lacks noexcept information

2019-10-04 Thread kamleshbhalui at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83534 Kamlesh Kumar changed: What|Removed |Added CC||kamleshbhalui at gmail dot com

[Bug c++/97453] New: Implement CWG issue 2303

2020-10-15 Thread kamleshbhalui at gmail dot com via Gcc-bugs
: unassigned at gcc dot gnu.org Reporter: kamleshbhalui at gmail dot com Target Milestone: --- https://wg21.cmeerw.net/cwg/issue2303 Testcases like below should compile. $cat test.cc template struct A; template <> struct A<> {}

[Bug c++/97453] Implement CWG issue 2303

2020-10-21 Thread kamleshbhalui at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97453 --- Comment #2 from Kamlesh Kumar --- patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556672.html