Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Tim Schmielau
On Tue, 15 Aug 2006, Diego Novillo wrote: > Tim Schmielau wrote on 08/15/06 10:15: > > > How to further debug this problem? > > I am currently using gcc-4.2-20060812 on i686 and x86_64 SuSE 10.0 Linux > > systems. > > > Please submit a bug report including t

Re: libgomp: Thread creation failed: Invalid argument

2006-08-15 Thread Tim Schmielau
On Tue, 15 Aug 2006, Asher Langton wrote: > Tim Schmielau wrote on 08/15/06: > > The problem appears for any OMP_NUM_THREADS value other than 1 (I tried > > up to 8 on an 8-way machine). > > Extracting a testcase from the 18.000 lines of code will probably require > >

Re: libgomp: Thread creation failed: Invalid argument

2006-08-16 Thread Tim Schmielau
On Tue, 15 Aug 2006, Asher Langton wrote: > On 8/15/06, Tim Schmielau <[EMAIL PROTECTED]> wrote: > > On Tue, 15 Aug 2006, Asher Langton wrote: > > > Are you using a lot of threadprivate variables? Try setting the > > > GOMP_STACKSIZE environment variable to a lar

Re: Modifying the LABEL for functions emitted by the GCC Compiler

2006-09-01 Thread Tim Prince
Rohit Arul Raj wrote: The gcc-coldfire compiler spits out the labels as it is in the assembly file (main, printf etc), where as the IDE compiler spits out the labels prefixed with a '_' (_main, _printf etc). Is there any way i can make gcc-coldfire compiler emit the lables prefixed with

Re: BFD Error a regression?

2006-09-16 Thread Tim Prince
Jerry DeLisle wrote: BFD: BFD 2.16.91.0.6 20060212 internal error, aborting at ../../bfd/elfcode.h line 190 in bfd_elf32_swap_symbol_in BFD: Please report this bug. make[1]: *** [complex16] Error 1 make[1]: *** Waiting for unfinished jobs BFD: BFD 2.16.91.0.6 20060212 internal error, ab

GSoC: Extending the Static Analysis Pass

2022-04-03 Thread Tim Lange
Hi everyone, Hi David, I'm interested in extending the static analysis pass as a GSoC project. Short introduction of me: I'm Tim, currently doing my master in computer science with focus on IT security at TU Darmstadt. I already worked with IFDS as part of my bachelor thesis and

GSoC

2022-06-09 Thread Tim Lange
Hi everyone, my name is Tim and I'm also working on the static analyzer this summer. Some of you might already noticed my nooby questions in the IRC ;). Specifically, I'll be working on extending the analyzer with several smaller warnings that the clang analyzer already has. David

fanalyzer: debugging zero state machine

2022-06-09 Thread Tim Lange
> On Mi, Jun 8 2022 at 11:12:52 -0400, David Malcolm wrote: > > On Wed, 2022-06-08 at 01:42 +0200, Tim Lange wrote: > > > > Hi Dave, > > > > I did spent some time to think about the zero state machine. I first > > thought about distinguishing between

Re: fanalyzer: debugging zero state machine

2022-06-12 Thread Tim Lange
On Do, Jun 9 2022 at 13:40:06 -0400, David Malcolm wrote: On Thu, 2022-06-09 at 16:49 +0200, Tim Lange wrote: > On Mi, Jun 8 2022 at 11:12:52 -0400, David Malcolm wrote: > > On Wed, 2022-06-08 at 01:42 +0200, Tim Lange wrote: > > > > Hi Dave, Hi Tim; var

[RFC] analyzer: allocation size warning

2022-06-17 Thread Tim Lange
bout the usage of those without them having an implementation. I changed those structs to have an empty implementation, such that the additional warning are gone. I think this shouldn't change the test case, so is this change okay? - Tim [0] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105900 [

[RFC] analyzer: add allocation size warning

2022-06-17 Thread Tim Lange
mentation for foo and bar. * gcc.dg/analyzer/allocation-size-1.c: New test. * gcc.dg/analyzer/allocation-size-2.c: New test. * gcc.dg/analyzer/allocation-size-3.c: New test. * gcc.dg/analyzer/allocation-size-4.c: New test. Signed-off-by: Tim Lange ---

Re: [RFC] analyzer: allocation size warning

