Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.6] test/CodeGen/x86_64-arguments.c fails #5190

Closed
tlattner opened this issue Aug 28, 2009 · 6 comments
Closed

[2.6] test/CodeGen/x86_64-arguments.c fails #5190

tlattner opened this issue Aug 28, 2009 · 6 comments
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category

Comments

@tlattner
Copy link
Contributor

Bugzilla Link 4818
Resolution FIXED
Resolved on Feb 22, 2010 12:56
Version 2.6
OS MacOS X
Blocks llvm/llvm-bugzilla-archive#4886

Extended Description

This is 2.6 pre-release1, release-asserts build on Mac OSX x86:

FAIL: /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/CodeGen/x86_64-arguments.c ( 362 of 1461)
******************** TEST '/Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/CodeGen/x86_64-arguments.c' FAILED ********************
Script:

/Users/lattner/release/2.6/release-asserts/llvm-2.6/Release-Asserts/bin/clang-cc -triple x86_64-unknown-unknown -emit-llvm -o /Users/lattner/release/2.6/release-asserts/llvm-2.6/too
ls/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/CodeGen/x86_64-arguments.c
grep 'define signext i8 @​f0()' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define signext i16 @​f1()' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define i32 @​f2()' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define float @​f3()' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define double @​f4()' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define x86_fp80 @​f5()' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f6(i8 signext %a0, i16 signext %a1, i32 %a2, i64 %a3, i8* %a4)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-ar
guments.c.tmp
grep 'define void @​f7(i32 %a0)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep '.0 = type { i64, double }' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define .0 @​f8_1()' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f8_2(.0)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define i64 @​f9()' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f10(i64)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f11(.union.anon. noalias sret .agg.result)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define i64 @​f12_0()' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f12_1(i64)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f13(.struct.s13_0. noalias sret .agg.result, i32 .a, i32 .b, i32 .c, i32 .d, .struct.s13_1. byval .e, i32 .f)' /Users/lattner/release/2.6/release-asserts/llvm-2.6
/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f14(., i8 signext .X)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f15(.
, i8* .X)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f16(., float .X)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'define void @​f17(.
, x86_fp80 .X)' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep '.1 = bitcast i64. .tmp to .struct.f18_s0.' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep '.2 = load .struct.f18_s0. .1, align 1' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
grep 'store .struct.f18_s0 .2, .struct.f18_s0. .f18_arg1' /Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/Output/CodeGen/x86_64-arguments.c.tmp
true

Exit Code: 1
Command Output (stdout):

define signext i8 @​f0() nounwind {
define signext i16 @​f1() nounwind {
define i32 @​f2() nounwind {
define float @​f3() nounwind {
define double @​f4() nounwind {
define x86_fp80 @​f5() nounwind {
define void @​f6(i8 signext %a0, i16 signext %a1, i32 %a2, i64 %a3, i8* %a4) nounwind {
define void @​f7(i32 %a0) nounwind {
%0 = type { i64, double }
define %0 @​f8_1() nounwind {
define void @​f8_2(%0) nounwind {
define i64 @​f9() nounwind {
define void @​f10(i64) nounwind {
define void @​f11(%union.anon* noalias sret %agg.result) nounwind {
define i64 @​f12_0() nounwind {
define void @​f12_1(i64) nounwind {
define void @​f13(%struct.s13_0* noalias sret %agg.result, i32 %a, i32 %b, i32 %c, i32 %d, %struct.s13_1* byval %e, i32 %f) nounwind {
define void @​f14(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e, i32 %f, i8 signext %X) nounwind {
define void @​f15(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e, i32 %f, i8* %X) nounwind {
define void @​f16(float %a, float %b, float %c, float %d, float %e, float %f, float %g, float %h, float %X) nounwind {
define void @​f17(float %a, float %b, float %c, float %d, float %e, float %f, float %g, float %h, x86_fp80 %X) nounwind {

Command Output (stderr):

/Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/CodeGen/x86_64-arguments.c:76:25: warning: declaration of 'struct s13_1' will not be visible outside of this
function
struct s13_1 { long long f0[2]; } e, int f) { while (1) {} }
^
/Users/lattner/release/2.6/release-asserts/llvm-2.6/tools/clang-2.6/test/CodeGen/x86_64-arguments.c:95:24: warning: declaration of 'struct f18_s0' will not be visible outside of thi
s function
void f18(int a, struct f18_s0 { int f0; } f18_arg1) { while (1) {} }
^
2 diagnostics generated.


@llvmbot
Copy link
Collaborator

llvmbot commented Aug 30, 2009

This was fixed here:
http://llvm.org/viewvc/llvm-project?view=rev&revision=79860
which should be taken for 2.6, I think.

@llvmbot
Copy link
Collaborator

llvmbot commented Aug 30, 2009

*** Bug #5189 has been marked as a duplicate of this bug. ***

@llvmbot
Copy link
Collaborator

llvmbot commented Aug 30, 2009

*** Bug llvm/llvm-bugzilla-archive#4819 has been marked as a duplicate of this bug. ***

@tlattner
Copy link
Contributor Author

tlattner commented Sep 9, 2009

This was merged into 2.6 release branch.

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 27, 2021

mentioned in issue llvm/llvm-bugzilla-archive#4819

@tlattner
Copy link
Contributor Author

mentioned in issue llvm/llvm-bugzilla-archive#4886

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category
Projects
None yet
Development

No branches or pull requests

2 participants