[Bug c/69272] [6 Regression] ICE: in c_builtin_function, at c/c-decl.c:4020 with -fgnu-tm

2016-01-14 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69272

Richard Henderson  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |rth at gcc dot gnu.org

--- Comment #4 from Richard Henderson  ---
Mine.

[Bug c/69272] [6 Regression] ICE: in c_builtin_function, at c/c-decl.c:4020 with -fgnu-tm

2016-01-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69272

--- Comment #2 from Marek Polacek  ---
I'd think that this started with r232330 but haven't verified.

[Bug c/69272] [6 Regression] ICE: in c_builtin_function, at c/c-decl.c:4020 with -fgnu-tm

2016-01-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69272

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-01-14
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Marek Polacek  ---
Confirmed, cc1plus has a slightly different ICE.

[Bug c/69272] [6 Regression] ICE: in c_builtin_function, at c/c-decl.c:4020 with -fgnu-tm

2016-01-14 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69272

--- Comment #5 from Richard Henderson  ---
Author: rth
Date: Thu Jan 14 21:36:12 2016
New Revision: 232390

URL: https://gcc.gnu.org/viewcvs?rev=232390=gcc=rev
Log:
PR c/69272
PR tree-opt/68964

  * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
  * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
  instead of builtin_decl_declared_p to test for declaration.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/trans-mem.c
trunk/gcc/tree.c

[Bug c/69272] [6 Regression] ICE: in c_builtin_function, at c/c-decl.c:4020 with -fgnu-tm

2016-01-14 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69272

Richard Henderson  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Richard Henderson  ---
Fixed.

[Bug c/69272] [6 Regression] ICE: in c_builtin_function, at c/c-decl.c:4020 with -fgnu-tm

2016-01-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69272

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |6.0

[Bug c/69272] [6 Regression] ICE: in c_builtin_function, at c/c-decl.c:4020 with -fgnu-tm

2016-01-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69272

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org,
   ||rth at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek  ---
Yeah, it seems the i?86 backend first registers a builtin and then the generic
code registers a builtin with the same name.