[Bug target/53134] Request for option to disable excess precision on i387

2012-04-27 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53134 --- Comment #4 from joseph at codesourcery dot com 2012-04-27 10:23:42 UTC --- On Fri, 27 Apr 2012, bugdal at aerifal dot cx wrote: > Since even with the precision mode set correctly the exponent range of 387 fpu > registers still matche

[Bug target/53134] Request for option to disable excess precision on i387

2012-04-27 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53134 --- Comment #5 from joseph at codesourcery dot com 2012-04-27 10:26:22 UTC --- See also what I said in <http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00105.html>: The option naming leaves open the possibility of other options s

[Bug preprocessor/58887] Allow recursion in variadic macros?

2013-10-27 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58887 --- Comment #3 from joseph at codesourcery dot com --- We take the view that the preprocessor is deliberately meant to be limited and overly complicated features in it would be contrary to the spirit of C. Of course if they are introduced in

[Bug preprocessor/58887] Allow recursion in variadic macros?

2013-10-28 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58887 --- Comment #7 from joseph at codesourcery dot com --- On Sun, 27 Oct 2013, mtewoodbury at gmail dot com wrote: > That has not always stopped you all in the past, but that is really neither We have plenty of experience dealing with

[Bug preprocessor/58887] Allow recursion in variadic macros?

2013-10-28 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58887 --- Comment #8 from joseph at codesourcery dot com --- (And for recursion, even specification at the level of standard text might leave something to be desired; I'd think specification at the level of X3J11/86-196, the algorithm GCC tri

[Bug preprocessor/58887] Allow recursion in variadic macros?

2013-10-28 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58887 --- Comment #10 from joseph at codesourcery dot com --- On Mon, 28 Oct 2013, mtewoodbury at gmail dot com wrote: > (Stop the 'we'! Name or enumerate the group involved please.) Well-established consensus among the GCC maintaine

[Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers

2013-10-28 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687 --- Comment #8 from joseph at codesourcery dot com --- Thanks for working on this bug. http://gcc.gnu.org/contribute.html describes how to submit changes (including testcases etc.).

[Bug preprocessor/58887] Allow recursion in variadic macros?

2013-10-30 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58887 --- Comment #12 from joseph at codesourcery dot com --- On Wed, 30 Oct 2013, mtewoodbury at gmail dot com wrote: > I think I understand consensus, but I only hear your voice here, not the voice > of a multitude. You may be part of the con

[Bug bootstrap/58918] [4.9 regression] cilk #includes alloc.h unconditionally, even when not present

2013-10-30 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58918 --- Comment #2 from joseph at codesourcery dot com --- XALLOCA is a libiberty macro, target libraries shouldn't be using libiberty headers.

[Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers

2013-10-30 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687 --- Comment #12 from joseph at codesourcery dot com --- On Wed, 30 Oct 2013, mtewoodbury at gmail dot com wrote: > Thank you, I will look info all of that. My own resources have limits; when > it > comes to testing generated cod

[Bug target/48326] Target attribute leaks from function pointers

2013-11-01 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48326 --- Comment #6 from joseph at codesourcery dot com --- On Fri, 1 Nov 2013, michael at talamasca dot ocis.net wrote: > Do I have to file a separate bug report in order to fix the problem that > current GCC releases can't be expected t

[Bug driver/55651] gcc hangs when "-Wp," is passed on the command line

2013-11-04 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55651 --- Comment #3 from joseph at codesourcery dot com --- On Mon, 4 Nov 2013, mingjie.xing at gmail dot com wrote: > 2013-11-04 Mingjie Xing > > * common.opt (Wa, Wl, Wp,): Change JoinedOrMissing to Joined. That sounds wron

[Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers

2013-11-04 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687 --- Comment #16 from joseph at codesourcery dot com --- On Mon, 4 Nov 2013, mtewoodbury at gmail dot com wrote: > Could you all give me some idea on how soon this might be applied? At some time after seeing this on gcc-patches, I or anot

[Bug target/59035] [4.9 Regression] FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test

2013-11-07 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59035 --- Comment #2 from joseph at codesourcery dot com --- If -ffp-contract=off is set for any object (whether explicitly, or implicitly by an option such as -std=c99), the safe option for LTO would be to set -ffp-contract=off at link time as well.

[Bug other/49661] et-forest.h uses extern "C"

2013-11-11 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49661 --- Comment #3 from joseph at codesourcery dot com --- libiberty is a C library. I don't consider that relevant to any code not actually part of libiberty.

[Bug middle-end/34678] Optimization generates incorrect code with -frounding-math option (#pragma STDC FENV_ACCESS not implemented)

2013-11-11 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678 --- Comment #22 from joseph at codesourcery dot com --- On Mon, 11 Nov 2013, nmm1 at cam dot ac.uk wrote: > There are also very strong grounds for not wanting IEEE 754 support by > default, anyway, because of the performance impact and bec

[Bug c/59159] Need opaque pass-through as optimization barrier

2013-11-17 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59159 --- Comment #1 from joseph at codesourcery dot com --- On Sun, 17 Nov 2013, glisse at gcc dot gnu.org wrote: > propagation, or replace x*-y with -x*y, or move operations across fesetround, Do you mean -(x*y)? I don't see the prob

[Bug c/59159] Need opaque pass-through as optimization barrier

2013-11-18 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59159 --- Comment #5 from joseph at codesourcery dot com --- On Mon, 18 Nov 2013, rguenth at gcc dot gnu.org wrote: > I wonder whether a very early pass splitting functions at FENV clobber > points and preventing re-inlining would be a better so

[Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers

2013-11-19 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687 --- Comment #19 from joseph at codesourcery dot com --- On Tue, 19 Nov 2013, mtewoodbury at gmail dot com wrote: > it's been a couple weeks. Any progress? I don't recall seeing this on gcc-patches (any patch attached to Bugzilla

[Bug c/59193] Unused postfix operator temporaries

2013-11-19 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59193 --- Comment #1 from joseph at codesourcery dot com --- I see nothing at http://gcc.gnu.org/codingconventions.html that would apply such a C++ coding practice to the mostly C-like code in GCC. Changes to coding conventions should be proposed on

[Bug other/50900] 'gmake pdf' fails in libiberty

2013-11-25 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50900 --- Comment #13 from joseph at codesourcery dot com --- Isn't this the issue fixed by 2012-06-29 Andreas Schwab * copying-lib.texi (Library Copying): Don't use @heading inside @enumerate. (which I more recently bac

[Bug target/59305] [4.9 Regression] gcc.dg/atomic/c11-atomic-exec-5.c fails with WARNING: program timed out on x86_64-apple-darwin13

2013-11-27 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59305 --- Comment #2 from joseph at codesourcery dot com --- For powerpc see: http://gcc.gnu.org/ml/gcc/2013-11/msg00131.html - the failures indicate the architecture maintainers have not yet added this hook.

[Bug c/59316] gcc.dg/atomic/c11-atomic-exec-5.c FAILs on Solaris/SPARC

2013-11-27 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59316 --- Comment #2 from joseph at codesourcery dot com --- See: http://gcc.gnu.org/ml/gcc/2013-11/msg00131.html - the failures indicate the architecture maintainers have not yet added this hook (for either SPARC, or ARM, or any non-x86 architecture).

[Bug c/59316] gcc.dg/atomic/c11-atomic-exec-5.c FAILs on Solaris/SPARC

2013-11-27 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59316 --- Comment #4 from joseph at codesourcery dot com --- Feel free to add a comment mentioning the hook targets need to define for this test to pass.

[Bug target/59316] gcc.dg/atomic/c11-atomic-exec-5.c FAILs on Solaris/SPARC

2013-11-28 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59316 --- Comment #8 from joseph at codesourcery dot com --- It fails everywhere that (a) supports floating-point exceptions, (b) has not had the target hook added and (c) supports pthreads ((c) is a requirement for the test to run - the feature in

[Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers

2013-11-29 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687 --- Comment #22 from joseph at codesourcery dot com --- On Fri, 29 Nov 2013, mtewoodbury at gmail dot com wrote: > The elaborate description of the different forms of the '#line' (and other) > directives makes it clear that exp

[Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers

2013-11-29 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687 --- Comment #24 from joseph at codesourcery dot com --- On Fri, 29 Nov 2013, mtewoodbury at gmail dot com wrote: > > The question is not when it takes place, it's what the "current token" is > > when it takes plac

[Bug target/59316] gcc.dg/atomic/c11-atomic-exec-5.c FAILs on Solaris/SPARC

2013-12-02 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59316 --- Comment #11 from joseph at codesourcery dot com --- On Mon, 2 Dec 2013, ebotcazou at gcc dot gnu.org wrote: > Ugh. Linux and Solaris disagree on the values of the FE_* macros so we will > need to have OS-dependent code

[Bug target/59316] gcc.dg/atomic/c11-atomic-exec-5.c FAILs on Solaris/SPARC

2013-12-02 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59316 --- Comment #12 from joseph at codesourcery dot com --- One possibility would be to change libatomic/fenv.c to include a local atomic-fenv.h (for example) header instead of (which would no longer need a configure check), so that if the generic

[Bug target/59316] gcc.dg/atomic/c11-atomic-exec-5.c FAILs on Solaris/SPARC

2013-12-03 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59316 --- Comment #15 from joseph at codesourcery dot com --- On Tue, 3 Dec 2013, ebotcazou at gcc dot gnu.org wrote: > > In any case, c11-atomic-exec-5.c does not test anything relating to enabled > > traps, although the feholdexcept c

[Bug c/58943] [4.7/4.8/4.9 Regression] wrong calculation of indirect structure member arithmetic via function call

2013-12-03 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58943 --- Comment #4 from joseph at codesourcery dot com --- I think it should be fixed for all C standard versions, not just C11 (that is, the front end should produce something like (save (rhs), save (lhs) = save (lhs) op save (rhs)) to get the

[Bug c/58943] [4.7/4.8/4.9 Regression] wrong calculation of indirect structure member arithmetic via function call

2013-12-04 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58943 --- Comment #6 from joseph at codesourcery dot com --- Yes, something like that.

[Bug bootstrap/59447] --with-dwarf2 is not propagated correctly, will always create dwarf4 by default

2013-12-10 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59447 --- Comment #1 from joseph at codesourcery dot com --- This is a documentation bug - the installation manual should make clear that "DWARF 2" in the description of this option means DWARF 2 or later, as appropriate for the target, as

[Bug c/59448] Code generation doesn't respect C11 address-dependency

2013-12-10 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59448 --- Comment #3 from joseph at codesourcery dot com --- The code generated appears fully in accordance with the semantics of C11. You refer to 5.1.2.4#14, the definition of "carries a dependency". The term "carries a depe

[Bug middle-end/59448] Code generation doesn't respect C11 address-dependency

2013-12-16 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59448 --- Comment #5 from joseph at codesourcery dot com --- On Thu, 12 Dec 2013, algrant at acm dot org wrote: > demonstrates the same lack of ordering. You suggest that this might > be a problem with the atomic built-ins - and yes, if this ha

[Bug c++/57709] -Wshadow is too strict / has false positives

2013-12-17 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709 --- Comment #12 from joseph at codesourcery dot com --- On Sat, 14 Dec 2013, jan.kratochvil at redhat dot com wrote: > Similar inappropriate warning is generated for typedef-vs-variable as reported > now by Adam Jackson. Again a mistak

[Bug c/59520] a possible inconsistency in error diagnostics with "-pedantic -std=c99"

2013-12-17 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59520 --- Comment #1 from joseph at codesourcery dot com --- The main concerns for diagnostics in such cases are (a) that they are meaningful and (b) that invalid code gets at least one error with -pedantic-errors, and at least one warning or error

[Bug preprocessor/20262] __LINE__ implementation flaky.

2013-12-17 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20262 --- Comment #6 from joseph at codesourcery dot com --- Indeed, I think the current token could reasonably be anything from "assert" to the ")" ending the call to "assert", inclusive.

[Bug target/18469] configure incorrectly defines gid_t

2013-12-17 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469 --- Comment #4 from joseph at codesourcery dot com --- On Mon, 16 Dec 2013, ktietz at gcc dot gnu.org wrote: > The macros required in crtstuff.c are: > - HAVE_GAS_HIDDEN > - HAVE_LD_EH_FRAME_HDR Various target macros used in target cod

[Bug c/59520] a possible inconsistency in error diagnostics with "-pedantic -std=c99"

2013-12-18 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59520 --- Comment #3 from joseph at codesourcery dot com --- On Wed, 18 Dec 2013, manu at gcc dot gnu.org wrote: > > The main concerns for diagnostics in such cases are (a) that they are > > meaningful and (b) that invalid code gets

[Bug c/59520] a possible inconsistency in error diagnostics with "-pedantic -std=c99"

2013-12-20 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59520 --- Comment #6 from joseph at codesourcery dot com --- On Fri, 20 Dec 2013, su at cs dot ucdavis.edu wrote: > In particular, are the following well-defined according the standard or they > have undefined behavior? In both cases, y

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #6 from joseph at codesourcery dot com 2011-11-15 22:28:38 UTC --- I think this is really a duplicate of an issue discussed in various places before: libstdc++ relies on C library symbols that are not necessarily reserved by the

[Bug libstdc++/51181] [4.7 regression] libstdc++.so __sync_sub_and_fetch_4 linkage error causing many test suite failures on m68k-linux

2011-11-17 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51181 --- Comment #2 from joseph at codesourcery dot com 2011-11-17 21:06:54 UTC --- FWIW, classic m68k has compare-and-swap, while ColdFire Linux uses kernel helpers (available in both vDSO and syscall forms; the syscall forms are probably rather

[Bug target/40411] -std=c99 does not enable c99 mode in Solaris C library

2011-11-25 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #26 from joseph at codesourcery dot com 2011-11-25 17:15:31 UTC --- All the various options equivalent to -std=c99 now map to -std=c99 using Alias in the .opt file, so specs only need to handle that one spelling. The same applies

[Bug c++/51316] alignof doesn't work with arrays of unknown bound

2011-11-26 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51316 --- Comment #1 from joseph at codesourcery dot com 2011-11-26 23:11:11 UTC --- Note that this usage is not valid in C1X.

[Bug c++/51316] alignof doesn't work with arrays of unknown bound

2011-11-27 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51316 --- Comment #3 from joseph at codesourcery dot com 2011-11-27 15:58:15 UTC --- On Sun, 27 Nov 2011, tsoae at mail dot ru wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51316 > > --- Comment #2 from Nikolka 2011-11-27 08:

[Bug bootstrap/51388] Configure failure to detect unsupported warning options for non-bootstrap builds (including cross builds)

2011-12-02 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51388 --- Comment #5 from joseph at codesourcery dot com 2011-12-02 16:09:57 UTC --- On Fri, 2 Dec 2011, rguenth at gcc dot gnu.org wrote: > Still the behavior of warning for -Wno- changed appearantly. Joseph? The idea was that if an unknown -

[Bug tree-optimization/48766] [4.4/4.5/4.6/4.7 Regression] Infinite recursion in fold_binary_loc()

2011-12-06 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48766 --- Comment #6 from joseph at codesourcery dot com 2011-12-06 16:35:02 UTC --- On Tue, 6 Dec 2011, rguenth at gcc dot gnu.org wrote: > > The combination -fwrapv -ftrapv is not particularly meaningful; it ought > > to act exactly

[Bug tree-optimization/48766] [4.4/4.5/4.6/4.7 Regression] Infinite recursion in fold_binary_loc()

2011-12-06 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48766 --- Comment #8 from joseph at codesourcery dot com 2011-12-06 20:12:12 UTC --- On Tue, 6 Dec 2011, iant at google dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48766 > > --- Comment #7 from iant at google dot com >

[Bug target/51441] Incorrect FP rounding on addition of doubles

2011-12-06 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51441 --- Comment #3 from joseph at codesourcery dot com 2011-12-06 20:17:36 UTC --- Please identify the target for which the compiler is configured. If 32-bit x86, then note that in accordance with FLT_EVAL_METHOD you have double rounding (two

[Bug preprocessor/49973] Column numbers count special characters as multiple columns

2011-12-07 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #10 from joseph at codesourcery dot com 2011-12-07 20:56:01 UTC --- On Wed, 7 Dec 2011, tromey at gcc dot gnu.org wrote: > Note that GCC also handles the tab case incorrectly here. Yes, GCC should be fixed to follow the GCS there

[Bug middle-end/51446] -fno-trapping-math generates NaN constant with different sign

2011-12-08 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51446 --- Comment #12 from joseph at codesourcery dot com 2011-12-08 20:37:11 UTC --- I think the soft-fp code tries to generate particular target-specific NaNs because it's also used in the Linux kernel emulation of floating-point instruc

[Bug middle-end/51446] -fno-trapping-math generates NaN constant with different sign

2011-12-08 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51446 --- Comment #14 from joseph at codesourcery dot com 2011-12-08 22:32:24 UTC --- On Thu, 8 Dec 2011, lucier at math dot purdue.edu wrote: > Indeed, I couldn't find a place in the gcc sources where this macro was > used: > > hei

[Bug target/51643] Incorrect code produced for tail-call of weak function with -O2/-O3 option

2011-12-20 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51643 --- Comment #5 from joseph at codesourcery dot com 2011-12-20 22:34:43 UTC --- On Tue, 20 Dec 2011, sipych at gmail dot com wrote: > "On platforms that do not support dynamic pre-emption of symbols an unresolved > weak reference

[Bug target/29997] various targets: GCC fails to encode epilogues in unwind-info

2011-12-22 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29997 --- Comment #4 from joseph at codesourcery dot com 2011-12-22 12:53:39 UTC --- On Thu, 22 Dec 2011, pinskia at gcc dot gnu.org wrote: > I think we encode proligue and epilogues now for all targets. It's been done for several targets,

[Bug c/51730] [4.7 Regression] autoconf 2.60 through 2.67 stdbool.h check fails with GCC 4.7

2012-01-02 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51730 --- Comment #2 from joseph at codesourcery dot com 2012-01-02 13:03:35 UTC --- On Mon, 2 Jan 2012, jakub at gcc dot gnu.org wrote: > char digs[] = "0123456789"; > int xlcbug = 1 / (&(digs + 5)[-2 + (_Bool

[Bug c++/51773] error building libitm/aatree.cc on ARM

2012-01-06 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773 --- Comment #5 from joseph at codesourcery dot com 2012-01-06 11:47:15 UTC --- On Fri, 6 Jan 2012, redi at gcc dot gnu.org wrote: > does glibc also define macros for alignof, true, false, bool etc. in C++ mode? Those C11 macros are defined

[Bug c++/51773] error building libitm/aatree.cc on ARM

2012-01-06 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773 --- Comment #7 from joseph at codesourcery dot com 2012-01-06 15:28:16 UTC --- On Fri, 6 Jan 2012, redi at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773 > > --- Comment #6 from Jonathan Wakely 2012-01-06

[Bug c++/51773] error building libitm/aatree.cc on ARM

2012-01-06 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51773 --- Comment #10 from joseph at codesourcery dot com 2012-01-06 15:51:20 UTC --- On Fri, 6 Jan 2012, jakub at gcc dot gnu.org wrote: > I'm not sure if for -D_GNU_SOURCE we want a ::gets prototype in C++, it would > be better to ju

[Bug bootstrap/51705] [4.7 Regression] FreeBSD uses unsupported C++11 features when __cplusplus == 201103L

2012-01-09 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51705 --- Comment #42 from joseph at codesourcery dot com 2012-01-09 22:51:04 UTC --- The obvious issue with C++11 attributes (such as [[noreturn]]) is that the syntactic bindings are (or were when I last looked at a draft) incompatible with the

[Bug c/33763] [4.4/4.5/4.6/4.7 Regression] Bogus inlining failed in call to `xxx': redefined extern inline functions are not considered for inlining

2012-01-12 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763 --- Comment #28 from joseph at codesourcery dot com 2012-01-12 14:35:58 UTC --- On Thu, 12 Jan 2012, rguenther at suse dot de wrote: > > I think extern inlines are sadly rather common to be deprecated... > > Well, not deprecating ex

[Bug target/52023] _Alignof (double) yields wrong value on x86

2012-01-27 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023 --- Comment #10 from joseph at codesourcery dot com 2012-01-27 23:12:38 UTC --- I don't think the test programs here are strictly conforming - the offset could be bigger than the alignment, and alignments are values "representing the

[Bug target/52023] _Alignof (double) yields wrong value on x86

2012-01-27 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023 --- Comment #11 from joseph at codesourcery dot com 2012-01-27 23:26:39 UTC --- I should add: as a matter of ABI compatibility with programs doing what stddef.h does for max_align_t (double fields using __attribute__((__aligned__(__alignof__

[Bug target/31782] Invalid assembly code on initial dollar signs

2007-05-02 Thread joseph at codesourcery dot com
--- Comment #4 from joseph at codesourcery dot com 2007-05-02 12:58 --- Subject: Re: Invalid assembly code on initial dollar signs On Wed, 2 May 2007, truedfx at gentoo dot org wrote: > Thanks for the link. I don't see how GAS could be fixed, though. How would the > ass

[Bug c/31804] gcc segfaults on very long pointer chains

2007-05-04 Thread joseph at codesourcery dot com
--- Comment #4 from joseph at codesourcery dot com 2007-05-04 12:00 --- Subject: Re: gcc segfaults on very long pointer chains On Fri, 4 May 2007, bangerth at dealii dot org wrote: > But seriously, while I do think that we should strive to compile even > programs that are &quo

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-05-23 Thread joseph at codesourcery dot com
--- Comment #139 from joseph at codesourcery dot com 2007-05-23 21:00 --- Subject: Re: [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should On Wed, 23 May 2007, mark at codesourcery dot com wrote: > Of course, Gaby's memory model doesn

[Bug target/32187] Complex __float128 is rejected

2007-06-02 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2007-06-02 20:09 --- Subject: Re: Complex __float128 is rejected On Sat, 2 Jun 2007, ubizjak at gmail dot com wrote: > Is this a parser problem? Compilation fails even for generic: > > --cut here-- > typedef

[Bug target/32187] Complex __float128 is rejected

2007-06-02 Thread joseph at codesourcery dot com
--- Comment #4 from joseph at codesourcery dot com 2007-06-02 21:35 --- Subject: Re: Complex __float128 is rejected On Sat, 2 Jun 2007, gdr at cs dot tamu dot edu wrote: > | Of course, 6.7.2 paragraph 2 does not include _Complex typedef-name in the > | possible sets o

[Bug other/32213] License for libiberty

2007-06-04 Thread joseph at codesourcery dot com
--- Comment #1 from joseph at codesourcery dot com 2007-06-05 00:07 --- Subject: Re: New: License for libiberty See <http://gcc.gnu.org/ml/gcc/2003-06/msg01286.html>; I don't recall seeing the SC's/FSF's answer to this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32213

[Bug target/32180] Paranoia UCB GSL TestFloat libm tests fail - accuracy of recent gcc math poor

2007-06-13 Thread joseph at codesourcery dot com
--- Comment #17 from joseph at codesourcery dot com 2007-06-13 11:30 --- Subject: Re: Paranoia UCB GSL TestFloat libm tests fail - accuracy of recent gcc math poor I previously suggested to the crlibm authors that they consider assigning it to the FSF for contribution to libgcc

[Bug target/32348] ICE on valid code

2007-06-14 Thread joseph at codesourcery dot com
--- Comment #1 from joseph at codesourcery dot com 2007-06-14 23:26 --- Subject: Re: New: ICE on valid code On Thu, 14 Jun 2007, edmar at freescale dot com wrote: > Gcc version 4.2.0 configured for e500v2, i.e.: > --target=powerpc-unknown-linux-gnuspe --enable-e500_double &g

[Bug target/32180] Paranoia UCB GSL TestFloat libm tests fail - accuracy of recent gcc math poor

2007-06-15 Thread joseph at codesourcery dot com
--- Comment #22 from joseph at codesourcery dot com 2007-06-15 22:43 --- Subject: Re: Paranoia UCB GSL TestFloat libm tests fail - accuracy of recent gcc math poor On Fri, 15 Jun 2007, rob1weld at aol dot com wrote: > This is just one number. How many more could there be, how w

[Bug middle-end/88456] __atomic_compare_exchange implementation inconsistently used

2018-12-12 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88456 --- Comment #2 from joseph at codesourcery dot com --- If the implementation were not in this source file at all and no LTO were used, it would be unambiguous that such an out-of-line implementation would not be used when GCC knows how to

[Bug rtl-optimization/87096] "Optimised" snprintf is not POSIX conformant

2018-12-12 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87096 --- Comment #7 from joseph at codesourcery dot com --- On Wed, 12 Dec 2018, msebor at gcc dot gnu.org wrote: > I find the POSIX requirement to fail when n is greater than INT_MAX to be in > conflict with C. I've submitted a de

[Bug c/88477] Variable with type completed in initializer not allowed.

2018-12-12 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88477 --- Comment #1 from joseph at codesourcery dot com --- I'd argue that the constraint "The type of the entity to be initialized shall be an array of unknown size or a complete object type that is not a variable length array type

[Bug c/88477] Variable with type completed in initializer not allowed.

2018-12-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88477 --- Comment #3 from joseph at codesourcery dot com --- I'm referring to C17 6.7.9#3, in the constraints for initializers.

[Bug sanitizer/88479] sanitizer should provide an option to detect conversion to signed integer that overflows

2018-12-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88479 --- Comment #4 from joseph at codesourcery dot com --- On Thu, 13 Dec 2018, vincent-gcc at vinc17 dot net wrote: > The C standard would have to drop ones' complement and sign-magnitude first. And there's substantial support for do

[Bug middle-end/88490] Missed autovectorization when indices are different

2018-12-14 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88490 --- Comment #5 from joseph at codesourcery dot com --- On Fri, 14 Dec 2018, rguenther at suse dot de wrote: > Note I do not think the C standard is sufficiently clear with regarding > to restrict qualified pointers loaded from memory. I

[Bug c/88525] gcc thinks that C11 program does not declare anything but it does.

2018-12-17 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88525 --- Comment #1 from joseph at codesourcery dot com --- I'd say the enum member a is declared by a contained struct-declaration, not by the declaration itself. The case of reading the text to allow for a declarator inside a struct-declar

[Bug c/88526] gcc accepts ill-formed program with sizeof (int [*])

2018-12-17 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88526 --- Comment #1 from joseph at codesourcery dot com --- Types with [*] are definitely complete types; the standard explicitly says "such arrays are nonetheless complete types". The "'[*]' not in a declaration"

[Bug target/88556] Inline built-in sinh, cosh, tanh for -ffast-math

2018-12-20 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88556 --- Comment #2 from joseph at codesourcery dot com --- For any vaguely recent GCC version, the now-removed code in bits/mathinline.h used __builtin_expm1l. The key features for this (and much the same applies to the hypot / asinh / acosh

[Bug middle-end/88575] gcc got confused by different comparison operators

2018-12-31 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88575 --- Comment #1 from joseph at codesourcery dot com --- On Sat, 22 Dec 2018, bugzi...@poradnik-webmastera.com wrote: > In test() gcc is not able to determine that for a==b it does not have to > evaluate 2nd comparison and can use value o

[Bug c/88582] GCC does not unqualify return types in the case of _Atomic qualified return type.

2018-12-31 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88582 --- Comment #4 from joseph at codesourcery dot com --- The unqualified version of _Atomic int is _Atomic int; references to qualified or unqualified versions of a type do not by default include the type with _Atomic added or removed (see 6.2.5

[Bug c/88584] GCC thinks that the type is complete dispite shaddowing.

2018-12-31 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88584 --- Comment #6 from joseph at codesourcery dot com --- This looks like a case that was missed in, or broken by, my fix for bug 13801, which was supposed to address such cases of entities with different (compatible) types in different scopes

[Bug bootstrap/88623] gcc build uses CXX_FOR_BUILD but files have .c extension

2018-12-31 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88623 --- Comment #1 from joseph at codesourcery dot com --- gcc/ is not libgcc. libgcc is only ever built using exactly the same version of GCC.

[Bug c/88647] Rejects valid program dereferencing pointer with incomplete reference type.

2019-01-02 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88647 --- Comment #1 from joseph at codesourcery dot com --- 6.3.2.1#2 (conversion of lvalues to rvalues): "If the lvalue has an incomplete type and does not have array type, the behavior is undefined.". Cf. bug 36941 (noting how DR#10

[Bug c/448] -related issues (C99 issues)

2019-01-02 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=448 --- Comment #40 from joseph at codesourcery dot com --- The definitions have been added for VxWorks at some point.

[Bug c/88667] Accepts program with invalid abstract-declarator grammar.

2019-01-02 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88667 --- Comment #1 from joseph at codesourcery dot com --- This is a known defect in the syntax in the standard, as discussed on the WG14 reflector on 22 Sep 2017 (see reflector message 14798).

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2019-01-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 --- Comment #16 from joseph at codesourcery dot com --- On Thu, 3 Jan 2019, iains at gcc dot gnu.org wrote: > Unfortunately, there doesn't appear to be anything in the GCC test suite that > catches this (all languages reg-strap wa

[Bug c/88674] GCC thinks that register is a qualifier in function declaration with no parameters.

2019-01-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88674 --- Comment #1 from joseph at codesourcery dot com --- "qualified" is used in the informal sense of "any additional specifiers along with void", not in the sense of "type qualifiers present". The program is not v

[Bug c/88568] [7/8/9 Regression] 'dllimport' no longer implies 'extern' in C

2019-01-04 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88568 --- Comment #4 from joseph at codesourcery dot com --- On Fri, 4 Jan 2019, jakub at gcc dot gnu.org wrote: > Joseph, is there any meaning for DECL_EXTERNAL & TREE_STATIC, or is that > invalid flag combination? If the latter, we shou

[Bug c/88695] Accepts invalid program with incompatible function types.

2019-01-04 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88695 --- Comment #5 from joseph at codesourcery dot com --- It's DR#316 that's relevant here (where the committee agreed with my interpretation that implies this example is valid, and reiterated their intent not to fix issues with un

[Bug c/88700] C11 Annex K builtins

2019-01-04 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88700 --- Comment #2 from joseph at codesourcery dot com --- Consensus in glibc is that Annex K is badly designed and should not be supported at all. See <http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1969.htm> proposing obsoletion or removal.

[Bug c/88584] GCC thinks that the type is complete dispite shaddowing.

2019-01-07 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88584 --- Comment #8 from joseph at codesourcery dot com --- Yes, I consider this a confirmed (and, strictly, regression from 3.4) bug.

[Bug c/88727] Diagnostics improvement: Detection of undefined behaviour. Incomplete type in tenative definition with internal linkage.

2019-01-07 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88727 --- Comment #1 from joseph at codesourcery dot com --- This was the case mentioned in bug 26581 comment 4, but without a separate bug filed for it at the time.

[Bug c/88731] [DR 481] Rejects well-formed program using bit-fields in _Generic.

2019-01-07 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88731 --- Comment #2 from joseph at codesourcery dot com --- GCC makes the integer type of the bit-field in question "unsigned:4". See DR#315 (also, see the line of C90 DRs that led to the wording changes in C99 relating to types of

[Bug middle-end/46495] target.h and function.h require tm.h

2019-01-08 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46495 --- Comment #2 from joseph at codesourcery dot com --- On Tue, 8 Jan 2019, egallager at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46495 > > Eric Gallager changed: > >W

[Bug libstdc++/88749] [9 Regression] Failure while building libstdc++-v3/src/filesystem/ops.cc on trunk

2019-01-08 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88749 --- Comment #14 from joseph at codesourcery dot com --- On Tue, 8 Jan 2019, romain.geissler at amadeus dot com wrote: > - binutils, with a linker configured to look for system libraries in a > non-standard folder, empty for now &g

[Bug tree-optimization/65425] code optimization leads to spurious FP exception

2019-01-08 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65425 --- Comment #4 from joseph at codesourcery dot com --- <https://gcc.gnu.org/ml/gcc-patches/2018-10/msg00284.html> has my comments on ways in which libm functions can be "const/pure with exceptions". It would be possible to ha

[Bug libstdc++/88749] [9 Regression] Failure while building libstdc++-v3/src/filesystem/ops.cc on trunk

2019-01-08 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88749 --- Comment #16 from joseph at codesourcery dot com --- On Tue, 8 Jan 2019, romain.geissler at amadeus dot com wrote: > FYI, what I am following are the Linux From Scratch guidelines, which build > the > initial gcc like this (with b

<    2   3   4   5   6   7   8   9   10   11   >