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

2018-03-26 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #40 from Rainer Orth --- Created attachment 43755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43755=edit gcc-7 backport patch

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

2018-03-26 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #39 from Rainer Orth --- Created attachment 43753 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43753=edit gcc-5 backport patch There's been some interest in a backport of the patch to gcc-5 and gcc-7 branches. Since I've

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

2018-01-30 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #38 from Rainer Orth --- Author: ro Date: Tue Jan 30 21:18:40 2018 New Revision: 257209 URL: https://gcc.gnu.org/viewcvs?rev=257209=gcc=rev Log: Fix use of Solaris values-Xc.o (PR target/40411) PR target/40411 *

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

2018-01-12 Thread bruno at clisp dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #37 from Bruno Haible --- (In reply to Rainer Orth from comment #35) > Fixed for GCC 8.1. Please consider comment 17: The behaviour of a shared library also depends on whether the executable is linked with or without values-xpg6.o.

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

2018-01-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 Rainer Orth changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2018-01-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 Rainer Orth changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

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

2018-01-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #34 from Rainer Orth --- Author: ro Date: Fri Jan 12 09:52:53 2018 New Revision: 256568 URL: https://gcc.gnu.org/viewcvs?rev=256568=gcc=rev Log: Link with correct values-*.o files on Solaris (PR target/40411) gcc/testsuite:

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

2017-01-13 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #33 from ro at CeBiTec dot Uni-Bielefeld.DE --- Jeff, > Still here and following from afar; I'm not using solaris much these days, but > it always brightens my day when I get an email re this bug and some level of > progress is made

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

2017-01-12 Thread heydowns at somuchpressure dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #32 from Jeff Downs --- (In reply to r...@cebitec.uni-bielefeld.de from comment #31) > The attached patch does this, and includes a forward port of Jeff's > patch to escape special characters like `:' in %{S:X} expressions. [...] >

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

2017-01-12 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #31 from ro at CeBiTec dot Uni-Bielefeld.DE --- I've started looking at this again. Norm's patch has a few problems: * For one, it matches a couple of alias names for -std values, which will never hit the specs machinery. *

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

2017-01-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #30 from Rainer Orth --- Created attachment 40507 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40507=edit combined proposed patch

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

2016-07-21 Thread norm.jacobs at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 Norm Jacobs changed: What|Removed |Added CC||norm.jacobs at oracle dot com --- Comment

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

2013-08-05 Thread lionelcons1972 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 Lionel Cons lionelcons1972 at gmail dot com changed: What|Removed |Added CC|

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

2012-06-01 Thread gseanmcg at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #27 from Sean McGovern gseanmcg at gmail dot com 2012-06-01 14:23:21 UTC --- I just found out how ugly this can get. freopen(3C) has different behaviour in the case where the first argument is NULL depending on if SUSv3 behaviour has

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

2011-11-25 Thread gseanmcg at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #24 from Sean McGovern gseanmcg at gmail dot com 2011-11-25 16:25:02 UTC --- Ping^2.

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

2011-11-25 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #25 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-11-25 16:34:03 UTC --- No progress yet: an attempt to handle this via specs some time ago failed since there was some of Joseph's option work missing.

