Re: Question about constructing vector types in GIMPLE pass

2024-04-08 Thread Marc Glisse via Gcc
d a pointer that can alias anything build_qualified_type to add const (probably useless) build_aligned_type to specify that it is unaligned -- Marc Glisse

Re: Building gcc with "-O -g"?

2024-02-10 Thread Marc Glisse via Gcc
T fibonacci_heap.o -MMD -MP -MF ./.deps/fibonacci_heap.TPo ../../gcc/gcc/fibonacci_heap.cc Note the "-g -O2". Why? In addition to CFLAGS and BOOT_CFLAGS, you are missing CFLAGS_FOR_TARGET (plus the same 3 for CXX). I don't know if that's still sufficient, but that's what I used to set a few years ago. -- Marc Glisse

Re: Expected warning maybe-uninitialized does not appear using g++13.2.0?

2023-12-21 Thread Marc Glisse via Gcc
, function g starts with void g () { size_type __dnew; struct string a; [...] [local count: 1073741824]: _26 = a._M_string_length; if (_26 == 4611686018427387903) which should not require any interprocedural logic. -- Marc Glisse

Re: Question about merging if-else blocks

2023-09-26 Thread Marc Glisse via Gcc
is is? And is there any solution? If 'a' is a global variable, how do you know 'printf' doesn't modify its value? (you could know it for printf, but it really depends on the function that is called) -- Marc Glisse

Re: Different ASM for ReLU function between GCC11 and GCC12

2023-06-19 Thread Marc Glisse via Gcc
versions give the same result on negative 0 and NaN. -- Marc Glisse

Re: [GSoC] Conflicted Built-in Trait Name

2023-03-25 Thread Marc Glisse via Gcc
at code so __is_void becomes unused and can be removed? -- Marc Glisse

Re: Triggering -save-temps from the front-end code

2022-11-28 Thread Marc Glisse via Gcc
calls the true gcc with a different TMPDIR / -dumpdir each time. -- Marc Glisse

Re: Please, really, make `-masm=intel` the default for x86

2022-11-25 Thread Marc Glisse via Gcc
e in Intel syntax. The doc for -masm=dialect says: Darwin does not support ‘intel’. Assuming that's still true, and even with Mac Intel going away, it doesn't help. -- Marc Glisse

Re: Different outputs in Gimple pass dump generated by two different architectures

2022-11-11 Thread Marc Glisse via Gcc
since earlier. What would be causing the difference? Is this intended? Link <https://godbolt.org/z/eWxnYsK1z> for details. Thank you! See LOGICAL_OP_NON_SHORT_CIRCUIT in fold-const.cc (and various discussions on the topic in mailing lists and bugzilla). -- Marc Glisse

Re: clarification question

2022-10-22 Thread Marc Glisse via Gcc
as 0, and one for sparc, which has several. -- Marc Glisse

Re: Floating-point comparisons in the middle-end

2022-09-01 Thread Marc Glisse via Gcc
ng of -ftrapping-math. -- Marc Glisse

Re: GCC 12.1 Release Candidate available from gcc.gnu.org

2022-05-02 Thread Marc Glisse via Gcc
fy to -prevent the warning), even in conjunction with macros. This also +consider questionable. This also enables some language-specific warnings described in @ref{C++ Dialect -- Marc Glisse

Re: "cannot convert to a pointer type" error repeated tens of times

2022-02-12 Thread Marc Glisse
...); No, curl_easy_setopt is a macro. If you look at the preprocessed code, you get many statements doing the same wrong operation, and one warning for each of them. (wrong list, should be gcc-help, or an issue on bugzilla) -- Marc Glisse

Re: gcd_1.c:188:13: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'

2022-02-02 Thread Marc Glisse
be updated. -- Marc Glisse

Re: gcd_1.c:188:13: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'

2022-02-01 Thread Marc Glisse
version of GMP first? gcd_1.c has only 103 lines in release 6.2.1. A stack trace (UBSAN_OPTIONS=print_stacktrace=1) would make it easier to guess where this is coming from. -- Marc Glisse

Re: reordering of trapping operations and volatile

2022-01-08 Thread Marc Glisse
antee about this anyway. In the other case, it could affect correct code before the trap. -fnon-call-exceptions helps with the first testcase but not with the second one. I don't know if that's by accident, but the flag seems possibly relevant. -- Marc Glisse

Re: unexpected result with -O2 solved via "volatile"

