[Bug target/52499] avr MODE_CODE_BASE_REG_CLASS enum conversion problem

amylaar at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 12 13:26:00 GMT 2012


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.



More information about the Gcc-bugs mailing list