2022-06-17 Thread Tim Lange
On Fr, Jun 17 2022 at 22:45:42 +0530, Prathamesh Kulkarni wrote: On Fri, 17 Jun 2022 at 21:25, Tim Lange wrote: Hi everyone, Hi Tim, Thanks for posting the POC patch! Just a couple of comments (inline) Hi Prathamesh, thanks for looking at it. tracked in PR105900 [0], I'd li

Re: [RFC] analyzer: allocation size warning

2022-06-17 Thread Tim Lange
On Fri, Jun 17, 2022 at 01:48:09PM -0400, David Malcolm wrote: > On Fri, 2022-06-17 at 17:54 +0200, Tim Lange wrote: > > Hi everyone, > > Hi Tim. > > Thanks for the patch. > > Various comments inline below, throughout... > > > > > tracked in PR105

Re: [RFC] analyzer: allocation size warning

2022-06-21 Thread Tim Lange
On Sat Jun 18, 2022 at 12:13 AM CEST, David Malcolm wrote: > On Fri, 2022-06-17 at 22:23 +0200, Tim Lange wrote: > > On Fri, Jun 17, 2022 at 01:48:09PM -0400, David Malcolm wrote: > > > On Fri, 2022-06-17 at 17:54 +0200, Tim Lange wrote: > > [...snip...] > > > &g

Re: [RFC] analyzer: allocation size warning

2022-06-22 Thread Tim Lange
ue easily. Deferring the whole pop_frame to the before node breaks the assumptions inside exploded_graph::get_or_create_node. I don't know what's the best/elegant way of solving this. Is a solution to attach the return svalue to the return edge and then use it later in the PK_BEFORE

[PATCH v2] analyzer: add allocation size checker

2022-06-29 Thread Tim Lange
as I just worked on the event splitting, the regression tests are yet to run. - Tim This patch adds an checker that warns about code paths in which a buffer is assigned to a incompatible type, i.e. when the allocated buffer size is not a multiple of the pointee's size. gcc/analyzer/ChangeLog:

Re: [PATCH v2] analyzer: add allocation size checker

2022-06-30 Thread Tim Lange
On Wed Jun 29, 2022 at 7:39 PM CEST, David Malcolm wrote: > On Wed, 2022-06-29 at 17:39 +0200, Tim Lange wrote: > > > Hi, > > Thanks for the updated patch. > > Overall, looks nearly ready; various nits inline below, throughout... > > > > > I've

[PATCH v3] analyzer: add allocation size checker [PR105900]

2022-06-30 Thread Tim Lange
Hi, here's the updated patch that should address all the comments from the v2. - Tim This patch adds an checker that warns about code paths in which a buffer is assigned to a incompatible type, i.e. when the allocated buffer size is not a multiple of the pointee's size. 2022-07-30

Re: Setting up editors for the GNU/GCC coding style?

2022-07-28 Thread Tim Lange
8 spaces with 1 tab before sending the patch. That still wastes time because all files that I didn't touch look ugly unless I temporarily change the tabSize and some comments don't use tabs so I can't just replace all 8 spaces with 1 tab. For reference, my config file

GCC warns on defined behavior with Wrestrict?

2022-07-29 Thread Tim Lange
qualifier simplifies deducing that the memory location the parameter point to is never written for Wrestrict and already silences the warning. What do you think? - Tim [0] https://lists.gnu.org/archive/html/bug-gnulib/2022-07/msg00066.html [1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2912

Usage of the C++ stdlib unordered_map in GCC

2022-08-30 Thread Tim Lange
consensus on which data structure implementation is preferred. Should I rather use a hash_map instead of an unordered_map or is it on my side to decide which one I choose? - Tim

Re: Usage of the C++ stdlib unordered_map in GCC

2022-08-31 Thread Tim Lange
y lately switched to C++11 or other reasons. The responses answered my question, thanks. - Tim

Re: Debugging C++ frontend using CLion IDE

2023-03-01 Thread Tim Lange
i.e. replacing "-wrapper gdb" with "-wrapper gdbserver,localhost:2345". Then you can connect your IDE to that gdbserver and fully use the IDE interface to debug. You can configure running gcc with a gdbserver as a pre-task to automate this. - Tim PS: When I tried CLion la

Completing libstdc++ regex in GSoC

2013-04-21 Thread Tim Shen
those two specializations? Thanks! -- Tim Shen

[GSoC] Does this proposal look good?