2021-09-19 Thread Marc Glisse
hanged. https://gcc.gnu.org/bugs/ says that you should first try compiling your code with -fsanitize=undefined, which tells you at runtime that your code is broken. Apart from that, bug reports should go to https://gcc.gnu.org/bugzilla/ and questions to gcc-h...@gcc.gnu.org. -- Marc Glisse

Re: An asm constraint issue (ARM FPU)

2021-07-25 Thread Marc Glisse
he problem is that 's0' is a single-precision float register and it should be 'd0' instead. Either I'm seriously missing something, in which case I would be most obliged if someone sent me to the right direction; or it is a compiler or documentation bug. Thanks, Zoltan -- Marc Glisse

Re: bug in DSE?

2021-02-12 Thread Marc Glisse
ed int *)c.0_1] = 1311768467463790320;   _4 = c; Isn't that a clear violation of strict aliasing? -- Marc Glisse

Re: What is the type of vector signed + vector unsigned?

2020-12-29 Thread Marc Glisse
think clang follows gcc and uses the type of the first operand. -- Marc Glisse

Re: Integer division on x86 -m32

2020-12-10 Thread Marc Glisse
case, the most common being modular arithmetic: if you know that uint32_t a, b, c, d are smaller than m (and m!=0), you can compute a*b+c+d in uint64_t, then use div to compute that modulo m. -- Marc Glisse

Re: The conditions when convert from double to float is permitted?

2020-12-10 Thread Marc Glisse
-funsafe-math-optimizations is harder to tell. -- Marc Glisse

Re: Reassociation and trapping operations

2020-11-24 Thread Marc Glisse
te about the exact meaning of -ftrapping-math, but don't let that stop you. -- Marc Glisse

Re: Installing a generated header file

2020-11-12 Thread Marc Glisse
nything. * If so, can you please point me to an example? * Otherwise, I'd be interested in advice about providing new infrastructure to support this. I'm a relative noob with respect to the configury code, and I'm sure my initial instincts will be wrong. :) Does the i386 mm_mal

Re: A couple GIMPLE questions

2020-09-05 Thread Marc Glisse
ease contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. Could you please get rid of this when posting on public mailing lists? -- Marc Glisse

Re: [RFC] Add new flag to specify output constraint in match.pd

2020-09-02 Thread Marc Glisse
those extra checks block the transformation even for 5*X-4*X -> X which does not increase the number of multiplications. Which is where '!' (or :v here) comes in. Or we could decide that the extra multiplication is not that bad if it saves an addition, simplifies the expression, possibly gains more insn parallelism, etc, in which case we could just drop the existing hard single_use check... -- Marc Glisse

Re: [RFC] Add new flag to specify output constraint in match.pd

