This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/49770] [4.7 Regression] wrong code with -fno-tree-forwprop


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49770

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2011-07-17 20:19:23 UTC ---
Created attachment 24782
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24782
original testcase (preprocessed)

Output:
$ g++ -O2 -std=gnu++0x -fno-tree-forwprop moveable.ii
$ ./a.out 
a.out:
/mnt/svn/gcc-trunk/libstdc++-v3/testsuite/23_containers/queue/moveable.cc:36:
void test01(): Assertion `b.size() == 1 && b.front() == 1 && a.size() == 0'
failed.
Aborted


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]