similar to: [LLVMdev] Bogus warning?

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Bogus warning?"

2011 Dec 14
2
[LLVMdev] Failure to optimize ? operator
I don't understand your point. Which version is better does NOT depend on what inputs are passed to the function. The compiled code for (as per llvm) f1 will always take less time to execute than f2. for x > 0 => T(f1) < T(f2) for x <= 0 => T(f1) = T(f2) where T() is the time to execute the given function. So always T(f1) <= T(f2). I would call this a missed
2011 Dec 14
0
[LLVMdev] Failure to optimize ? operator
On Tue, Dec 13, 2011 at 5:59 AM, Brent Walker <brenthwalker at gmail.com> wrote: > The following seemingly identical functions, get compiled to quite > different machine code.  The first is correctly optimized (the > computation of var y is nicely moved into the else branch of the "if" > statement), which the second one is not (the full computation of var y > is
2008 Jun 26
1
Compile warning using additonal CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W'
Hi, Ive just downloaded and build the portable openssh-5.0p1 source on my Linux box, and when I add the CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W' I get a lot of warnings of the following type: - -Wuninitialized is not supported without -O - cast discards qualifiers from pointer target type - warning: `foo' is not at beginning of declaration - cast discards qualifiers from
2015 Feb 12
0
Trouble building 4.2rc4 on FreeBSD
I'm attempting to build 4.2.0rc4 on a FreeBSD 10.0 system. There seems to be a problem with finding the system headers. Specifically lib/texpect/texpect.c seems to not be finding /usr/include/sys/signal.h Some hints on waf or building samba would be appreciated Russ Poyner The errors: make WAF_MAKE=1 python ./buildtools/bin/waf build Waf: Entering directory `/root/samba-4.2.0rc4/bin'
2015 Feb 12
0
Trouble building 4.2rc4 on FreeBSD
> I'm attempting to build 4.2.0rc4 on a FreeBSD 10.0 system. There seems > to be a problem with finding the system headers. Specifically > lib/texpect/texpect.c seems to not be finding /usr/include/sys/signal.h > > Some hints on waf or building samba would be appreciated Look at bugs 10833 11092 at bugzilla.samba.org. The patch there most likely is looking for signal.h in
2011 Dec 13
4
[LLVMdev] Failure to optimize ? operator
The following seemingly identical functions, get compiled to quite different machine code. The first is correctly optimized (the computation of var y is nicely moved into the else branch of the "if" statement), which the second one is not (the full computation of var y is always done). The output was produced using the demo page on llvm's web site (optimization level LTO). Can
2006 Mar 22
5
Class Caching Problem [was Newbie Question about Custom Classes]
So any other ideas as to why my custom class under app/models is being cached even though all the caching is set to false in the config/environments/* files? Currently I''m having to restart WEBrick after EVERY change to the file. The controllers and views are reloading just fine and not being cached. It''s just the custom class I created that''s being cached. Any ideas
2019 Jan 19
2
[PATCH xf86-video-nouveau] xv: fix build warning regarding const qualifier
Fixes warning with gcc 8.2: nouveau_xv.c: In function ‘NVInitVideo’: nouveau_xv.c:2247:68: warning: passing argument 2 of ‘vlCreateAdaptorXvMC’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] adaptorsXvMC[0] = vlCreateAdaptorXvMC(pScreen, textureAdaptor[0]->name); ~~~~~~~~~~~~~~~~~^~~~~~ In file included from
2012 Dec 28
1
Warning/Diagnostic/Error Codes
I'd consider this a bug in documentation as in the lack of documentation. I've looked all over the openssh.org Web site and done a number of Google searches and can not find anything. I'd like to know what error codes, if any, mean. For example, if I do an 'scp', and it fails, will it return a different error code depending on what the error was? Do I get one code if I
2006 Jan 30
1
Cant compile asterisk #error "You need newer libpri"
Trying to compile asterisk (again) from scratch. I seem to be still experiencing the effects fro Jan 25 where I get no sip to sip audio. I have tried upgrading to 1.2.3 which has made no change in the problem. I am starting over and now trying to compile/install /trunk zaptel libpri asterisk following the instructions to grab the source trees: # svn checkout
2019 Nov 11
1
Error: Corrupted index cache file and Error: Maildir filename has wrong S value
Good day Guys I forgot to add and mention a very important piece of the puzzle. We are making use of dovecots compression plugin. I.e. https://doc.dovecot.org/configuration_manual/zlib_plugin/#compression Regards Brent Clark On 2019/11/11 14:49, Brent Clark wrote: > Good day Aki > > Thanks ever so much for replying. > > Interesting that you ask the version of dovecot. Any
2008 Dec 23
2
AEL Variable Warning Messages
I have two offices sharing a phone system. They also share a common internal context because all of the employees of the second office also work for the first office. Each office has 4 outside lines and I have defined 2 channel groups in my zapata.conf. The second office needs all of their outgoing calls to go out over their lines so the people they call will have the correct callerID. I
2012 Mar 27
1
[LLVMdev] Compiling integer mod
For the simple C program below I show the output of clang and the output of the VS compiler (I am on windows). Maybe this is obvious to you, but is it really faster to do 2 multiplications, 3 movl instructions, 2 shifts, 1 add, and 1 substract than to do 1 mov, 1 cdq, and 1 idiv? I run into this while trying to understand why my code runs slower with llvm than a comparable program on windows.
2013 Jun 03
0
[LLVMdev] LLVM/Clang research questions
Hi Brent, You're correct. The segmented stack model is intended for performance, not security. Its goal is to allow lightweight threads to be very cheaply allocated and destroyed. For your model, you would most likely want to use different address spaces for the different memory types. Currently, clang does not allow you to define the address space of variables with automatic storage
2004 Mar 04
3
latest version (3.0.2a) on AIX 5.2 ML2 segmentation fault and core dump
First off, let me state that I am not a C programmer at all. I am a programmer in other languages, so I understand the basic configure/make/make install procedure for most GNU packages, and have done it lots of times. I downloaded the GNU iconv libraries, compiled them and used --prefix=/usr/local/special to keep from replacing the standard AIX libraries. Then I downloaded the 3.0.2a source and
2008 Jul 31
1
oggz fixes for macos
On 31-Jul-08, at 9:43 AM, ogg.k.ogg.k at googlemail.com wrote: > though (don't know if they're related to your changes): > > oggz.c: In function 'oggz_content_type': > oggz.c:623: warning: comparison of unsigned expression < 0 is > always false This is an array bounds guard. I guess it's defensive programming vs warning. Making OggzStreamContent a
2003 Dec 25
1
IAX NOTICE and WARNING messages
Hello, Hope everyone is enjoying their holiday! We setup two asterisk servers (From CVS on Wednesday) and set up IAX between the two. Right now they both reside on a switch with a static 192.168.0.x IP address. The first Server is .5 and the second is .30. Our dialplan seems to be working, however on the console we get a flurry of NOTICE and WARNING messages. NOTICE[1116941120]: File
2019 Nov 11
2
Error: Corrupted index cache file and Error: Maildir filename has wrong S value
What version are you running? Aki On 11.11.2019 12.26, Brent Clark via dovecot wrote: > Good day Guys > > Just an update, my colleague and I came across this script. > > https://www.dovecot.org/tools/maildir-size-fix.pl > > We made a backup, ran it, but unfortunately the problem still persists. > > Regards > Brent > > On 2019/11/11 11:42, Brent Clark wrote:
2013 Jun 03
2
[LLVMdev] LLVM/Clang research questions
Hi Duncan, It doesn't appear to be what I'm looking for as there is copying of the old stack to the new stack. Additionally, according to the LLVM docs on segmented stacks (http://llvm.org/releases/3.0/docs/SegmentedStacks.html) the stacklings are allocated memory from the heap. Since this places them all on the same memory segment, a read/write from one stackling could technically
2001 Aug 28
1
Compile-time warning in readpass.c
The patch below fixes a compile-time warning in readpass.c. MIME-Version: 1.0 Content-Type: application/aegis-patch Subject: openssh.2 - Fix warning in readpass.c Content-Name: openssh.2.C010.patch Content-Disposition: attachment; filename=openssh.2.C010.patch X-Aegis-Project-Name: openssh.2 X-Aegis-Change-Number: 10 # # Fix the following warning in readpass.c: # # readpass.c: In function