2020-08-23 Thread Marc Glisse
; expr_not_equal_to (@0, wi::minus_one (TYPE_PRECISION (type)) (mult:v{ !single_use (@3) && !single_use (@4 } (plusminus @1 @2) @0 Indeed, something more flexible than '!' would be nice, but I am not so sure about this version. If we are going to allow inserting code after resimplification and before validation, maybe we should go even further and let people insert arbitrary code there... -- Marc Glisse

Re: Local optimization options

2020-07-05 Thread Marc Glisse
n possible, not so bad. -- Marc Glisse

Re: How to get the data dependency of GIMPLE variables?

2020-06-15 Thread Marc Glisse
or lower level https://gcc.gnu.org/onlinedocs/gccint/Logical-Operators.html#Operand-vector-allocation But really you need to look at the code of gcc. Search for places that use SSA_NAME_DEF_STMT and see what they do with the result. -- Marc Glisse

Re: How to get the data dependency of GIMPLE variables?

2020-06-14 Thread Marc Glisse
_22 used in the last assignment, I have no idea of how to trace back to its definition on the fourth statement... Thank you very much! SSA_NAME_DEF_STMT _13 = 13; _14 = _13 + 4; _15 = 14; _22 = (unsigned long) _15; _23 = _22 + _14; -- Marc Glisse

Re: [RFC] add push/pop pragma to control the scope of "using"

2020-01-15 Thread Marc Glisse
committee first. However, you should first check if modules (C++20) affect the issue. -- Marc Glisse

Re: [ARM] LLVM's -arm-assume-misaligned-load-store equivalent in GCC?

2020-01-07 Thread Marc Glisse
r2, [r0, #4]@ unaligned instead of strdr1, r2, [r0] -- Marc Glisse

Re: Disappeared flag: -maes on -march=ivybridge, present in -march=native

2019-07-28 Thread Marc Glisse
.     (PTA_GOLDMONT): Likewise. As you can see, this is very much on purpose. See https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01940.html for the explanation that came with the patch. -- Marc Glisse

Re: Testsuite not passing and problem with xgcc executable

2019-06-08 Thread Marc Glisse
has been failing for a long time now, and running it for individual .sum files fails for jit and libphobos. Other scripts in contrib/ may be relevant. -- Marc Glisse

Re: On-Demand range technology [2/5] - Major Components : How it works

2019-06-04 Thread Marc Glisse
important stuff at address 0, they also want to be able to do arithmetic there. -- Marc Glisse

Re: [RFC] -Weverything

2019-01-23 Thread Marc Glisse
the estimated frame size on every function, -Walloca-larger-than=0 so it is equivalent to -Walloca, etc. -- Marc Glisse

Re: [RFC] -Weverything

2019-01-22 Thread Marc Glisse
discover warnings, but gcc devs fear that users will actually use it for real. -- Marc Glisse

Re: "match.pd" (was: Can support TRUNC_DIV_EXPR, TRUNC_MOD_EXPR in GCC vectorization/scalar evolution -- and/or linearization?)

2018-11-04 Thread Marc Glisse
? convert2? and specify for which particular conversions the transformation is valid. Finding out the right conditions to detect these conversions is often the most painful part of writing a match.pd transformation. I hope to get some time again soon to continue looking into this, but if anybody got any ideas, I'm all ears. -- Marc Glisse

Re: Can support TRUNC_DIV_EXPR, TRUNC_MOD_EXPR in GCC vectorization/scalar evolution -- and/or linearization?

2018-10-12 Thread Marc Glisse
type) i_11; _4 = _2 + _3; and in both cases we fail to notice that _4 = (sizetype) tmp_17; (at least I think that's true). So there are missing match.pd transformations in addition to whatever scev/ivdep/other work is needed. -- Marc Glisse

Re: Can offsetting a non-null pointer result in a null one?

2018-08-20 Thread Marc Glisse
value_ranges_intersect_p with a singleton range, but that function seems dead and broken). When POINTER_PLUS_EXPR is changed to take a signed argument, your suggested test will need updating :-( -- Marc Glisse

Re: Can offsetting a non-null pointer result in a null one?

2018-08-20 Thread Marc Glisse
he opposite direction may be both easier and safer, even if it won't handle everything: P p+ N is nonnull if P or N is known to be nonnull (and something similar for &p->field and others) -- Marc Glisse

Re: r227907 and AIX 5.[23]

2018-07-25 Thread Marc Glisse
someone has the time, of course. -- Marc Glisse

Re: -Wclass-memaccess warning should be in -Wextra, not -Wall

2018-07-10 Thread Marc Glisse
gory where we don't want to litter the code with casts to quiet the warnings, I find -Wsign-compare way worse in practice than -Wclass-memaccess. -- Marc Glisse

Re: -Wclass-memaccess warning should be in -Wextra, not -Wall

2018-07-08 Thread Marc Glisse
On Sun, 8 Jul 2018, Jason Merrill wrote: On Sun, Jul 8, 2018 at 6:40 PM, Marc Glisse wrote: On Fri, 6 Jul 2018, Martin Sebor wrote: On 07/05/2018 05:14 PM, Soul Studios wrote: Simply because a struct has a constructor does not mean it isn't a viable target/source for use with m

Re: -Wclass-memaccess warning should be in -Wextra, not -Wall

2018-07-08 Thread Marc Glisse
st (PR 86024 seems related, there are probably some closer matches), but indeed more would be helpful. -- Marc Glisse

Re: How to get GCC on par with ICC?

2018-06-08 Thread Marc Glisse
owns when compiled with GCC vs. ICC. -- Marc Glisse

Re: Generating gimple assign stmt that changes sign

2018-05-21 Thread Marc Glisse
nt to patch genmatch.c (near get_operand_type maybe?) so it doesn't try to guess that the type of absu is the same as its argument. You can also specify a type in transformations, look for :utype or :etype in match.pd. -- Marc Glisse

Re: Unused __builtin_ia32_* builtins

2018-05-10 Thread Marc Glisse
r arith instead? When I removed their use in the intrinsic headers, I tried to remove them, but Ada people asked us to keep them https://gcc.gnu.org/ml/gcc-patches/2014-10/msg00843.html -- Marc Glisse

Re: About Bug 52485

2018-05-09 Thread Marc Glisse
few spaces. A single run of clang-tidy would likely fix all of them for you. -- Marc Glisse

Re: libstdc++: ODR violation when using std::regex with and without -D_GLIBCXX_DEBUG

2018-05-08 Thread Marc Glisse
to help with that? (I didn't really think about it, maybe it doesn't) "don't do that" remains the most sensible answer. -- Marc Glisse

Re: why C++ cannot alias an inline function, C can ?

2018-04-01 Thread Marc Glisse
ays_inline)) void foo(void){} }; static inline __attribute__((always_inline,alias("foo"))) void bar(void); Or you can use an asm label to specify some arbitrary name. -- Marc Glisse

Re: gcc 7.3: Replacing global operator new/delete in shared libraries

2018-02-07 Thread Marc Glisse
lity=hidden to hide everything but a few carefully chosen interfaces. -- Marc Glisse

Re: gdb 8.x - g++ 7.x compatibility

2018-02-07 Thread Marc Glisse
understand there's no mangled name for the class such that echo | c++filt outputs the class name (e.g. "Foo<10>"). That wouldn't make sense, since there's no symbol for the class itself. $ echo _Z1YI1XE | c++filt Y -- Marc Glisse

Re: gcc 7.3: Replacing global operator new/delete in shared libraries

2018-02-07 Thread Marc Glisse
don't have much experience there. -- Marc Glisse

Re: gcc Bugzilla corrupt again?

2017-11-22 Thread Marc Glisse
In preferences, you get to choose the behavior "After changing a bug". Default is "Show next bug in my list". -- Marc Glisse

Re: GCC Buildbot Update - Definition of regression

2017-10-11 Thread Marc Glisse
arith-overflow.c.exe iteration 2 of PASS: test-arith-overflow.c.exe iteration 4 of 5: verify_u PASS: test-combination. PASS: test-combination.c.exe it [...] The issue is more likely in the testsuite, but I assume you have a workflow that allows working around the issue? -- Marc Glisse

Re: -pie option in ARM64 environment

2017-09-29 Thread Marc Glisse
ou run "gcc -dumpspecs"? If so you could provide a different specs file. Otherwise, you could check the patches that your distribution applies to gcc, one of them likely has "pie" in its name. Easiest is likely to build gcc from the official sources, which shouldn't use pie by default. -- Marc Glisse

Re: Infering that the condition of a for loop is initially true?

2017-09-14 Thread Marc Glisse
test of the loop, as can be seen in the dump produced with -fdump-tree-optimized. -- Marc Glisse

Re: Bug in GCC 7.1?

2017-05-05 Thread Marc Glisse
e a problem with gcc, maybe optimization creates a path that corresponds to size==0 and fails to notice that it cannot be taken. -- Marc Glisse

Re: Support Library Requirements for GCC 7.1

2017-05-02 Thread Marc Glisse
build recipe: %define mpfr_version 2.4.2 %define mpc_version0.8.1 %define gmp_version4.3.2 I tried that with gcc 7.1.0 but the build failed complaining mpfr was too old. Could you be more precise about how the build failed? AFAIK mpfr-2.4.2 is still supposed to work. -- Marc Glisse

Re: Deprecating arithmetic on std::atomic

2017-04-20 Thread Marc Glisse
t violates the standard... -- Marc Glisse

Re: GCC 6.2.0 : What does the undocumented -r option ?

2016-11-07 Thread Marc Glisse
dening stuff is such a pain...) -- Marc Glisse

