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/71017] libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71017

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Dominique d'Humieres from comment #6)
> > It should be fixed now. Closing.
> 
> I forgot to commit the fix to the 5 branch, done now. I also noticed that
> the same problem occurs with
> 
> #define bit_3DNOW	(1 << 31)
> 
> but I don't know how to test the obvious fix. Is it OK to commit it
> nevertheless?

Yes. Please go ahead with the patch.

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