int main(int argc, char *argv[]) {
  double *plist = (double[]){1, 2, 3};
  double list[] = {1, 2, 3};
  do {
    printf("sizeof(plist) / (sizeof(double) + 0.0)"
           ": %g\n",
           sizeof(plist) / (sizeof(double) + 0.0));
  } while (0);
  do {
    printf("sizeof(list) / (sizeof(double) + 0.0)"
           ": %g\n",
           sizeof(list) / (sizeof(double) + 0.0));
  } while (0);
  double *hello_list = (double[]){1.1, 2.2, 3.3, 4.4};
  ;
  do {
    printf("hello_list[0]"
           ": %g\n",
           hello_list[0]);
  } while (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2eff(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0x2efc(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0x2ef9(%rip),%rax
mov    %rax,-0x20(%rbp)
lea    -0x30(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    0xebe(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0xebb(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0xeb8(%rip),%rax
mov    %rax,-0x40(%rbp)
lea    0xeb5(%rip),%rdi
movsd  0xe85(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
jmp    1187 <main+0x77>
lea    0xec6(%rip),%rdi
movsd  0xe72(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x2e9c(%rip),%rax
mov    %rax,-0x78(%rbp)
mov    0x2e99(%rip),%rax
mov    %rax,-0x70(%rbp)
mov    0x2e96(%rip),%rax
mov    %rax,-0x68(%rbp)
mov    0x2e93(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    -0x78(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x58(%rbp),%rax
movsd  (%rax),%xmm0
lea    0xe9f(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xf00(%rip),%rdi
movsd  0xee0(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf16(%rip),%rdi
movsd  0xed2(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf2b(%rip),%rdi
movsd  0xec4(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@constinit = private global [3 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00]
@__const.main.list = [3 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00]
@.str = [44 x i8] c"sizeof(plist) / (sizeof(double) + 0.0): %g\0A\00"
@.str.1 = [43 x i8] c"sizeof(list) / (sizeof(double) + 0.0): %g\0A\00"
@constinit.2 = private global [4 x double] [double 1.100000e+00, double 2.200000e+00, double 3.300000e+00, double 4.400000e+00]
@.str.3 = [19 x i8] c"hello_list[0]: %g\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca double*
%6 = alloca [3 x double]
%7 = alloca [3 x double]
%8 = alloca double*
%9 = alloca [4 x double]
store i32 %0, i32* %3
store i8** %1, i8*** %4
%10 = getelementptr inbounds [3 x double], [3 x double]* %6, i64 0, i64 0
%11 = bitcast [3 x double]* %6 to i8*
%12 = getelementptr inbounds [3 x double], [3 x double]* %6, i64 0, i64 0
store double* %12, double** %5
%13 = bitcast [3 x double]* %7 to i8*
br label %14
14: ; preds = %2
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0), double 1.000000e+00)
br label %16
16: ; preds = %14
br label %17
17: ; preds = %16
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0), double 3.000000e+00)
br label %19
19: ; preds = %17
%20 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 0
%21 = bitcast [4 x double]* %9 to i8*
%22 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 0
store double* %22, double** %8
br label %23
23: ; preds = %19
%24 = load double*, double** %8
%25 = getelementptr inbounds double, double* %24, i64 0
%26 = load double, double* %25
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), double %26)
br label %28
28: ; preds = %23
ret i32 0
}

LLVM IR (-O2):
@.str = [44 x i8] c"sizeof(plist) / (sizeof(double) + 0.0): %g\0A\00"
@.str.1 = [43 x i8] c"sizeof(list) / (sizeof(double) + 0.0): %g\0A\00"
@.str.3 = [19 x i8] c"hello_list[0]: %g\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0), double 1.000000e+00)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0), double 3.000000e+00)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), double 1.100000e+00)
ret i32 0
}