[Bug c++/67064] Register asm variable broken

2019-02-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/67064] Register asm variable broken

2019-02-19 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #33 from Sebastian Huber --- (In reply to Eric Gallager from comment #32) > (In reply to Martin Liška from comment #31) > > Can the bug be marked as resolved? > > WAITING on a reply. From my point of view it is fixed I guess since

[Bug c++/67064] Register asm variable broken

2019-02-19 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 Eric Gallager changed: What|Removed |Added Status|NEW |WAITING --- Comment #32 from Eric

[Bug c++/67064] Register asm variable broken

2018-11-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug c++/67064] Register asm variable broken

2015-10-20 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #30 from Daniel Gutson --- May I ask what's wrong with Andres Tiraboschi's solution approach?

[Bug c++/67064] Register asm variable broken

2015-10-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #29 from Jason Merrill --- Author: jason Date: Tue Oct 20 06:49:13 2015 New Revision: 229021 URL: https://gcc.gnu.org/viewcvs?rev=229021=gcc=rev Log: PR c++/67064 * semantics.c (force_paren_expr): Don't mess with

[Bug c++/67064] Register asm variable broken

2015-09-16 Thread andres.tiraboschi at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #27 from Andrés Agustín Tiraboschi --- I forgot to say that the patch is for gcc 5.2

[Bug c++/67064] Register asm variable broken

2015-09-16 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #28 from Manuel López-Ibáñez --- (In reply to Andrés Agustín Tiraboschi from comment #26) > Hi, I've read the bug report and I've made a patch in order to fix it. > I've ran all the gcc tests and I have only one fail, but that fail

[Bug c++/67064] Register asm variable broken

2015-09-15 Thread andres.tiraboschi at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 Andrés Agustín Tiraboschi changed: What|Removed |Added CC||andres.tiraboschi@tallertec

[Bug c++/67064] Register asm variable broken

2015-09-15 Thread andres.tiraboschi at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #25 from Andrés Agustín Tiraboschi --- Created attachment 36338 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36338=edit The test that fails

[Bug c++/67064] Register asm variable broken

2015-09-15 Thread andres.tiraboschi at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #26 from Andrés Agustín Tiraboschi --- Hi, I've read the bug report and I've made a patch in order to fix it. I've ran all the gcc tests and I have only one fail, but that fail is also present in the original gcc. Anyway I've

[Bug c++/67064] Register asm variable broken

2015-08-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #23 from Jason Merrill jason at gcc dot gnu.org --- (In reply to Daniel Gutson from comment #22) (In reply to Jason Merrill from comment #21) (In reply to Daniel Gutson from comment #20) FWIW, I've been listed in the MAINTAINER

[Bug c++/67064] Register asm variable broken

2015-08-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #21 from Jason Merrill jason at gcc dot gnu.org --- (In reply to Daniel Gutson from comment #20) I don't have a @gcc.gnu.org account. Should I simply send the attachment? Sure. Otherwise please assign this to me for me if it is

[Bug c++/67064] Register asm variable broken

2015-08-17 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #22 from Daniel Gutson daniel.gutson at tallertechnologies dot com --- (In reply to Jason Merrill from comment #21) (In reply to Daniel Gutson from comment #20) I don't have a @gcc.gnu.org account. Should I simply send the

[Bug c++/67064] Register asm variable broken

2015-08-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #17 from Jason Merrill jason at gcc dot gnu.org --- (In reply to Daniel Gutson from comment #15) (In reply to Jason Merrill from comment #14) '-Wpedantic' does not cause warning messages for use of the alternate

[Bug c++/67064] Register asm variable broken

2015-08-03 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #18 from Daniel Gutson daniel.gutson at tallertechnologies dot com --- I created https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67105 to treat that bug separately. 67064 (this bug) interferes with RTEMS in real life thus has a much

[Bug c++/67064] Register asm variable broken

2015-08-03 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #20 from Daniel Gutson daniel.gutson at tallertechnologies dot com --- (In reply to Manuel López-Ibáñez from comment #19) (In reply to Daniel Gutson from comment #18) Please assign this to me. Thanks. You need to login with

[Bug c++/67064] Register asm variable broken

2015-08-03 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||manu at gcc

[Bug c++/67064] Register asm variable broken

2015-07-31 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #15 from Daniel Gutson daniel.gutson at tallertechnologies dot com --- (In reply to Jason Merrill from comment #14) (In reply to Ville Voutilainen from comment #13) It is correct that currently none of the pedantic-flags diagnose

[Bug c++/67064] Register asm variable broken

2015-07-31 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #16 from Jens Maurer jens.maurer at gmx dot net --- (In reply to Jason Merrill from comment #14) '-Wpedantic' does not cause warning messages for use of the alternate keywords whose names begin and end with '__'. Pedantic

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread hannes_weisbach at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 hannes_weisbach at gmx dot net changed: What|Removed |Added CC||hannes_weisbach at gmx

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 Daniel Gutson daniel.gutson at tallertechnologies dot com changed: What|Removed |Added CC|

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc dot

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #11 from Ville Voutilainen ville.voutilainen at gmail dot com --- or simply -pedantic/-pedantic-errors :)

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #12 from Daniel Gutson daniel.gutson at tallertechnologies dot com --- I tried them all, and none of those flags reject a global variable declared as register. I still think a separate issue should be filed.

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #13 from Ville Voutilainen ville.voutilainen at gmail dot com --- It is correct that currently none of the pedantic-flags diagnose the use of this extension; perhaps that should be fixed while fixing this bug...

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #14 from Jason Merrill jason at gcc dot gnu.org --- (In reply to Ville Voutilainen from comment #13) It is correct that currently none of the pedantic-flags diagnose the use of this extension; perhaps that should be fixed while

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #9 from Daniel Gutson daniel.gutson at tallertechnologies dot com --- Thanks Ville and Jens for looking into this. I'll be able to fix this during next week, so if nobody is available to solve this sooner, then please assign it to

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- C++11 rules about (x) have changed. If you use -std=gnu++98 you would get the same behavior as before.

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #2 from Sebastian Huber sebastian.hu...@embedded-brains.de --- Indeed -std=gnu++98 gets rid of this error. So this is working as intended for C++11 and later? This is really nice in combination with defines and macros that use ( )

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org --- (In reply to Sebastian Huber from comment #2) Indeed -std=gnu++98 gets rid of this error. So this is working as intended for C++11 and later? This is really nice in combination

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #6 from Daniel Gutson daniel.gutson at tallertechnologies dot com --- Please discard my previous comment, I read too fast. I'll do some debugging and get back with some analysis. It seems that cxx_mark_addressable() is wrongly

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 Ville Voutilainen ville.voutilainen at gmail dot com changed: What|Removed |Added Keywords|

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #8 from Jens Maurer jens.maurer at gmx dot net --- In general, x and (x) have the same meaning as per 5.1.1p6. There are a few (spelled-out) exceptions, though. One exception is inside a decltype-specifier, where decltype(e) is