Launchpad has imported 7 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37772.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers.

------------------------------------------------------------------------
On 2008-10-08T13:09:32+00:00 Matthias Klose wrote:

[forwarded from https://bugs.launchpad.net/bugs/280107]

seen with 4.2, 4.3 branches and trunk 20080915.

int foo() {
 asm();
 return 0;
}

$ /usr/lib/gcc-snapshot/bin/gcc -g -O0 foo.c 
foo.c: In function 'foo':
foo.c:2: error: expected string literal before ')' token
foo.c:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/280107/comments/3

------------------------------------------------------------------------
On 2008-10-08T20:30:55+00:00 Pinskia wrote:

Confirmed, most likely caused by the new C parser.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/280107/comments/4

------------------------------------------------------------------------
On 2009-04-01T08:02:07+00:00 Jakub-gcc wrote:

Testing a patch.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/280107/comments/5

------------------------------------------------------------------------
On 2009-04-01T13:32:35+00:00 Jakub-gcc wrote:

Subject: Bug 37772

Author: jakub
Date: Wed Apr  1 13:32:22 2009
New Revision: 145401

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145401
Log:
        PR c/37772
        * c-parser.c (c_parser_asm_statement): Skip until close paren and
        return if c_parser_asm_string_literal returned NULL.

        * gcc.dg/pr37772.c: New test.
        * g++.dg/ext/asm11.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/asm11.C
    trunk/gcc/testsuite/gcc.dg/pr37772.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.c
    trunk/gcc/testsuite/ChangeLog


Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/280107/comments/6

------------------------------------------------------------------------
On 2009-04-01T13:45:35+00:00 Jakub-gcc wrote:

Subject: Bug 37772

Author: jakub
Date: Wed Apr  1 13:45:14 2009
New Revision: 145402

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145402
Log:
        PR c/37772
        * c-parser.c (c_parser_asm_statement): Skip until close paren and
        return if c_parser_asm_string_literal returned NULL.

        * gcc.dg/pr37772.c: New test.
        * g++.dg/ext/asm11.C: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/asm11.C
      - copied unchanged from r145401, trunk/gcc/testsuite/g++.dg/ext/asm11.C
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr37772.c
      - copied unchanged from r145401, trunk/gcc/testsuite/gcc.dg/pr37772.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/c-parser.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/280107/comments/7

------------------------------------------------------------------------
On 2009-04-01T13:50:17+00:00 Jakub-gcc wrote:

Fixed on the 4.4 branch and on the trunk so far.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/280107/comments/8

------------------------------------------------------------------------
On 2009-04-22T13:24:18+00:00 Rguenth wrote:

Fixed.  error-recovery bugs are not worth fixing on the release branch.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/280107/comments/9

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/280107

Title:
  [PR37772] ICE with asm() call with no arguments

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/280107/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to