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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[12 Regression] ICE         |[9/10/11/12 Regression] ICE
                   |Segmentation fault since    |Segmentation fault since
                   |r12-5102-gfb161782545224f5  |r7-532
                 CC|hjl at gcc dot gnu.org             |hjl.tools at gmail dot 
com,
                   |                            |jakub at redhat dot com

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-cfl-2 pr103205]$ cat s2.c
unsigned short sync_fetch_and_and_short_15_a;
unsigned short
__attribute__sync_fetch_and_and_short_15 (void)
{
  return __sync_fetch_and_and(&sync_fetch_and_and_short_15_a, ~1) & 1;
}
[hjl@gnu-cfl-2 pr103205]$ /usr/gcc-7.3.1-x32/bin/gcc -O2
-mtune-ctrl=^himode_math -S s2.c
s2.c: In function ‘__attribute__sync_fetch_and_and_short_15’:
s2.c:5:10: internal compiler error: Segmentation fault
   return __sync_fetch_and_and(&sync_fetch_and_and_short_15_a, ~1) & 1;
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unrecognized DWARF version in .debug_info at 6
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
[hjl@gnu-cfl-2 pr103205]$

Reply via email to