$ make
cc -Wall -O2 -funroll-all-loops -g -lm lsbench.c -o lsbench
cc: Command line warning: ignoring unknown option '-funroll-all-loops'
lswhets.c(34): remark #1418: external function definition with no prior declaration
double Section1() {
^
lswhets.c(62): remark #1418: external function definition with no prior declaration
double Section2() {
^
lswhets.c(83): remark #1418: external function definition with no prior declaration
double Section3() {
^
lswhets.c(107): remark #1418: external function definition with no prior declaration
double Section4() {
^
lswhets.c(132): remark #1418: external function definition with no prior declaration
double Section5() {
^
lswhets.c(142): remark #981: operands are evaluated in unspecified order
x = t*atan(t2*sin(x)*cos(x)/(cos(x+y)+cos(x-y)-1.0));
^
lswhets.c(142): remark #981: operands are evaluated in unspecified order
x = t*atan(t2*sin(x)*cos(x)/(cos(x+y)+cos(x-y)-1.0));
^
lswhets.c(142): remark #981: operands are evaluated in unspecified order
x = t*atan(t2*sin(x)*cos(x)/(cos(x+y)+cos(x-y)-1.0));
^
lswhets.c(143): remark #981: operands are evaluated in unspecified order
y = t*atan(t2*sin(y)*cos(y)/(cos(x+y)+cos(x-y)-1.0));
^
lswhets.c(143): remark #981: operands are evaluated in unspecified order
y = t*atan(t2*sin(y)*cos(y)/(cos(x+y)+cos(x-y)-1.0));
^
lswhets.c(143): remark #981: operands are evaluated in unspecified order
y = t*atan(t2*sin(y)*cos(y)/(cos(x+y)+cos(x-y)-1.0));
^
lswhets.c(155): remark #1418: external function definition with no prior declaration
double Section6() {
^
lswhets.c(176): remark #1418: external function definition with no prior declaration
double Section7() {
^
lswhets.c(200): remark #1418: external function definition with no prior declaration
double Section8() {
^
lsbench.c(33): remark #1418: external function definition with no prior declaration
void title() {
^
lsbench.c(43): remark #1418: external function definition with no prior declaration
long *make_array(unsigned long long asize) {
^
lsbench.c(69): remark #1418: external function definition with no prior declaration
double worker(unsigned long long asize, long *a, long *b, int type, unsigned long long block_size) {
^
lsbench.c(74): remark #593: variable "c" was set but never used
long *c; /* where are we in test=2? */
^
lsbench.c(114): remark #1418: external function definition with no prior declaration
void printout(double te, double mt, int type) {
^
lsbench.c(132): remark #1418: external function definition with no prior declaration
int memtests() {
^
lsbench.c(175): remark #181: argument is incompatible with corresponding format string conversion
printf("\tLong uses %d bytes. ",long_size);
^
lsbench.c(176): remark #181: argument is incompatible with corresponding format string conversion
printf("\tAllocating 2*%lld elements = %lld bytes of memory.\n",asize,2*asize*long_size);
^
lsbench.c(176): remark #181: argument is incompatible with corresponding format string conversion
printf("\tAllocating 2*%lld elements = %lld bytes of memory.\n",asize,2*asize*long_size);
^
lsbench.c(178): remark #181: argument is incompatible with corresponding format string conversion
printf("\tUsing %lld bytes as blocks for memcpy block copy test.\n",block_size);
^
lsbench.c(217): remark #810: conversion from "double" to "int" may lose significant bits
return lsmem;
^
ld: cannot find -limf
make: *** [lsbench] Error 1