Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: gcc/gcc/testsuite/g++.dg/ext/asm3.C

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/eh/simd-5.C ('k') | gcc/gcc/testsuite/g++.dg/ext/attrib35.C » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // { dg-do compile } 1 // { dg-do compile }
2 2
3 // Copyright (C) 2002 Free Software Foundation, Inc. 3 // Copyright (C) 2002 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 16 Sep 2002 <nathan@codesourcery.com> 4 // Contributed by Nathan Sidwell 16 Sep 2002 <nathan@codesourcery.com>
5 5
6 // PR 7015. ICE with asms 6 // PR 7015. ICE with asms
7 7
8 int two(int in) 8 int two(int in)
9 { 9 {
10 register int out; 10 register int out;
11 __asm__ ("" : "r" (out) : "r" (in)); // { dg-error "" "" } 11 __asm__ ("" : "r" (out) : "r" (in));
12 return out; 12 return out;
13 } 13 }
14
15 // { dg-message "error:" "" { target *-*-* } 11 }
OLDNEW
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/eh/simd-5.C ('k') | gcc/gcc/testsuite/g++.dg/ext/attrib35.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698