public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: Fix up gcc12-fortran-fdec-promotion.patch patch.
@ 2026-06-29 12:29 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2026-06-29 12:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : dc6e17c8c28155f3e0da86ad723ff5b15c85b11a
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2022-01-19T17:00:04+01:00
Stats  : +9/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/dc6e17c8c28155f3e0da86ad723ff5b15c85b11a?branch=rhel-f41-base

Log:
Fix up gcc12-fortran-fdec-promotion.patch patch.

---
diff --git a/gcc12-fortran-fdec-promotion.patch b/gcc12-fortran-fdec-promotion.patch
index a20d151..870d62a 100644
--- a/gcc12-fortran-fdec-promotion.patch
+++ b/gcc12-fortran-fdec-promotion.patch
@@ -180,7 +180,7 @@ diff --git a/gcc/fortran/iresolve.cc b/gcc/fortran/iresolve.cc
 index e17fe45f080..b9cdaff2499 100644
 --- a/gcc/fortran/iresolve.cc
 +++ b/gcc/fortran/iresolve.cc
-@@ -817,19 +817,22 @@ gfc_resolve_dble (gfc_expr *f, gfc_expr *a)
+@@ -834,19 +834,22 @@ gfc_resolve_dble (gfc_expr *f, gfc_expr
  void
  gfc_resolve_dim (gfc_expr *f, gfc_expr *a, gfc_expr *p)
  {
@@ -211,8 +211,8 @@ index e17fe45f080..b9cdaff2499 100644
 +    f->ts = a->ts;
  
    f->value.function.name
-     = gfc_get_string ("__dim_%c%d", gfc_type_letter (f->ts.type), f->ts.kind);
-@@ -1606,14 +1609,17 @@ gfc_resolve_minmax (const char *name, gfc_expr *f, gfc_actual_arglist *args)
+     = gfc_get_string ("__dim_%c%d", gfc_type_letter (f->ts.type),
+@@ -1622,14 +1625,17 @@ gfc_resolve_minmax (const char *name, gf
    /* Find the largest type kind.  */
    for (a = args->next; a; a = a->next)
      {
@@ -232,7 +232,7 @@ index e17fe45f080..b9cdaff2499 100644
  	gfc_convert_type (a->expr, &f->ts, 2);
      }
  
-@@ -2106,19 +2112,22 @@ gfc_resolve_minval (gfc_expr *f, gfc_expr *array, gfc_expr *dim,
+@@ -2130,19 +2136,22 @@ gfc_resolve_minval (gfc_expr *f, gfc_exp
  void
  gfc_resolve_mod (gfc_expr *f, gfc_expr *a, gfc_expr *p)
  {
@@ -263,8 +263,8 @@ index e17fe45f080..b9cdaff2499 100644
 +    f->ts = a->ts;
  
    f->value.function.name
-     = gfc_get_string ("__mod_%c%d", gfc_type_letter (f->ts.type), f->ts.kind);
-@@ -2128,19 +2137,22 @@ gfc_resolve_mod (gfc_expr *f, gfc_expr *a, gfc_expr *p)
+     = gfc_get_string ("__mod_%c%d", gfc_type_letter (f->ts.type),
+@@ -2153,19 +2162,22 @@ gfc_resolve_mod (gfc_expr *f, gfc_expr *
  void
  gfc_resolve_modulo (gfc_expr *f, gfc_expr *a, gfc_expr *p)
  {
@@ -296,7 +296,7 @@ index e17fe45f080..b9cdaff2499 100644
  
    f->value.function.name
      = gfc_get_string ("__modulo_%c%d", gfc_type_letter (f->ts.type),
-@@ -2515,9 +2527,26 @@ gfc_resolve_shift (gfc_expr *f, gfc_expr *i, gfc_expr *shift ATTRIBUTE_UNUSED)
+@@ -2543,9 +2555,26 @@ gfc_resolve_shift (gfc_expr *f, gfc_expr
  
  
  void
@@ -323,8 +323,8 @@ index e17fe45f080..b9cdaff2499 100644
 +      f->ts = a->ts;
 +    }
    f->value.function.name
-     = gfc_get_string ("__sign_%c%d", gfc_type_letter (a->ts.type), a->ts.kind);
- }
+     = gfc_get_string ("__sign_%c%d", gfc_type_letter (a->ts.type),
+ 		      gfc_type_abi_kind (&a->ts));
 diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt
 index d886c2f33ed..4ca2f93f2df 100644
 --- a/gcc/fortran/lang.opt

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-29 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:29 [rpms/gcc] rhel-f41-base: Fix up gcc12-fortran-fdec-promotion.patch patch Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox