File tree Expand file tree Collapse file tree
tests/usr.bin/xlint/lint1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /* $NetBSD: gcc.c,v 1.6 2025/07/31 17:30:52 rillig Exp $ */
1+ /* $NetBSD: gcc.c,v 1.7 2026/01/20 23:46:36 rillig Exp $ */
22# 3 "gcc.c"
33
44/*
@@ -126,3 +126,5 @@ atomic_functions(void)
126126 /* expect+1: warning: conversion from 'unsigned long long' to 'char' may lose accuracy [132] */
127127 c = __atomic_exchange_n (pv , 0 , 0 );
128128}
129+
130+ __float128 f128 = 0.0 ;
Original file line number Diff line number Diff line change 1- /* $NetBSD: main1.c,v 1.84 2024/09/24 19:58:06 rillig Exp $ */
1+ /* $NetBSD: main1.c,v 1.85 2026/01/20 23:46:36 rillig Exp $ */
22
33/*
44 * Copyright (c) 1994, 1995 Jochen Pohl
3737
3838#include <sys/cdefs.h>
3939#if defined(__RCSID )
40- __RCSID ("$NetBSD: main1.c,v 1.84 2024/09/24 19:58:06 rillig Exp $" );
40+ __RCSID ("$NetBSD: main1.c,v 1.85 2026/01/20 23:46:36 rillig Exp $" );
4141#endif
4242
4343#include <sys/types.h>
@@ -87,6 +87,7 @@ gcc_builtins(void)
8787 /* https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html */
8888 static const char builtins [] =
8989 "typedef typeof(sizeof(0)) __lint_size_t;\n"
90+ "typedef long double __float128;\n"
9091
9192 "void *alloca(__lint_size_t);\n"
9293 "void *__builtin_alloca(__lint_size_t);\n"
You can’t perform that action at this time.
0 commit comments