2013-04-23 Thread Tim Shen
I in the right direction? Thanks! -- Tim Shen Completing C++11 regex * The Project This proposal aims to implement regex interfaces required by the C++11 standard as much as the student can. Besides, I get a clear status here(http://stackoverflow.com/questions/12530406/is-gcc4-7-bugg

Re: [GSoC] Does this proposal look good?

2013-04-24 Thread Tim Shen
earch algo as a final solution :) On Wed, Apr 24, 2013 at 4:30 PM, Florian Weimer wrote: > On 04/23/2013 07:21 PM, Tim Shen wrote: >> >> I've made a proposal under the guide of application. Is it detailed >> and realistic? > > > Out of curiosity, do you pla

Re: [GSoC] Does this proposal look good?

2013-04-24 Thread Tim Shen
2013 at 6:56 PM, Florian Weimer wrote: > On 04/24/2013 12:45 PM, Tim Shen wrote: >> >> I'm very interested in implementing a NFA->DFA module(does that mean a >> Thompson automaton?) so that the exponential searching algorithm can >> be reduced to a linear state

Re: Calculating cosinus/sinus

2013-05-11 Thread Tim Prince
the fsin code. I will try to optimize Moshier's SIN function later on. Well I will be surprised if you can find significant optimizations to that very clever routine. Certainly you have to be a floating-point expert to even touch it! Robert Dewar -- Tim Prince

Re: Calculating cosinus/sinus

2013-05-12 Thread Tim Prince
de on /your/ processor - don't jump to conclusions, or accept other benchmarks as giving the complete picture. Agreed. -- Tim Prince

Press Inquiry: History of GCC (german Linux Magazine)

2013-08-03 Thread Tim Schürmann
ly someone of the steering committee :)), who could answer us some questions and give us an insight in the development(-procedure). If you could help us (or know someone that knows someone :)), please send me an e-mail. Thanks in advance, Tim Schürmann Freelance Author tisch...@yahoo.

Re: RFC: SIMD pragma independent of Cilk Plus / OpenMPv4

2013-09-09 Thread Tim Prince
which are accepted but apparently ignored in the Intel omp simd implementation). I'll be discussing in a meeting later today my effort to publish material including discussion of OpenMP 4.0 implementations. -- Tim Prince

Re: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Tim Prince
at OpenMP chunks are more frequently unaligned. In fact, parallel for simd seems to perform nearly the same with gcc-4.9 as with icc. Many decisions on compiler defaults still are based on an unscientific choice of benchmarks, with gcc evidently more responsive to input from the community. -- Tim Prince

Re: How to generate AVX512 instructions now (just to look at them).

2014-01-03 Thread Tim Prince
le-languages='c c++ fortran' --enable-libgomp --enable-threads=posix --disable-libmudflap --disa ble-__cxa_atexit --with-dwarf2 --without-libiconv-prefix --without-libintl-prefi x --with-system-zlib -- Tim Prince

Re: How to generate AVX512 instructions now (just to look at them).

2014-01-03 Thread Tim Prince
ed 24 AVX-512 registers in the ifort compilation (/arch:MIC-AVX512) to avoid those spills and repeated memory operands in the gfortran avx2 compilation. How small a ratio of floating point to total instructions can you call "real Fortran?" -- Tim Prince

Re: -O3 and -ftree-vectorize

2014-02-06 Thread Tim Prince
ries about what the developers intend. I suppose this was posted on gcc list on account of such questions being ignored on gcc-help. -- Tim Prince

Re: -O3 and -ftree-vectorize

2014-02-07 Thread Tim Prince
On 02/07/2014 10:22 AM, Jakub Jelinek wrote: On Thu, Feb 06, 2014 at 05:21:00PM -0500, Tim Prince wrote: I'm seeing vectorization but no output from -ftree-vectorizer-verbose, and no dot product vectorization inside omp parallel regions, with gcc g++ or gfortran 4.9. Primary target

Re: -O3 and -ftree-vectorize

2014-02-08 Thread Tim Prince
On 2/7/2014 11:09 AM, Tim Prince wrote: On 02/07/2014 10:22 AM, Jakub Jelinek wrote: On Thu, Feb 06, 2014 at 05:21:00PM -0500, Tim Prince wrote: I'm seeing vectorization but no output from -ftree-vectorizer-verbose, and no dot product vectorization inside omp parallel regions, with

