https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83639
Bug ID: 83639 Summary: Vector element address problem after push_back Product: gcc Version: 4.9.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: namdari.iman at gmail dot com Target Milestone: --- Created attachment 42993 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42993&action=edit A file that must be compiled. compiled with command "g++ -std=c++11 A.cpp" on ubuntu 16.04. In file A.cpp there is a macro __PATH0__ which specify one of the two paths (theoretically the two paths must be identical which they're not.) By commenting and uncommenting line 5 (define and undefine __PATH0__) we can see the two paths are not identical (by seeing output stream) which i think is a bug.