Re: how to check if target supports andnot instruction ?

2016-10-13 Thread Marc Glisse
On Thu, 13 Oct 2016, Prathamesh Kulkarni wrote: On 12 October 2016 at 14:43, Richard Biener wrote: On Wed, 12 Oct 2016, Marc Glisse wrote: On Wed, 12 Oct 2016, Prathamesh Kulkarni wrote: I was having a look at PR71636 and added the following pattern to match.pd: x & ((1U << b)

Re: how to check if target supports andnot instruction ?

2016-10-12 Thread Marc Glisse
n we should avoid the transformation, just that we should fix the RA issue (by the way, if you have time to file a separate PR for the RA issue, that would be great, otherwise I'll try to do it at some point...). However it seems andnot isn't a standard pattern name, so am not sur

Re: Is this FE bug or am I missing something?

2016-09-13 Thread Marc Glisse
In the mean time, I agree that gimplifying x+1 and 1+x differently makes little sense, you could file a PR about that. -- Marc Glisse

Re: Is this FE bug or am I missing something?

2016-09-12 Thread Marc Glisse
time. -- Marc Glisse

Re: Vector unaligned load/store x86 intrinsics

2016-08-26 Thread Marc Glisse
On Fri, 26 Aug 2016, Richard Biener wrote: On Thu, Aug 25, 2016 at 9:40 PM, Marc Glisse wrote: Hello, I was considering changing the implementation of _mm_loadu_pd in x86's emmintrin.h to avoid a builtin. Here are 3 versions: typedef double __m128d __attribute__ ((__vector_size_

Vector unaligned load/store x86 intrinsics

2016-08-25 Thread Marc Glisse
nment-check stuff is not supported by gcc? -- Marc Glisse

Re: [RFC][Draft patch] Introduce IntegerSanitizer in GCC.

2016-07-04 Thread Marc Glisse
itfields (sadly, the standards make it hard to avoid unsigned types...). -- Marc Glisse

Re: An issue with GCC 6.1.0's make install?

2016-06-04 Thread Marc Glisse
ning make install without the -s command line parameter yields nothing. Have I done something wrong? "nothing" is not very helpful... Surely it gave some error message. -- Marc Glisse

Re: Implicit conversion to a generic vector type

2016-05-27 Thread Marc Glisse
, currently), they will submit a patch to gcc-patc...@gcc.gnu.org, which will be reviewed. Note that a patch needs to include testcases (see the files in gcc/testsuite/g++.dg for examples). If you are interested, you could give it a try... -- Marc Glisse

Re: Implicit conversion to a generic vector type

2016-05-26 Thread Marc Glisse
rator+, etc), and in others they don't (conversions in general). We have scalarish_type_p for things that are scalars or vectors, we could add arithmeticish_type_p ;-) (I think the name arithmetic comes directly from the standard, so we don't want to change its meaning) -- Marc Glisse

