This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/43516] [4.5 Regression] "-fcompare-debug failure" at -O2
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2010 10:28:05 -0000
- Subject: [Bug debug/43516] [4.5 Regression] "-fcompare-debug failure" at -O2
- References: <bug-43516-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from jakub at gcc dot gnu dot org 2010-03-26 10:28 -------
We call get_alias_set on a 1 bit precision unsigned type with no alias set.
This calls lang_hooks.get_alias_set, which does c_common_signed_type. With -g
it returns a type with alias set computed, but with -g0 that type doesn't have
alias set computed yet and a new alias set is created for it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43516