Skip to content

Commit

Permalink
merge 8.7 (silence warn for no-trapv, [f6fc75cbdd0fa593])
Browse files Browse the repository at this point in the history
  • Loading branch information
sebres committed Sep 18, 2024
2 parents b870c14 + a04df5c commit 95506b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generic/tclClockFmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Clock_str2wideInt_no(
}

/* int & Tcl_WideInt overflows may happens here (expected case) */
#if defined(__GNUC__) || defined(__GNUG__)
#if (defined(__GNUC__) || defined(__GNUG__)) && !defined(__clang__)
# pragma GCC optimize("no-trapv")
#endif

Expand Down Expand Up @@ -209,7 +209,7 @@ TclAtoWIe(
return Clock_str2wideInt(out, p, e, sign);
}

#if defined(__GNUC__) || defined(__GNUG__)
#if (defined(__GNUC__) || defined(__GNUG__)) && !defined(__clang__)
# pragma GCC reset_options
#endif

Expand Down

0 comments on commit 95506b3

Please sign in to comment.