Re: Implicit conversion to a generic vector type

2016-05-25 Thread Marc Glisse
~ Apparently there is some implicit conversion rule that stops g++ from doing the expected implicit conversions, but I can't figure out which rule that is. The fact clang handles the code without an issue does not help either. Any help will be appreciated. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57572 -- Marc Glisse

Re: Updating the GCC 6 release notes

2016-05-03 Thread Marc Glisse
case hat helps. https://gcc.gnu.org/about.html#cvs You can send a diff to gcc-patc...@gcc.gnu.org to propose a patch (possibly Cc: the fortran mailing-list if your patch is related), same as code changes. -- Marc Glisse

Re: Constexpr in intrinsics?

2016-03-28 Thread Marc Glisse
On Mon, 28 Mar 2016, Allan Sandfeld Jensen wrote: On Sunday 27 March 2016, Marc Glisse wrote: On Sun, 27 Mar 2016, Allan Sandfeld Jensen wrote: Would it be possible to add constexpr to the intrinsics headers? For instance _mm_set_XX and _mm_setzero intrinsics. Already suggested here: https

Re: Constexpr in intrinsics?

2016-03-27 Thread Marc Glisse
On Sun, 27 Mar 2016, Allan Sandfeld Jensen wrote: Would it be possible to add constexpr to the intrinsics headers? For instance _mm_set_XX and _mm_setzero intrinsics. Already suggested here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65197 A patch would be welcome (I started doing it at so

Re: Subtyping support in GCC?

2016-03-23 Thread Marc Glisse
your need? -- Marc Glisse

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread Marc Glisse
for what kinds of member functions are allowed in an empty type. -- Marc Glisse

Re: getting bugzilla access for my account

2016-01-02 Thread Marc Glisse
find docs for how to request this, so spamming this list. my account on gcc.gnu.org/bugzilla is "vap...@gentoo.org". Permissions are automatic for @gcc addresses, you should create a new account with that one (you can make it follow the old account, etc). -- Marc Glisse

Re: Strange C++ function pointer test

2015-12-31 Thread Marc Glisse
.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#2294 -- Marc Glisse

Re: Strange C++ function pointer test

2015-12-31 Thread Marc Glisse
seem to remember there are at least 2 open LWG issues on the topic, one saying that the C++11 change didn't go far enough to match reality, since it still documents C headers differently from the C standard, and one saying that all overloads of abs should be declared as soon as one is (yes, they contradict each other). -- Marc Glisse

Re: Strange C++ function pointer test

2015-12-31 Thread Marc Glisse
case, and there are bugs (or standard issues) about having them in the global namespace for the first one). -- Marc Glisse