Re: Vectorizer Pragmas

2014-02-15 Thread Tim Prince
-O2 -ftree-vectorize can't be considered or -fno-strict-aliasing has to be set, I'm not about to second such a motion. -- Tim Prince

Re: Vectorizer Pragmas

2014-02-16 Thread Tim Prince
think gcc supports those only by explicit intrinsics. I don't think many people want to use both OpenMP 4 and older Intel directives together. Several of these directives are still in an embryonic stage in both Intel and gnu compilers. -- Tim Prince

Re: Vectorizer Pragmas

2014-02-17 Thread Tim Prince
On 2/17/2014 4:42 AM, Renato Golin wrote: On 16 February 2014 23:44, Tim Prince wrote: I don't think many people want to use both OpenMP 4 and older Intel directives together. I'm having less and less incentives to use anything other than omp4, cilk and whatever. I think we should

Re: Shouldn't unsafe-math-optimizations (re-)enable fp-contract=fast?

2014-03-06 Thread Tim Prince
-funsafe-math-optimizations then it should flip it back onto fast? That seems reasonable. I do see an improvement in several benchmarks by use of fma when I append -ffp-contract=fast after -std=c99 Thanks. -- Tim Prince

Re: [llvmlinux] Builtin: stack pointer

2014-03-27 Thread Tim Northover
as I'm aware, the users don't actually care about precision (they'd better not!).The difference is that this one doesn't force a frame pointer to be created, which can be good for optimised code. Cheers. Tim.

Re: weird optimization in sin+cos, x86 backend

2012-02-09 Thread Tim Prince
, but gcc doesn't know anything about the quality of math libraries present; it doesn't even take into account whether it's glibc or something else. -- Tim Prince

Re: weird optimization in sin+cos, x86 backend

2012-02-14 Thread Tim Prince
ure, but I thought the 64-bit pow() was OK. Andrew. No problems seen under elefunt with glibc 2.12 x86_64. -- Tim Prince

Re: weird optimization in sin+cos, x86 backend

2012-02-14 Thread Tim Prince
-> 1. DEFECT: Calculated (1-0.11102230E-15)**(-0.18014399E+17) differs from correct value by -0.34413050E-08 This much error may spoil calculations such as compounded interest. -- Tim Prince

Re: GCC: OpenMP posix pthread

2012-02-19 Thread Tim Prince
read? Do you have a specific OS family in mind? -- Tim Prince

Re: Vectorizer question

2012-05-16 Thread Tim Prince
be written return x==y ? x+y : x-y; -- Tim Prince

Re: GCC optimization report

2012-07-17 Thread Tim Prince
t but difficult to follow. It's nearly impossible to compare icc and gcc optimization other than by examining assembly and using a profiler which shows paths taken. -- Tim Prince

Re: gfortran error: Statement order error: declaration after DATA

2012-09-12 Thread Tim Prince
+kOkfeSQ+AvkWghU= =snlv -END PGP SIGNATURE- Surely someone has pointed out, you should require only to sort the file by placing the dimension statement ahead of the data statement, if you don't wish to adopt more modern syntax. -- Tim Prince

Re: calculation of pi

2012-11-03 Thread Tim Prince
compiler. Normally, this means you didn't install the optional (32-bit) glibc-devel i386. -- Tim Prince

Re: RFC: [ARM] Disable peeling

2012-12-11 Thread Tim Prince
than explicitly split (64-bit) loads, but the architecture manuals disagree with this finding. gcc already does a good job for corei7[-1] in such situations. -- Tim Prince

Re: not-a-number's

2013-01-16 Thread Tim Prince
tedly correct in not making such replacements as a default in violation of C specification. -- Tim Prince

Re: Floating Point subnormal numbers under C99 with GCC 4.7‏

2013-01-27 Thread Tim Prince
the results returned by fpclassify. 64-bit gcc defaults to -mfpmath=sse. -- Tim Prince

Re: Question about past research in detecting compiler used to create executable binary

2008-01-23 Thread Tim Josling
0ubuntu4) If this is a reverse engineering project, your adversary will probably have stripped as much of this kind of thing as possible though. Tim Josling

Re: RFC: GCC 4.4 criteria - add Fortran as primary language?

