This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42878] "-fcompare-debug failure" at -O1 (2)
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2010 12:28:21 -0000
- Subject: [Bug tree-optimization/42878] "-fcompare-debug failure" at -O1 (2)
- References: <bug-42878-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from zsojka at seznam dot cz 2010-01-27 12:28 -------
Created an attachment (id=19726)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19726&action=view)
different testcase, not crashing, but having difference in einline2 dump
This testcase passes the compare-debug test, but shows the behaviour you
described. In this case, there are no uninitialized variables though (I am not
aware of any). I hope this file can be useful.
Command line:
gcc -O1 -fcompare-debug testcase.c -c -fdump-tree-einline2
diff testcase.c.*024t.einline2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42878