[Bug c++/93589] Template instantiation creates a conversion warning when it should not

2020-02-05 Thread lokeshjanghel91 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93589 --- Comment #2 from Lokesh Janghel --- >Note your example code does not match the warning message you have in comment >#0. Sorry, I used some reduce test case. here is the correct one: $ g++ -Wconversion test.cpp test.cpp: In instantiation of

[Bug c++/93589] New: Template instantiation creates a conversion warning when it should not

2020-02-04 Thread lokeshjanghel91 at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lokeshjanghel91 at gmail dot com Target Milestone: --- Created attachment 47780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47780&action=edit Run the attached fi

[Bug middle-end/89889] worse code compared to clang with alloca()

2019-04-26 Thread lokeshjanghel91 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889 --- Comment #3 from Lokesh Janghel --- Is there any target hooks for alloca? Should we do the same like __builtin_alloca_with_align (array allocation) or we assume the problem as a target based (prologue/epilogue optimization) issue?

[Bug target/84762] GCC for PowerPC32 violates the SysV ABI spec for small struct returns

2019-02-07 Thread lokeshjanghel91 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84762 Lokesh Janghel changed: What|Removed |Added CC||lokeshjanghel91 at gmail dot com

[Bug target/85667] (x86_64) ms_abi rules aren't followed when returning short structs with float values

2018-12-19 Thread lokeshjanghel91 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85667 --- Comment #5 from Lokesh Janghel --- >>I think we should check if type is aggregate before we return in eax and leave xmm0 for float and double. >>break; >>+ case 8: >>+ case 4: >>+ if (valtype != NULL_TREE && AGGREGA