2008-02-20 Thread Tim Prince
Joel Sherrill wrote: Tobias Burnus wrote: According to the GCC 4.4 Release Criteria, http://gcc.gnu.org/gcc-4.4/criteria.html, only C and C++ are primary languages. And thus only C and C++ regressions can be release critical. I propose to add Fortran to these languages. Reasons: - Fortran is r

Re: Rant about ChangeLog entries and commit messages - better to do something than just complain

2008-02-23 Thread Tim Josling
y to maintain them on a weekly basis or so. Alternatively I could update the ChangeLog files themselves but I have reason to suspect that may not be popular. If nothing else happens I will keep it up-to-date for my own use. Tim Josling On Tue, 2007-12-04 at 08:05 -0500, Richard Kenner wrote: >

Re: How to understand gcc source code?

2008-03-22 Thread Tim Prince
Basile STARYNKEVITCH wrote: Hello All. Denys Vlasenko wrote: On Saturday 22 March 2008 11:14, Basile STARYNKEVITCH wrote: * on the positive side, GCC is still doing well and alive Why Intel and MS compilers are surpassing it? Honestly, I never coded last years on any Microsoft systems (exc

Getting host and target size and alignment information at build time?

2008-04-11 Thread Tim Josling
also the foreign function interface overheads. Tim Josling /* -*- C -*- */ /* Copyright ... FILE Generate target-info file, - data item attributes for target time. Output goes to standard output. */ #include #include #include #define IN_GCC #include "tconfig.h" #include "sys

Re: Getting host and target size and alignment information at build time?

2008-04-11 Thread Tim Josling
y different processes. Still if that's how GCC operates I will need to find some way to deal with it. Maybe a cut down libgccbackend that doesn't generate code, it just gives me the information I want. Tim Josling

Re: Getting host and target size and alignment information at build time?

2008-04-12 Thread Tim Josling
On Fri, 2008-04-11 at 17:05 -0400, Daniel Jacobowitz wrote: > On Sat, Apr 12, 2008 at 06:59:28AM +1000, Tim Josling wrote: > > > Why not get it out of GCC later? You don't need to hack up GCC to do > > > that. > That's not what I meant. You don't need it

Re: Getting host and target size and alignment information at build time?

2008-04-16 Thread Tim Josling
On Sat, 2008-04-12 at 18:16 +1000, Tim Josling wrote: > On Fri, 2008-04-11 at 17:05 -0400, Daniel Jacobowitz wrote: > > On Sat, Apr 12, 2008 at 06:59:28AM +1000, Tim Josling wrote: > > > > Why not get it out of GCC later? You don't need to hack up GCC to do > > >

Some questions about writing a front end

2008-04-16 Thread Tim Josling
just a question of which format to convert into. Thank you all for any help you can provide, Tim Josling

Re: [tuples] New requirement for new patches

2008-04-17 Thread Tim Josling
> - The C front end is bootstrapping. The failure rate in the testsuites is in the 2-4% range. I've been trying to do a C-only bootstrap of the tuples branch for a couple of days on "Linux tim-gcc 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 GNU/Lin

Re: Failure in bootstrapping gfortran-4.4.0-20080425 on Cygwin

2008-04-27 Thread Tim Prince
FX wrote: checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. Well, as it says so well, we need to see your config.log if we want to have any idea at all what's happening. That should be the file in int

Re: Failure in bootstrapping gfortran-4.4.0-20080425 on Cygwin

2008-04-27 Thread Tim Prince
H.J. Lu wrote: Is this related to http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01951.html H.J.y t Seems unlikely. I don't see that Fortran was involved in the failure, although both of us included it in configure. If it makes a difference, I'll try to bootstrap C alone tomorrow, from the su

Re: Some questions about writing a front end

2008-04-30 Thread Tim Josling
On Thu, 2008-04-17 at 10:24 -0700, Ian Lance Taylor wrote: > Tim Josling <[EMAIL PROTECTED]> writes: > > 5. What is deprecated: Is there any time-effective way to identify > > constructs, header files, macros, variable and functions that are > > "deprecated".

Re: Current failures on Cygwin

2008-05-03 Thread Tim Prince
Jerry DeLisle wrote: Here are gfortran failures I am seeing on Cygwin as of a few hours ago. I noticed some of these are at -O3, implying some optimization passes at fault. IIRC nint_2.f90 and default_format_denormal_1.f90 are not new. The rest of these are fairly recent. Maybe we need a me

Re: Default warnings and useless extensions (e.g. arithmetic on void *)

2008-06-10 Thread Tim Prince
Vincent Lefevre wrote: On 2008-06-09 16:02:05 +0200, Richard Guenther wrote: Use -pedantic to warn about extensions. It doesn't make sense to warn for extensions if they are not deprecated. After all they are extensions. The problem with -pedantic is that it gives lots of spurious warn

Re: GCC and OpenMP

2008-06-19 Thread Tim Prince
Sophia Han wrote: Hi, It seems that GCC 4.3.1 does not like the SuSE 10. 2v. It failed when I install GCC 4.3.1 on my linux machine. Should I upgrade to SuSE 11v in order to use GCC 4.3.1 or what do you suggest? Thanks, Sophia. Antoniu Pop wrote: Hi, I am currently working on installin

Re: gcc will become the best optimizing x86 compiler

2008-07-23 Thread Tim Prince
Agner Fog wrote: I have tested a few of the most important functions in libc and compared them with other available libraries (MS, Borland, Intel, Mac). The comparison does not look good for gnu libc. See my test results in http://www.agner.org/optimize/optimizing_cpp.pdf section 2.6. As far

Re: gcc will become the best optimizing x86 compiler

2008-07-29 Thread Tim Prince
Agner Fog wrote: Michael Matz wrote: You must be doing something wrong. If the compiler decides to inline the string ops it either knows the size or you told it to do it anyway (-minline-all-stringops or -minline-stringops-dynamically). In both cases will it use wider than byte moves when po

Instrument-functions: possible also for function exit via exception?

2008-08-29 Thread Tim München
n it isn't implemented yet). Or is it even impossible for some reason? (And: Would it furthermore be possible to get similar callbacks when an exception is catched?) Thanks, Tim

Re: Instrument-functions: possible also for function exit via exception?

2008-09-01 Thread Tim München
On Friday 29 August 2008 23:04:15 you wrote: > On Fri, Aug 29, 2008 at 2:36 AM, Tim München > > <[EMAIL PROTECTED]> wrote: > > is it somehow possible to also be notified if a function/method is left > > with a 'throw'? Or, would it be possible to patch gcc l

Re: IEEE inexact-flag not working on the Alpha (despite -mieee-with-inexact)?

2008-09-18 Thread Tim Prince
Roberto Bagnara wrote: > #include > #include > > int main() { > float x = 2; > float y = 3; > feclearexcept(FE_INEXACT); > x = x / y; > printf("%d %.1000g\n", fetestexcept(FE_INEXACT) != 0, x); > } Is this a way of testing whether the division is performed at compile time? Do you ca

Re: trimming excess errors from -Werror

2007-05-16 Thread Tim Prince
[EMAIL PROTECTED] wrote: cc1plus: warnings being treated as errors /cygdrive/e/gnu/gcc-4.3-20070511/libstdc++-v3/testsuite/17_int ro/headers/all_c++200x_compatibility.cc:1: error: -ffunction-sections may affect debugging on some targets This is actually a useful warning, since -ffunction-sec

Re: ***[Possible UCE]*** Dynamically linking against GMP and MPFR

2007-05-25 Thread Tim Prince
[EMAIL PROTECTED] wrote: If you carefully install the appropriate versions of GMP and MPFR on one machine in the normal way, and build gcc on that machine, cc1/cc1plus/etc. wind up dynamically linked against libgmp.so and libmpfr.so. If you then copy the compiler to some other system, or simply

Re: Dynamically linking against GMP and MPFR

2007-05-25 Thread Tim Prince
[EMAIL PROTECTED] wrote: However there are two existing options in the mean time: One is build/install gmp/mpfr yourself and specify --disable-shared to both. Then use --with-mpfr= to specify using them instead of the system's shared versions. The second is to drop gmp/mpfr into the top leve

Re: Dynamically linking against GMP and MPFR

2007-05-27 Thread Tim Prince
[EMAIL PROTECTED] wrote: On Fri, 25 May 2007, Tim Prince wrote: I spent quite a while getting out of the tangle I got into when I built mpfr and gmp with --disable-shared, leaving older incompatible shared libraries in the path. No doubt, it can be made to work, but with plenty of ways to go

Re: current gcc trunk testsuite failure on cygwin: Assembler messages: Warning: end of file in string; '"' inserted: Warning: .stabs: missing comma

2007-06-04 Thread Tim Prince
[EMAIL PROTECTED] wrote: phew, a few of the cygwin failures show up like this: Executing on host: /usr/local/src/trunk/objdir/gcc/xgcc -B/usr/local/src/trunk/objdir/gcc/ -O3 -g -w -fno-show-column -c -o 20001226-1.o /usr/local/src/trunk/gcc/gcc/testsuite/gcc.c-torture/compile/20001226-1.c (

Re: Bootstrap failure on ppc64

2007-06-05 Thread Tim Prince
[EMAIL PROTECTED] wrote: Hello, The following error is received on ppc64. Thanks, Revital symtab.o -MT symtab.o -MMD -MP -MF .deps/symtab.Po ../../gcc/libcpp/symtab.c /home/eres/mainline_lim/build/./prev-gcc/xgcc -B/home/eres/mainline_lim/build/./prev-gcc/ -B/home/eres/mainline_lim/build/powe

Re: testsuite trigraphs.c failure due to cygwin

2007-06-06 Thread Tim Prince
he message you quote above: http://gcc.gnu.org/ml/gcc/2007-03/msg01093.html Ian And I heeded your reply in the patch that eventually got applied to newlib. This test passed when I "make check"ed 4.2.0 RC2. I'll see if I can reproduce the problem. Tim, are you sure you have

Re: Some thoughts about steerring commitee work

2007-06-16 Thread Tim Prince
[EMAIL PROTECTED] wrote: On Sat, Jun 16, 2007 at 06:54:46PM +0300, Dorit Nuzman wrote: There are quite a few known simple cases which vectorizer fails to vectorize. by "known" you mean there are open missed-optimization PRs for them? (if Yes, that is what I meant. I'd be happy to file some

Re: missed vectorization (was Some thoughts about steerring commitee work)

2007-06-17 Thread Tim Prince
[EMAIL PROTECTED] wrote: Tim Prince <[EMAIL PROTECTED]> wrote on 17/06/2007 04:15:56: [EMAIL PROTECTED] wrote: On Sat, Jun 16, 2007 at 06:54:46PM +0300, Dorit Nuzman wrote: There are quite a few known simple cases which vectorizer fails to vectorize. by "known" you mea

Re: missed vectorization (was Some thoughts about steerring commitee work)

2007-06-17 Thread Tim Prince
[EMAIL PROTECTED] wrote: Tim Prince wrote: There are several issues. EQUIVALENCE produces such a problem (PR32373) as do various kinds of references to multiple sections of the same array (PR32375,32376,32377,32378,32379,32380). Only 2 of those PRs involve actual source/destination overlap

Re: I'm sorry, but this is unacceptable (union members and ctors)

2007-06-17 Thread Tim Prince
[EMAIL PROTECTED] wrote: http://gcc.gnu.org/mirrors.html Can someone recommend an alternative means of obtaining GCC source releases? I can't find a GCC source package in debian repositories. EDIT: I should've said the subversion repository is likely unworkible for my setup according to googl

Re: relation between gcc/glibc version and linux kernel version??

2007-06-24 Thread Tim Prince
[EMAIL PROTECTED] wrote: How closely tied are the linux kernel version and the gcc/glibc versions? and where exactly does binutils come in? Not at all closely, although versions from different years are unlikely to be well tested together. For eg: can i run a system with linux-2.4.20 kernel

Re: relation between gcc/glibc version and linux kernel version??

2007-06-25 Thread Tim Prince
[EMAIL PROTECTED] wrote: Hi For example i hear that native posix threads has portions of it implemented in kernel and also requires glibc support. In such cases if i attempt to run an application compiled with gcc-4 on a linux-2.4 kernel, wont there be problems?? With changes in binutils, would

Re: paranoia on PowerPC

2007-07-23 Thread Tim Prince
[EMAIL PROTECTED] wrote: Hi, In analyzing the output of paranoia, Eric Norum and I have noticed that when compiled at default optimization levels, the results are reported to have a flaw. When compiled with no optimization, paranoia reports no flaws. I tried this with RTEMS running on psim usi

Re: paranoia on PowerPC

2007-07-24 Thread Tim Prince
[EMAIL PROTECTED] wrote: On Mon, 2007-07-23 at 19:00 -0700, Tim Prince wrote: Should we know which version of Paranoia this is? It's the version having been integrated into the rtems source tree many years ago: http://www.rtems.org/cgi-bin/viewcvs.cgi/rtems/testsuites/samples/par

Re: Rebuild GCC 4.2

2007-07-25 Thread Tim Prince
[EMAIL PROTECTED] wrote: On 25/07/07, S.SRIDHAR <[EMAIL PROTECTED]> wrote: Hi... Now i am working on GCC v3.3.2 and kernel 2.4,i want to upgrade both to the latest version GCC v4.2 and kernel 2.6,i don't know how to do so can u help me That depends on which flavour of GNU/Linux

Re: Creating gcc-newbies mailing list

2007-07-27 Thread Tim Prince
[EMAIL PROTECTED] wrote: Since I have been around no more than one year, perhaps my perspective could have some interest for the discussion. Just an example. There are people that post patches in bugzilla and they seem interested in getting them integrated but normally they break coding style

Re: poor optimisation case

2007-08-05 Thread Tim Prince
[EMAIL PROTECTED] wrote: Hi I've found a case which looks like it should be possible to optimise but gcc (very recent trunk) isn't doing which could give improvements in many cases - certainly in a case I've come across: #ifdef NEW unsigned int fn(unsigned int n, unsigned int dmax) thro

Re: GCC "make" errors

2007-08-10 Thread Tim Prince
[EMAIL PROTECTED] wrote: Hi, I wanted update my GCC compiler to 4.2.1 to install an updated version of C libraries (glibc) and it is giving me errors while it is making the build. I type ./configure which works fine but when I type "make" it runs fine until it starts to give errors which are

Re: recent troubles with float vectors & bitwise ops

2007-08-23 Thread Tim Prince
Paolo Bonzini wrote: I'm curious, does ICC support vector arithmetic like this? The primary icc/icl use of SSE/SSE2 masking operations, of course, is in the auto-vectorization of fabs[f] and conditional operations: sum = 0.f; i__2 = *n; for (i__ = 1; i__ <= i__2; ++i__)

Re: recent troubles with float vectors & bitwise ops

2007-08-24 Thread Tim Prince
Paolo Bonzini wrote: 2) selection operations on vectors, kind of (v1 <= v2 ? v3 : v4). These can be written for example like this: cmpleps xmm1, xmm2 ; xmm1 = xmm1 <= xmm2 ? all-ones : 0 andnps xmm4, xmm1 ; xmm4 = xmm1 <= xmm2 ? 0 : xmm4 andps xmm1, xmm3 ; xmm1 = xmm1 <

Re: recent troubles with float vectors & bitwise ops

2007-08-27 Thread tim prince
tbp wrote: On 8/23/07, Tim Prince <[EMAIL PROTECTED]> wrote: Note that icc9 has a strong bias for pentium4, which had no stall penalty for mistyped fp vectors as for Intel it came with the pentium M line, so you see a pxor even if generating code for the core2. # cat autoicc.cc flo

Re: RFC: Hack to make restrict more useful

2007-09-03 Thread Tim Prince
Mark Mitchell wrote: > Joseph S. Myers wrote: > >> The rules that unmodified memory may alias were a deliberate change in the >> FDIS relative to the previous public draft; see >> : > > That explains why I had no memory of this, despite

Re: GCC "make" errors

2007-09-06 Thread Tim Prince
mandeep singh bhambra wrote: > I have installed the latest binutils (2.9.1) available from the GNU ftp site > so I cannot understand why this is occuring. Are there some sort of parameter > options I need to enter or do I need to reinstall the binutils with parameter > options? > On my laptop,

Re: Someone has caused regressions in gfortran (c_char_tests_red.f03, now PR33330)

2007-09-07 Thread Tim Prince
Dominique Dhumieres wrote: > In comment #7 of PR0, Richard Guenther asked the following question > I cannot answer: > >> Btw, is it mandated by the fortran standard to pass a scalar as array >> reference? > > Does anyone knows the answer? or should it be asked on comp.lang.fortran? > Here,

Re: Is Sun putting much effort into supporting the gcc/binutils toolchain on sparc64 ?

2007-09-12 Thread Tim Prince
Andrew Walrond wrote: > > I'm trying to conceive a valid business reason for Sun to be so > dismissive of the (surely massive?) gnu/linux hardware market, (even if > they would rather we used Solaris), but it eludes me completely. They are putting a lot of effort into linux on Intel and AMD. 18 y

<    1   2   3   >