RE: GCC Front-End Questions

2015-12-08 Thread Marc Glisse
tterns (described in fold-const.c and match.pd), like p + n < p in this case. -- Marc Glisse

Re: GCC 5.4 Status report (2015-12-04)

2015-12-04 Thread Marc Glisse
td::string in gcc-5, can't you? -- Marc Glisse

Re: complex support when using -std=c++11

2015-11-12 Thread Marc Glisse
way, or libstdc++ could redefine it to some other safer form (for some reason __builtin_complex is currently C-only). -- Marc Glisse

Re: avoiding recursive calls of calloc due to optimization

2015-09-21 Thread Marc Glisse
the function is calloc(). Please help me to find the best alternative so we can implent it. You may want to read this PR for more context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888#c27 -- Marc Glisse

Re: Multiprecision Arithmetic Builtins

2015-09-21 Thread Marc Glisse
e a carryin argument. -- Marc Glisse

Re: Replacing malloc with alloca.

2015-09-14 Thread Marc Glisse
never had time to finish it. https://gcc.gnu.org/ml/gcc-patches/2013-11/msg03108.html -- Marc Glisse

Re: [RFH] Move some flag_unsafe_math_optimizations using simplify and match

2015-08-11 Thread Marc Glisse
0 (exps @1)) + (mult @0 (exps (negate @1) + +/* Simplify x / pow (y,z) -> x * pow(y,-z). */ +(simplify + (rdiv @0 (POW @1 @2)) + (mult @0 (POW @1 (negate @2 + /* Special case, optimize logN(expN(x)) = x. */ (for logs (LOG LOG2 LOG10) exps (EXP EXP2 EXP10) -- Marc Glisse

Re: Possible issue with ARC gcc 4.8

2015-07-05 Thread Marc Glisse
etected by sanitizers) than silently get 'x' back. -- Marc Glisse

Re: [i386] Scalar DImode instructions on XMM registers

2015-04-24 Thread Marc Glisse
change that) https://gcc.gnu.org/ml/gcc-patches/2013-03/msg00745.html https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00769.html In this case, a subreg:V2DI of DImode should work. -- Marc Glisse

Re: -Wno-c++11-extensions addition

2015-03-25 Thread Marc Glisse
ption.22_is_not_given_for_-Wno-foo -- Marc Glisse

Re: Named parameters

2015-03-16 Thread Marc Glisse
not such a good list for that, comp.lang.c is better suited. This will be a good list if you have technical issues implementing the feature. -- Marc Glisse

Re: A bug (?) with inline functions at O0: undefined reference

2015-03-06 Thread Marc Glisse
collect2: error: ld returned 1 exit status Is this a bug? If yes, is it known? GCC 4.8.3 works fine though. Not a bug, that's what inline means in C99 and later. -- Marc Glisse

Re: unfused fma question

2015-02-23 Thread Marc Glisse
seful for other purposes: don't introduce complicated vector/complex operations after the corresponding lowering passes, do narrowing until a certain point but then prefer fast integer sizes, etc (I haven't thought about those particular examples, they are only an illustration). -- Marc Glisse

Re: C++ Standard Question

2015-01-22 Thread Marc Glisse
tion const if that works (or provide both a const and a non-const version). Your code is not guaranteed to work. Lambdas usually provide a fine workaround. -- Marc Glisse

Re: volatile access optimization (C++ / x86_64)

2014-12-26 Thread Marc Glisse
tric]". https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50677 -- Marc Glisse

Re: How to identify the type of the object being created using the new operator?

2014-10-06 Thread Marc Glisse
emory. (If A and B don't have the same size, the argument 20 can be a hint) -- Marc Glisse

Re: Fwd: Building gcc-4.9 on OpenBSD

2014-09-17 Thread Marc Glisse
On Wed, 17 Sep 2014, Ian Grant wrote: On Wed, Sep 17, 2014 at 1:36 PM, Marc Glisse wrote: On Wed, 17 Sep 2014, Ian Grant wrote: And is there any way to disable the Intel library? --disable-libcilkrts (same as the other libs) If it explicitly doesn't support your system, I am

Re: Fwd: Building gcc-4.9 on OpenBSD

2014-09-17 Thread Marc Glisse
l it "the Intel library", that doesn't mean anything. -- Marc Glisse

  1   2   3   >