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 target/44732] [4.6 Regression] bootstrap broken on ia64



------- Comment #10 from amylaar at gcc dot gnu dot org  2010-07-01 10:49 -------
As I used cut & paste for a few repeated stanzas, I just checked if
there was any more of the same.
Once you know what it is, it's easy to find in the patch:

[amylaar@laria ~]$ grep -A 5 -B 5 '^+[  ]*{' 44566-regclass-diff-3
 static int
-ia64_register_move_cost (enum machine_mode mode, enum reg_class from,
-                        enum reg_class to)
+ia64_register_move_cost (enum machine_mode mode, enum reg_class from_i,
+                        enum reg_class to_i)
+{
+  enum reg_class from = (enum reg_class) from_i;
+  enum reg_class to = (enum reg_class) to_i;
 {
   /* ADDL_REGS is the same as GR_REGS for movement purposes.  */
   if (to == ADDL_REGS)

so this typo was specific to ia64.c


-- 


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


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