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]

RE: a bug in printf checking?


Hi Kaveh,

>  > I am trying out the latest CVS snapshot.  The attached code causes
>  > h8300-hms-gcc to crash.
> 
> I can't seem to configure with the above triplet, but I managed to
> reproduce the symptoms you describe with a cross compiler targetting
> h8300-hitachi-hms.

Oh, h8300-hms-gcc is not a triplet.  You can use h8300-hms or
h8300-hitachi-hms, which you tried.

> I think I know what's wrong, I'm not setting the TREE_TYPE correctly
> after calling build_string.  Passing the new STRING_CST tree to
> combine_strings() should do it right.  I'll submit a patch after some
> testing.

Thank you!

Kazu Hirata

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