[Bug pch/12919] [tree-ssa/3.4? Regression] ICE: in default_pch_valid_p, at toplev.c:4235 during libstdc++-v3 build

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 7 15:42:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |geoffk at apple dot com
           Keywords|                            |ice-on-valid-code
            Summary|ICE: in default_pch_valid_p,|[tree-ssa/3.4? Regression]
                   |at toplev.c:4235 during     |ICE: in default_pch_valid_p,
                   |libstdc++-v3 build          |at toplev.c:4235 during
                   |                            |libstdc++-v3 build
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-07 15:42 -------
What compiler are you using to build the tree-ssa compiler with?
I want to say somehow this loop (the one before the abort) is wrong for some targets;
  if (memcmp (data, &target_flags, sizeof (target_flags)) != 0)
    { 
      for (i = 0; i < ARRAY_SIZE (target_switches); i++)
        { 
          int bits;
          int tf;

          memcpy (&tf, data, sizeof (target_flags));

          bits = target_switches[i].value;
          if (bits < 0)
            bits = -bits;
          if ((target_flags & bits) != (tf & bits))
            {
              flag_that_differs = target_switches[i].name;
              goto make_message;
            }
        }
      abort ();
    }

Keating any way to know if this true?



More information about the Gcc-bugs mailing list