[Bug c/70038] [5.3.0 and 4.9.1]Wrong optimization with -O2

2016-03-01 Thread 366899789 at qq dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70038 kenlon <366899789 at qq dot com> changed: What|Removed |Added Status|RESOLVED|UNCON

[Bug c/70038] New: [5.3.0 and 4.9.1]Wrong optimization with -O2

2016-03-01 Thread 366899789 at qq dot com
Assignee: unassigned at gcc dot gnu.org Reporter: 366899789 at qq dot com Target Milestone: --- Compile the following code with -O2 -fdump-tree-optimized: - #include #include #include #include void create_link(char *pfilename