[Bug c/94040] [9 Regression] ICE on a call to an invalid redeclaration of strftime

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94040

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|9.5 |10.0
 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Richard Biener  ---
Fixed in GCC 10.

[Bug c/94040] [9 Regression] ICE on a call to an invalid redeclaration of strftime

2022-03-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94040

Martin Sebor  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
   Assignee|msebor at gcc dot gnu.org  |unassigned at gcc dot 
gnu.org

--- Comment #9 from Martin Sebor  ---
I'm not planning to backport the fix.

[Bug c/94040] [9 Regression] ICE on a call to an invalid redeclaration of strftime

2021-06-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94040

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|9.4 |9.5

--- Comment #8 from Richard Biener  ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.

[Bug c/94040] [9 Regression] ICE on a call to an invalid redeclaration of strftime

2021-04-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94040

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2

[Bug c/94040] [9 Regression] ICE on a call to an invalid redeclaration of strftime

2020-03-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94040

Martin Liška  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org

--- Comment #7 from Martin Liška  ---
commit r10-7164-g45ee7a35f347e59f003d65bce0d43d5123d827cf
Author: Martin Sebor 
Date:   Fri Mar 13 12:29:33 2020 -0600

PR c/94040 - ICE on a call to an invalid redeclaration of strftime

gcc/testsuite/ChangeLog:

   * gcc.dg/torture/pr54261-1.c: Correct built-in declartion.

[Bug c/94040] [9 Regression] ICE on a call to an invalid redeclaration of strftime

2020-03-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94040

Martin Sebor  changed:

   What|Removed |Added

  Known to fail|10.0, 9.2.0 |9.3.0
Summary|[9/10 Regression] ICE on a  |[9 Regression] ICE on a
   |call to an invalid  |call to an invalid
   |redeclaration of strftime   |redeclaration of strftime
  Known to work||10.0

--- Comment #6 from Martin Sebor  ---
Fixed for GCC 10 via r10-7162:

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

commit r10-7162-gf2e9fe5f97d88fc876c44e6ffa57a2e85150adf9
Author: Martin Sebor 
Date:   Fri Mar 13 10:28:26 2020 -0600

PR c/94040 - ICE on a call to an invalid redeclaration of strftime

gcc/c/ChangeLog:

PR c/94040
* c-decl.c (builtin_structptr_type_count): New constant.
(match_builtin_function_types): Reject decls that are incompatible
in types pointed to by pointers.
(diagnose_mismatched_decls): Adjust comments.

gcc/testsuite/ChangeLog:

PR c/94040
* gcc.dg/Wbuiltin-declaration-mismatch-12.c: Relax test to look
for warning name rather than the exact text.
* gcc.dg/Wbuiltin-declaration-mismatch-14.c: New test.
* gcc.dg/Wbuiltin-declaration-mismatch-15.c: New test.
* gcc.dg/pr62090.c: Prune expected warning.
* gcc.dg/pr89314.c: Look for warning name rather than text.