[Bug demangler/105039] rust demangler stack overflow

2022-07-03 Thread hs.naveen2u at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039

--- Comment #6 from hs.naveen2u at gmail dot com ---
Thanks very much for committing the patch.

[Bug demangler/105039] rust demangler stack overflow

2022-06-27 Thread hs.naveen2u at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039

hs.naveen2u at gmail dot com changed:

   What|Removed |Added

 CC||hs.naveen2u at gmail dot com

--- Comment #3 from hs.naveen2u at gmail dot com ---
Can anyone please review the patch so that it can be used?

[Bug target/71112] [6 Regression] ICE with -fpie on aarch64 ILP32 big-endian

2017-07-06 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71112

--- Comment #11 from hs.naveen2u at gmail dot com ---
Committed to gcc-6-branch as
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=250014

[Bug target/71112] [6 Regression] ICE with -fpie on aarch64 ILP32 big-endian

2017-07-06 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71112

--- Comment #10 from hs.naveen2u at gmail dot com ---
Committed to gcc-6-branch as
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=250014

[Bug target/78382] ICE when compiling on aarch64 in ILP32 mode with traditional thread local storage and pic

2016-12-07 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78382

--- Comment #2 from hs.naveen2u at gmail dot com ---
Fixed and Committed as:-
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=243428

[Bug target/71112] [6/7 Regression] ICE with -fpie on aarch64 ILP32 big-endian

2016-12-07 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71112

hs.naveen2u at gmail dot com changed:

   What|Removed |Added

 CC||hs.naveen2u at gmail dot com

--- Comment #6 from hs.naveen2u at gmail dot com ---
Fixed and Committed as:-
https://gcc.gnu.org/ml/gcc-cvs/2016-12/msg00338.html

[Bug target/71727] -O3 -mstrict-align produces code which assumes unaligned vector accesses work

2016-12-06 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71727

hs.naveen2u at gmail dot com changed:

   What|Removed |Added

 CC||hs.naveen2u at gmail dot com

--- Comment #3 from hs.naveen2u at gmail dot com ---
Fixed and Committed as:-
https://gcc.gnu.org/ml/gcc-cvs/2016-12/msg00244.html

[Bug testsuite/77634] some vectorized testcases fail with -mcpu=thunderx

2016-11-24 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77634

hs.naveen2u at gmail dot com changed:

   What|Removed |Added

 CC||hs.naveen2u at gmail dot com

--- Comment #1 from hs.naveen2u at gmail dot com ---
Fixed.
https://gcc.gnu.org/ml/gcc-cvs/2016-11/msg01096.html

[Bug testsuite/77635] load/store pair testcases need to use -mcpu=generic

2016-11-24 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77635

hs.naveen2u at gmail dot com changed:

   What|Removed |Added

 CC||hs.naveen2u at gmail dot com

--- Comment #1 from hs.naveen2u at gmail dot com ---
Fixed.
https://gcc.gnu.org/ml/gcc-cvs/2016-11/msg01102.html

[Bug middle-end/31096] a*C == b*C where C is a constant is not optimized to a == b

2016-11-24 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31096

hs.naveen2u at gmail dot com changed:

   What|Removed |Added

 CC||hs.naveen2u at gmail dot com

--- Comment #3 from hs.naveen2u at gmail dot com ---
https://gcc.gnu.org/ml/gcc-cvs/2016-11/msg01019.html

[Bug target/78002] gcc.target/aarch64/stack-checking.c ICEs with -mabi=ilp32

2016-11-17 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78002

hs.naveen2u at gmail dot com changed:

   What|Removed |Added

 CC||hs.naveen2u at gmail dot com

--- Comment #2 from hs.naveen2u at gmail dot com ---
Could not reproduce the issue on latest FSF source:-

Tried using the following command:-
-gcc -fstack-check gcc/testsuite/gcc.target/aarch64/stack-checking.c 
-mabi=ilp32

[Bug tree-optimization/67351] Missed optimisation on 64-bit field compared to 32-bit