[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 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

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

2011-03-07 Thread gseanmcg at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #23 from Sean McGovern gseanmcg at gmail dot com 2011-03-07 20:16:09 UTC --- Ping.

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

2011-01-05 Thread gseanmcg at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #22 from Sean McGovern gseanmcg at gmail dot com 2011-01-05 19:50:09 UTC --- Sorry, still learning -- collect2 is definitely not the place for this. Target-specific plugin maybe?

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

2011-01-04 Thread gseanmcg at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #21 from Sean McGovern gseanmcg at gmail dot com 2011-01-04 18:11:09 UTC --- Why not introduce a warning for 4.6 that it is linking against this object file and that any other libraries alongside that are not tested against C99 may

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

2010-12-27 Thread pogma at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 po...@gcc.gnu.org pogma at gcc dot gnu.org changed: What|Removed |Added CC||pogma at gcc

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

2010-12-26 Thread bruno at clisp dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 bruno at clisp dot org changed: What|Removed |Added CC||bruno at clisp dot org ---

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

2010-12-26 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #18 from Paolo Carlini paolo.carlini at oracle dot com 2010-12-26 18:35:49 UTC --- Rainer, can you have another look to this issue and possibly actually close it?

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

2010-12-26 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411 --- Comment #19 from Jonathan Wakely redi at gcc dot gnu.org 2010-12-26 21:52:07 UTC --- (In reply to comment #17) For this reason, I would find it bad if gcc -std=c99 or gcc -std=gnu99 would cause values-xpg6.o to be included in the link.

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

2009-11-20 Thread ro at gcc dot gnu dot org
--- Comment #16 from ro at gcc dot gnu dot org 2009-11-20 17:53 --- Mine. -- ro at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc

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

2009-10-09 Thread heydowns at borg dot com
--- Comment #14 from heydowns at borg dot com 2009-10-09 19:38 --- Ping - anyone able to comment on or integrate this patch please? Thank you! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411

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

2009-10-09 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2009-10-09 19:42 --- Patches should be sent to gcc-patc...@gcc.gnu.org with a changelog entry and a note on how you tested the patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411

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

2009-07-16 Thread heydowns at borg dot com
--- Comment #13 from heydowns at borg dot com 2009-07-16 21:11 --- Created an attachment (id=18210) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18210action=view) Fix updated for gcc 4.4.0, link xpg6 for c++, and link xpg4 for gnu* Updated patch against gcc 4.4.0. Also add xpg6

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

2009-07-04 Thread ebotcazou at gcc dot gnu dot org
--- Comment #8 from ebotcazou at gcc dot gnu dot org 2009-07-04 07:57 --- Attaching a fix that works here for Solaris 10 and I think would work for other Solaris versions. Thanks. It changes the spec to account for the other options mentioned in comment 3, to handle the main

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

2009-07-04 Thread joseph at codesourcery dot com
--- Comment #9 from joseph at codesourcery dot com 2009-07-04 11:49 --- Subject: Re: -std=c99 does not enable c99 mode in Solaris C library On Sat, 4 Jul 2009, ebotcazou at gcc dot gnu dot org wrote: I wasn't sure exactly how to handle the various -std=gnu* modes, so I left

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

2009-07-04 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2009-07-04 16:46 --- As far as I could tell from the documentation available to me, values-xpg4 didn't exist until Solaris 2.6. Based on the file names I was thinking sol2-6.h was for 2.6 and above, where sol2.h had to work for

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

2009-07-02 Thread heydowns at borg dot com
--- Comment #7 from heydowns at borg dot com 2009-07-02 14:46 --- Created an attachment (id=18121) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18121action=view) Proposed fix: Changes linking on solaris based on std=X and implements escapes in braced specs Attaching a fix that

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

2009-06-18 Thread heydowns at borg dot com
--- Comment #5 from heydowns at borg dot com 2009-06-18 21:26 --- Was looking at modifying the spec to produce the desired results and contribute patch, however ran into trouble trying to match options containing literal colons (-std=iso9899:199409) in %{S:X} style spec. Is there a way

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

2009-06-18 Thread joseph at codesourcery dot com
--- Comment #6 from joseph at codesourcery dot com 2009-06-18 21:49 --- Subject: Re: -std=c99 does not enable c99 mode in Solaris C library On Thu, 18 Jun 2009, heydowns at borg dot com wrote: Was looking at modifying the spec to produce the desired results and contribute patch,

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

2009-06-17 Thread heydowns at borg dot com
--- Comment #1 from heydowns at borg dot com 2009-06-17 15:13 --- This also applies to Solaris x86. Additionally, this only applies to Solaris 10 and later. Earlier versions of Solaris did not ship c99-compliant C library and thus do not have the values-xpg6.o object file for enabling

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

2009-06-17 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-06-17 15:24 --- GCC 3.4.x is no longer maintained, please check GCC 4.3.x or newer. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

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

2009-06-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last