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 lto/69254] [6 Regression] ICE in streamer_get_builtin_tree when using -fsanitize=shift on the compile side only


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[6 Regression] internal     |[6 Regression] ICE in
                   |compiler error: in          |streamer_get_builtin_tree
                   |streamer_get_builtin_tree,  |when using -fsanitize=shift
                   |at tree-streamer-in.c:1144  |on the compile side only

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is the reduced testcase:
int f(int a, int b)
{
  return a << b;
}
--- CUT ---
gcc  t1.c   -flto -fsanitize=shift     -c;
gcc -flto -flto=128 t1.o -r -nostdlib

Is enough to reproduce the ICE.

So confirmed.

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