2015-09-01 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67351

--- Comment #8 from hs.naveen2u at gmail dot com ---
Patch that implements the optimization referred by Richard and Andrew.
https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00014.html


[Bug tree-optimization/67404] New: gcc.dg/builtins-11.c FAILS for the pattern sqrt(x) * sqrt(x)

2015-08-30 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67404

Bug ID: 67404
   Summary: gcc.dg/builtins-11.c FAILS for the pattern sqrt(x) *
sqrt(x)
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: hs.naveen2u at gmail dot com
  Target Milestone: ---

The patch responsilble for the issue is:-
https://gcc.gnu.org/ml/gcc-cvs/2015-08/msg00592.html

https://gcc.gnu.org/ml/gcc-patches/2015-08/msg01762.html

It simplifies to sqrt(x*x)->abs(x) instead of plain x.
Hence, the regression FAIL's


[Bug tree-optimization/67306] Patterns ICEs when moved using "simplify and match"

2015-08-24 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67306

--- Comment #3 from hs.naveen2u at gmail dot com ---
Thanks for the patch.
It fixes the Segmentation Fault issue and generates expected results.
Tested the patch on X86_64 and AArch64 with no new regressions.


[Bug tree-optimization/67306] New: Patterns ICEs when moved using "simplify and match"

2015-08-21 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67306

Bug ID: 67306
   Summary: Patterns ICEs when moved using "simplify and match"
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: hs.naveen2u at gmail dot com
  Target Milestone: ---

Created attachment 36232
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36232&action=edit
Testcase to reproduce the issue

Hi,

I am trying to move some patterns using simplify and match.
Moved some patterns and observed that some patterns ICEs for
Long Double and Float patterns.

The patterns which does the operations are:-

 /* Simplify sqrt(x) * sqrt(y) -> sqrt(x*y).  */
(for root (SQRT CBRT)
 (simplify
  (mult (root:s @0) (root:s @1))
  (root (mult @0 @1

 /* Simplify pow(x,y) * pow(x,z) -> pow(x,y+z). */
 (simplify
  (mult (POW:s @0 @1) (POW:s @0 @2))
(POW @0 (plus @1 @2)))

 /* Simplify expN(x) * expN(y) -> expN(x+y). */
(for expss (EXP EXP2 EXP10 POW10)
 (simplify
  (mult (exps:s @0) (exps:s @1))
   (exps (plus @0 @1

/* Simplify x / expN(y) into x*expN(-y). */
(for expss (EXP EXP2 EXP10 POW10)
 (simplify
  (rdiv @0 (exps:s @1))
   (mult @0 (exps (negate @1)


All the operations in the attached testcase results in SEG FAULT:-
aarch64-thunder-elf-gcc simlify-2.c -O2 -funsafe-math-optimizations -lm


[Bug middle-end/67285] ICE with (rdiv (POW:s @0 REAL_CST@1) @0)

2015-08-20 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67285

--- Comment #2 from hs.naveen2u at gmail dot com ---
Created attachment 36226
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36226&action=edit
Testcase to reproduce the issue

aarch64-thunder-elf-gcc pr67285.c -O2 -funsafe-math-optimizations


[Bug middle-end/67285] New: ICE with (rdiv (POW:s @0 REAL_CST@1) @0)

2015-08-19 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67285

Bug ID: 67285
   Summary: ICE with (rdiv (POW:s @0 REAL_CST@1) @0)
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: hs.naveen2u at gmail dot com
  Target Milestone: ---

The following pattern should work as expected:-

+ /* Simplify pow(x,c) / x -> pow(x,c-1). */
+ (simplify
+  (rdiv (POW:s @0 REAL_CST@1) @0)
+  (if (!TREE_OVERFLOW (@1))
+   (POW @0 (minus @1 { build_one_cst (type); }

However, it generates the following error:-
internal compiler error: tree check: expected ssa_name, have var_decl in
simplify_builtin_call, at tree-ssa-forwprop.c:1259

Its due to REAL_CST@1