[Bug middle-end/87162] [6.2.0] Internal compiler error: Error reporting routines re-entered.

2018-09-06 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87162 ma.jiang at zte dot com.cn changed: What|Removed |Added CC||ma.jiang at zte dot com.cn

[Bug driver/78772] -fstrict-aliasing should turn on Wstrict-aliasing automaticly

2016-12-18 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78772 --- Comment #12 from ma.jiang at zte dot com.cn --- (In reply to Jim Wilson from comment #11) Hi Jim, Thank you for your patient explanations. > > If you have code with a lot of pointer casts, you should probably be > compiling

[Bug driver/78772] -fstrict-aliasing should turn on Wstrict-aliasing automaticly

2016-12-16 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78772 --- Comment #9 from ma.jiang at zte dot com.cn --- (In reply to Jim Wilson from comment #8) > Looking at the 2011 ISO C standard, section 6.5 Expressions, paragraph 7, > says "An object shall have its stored value accessed only b

[Bug driver/78772] -fstrict-aliasing should turn on Wstrict-aliasing automaticly

2016-12-13 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78772 --- Comment #7 from ma.jiang at zte dot com.cn --- (In reply to Markus Trippelsdorf from comment #5) Hi Markus, > These optimizations are not dangerous if you use standard conforming code. I think these optimizations are dangerous beca

[Bug driver/78772] -fstrict-aliasing should turn on Wstrict-aliasing automaticly

2016-12-12 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78772 --- Comment #4 from ma.jiang at zte dot com.cn --- (In reply to Markus Trippelsdorf from comment #3) > Please no. > There are many other cases where optimizations could introduce issues that > you will not notice when you compil

[Bug driver/78772] -fstrict-aliasing should turn on Wstrict-aliasing automaticly

2016-12-12 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78772 --- Comment #1 from ma.jiang at zte dot com.cn --- Created attachment 40308 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40308&action=edit proposed patch

[Bug driver/78772] New: -fstrict-aliasing should turn on Wstrict-aliasing automaticly

2016-12-12 Thread ma.jiang at zte dot com.cn
Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: ma.jiang at zte dot com.cn Target Milestone: --- Hi all, "-fstrict-aliasing" which is turned on at O2 level, May create wrong codes. But, GCC does not give a warning for it

[Bug middle-end/65449] -fstrict-volatile-bitfields affects volatile pointer dereference and produce wrong codes

2015-03-19 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65449 --- Comment #4 from ma.jiang at zte dot com.cn --- Hi Bernd, Thanks for your apply. (In reply to Bernd Edlinger from comment #3) > Yes, but that is not the fault of the strict volatile code path any more. // Sure,I agree with you.

[Bug middle-end/65449] -fstrict-volatile-bitfields affects volatile pointer dereference and produce wrong codes

2015-03-19 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65449 --- Comment #2 from ma.jiang at zte dot com.cn --- (In reply to Bernd Edlinger from comment #1) > Hi Richard, > > the invalid/different code for -O2 -fstrict-volatile-bitfields will be > fixed with my proposed patch, because the mi

[Bug target/65459] New: munaligned-access still produce split access codes

2015-03-18 Thread ma.jiang at zte dot com.cn
: target Assignee: unassigned at gcc dot gnu.org Reporter: ma.jiang at zte dot com.cn Hi all, The munaligned-access option on ARM can not stop gcc from producing split access codes. A very simple test char mt[20]; void main() { void *mm=&(mt[1]); *(( int *)m

[Bug middle-end/65449] New: -fstrict-volatile-bitfields affects volatile pointer dereference and produce wrong codes

2015-03-17 Thread ma.jiang at zte dot com.cn
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ma.jiang at zte dot com.cn Hi,all. It seems that -fstrict-volatile-bitfields can affect volatile pointer dereference. However, the gcc manual said this

[Bug rtl-optimization/61241] built-in memset makes the caller function slower

2014-05-20 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61241 --- Comment #4 from ma.jiang at zte dot com.cn --- (In reply to ktkachov from comment #3) > Can you please send the patch to gcc-patc...@gcc.gnu.org including a > ChangeLog Done! Thanks.

[Bug rtl-optimization/61241] built-in memset makes the caller function slower than normal memset

2014-05-19 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61241 --- Comment #2 from ma.jiang at zte dot com.cn --- Created attachment 32823 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32823&action=edit testcase should be put into gcc/testsuite/gcc.target/arm

[Bug rtl-optimization/61241] built-in memset makes the caller function slower than normal memset

2014-05-19 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61241 --- Comment #1 from ma.jiang at zte dot com.cn --- Created attachment 32822 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32822&action=edit proposed patch

[Bug rtl-optimization/61241] New: built-in memset makes the caller function slower than normal memset

2014-05-19 Thread ma.jiang at zte dot com.cn
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ma.jiang at zte dot com.cn Compiled with -O2, #include extern int off; void *test(char *a1, char* a2) { memset(a2, 123, 123); return a2 + off; } gives

[Bug c/59785] atomic_store should load source operand atomically?

2014-01-13 Thread ma.jiang at zte dot com.cn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59785 --- Comment #2 from ma.jiang at zte dot com.cn --- Ok, Thanks for the reply. I know what you mean. A atomic_store is not responsible for loading the source operand atomically as it is just a store.

[Bug c/59785] New: atomic_store should load source operand atomically?

2014-01-13 Thread ma.jiang at zte dot com.cn
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ma.jiang at zte dot com.cn gcc provide a atomic_store interface as below. void __atomic_store (type *ptr, type *val, int memmodel) In manual, There is only a simple description ---"This is the generic version of an a

[Bug lto/59000] lto can't merge user-defined weak builtin functions

2013-11-05 Thread ma.jiang at zte dot com.cn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59000 --- Comment #3 from ma.jiang at zte dot com.cn --- (In reply to Richard Biener from comment #2) > This works on trunk, but of course symtab merging is pre-empted here by tree > merging I think. The error can be reproduced on trunk with

[Bug lto/59000] lto can't merge user-defined weak builtin functions

2013-11-05 Thread ma.jiang at zte dot com.cn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59000 --- Comment #1 from ma.jiang at zte dot com.cn --- Created attachment 31157 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31157&action=edit second source

[Bug lto/59000] New: lto can't merge user-defined weak builtin functions

2013-11-05 Thread ma.jiang at zte dot com.cn
y: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: ma.jiang at zte dot com.cn Created attachment 31156 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31156&action=edit first source User defined built-in implementation cause lto error. Use source