This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52499] avr MODE_CODE_BASE_REG_CLASS enum conversion problem
- From: "amylaar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Mar 2012 13:25:38 +0000
- Subject: [Bug target/52499] avr MODE_CODE_BASE_REG_CLASS enum conversion problem
- Auto-submitted: auto-generated
- References: <bug-52499-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52499
--- Comment #3 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2012-03-12 13:25:38 UTC ---
(In reply to comment #1)
> Why are there two incompatible representations of register classes in the first
> place, i.e. enum reg_class and reg_class_t?
enum reg_class is a target specific type, thus it is not suitable for
target hooks, which should have a type that is independent of any particular
target.