[Bug c/120380] [14/15/16 Regression] internal compiler error: error reporting routines re-entered

2025-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120380

--- Comment #5 from GCC Commits  ---
The master branch has been updated by Martin Uecker :

https://gcc.gnu.org/g:b2c8d3064764f1f4bfd41d8791d06f2206b42780

commit r16-1036-gb2c8d3064764f1f4bfd41d8791d06f2206b42780
Author: Martin Uecker 
Date:   Thu May 29 17:17:12 2025 +0200

c: fix ICE related to tagged types with attributes in diagnostics
[PR120380]

get_aka_type will create a new type for diagnostics, but for tagged types
attributes will then be ignored with a warning.  This can lead to
reentering
warning code which leads to an ICE.  Fix this by ignoring the attributes
for tagged types.

PR c/120380

gcc/c/ChangeLog:
* c-objc-common.cc (get_aka_type): Ignore attributes for tagged
types.

gcc/testsuite/ChangeLog:
* gcc.dg/pr120380.c: New test.

[Bug c/120380] [14/15/16 Regression] internal compiler error: error reporting routines re-entered

2025-05-29 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120380

--- Comment #4 from uecker at gcc dot gnu.org ---
PATCH: https://gcc.gnu.org/pipermail/gcc-patches/2025-May/685120.html

[Bug c/120380] [14/15/16 Regression] internal compiler error: error reporting routines re-entered

2025-05-29 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120380

--- Comment #3 from uecker at gcc dot gnu.org ---
Created attachment 61547
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61547&action=edit
patch for trunk

[Bug c/120380] [14/15/16 Regression] internal compiler error: error reporting routines re-entered

2025-05-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120380

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|14.3|14.4

--- Comment #2 from Richard Biener  ---
GCC 14.3 is being released, retargeting bugs to GCC 14.4.

[Bug c/120380] [14/15/16 Regression] internal compiler error: error reporting routines re-entered

2025-05-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120380

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P4

[Bug c/120380] [14/15/16 Regression] internal compiler error: error reporting routines re-entered

2025-05-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120380

Andrew Pinski  changed:

   What|Removed |Added

  Known to work||13.3.0
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
   Target Milestone|--- |14.3
   Last reconfirmed||2025-05-21
Summary|internal compiler error:|[14/15/16 Regression]
   |error reporting routines|internal compiler error:
   |re-entered  |error reporting routines
   ||re-entered

--- Comment #1 from Andrew Pinski  ---
Confirmed.