------- Comment #14 from sje at cup dot hp dot com  2009-08-06 17:44 -------
Created an attachment (id=18312)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18312&action=view)
test case where stage1 and stage2 generate different code

After applying the most recent patch the ia64 bootstrap started working but the
pa bootstrap (hppa2.0w-hp-hpux11.11) started failing.  The stage2/stage3
comparision failed.  I cut down fortran/io.c into test4.c, and when I compile
this test case with the stage1-gcc/cc1 I get unsigned extraction instructions
in the code stream but with stage2-gcc/cc1 I get signed extraction
instructions.  I think the signed extractions are wrong since format_string is
a pointer to an unsigned int, but then again we are putting the value into a
signed char.  If I make the function an 'unsigned char' then the problem goes
away.  Originally the function was just 'char' and it also had the problem


-- 


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

Reply via email to